New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#2170 - WNDR3400 v2 needs gpio pin 21 high to enable USB #7046
Comments
ynezz: I've prepared kernel patch for this issue ynezz/linux-2.6@2b9a6c4 and I'm wondering if you're able to test it as it is. |
ynezz: And here WIP of patch for OpenWrt ynezz@4e76c59 |
ebohlman: Could test it right away if you had a binary, otherwise I'll need a few days to get up to speed on the build system (new to OpenWRT, have an embedded development background but a little(?) rusty). |
ebohlman: Can't fully test because of kernel dependency issues:
However, the port does seem to be recognized by the hardware: |
ebohlman: Sorry about the duplicated lsusb output. |
ynezz: Thanks for testing, please can you give me your email address so I can add it to your:
Reported-by: Eric Bohlman
Tested-by: Eric Bohlman
If you agree of course. |
ebohlman: |
ebohlman: Kernel in the snapshot you sent me is 4.14.104, but kmod packages want 4.14.105. |
ebohlman: If you could send me a patched kernel_4.14.105-1 .ipk, I should be able to muddle my way through ImageBuilder. |
ebohlman: Ignore the last two comments; I've patched the kernel and it now works correctly with extroot. Consider it fully tested. |
ebohlman:
The Netgear WNDR3400 v2, just like the v3, requires GPIO pin 21 to be set to high for the USB port to work, but the current software version doesn't do it.
Upon powerup, USB devices are not recognized. After executing
echo "21" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio21/direction
echo "1" > /sys/class/gpio/gpio21/value
they are recognized. Because this comes after files have been mounted, it's necessary to reboot to access, say, an extroot.
The text was updated successfully, but these errors were encountered: