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#2808 - lantiq: xway: dwc2 - USB not working (ARV752DPW22 - EasyBox803a) #7607

Open
openwrt-bot opened this issue Feb 4, 2020 · 4 comments
Labels
flyspray kernel pull request/issue with Linux kernel related changes

Comments

@openwrt-bot
Copy link

everloop2:

Device problem occurs on: [[https://openwrt.org/toh/astoria/arv752dpw22|ARV752DPW22 (EasyBox803a)]] tested.

Software versions of OpenWrt/LEDE release: since kernel 4.19 (OpenWrt trunk)

kernel 4.14 USB reset every time working

Steps to reproduce:

openWrt_trunk first boot > hang!
30sec power supply disconnect > no_hang
soft reboot > no_hang
short power supply disconnect > hang!
15sec power supply disconnect > hang!
30sec power supply disconnect > hang!
30sec power plug disconnect > hang!
soft reboot > hang!
60sec power plug disconnect > hang!

?seems hardware related? (reproducible), 2 of 3 EasyBoxes have hang! bug / behave like

Bootlog:

dwc2 1e101000.usb: dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL GRSTCTL_CSFTRST
dwc2: probe of 1e101000.usb failed with error -16

[[https://openwrt.org/toh/astoria/arv752dpw22#linux_419_bootlog_dwc2_core_resethang|full bootlog]]

tried fixes:

[[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=eb72439dbb4acc936cbabf16cb0683a5a230e897|lantiq: 4.19: increase usb reset timeouts]] -> set to: 1000000

@openwrt-bot
Copy link
Author

everloop2:

tested OpenWrt snapshot (Fri Oct 16 06:32:43 2020) kernel 5.4.xx

bug still present:

dwc2 1e101000.usb: dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL GRSTCTL_CSFTRST
dwc2: probe of 1e101000.usb failed with error -16

workaround: use kernel 4.14.xx (OpenWrt 19.07.x)

@openwrt-bot
Copy link
Author

mfly:

Same issue on EasyBox 802.

On 19.07 USB has voltage but devices are not detected.

On 21.02.0-rc3 USB has no voltage:
root@OpenWrt:~# dmesg|grep dwc
[ 6.273415] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found, using dummy regulator
[ 6.280416] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found, using dummy regulator
[ 6.301892] dwc2 1e101000.usb: dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL GRSTCTL_CSFTRST
[ 6.309812] dwc2: probe of 1e101000.usb failed with error -16

@openwrt-bot
Copy link
Author

mykeil:

It may be related with USB OTG mode. The driver chooses peripheral mode, where the USB supply has to be disabled. I am looking how to force the driver to run USB on host mode.

@aparcar aparcar added the kernel pull request/issue with Linux kernel related changes label Feb 22, 2022
@zain5248
Copy link

Have anyone found the solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes
Projects
None yet
Development

No branches or pull requests

3 participants