Skip to content
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

Closed
openwrt-bot opened this issue Dec 23, 2016 · 11 comments
Closed

FS#351 - Lantiq: not all usb ports functional after switch to dwc2 #5957

openwrt-bot opened this issue Dec 23, 2016 · 11 comments
Labels

Comments

@openwrt-bot
Copy link

medber:

see https://bugs.lede-project.org/index.php?do=details&task_id=351#comment1212.

@openwrt-bot
Copy link
Author

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.

@openwrt-bot
Copy link
Author

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
ffd7c15

lantiq: dwc2 parameters for danube
6f60926

lantiq: device tree bindings for dwc2 on danube
5c06a31

lantiq: initialise dwc2 on danube
c82d5b3

@openwrt-bot
Copy link
Author

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.
https://patchwork.ozlabs.org/patch/712099/

Please test if USB works.

@openwrt-bot
Copy link
Author

medber:

Hi,

OK. I'll test them as soon as I recover from a strong flu.

Thank you.

@openwrt-bot
Copy link
Author

Hauke:

There is a new version, please try this one:
https://patchwork.ozlabs.org/patch/712285/

@openwrt-bot
Copy link
Author

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.

@openwrt-bot
Copy link
Author

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.

@openwrt-bot
Copy link
Author

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.

@openwrt-bot
Copy link
Author

mkresin:

Hey Mohammmed, please test the latest master. The bug should be fixed.

@openwrt-bot
Copy link
Author

@openwrt-bot
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant