public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
@ 2023-11-08 21:38 bugzilla-daemon
  2023-11-09 14:52 ` [Bug 218118] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-08 21:38 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

            Bug ID: 218118
           Summary: USB3 port does not work on Chromebook XE303C12 with
                    Linux kernel 6.5.11
           Product: Drivers
           Version: 2.5
          Hardware: ARM
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: quark@disroot.org
        Regression: No

With kernel 6.5.11 usb3 does not work at all. 
With kernel 6.3.8, the usb3 port works if the device was connected before
powering on the laptop; after reconnecting, the usb3 port stops working. 
There are no such problems with Linux kernel 5.15

Linux kernel 6.5.11, dmesg | grep usb:
[    1.612078] usbcore: registered new interface driver usbfs
[    1.612102] usbcore: registered new interface driver hub
[    1.612126] usbcore: registered new device driver usb
[    1.705362] samsung-usb2-phy 12130000.phy: supply vbus not found, using
dummy regulator
[    1.705912] exynos5_usb3drd_phy 12100000.phy: supply vbus-boost not found,
using dummy regulator
[    1.737006] exynos-ehci 12110000.usb: EHCI Host Controller
[    1.737108] exynos-ehci 12110000.usb: new USB bus registered, assigned bus
number 1
[    1.737362] exynos-ehci 12110000.usb: irq 130, io mem 0x12110000
[    1.757630] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[    1.757808] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002,
bcdDevice= 6.05
[    1.757818] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.757825] usb usb1: Product: EHCI Host Controller
[    1.757830] usb usb1: Manufacturer: Linux 6.5.11 ehci_hcd
[    1.757835] usb usb1: SerialNumber: 12110000.usb
[    1.758868] exynos-ohci 12120000.usb: USB Host Controller
[    1.758972] exynos-ohci 12120000.usb: new USB bus registered, assigned bus
number 2
[    1.759045] exynos-ohci 12120000.usb: irq 130, io mem 0x12120000
[    1.831869] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001,
bcdDevice= 6.05
[    1.831878] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.831884] usb usb2: Product: USB Host Controller
[    1.831889] usb usb2: Manufacturer: Linux 6.5.11 ohci_hcd
[    1.831894] usb usb2: SerialNumber: 12120000.usb
[    1.832951] usbcore: registered new interface driver cdc_acm
[    1.832982] usbcore: registered new interface driver usblp
[    1.833006] usbcore: registered new interface driver cdc_wdm
[    1.833152] usbcore: registered new interface driver uas
[    1.833190] usbcore: registered new interface driver usb-storage
[    1.833211] usbcore: registered new interface driver ums-cypress
[    1.833232] usbcore: registered new interface driver ums_eneub6250
[    1.833253] usbcore: registered new interface driver ums-freecom
[    1.833274] usbcore: registered new interface driver ums-isd200
[    2.114593] usbcore: registered new interface driver vub300
[    2.114624] usbcore: registered new interface driver ushc
[    2.115336] usbcore: registered new interface driver usbhid
[    2.115344] usbhid: USB HID core driver
[    2.258696] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002,
bcdDevice= 6.05
[    2.258705] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    2.258713] usb usb3: Product: xHCI Host Controller
[    2.258718] usb usb3: Manufacturer: Linux 6.5.11 xhci-hcd
[    2.258723] usb usb3: SerialNumber: xhci-hcd.7.auto
[    2.259384] usb usb4: We don't know the algorithms for LPM for this host,
disabling LPM.
[    2.259514] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003,
bcdDevice= 6.05
[    2.259522] usb usb4: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    2.259528] usb usb4: Product: xHCI Host Controller
[    2.259533] usb usb4: Manufacturer: Linux 6.5.11 xhci-hcd
[    2.259538] usb usb4: SerialNumber: xhci-hcd.7.auto
[    2.377724] usb 2-1: new low-speed USB device number 2 using exynos-ohci
[    2.668653] usb 2-1: New USB device found, idVendor=0458, idProduct=003a,
bcdDevice= 1.00
[    2.668667] usb 2-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[    2.668674] usb 2-1: Product: USB Optical Mouse
[    2.668679] usb 2-1: Manufacturer: Genius
[    2.675394] input: Genius USB Optical Mouse as
/devices/platform/soc/12120000.usb/usb2/2-1/2-1:1.0/0003:0458:003A.0001/input/input3
[    2.675572] hid-generic 0003:0458:003A.0001: input,hidraw0: USB HID v1.11
Mouse [Genius USB Optical Mouse] on usb-12120000.usb-1/input0
[    4.398510] usb usb3-port1: attempt power cycle
[    6.428387] usb usb3-port1: unable to enumerate USB device


Linux kernel 6.3.8, dmesg | grep usb:
[    1.591836] usbcore: registered new interface driver usbfs
[    1.591856] usbcore: registered new interface driver hub
[    1.591877] usbcore: registered new device driver usb
[    1.658666] samsung-usb2-phy 12130000.phy: supply vbus not found, using
dummy regulator
[    1.659101] exynos5_usb3drd_phy 12100000.phy: supply vbus-boost not found,
using dummy regulator
[    1.701360] exynos-ehci 12110000.usb: EHCI Host Controller
[    1.701451] exynos-ehci 12110000.usb: new USB bus registered, assigned bus
number 1
[    1.701604] exynos-ehci 12110000.usb: irq 131, io mem 0x12110000
[    1.726696] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[    1.726898] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002,
bcdDevice= 6.03
[    1.726907] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.726914] usb usb1: Product: EHCI Host Controller
[    1.726919] usb usb1: Manufacturer: Linux 6.3.8 ehci_hcd
[    1.726924] usb usb1: SerialNumber: 12110000.usb
[    1.727933] exynos-ohci 12120000.usb: USB Host Controller
[    1.728028] exynos-ohci 12120000.usb: new USB bus registered, assigned bus
number 2
[    1.728098] exynos-ohci 12120000.usb: irq 131, io mem 0x12120000
[    1.800917] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001,
bcdDevice= 6.03
[    1.800926] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.800932] usb usb2: Product: USB Host Controller
[    1.800937] usb usb2: Manufacturer: Linux 6.3.8 ohci_hcd
[    1.800942] usb usb2: SerialNumber: 12120000.usb
[    1.802519] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002,
bcdDevice= 6.03
[    1.802528] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.802534] usb usb3: Product: xHCI Host Controller
[    1.802539] usb usb3: Manufacturer: Linux 6.3.8 xhci-hcd
[    1.802543] usb usb3: SerialNumber: xhci-hcd.1.auto
[    1.803101] usb usb4: We don't know the algorithms for LPM for this host,
disabling LPM.
[    1.803232] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003,
bcdDevice= 6.03
[    1.803240] usb usb4: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.803245] usb usb4: Product: xHCI Host Controller
[    1.803250] usb usb4: Manufacturer: Linux 6.3.8 xhci-hcd
[    1.803255] usb usb4: SerialNumber: xhci-hcd.1.auto
[    1.803794] usbcore: registered new interface driver cdc_acm
[    1.803825] usbcore: registered new interface driver usblp
[    1.803845] usbcore: registered new interface driver cdc_wdm
[    1.803993] usbcore: registered new interface driver uas
[    1.804037] usbcore: registered new interface driver usb-storage
[    1.804057] usbcore: registered new interface driver ums-cypress
[    1.804076] usbcore: registered new interface driver ums_eneub6250
[    1.804094] usbcore: registered new interface driver ums-freecom
[    1.804112] usbcore: registered new interface driver ums-isd200
[    2.086726] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[    2.095970] usbcore: registered new interface driver vub300
[    2.096002] usbcore: registered new interface driver ushc
[    2.096477] usbcore: registered new interface driver usbhid
[    2.096483] usbhid: USB HID core driver
[    2.278519] usb 3-1: New USB device found, idVendor=090c, idProduct=1000,
bcdDevice=11.00
[    2.278531] usb 3-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[    2.278537] usb 3-1: Product: Silicon-Power4G
[    2.278542] usb 3-1: Manufacturer: UFD 2.0
[    2.278548] usb 3-1: SerialNumber: 11111111111111
[    2.279485] usb-storage 3-1:1.0: USB Mass Storage device detected
[    2.279934] scsi host0: usb-storage 3-1:1.0
[    2.346703] usb 2-1: new low-speed USB device number 2 using exynos-ohci
[    2.617740] usb 2-1: New USB device found, idVendor=0458, idProduct=003a,
bcdDevice= 1.00
[    2.617755] usb 2-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[    2.617762] usb 2-1: Product: USB Optical Mouse
[    2.617767] usb 2-1: Manufacturer: Genius
[    2.624432] input: Genius USB Optical Mouse as
/devices/platform/soc/12120000.usb/usb2/2-1/2-1:1.0/0003:0458:003A.0001/input/input3
[    2.625043] hid-generic 0003:0458:003A.0001: input,hidraw0: USB HID v1.11
Mouse [Genius USB Optical Mouse] on usb-12120000.usb-1/input0
[   67.531278] usb 3-1: USB disconnect, device number 2
[   71.667630] usb usb3-port1: connect-debounce failed

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218118] USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
  2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
@ 2023-11-09 14:52 ` bugzilla-daemon
  2023-11-09 19:06 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-09 14:52 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

Mathias Nyman (mathias.nyman@linux.intel.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathias.nyman@linux.intel.c
                   |                            |om

--- Comment #1 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
Can you try git bisect to find the offending commit?

looks like xHC host does see something on port 3-1, but can't get
it enumerated properly.

dmesg shows some issues with phy and regulators:
samsung-usb2-phy 12130000.phy: supply vbus not found, using dummy regulator
exynos5_usb3drd_phy 12100000.phy: supply vbus-boost not found, using dummy
regulator

Maybe there is an issue in turning on regulators, supplying ports with power?

Enabling dynamic debug for usbcore and xhci at boot could show more info, can
be done by adding:

usbcore.dyndbg=+p xhci_hcd.dyndbg=+p

to the kernel cmdline.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218118] USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
  2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
  2023-11-09 14:52 ` [Bug 218118] " bugzilla-daemon
@ 2023-11-09 19:06 ` bugzilla-daemon
  2023-11-09 19:07 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-09 19:06 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

--- Comment #2 from Andrew (quark@disroot.org) ---
Created attachment 305382
  --> https://bugzilla.kernel.org/attachment.cgi?id=305382&action=edit
dmesg

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218118] USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
  2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
  2023-11-09 14:52 ` [Bug 218118] " bugzilla-daemon
  2023-11-09 19:06 ` bugzilla-daemon
@ 2023-11-09 19:07 ` bugzilla-daemon
  2023-11-09 19:10 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-09 19:07 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

--- Comment #3 from Andrew (quark@disroot.org) ---
Created attachment 305383
  --> https://bugzilla.kernel.org/attachment.cgi?id=305383&action=edit
kernel config

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218118] USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
  2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2023-11-09 19:07 ` bugzilla-daemon
@ 2023-11-09 19:10 ` bugzilla-daemon
  2023-11-10  9:24 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-09 19:10 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

--- Comment #4 from Andrew (quark@disroot.org) ---
Unfortinally 'usbcore.dyndbg=+p xhci_hcd.dyndbg=+p' did not gave more
information about usb3 issue. Maybe I need to add some extra option to kernel
config and recompile?

I tried to plug in mouse to usb3 port instead of flash-drive, and there was no
light under mouse. And 'usb usb3-port1: connect-debounce failed' appeared at
dmesg.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218118] USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
  2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2023-11-09 19:10 ` bugzilla-daemon
@ 2023-11-10  9:24 ` bugzilla-daemon
  2023-11-10  9:26 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-10  9:24 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

--- Comment #5 from Andrew (quark@disroot.org) ---
Created attachment 305391
  --> https://bugzilla.kernel.org/attachment.cgi?id=305391&action=edit
config patch

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218118] USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
  2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2023-11-10  9:24 ` bugzilla-daemon
@ 2023-11-10  9:26 ` bugzilla-daemon
  2023-11-10  9:27 ` bugzilla-daemon
  2023-11-10 14:37 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-10  9:26 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

--- Comment #6 from Andrew (quark@disroot.org) ---
Created attachment 305392
  --> https://bugzilla.kernel.org/attachment.cgi?id=305392&action=edit
dmesg

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218118] USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
  2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2023-11-10  9:26 ` bugzilla-daemon
@ 2023-11-10  9:27 ` bugzilla-daemon
  2023-11-10 14:37 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-10  9:27 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

--- Comment #7 from Andrew (quark@disroot.org) ---
I applied configpatch and rebuilt the kernel. With debugging enabled usb3 port
works fine. That was unexpected for me.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 218118] USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11
  2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2023-11-10  9:27 ` bugzilla-daemon
@ 2023-11-10 14:37 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2023-11-10 14:37 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218118

--- Comment #8 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
The debug output causes some latency, that could be one reason.

The log for example show that usb3 bus was just about to be suspended before it
detected something on the port:

[    2.337685] xhci-hcd xhci-hcd.6.auto: Get port status 3-1 read: 0x2a0,
return 0x100
[    2.337727] hub 3-0:1.0: state 7 ports 1 chg 0000 evt 0000
[    2.337745] hub 3-0:1.0: hub_suspend
[    2.337769] usb usb3: bus auto-suspend, wakeup 1
[    2.337780] usb usb3: suspend raced with wakeup event
[    2.337786] usb usb3: usb auto-resume
[    2.376930] xhci-hcd xhci-hcd.6.auto: Port change event, 3-1, id 1, portsc:
0xa0206e1

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-11-10 14:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08 21:38 [Bug 218118] New: USB3 port does not work on Chromebook XE303C12 with Linux kernel 6.5.11 bugzilla-daemon
2023-11-09 14:52 ` [Bug 218118] " bugzilla-daemon
2023-11-09 19:06 ` bugzilla-daemon
2023-11-09 19:07 ` bugzilla-daemon
2023-11-09 19:10 ` bugzilla-daemon
2023-11-10  9:24 ` bugzilla-daemon
2023-11-10  9:26 ` bugzilla-daemon
2023-11-10  9:27 ` bugzilla-daemon
2023-11-10 14:37 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox