Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821508 - sys-kernel/gentoo-sources-5.15.0 fails to recognize USB mouse and fails to remount /root ro on powerdown
Summary: sys-kernel/gentoo-sources-5.15.0 fails to recognize USB mouse and fails to re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-03 17:45 UTC by Helmut Jarausch
Modified: 2021-11-20 12:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2021-11-03 17:45:46 UTC
gentoo-sources-5.15.0 fails to recognize my USB mouse.
Rebooting to 5.14.15 doesn't have this problem without any other change (cables,...)

Here some relevant diffs from dmesg output:
iommu: Default domain type: Translated 	          iommu: Default domain type: Translated 
					        > iommu: DMA domain TLB invalidation policy: lazy mode 

only in linux 5.14.15
usb 1-1.1: New USB device found, idVendor=046d, idProduct=c069, bcdDevice=56.01						      <
usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0							      <
usb 1-1.1: Product: USB Laser Mouse											      <
usb 1-1.1: Manufacturer: Logitech											      <
input: Logitech USB Laser Mouse as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C069.0001 <
hid-generic 0003:046D:C069.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB Laser Mouse] on usb-0000:01:00.0-1.1/input0 <
usb 1-1.3: new full-speed USB device number 5 using xhci_hcd								      <
usb 1-1.3: New USB device found, idVendor=043e, idProduct=9a39, bcdDevice= 4.11						      <
usb 1-1.3: New USB device strings: Mfr=1, Product=3, SerialNumber=4							      <
usb 1-1.3: Product: LG Monitor Controls											      <
usb 1-1.3: Manufacturer: LG Electronics Inc.										      <
usb 1-1.3: SerialNumber: 007NTCZME019											      <
hid-generic 0003:043E:9A39.0002: hiddev96,hidraw1: USB HID v1.11 Device [LG Electronics Inc. LG Monitor Controls] on usb-0000 <
usb 1-1.4: new full-speed USB device number 6 using xhci_hcd								      <
usb 1-1.4: not running at top speed; connect to a high speed hub							      <
usb 1-1.4: New USB device found, idVendor=043e, idProduct=9a7c, bcdDevice= 1.00						      <
usb 1-1.4: New USB device strings: Mfr=17, Product=18, SerialNumber=19							      <
usb 1-1.4: Product: BillBoard Device											      <
usb 1-1.4: Manufacturer: Realtek											      <
usb 1-1.4: SerialNumber: 123456789ABCDEFGH										      <
....
only in linux 5.15.0
      >	usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
      >	usb 1-1-port1: unable to enumerate USB device


Furthermore 5.15.0 hangs on powerdown while trying to (re)mount ro

Sometimes some rebooting solves the USB mouse problem temporarily.

This is on an AMD 64 machine.
Comment 1 Mike Pagano gentoo-dev 2021-11-03 18:54:34 UTC
Can you do a bisect bewteen 5.14.15 and 5.15.0 ? 
One problem at a time, though.
Comment 2 Mike Pagano gentoo-dev 2021-11-19 20:17:07 UTC
Can you try with 5.15.3 ? Can you try a different USB port ?
Comment 3 Helmut Jarausch 2021-11-20 12:08:42 UTC
My USB mouse is connected to my LG monitor which in turn is connected to my PCs USB-C port.
This worked well in 5.14.x even if CONFIG_TYPEC wasn't set in the kernel configuration.

Now, I have set 
CONFIG_TYPEC=y
CONFIG_USB_ROLE_SWITCH=m

which gives a working 5.15.3 kernel