Re: dwc2: Raspberry Pi 3 B Plus stuck in lx_state DWC2_L2 since Linux 6.12-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 03.10.24 um 13:21 schrieb Stefan Wahren:
Maybe this is a relevant side node: in the bad case the onboard
Ethernet chip LAN7800 is also not probed after startup (just root and
the hubs). It looks like a race between LAN7800 enumeration and
pm_runtime.

Okay, here are more information about this particular problem. This is a
dump of the runtime_status from all USB devices on DWC2 tree in bad case:

/sys/devices/platform/soc/3f980000.usb/usb1/ep_00/power/runtime_status:unsupported
/sys/devices/platform/soc/3f980000.usb/usb1/power/runtime_status:suspended
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/ep_00/power/runtime_status:unsupported
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/power/runtime_status:suspended
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/ep_00/power/runtime_status:unsupported
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/power/runtime_status:suspended
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/1-1.1-port2/power/runtime_status:active
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/ep_81/power/runtime_status:unsupported
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/1-1.1-port3/power/runtime_status:active
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/1-1.1-port1/power/runtime_status:active
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/3f980000.usb:usb-port@1:usb-port@1/power/runtime_status:unsupported
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1:1.0/1-1-port3/power/runtime_status:active
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1:1.0/1-1-port1/power/runtime_status:active
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1:1.0/ep_81/power/runtime_status:unsupported
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1:1.0/1-1-port4/power/runtime_status:active
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1:1.0/1-1-port2/power/runtime_status:active
/sys/devices/platform/soc/3f980000.usb/usb1/1-0:1.0/usb1-port1/power/runtime_status:active
/sys/devices/platform/soc/3f980000.usb/usb1/1-0:1.0/ep_81/power/runtime_status:unsupported
/sys/devices/platform/soc/3f980000.usb/usb1/3f980000.usb:usb-port@1/power/runtime_status:unsupported
/sys/devices/platform/soc/3f980000.usb/power/runtime_status:unsupported

3 elements are suspended and if i do the following command the LAN7800
is probed and other USB interfaces are enumerated as expected:

echo on > /sys/devices/platform/soc/3f980000.usb/usb1/1-1/power/control

I don't understand what's the real problem here. Is it that the USB root
(DWC2) doesn't support runtime power management?





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux