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#351 - Lantiq: not all usb ports functional after switch to dwc2 #5957
Comments
Rondom: I could reproduce this using the official snapshot cbca3ae, but interestingly it was working fine straight after flashing and only after the first reboot (after configuring everything) it panicked reproducibly on every reboot. Indeed the dwc2-driver is the culprit. I reverted "lantiq: use dwc2 by default on danube" ffd7c15 and it works fine. |
medber: indeed the switch to dwc2 is the cause for this router (arv7510pw22), arv4518pw and arv7518pw as in FS#350. Reverting these commits fixes the issue : lantiq: use dwc2 by default on danube lantiq: dwc2 parameters for danube lantiq: device tree bindings for dwc2 on danube lantiq: initialise dwc2 on danube |
Hauke: Please try this patch and report back if it works now and or not. If it does not work please post your error messages here. Please test if USB works. |
medber: Hi, OK. I'll test them as soon as I recover from a strong flu. Thank you. |
Hauke: There is a new version, please try this one: |
medber: Hi, First of all, your commit (b35a41c) already fixed the kernel panic but there was still some initialization issues. Then tested your last proposed patch on ARV7518pw and ARV7510pw22. Both are back to normal so far. Thank you for your work. I included the bootlog. |
Hauke: Thank you for the info. Could you try to plug in a USB device and check if that works? It looks there is an additional USB controller on the PCI bus, so I assume that the external ports are connected to that one. Anyway I applied the patch into the current master branch now. |
medber: OK. I plugged in a few usb devices on ARV7518pw, nothing detected and no messages on dmesg (has 1 usb port) However, on ARV7510pw22 two usb ports out of three detected the devices I plugged (3g modem, usb flash, usb hub) both firmwares (r2908-90f0ca0ddc) include extra packages to handle different usb devices. |
mkresin: Hey Mohammmed, please test the latest master. The bug should be fixed. |
spoksss: Hi, http://downloads.lede-project.org/snapshots/targets/lantiq/xway/lede-lantiq-xway-ARV752DPW-squashfs-sysupgrade.bin and it works perfect. But using release one from here: |
mkresin: lede 17.01.2 is from Jun 2017. The fix was merged to master in Aug 2017 and now to the lede-17.01 branch as well. The pre-release 17.01 image at https://downloads.lede-project.org/releases/17.01-SNAPSHOT/ should include the fix and hence will be included in 17.01.3. |
medber:
see https://bugs.lede-project.org/index.php?do=details&task_id=351#comment1212.
The text was updated successfully, but these errors were encountered: