Bug 208305 - HID++ device behind a USB C hub fails to properly initialize
Summary: HID++ device behind a USB C hub fails to properly initialize
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Default virtual assignee for Drivers/USB
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-23 18:17 UTC by Luis Chamberlain
Modified: 2020-06-23 18:21 UTC (History)
1 user (show)

See Also:
Kernel Version: v5.7.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Luis Chamberlain 2020-06-23 18:17:43 UTC
I've purchased now about 3 different wireless mice, and they work gloriously if I connect them onto my laptop directly onto one of its USB C ports. Mind you the mice are USB, they come with a USB to USB converter. This works well, however if you run low on USB C ports you'll need a USB HUB.

I've now tried two USB C HUBs, and when I connect the USB mice on the USB HUBs the device initialize and *sometimes* you get to finagle movement out of them but its clearly not working as expected.

This should be easily reproducible with any HID++ mice connected to a USB C hub.

This is what I get from a full journalctl -f output for example if I connect the mice directly to the laptop:

May 29 21:02:15 phoebe kernel: usb 1-1: new full-speed USB device number 29 using xhci_hcd
May 29 21:02:15 phoebe kernel: usb 1-1: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.07
May 29 21:02:15 phoebe kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 29 21:02:15 phoebe kernel: usb 1-1: Product: USB Receiver                   
May 29 21:02:15 phoebe kernel: usb 1-1: Manufacturer: Logitech                  
May 29 21:02:15 phoebe kernel: logitech-djreceiver 0003:046D:C52B.0030: hiddev0,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-1/input2
May 29 21:02:15 phoebe mtp-probe[8911]: checking bus 1, device 29: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
May 29 21:02:15 phoebe mtp-probe[8911]: bus: 1, device: 29 was not an MTP device
May 29 21:02:15 phoebe kernel: input: Logitech M570 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:046D:C52B.0030/0003:046D:1028.0031/input/input64
May 29 21:02:15 phoebe kernel: logitech-hidpp-device 0003:046D:1028.0031: input,hidraw5: USB HID v1.11 Mouse [Logitech M570] on usb-0000:00:14.0-1/input2:1
May 29 21:02:15 phoebe mtp-probe[8925]: checking bus 1, device 29: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
May 29 21:02:15 phoebe mtp-probe[8925]: bus: 1, device: 29 was not an MTP device
May 29 21:02:15 phoebe solaar[1995]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
May 29 21:02:15 phoebe solaar[1995]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
May 29 21:02:48 phoebe kernel: logitech-hidpp-device 0003:046D:1028.0031: HID++ 1.0 device connected.

The last line does not appear if I use a USB C hub:
May 29 21:03:42 phoebe kernel: usb 1-6.3: new full-speed USB device number 30 using xhci_hcd
May 29 21:03:43 phoebe kernel: usb 1-6.3: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.07
May 29 21:03:43 phoebe kernel: usb 1-6.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 29 21:03:43 phoebe kernel: usb 1-6.3: Product: USB Receiver                 
May 29 21:03:43 phoebe kernel: usb 1-6.3: Manufacturer: Logitech                
May 29 21:03:43 phoebe kernel: logitech-djreceiver 0003:046D:C52B.0034: hiddev0,hidraw4: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-6.3/input2
May 29 21:03:43 phoebe mtp-probe[8991]: checking bus 1, device 30: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.3"
May 29 21:03:43 phoebe mtp-probe[8991]: bus: 1, device: 30 was not an MTP device
May 29 21:03:43 phoebe kernel: input: Logitech M570 as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.3/1-6.3:1.2/0003:046D:C52B.0034/0003:046D:1028.0035/input/input65
May 29 21:03:43 phoebe kernel: logitech-hidpp-device 0003:046D:1028.0035: input,hidraw5: USB HID v1.11 Mouse [Logitech M570] on usb-0000:00:14.0-6.3/input2:1
May 29 21:03:43 phoebe mtp-probe[9003]: checking bus 1, device 30: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.3"
May 29 21:03:43 phoebe mtp-probe[9003]: bus: 1, device: 30 was not an MTP device
May 29 21:03:43 phoebe solaar[1995]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
May 29 21:03:43 phoebe solaar[1995]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Given this is super easy to reproduce I figured this should be most of the information needed, let me know if you need more.

Note You need to log in before you can comment on or make changes to this bug.