On Tue, Feb 16, 2016 at 6:33 PM, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > On Tue, Feb 16, 2016 at 10:01:13AM -0800, Andy Lutomirski wrote: >> I get some warnings at boot on all kernels I've tried. On 4.5-rc4, I see: >> >> [ 0.229429] usbcore: registered new interface driver usbfs >> [ 0.229436] usbcore: registered new interface driver hub >> [ 0.229451] usbcore: registered new device driver usb >> [ 1.057998] xhci_hcd 0000:00:14.0: xHCI Host Controller >> [ 1.058640] xhci_hcd 0000:00:14.0: new USB bus registered, assigned >> bus number 1 >> [ 1.059811] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci >> version 0x100 quirks 0x00109810 >> [ 1.059818] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported >> [ 1.059821] xhci_hcd 0000:00:14.0: supports USB remote wakeup >> [ 1.060480] usb usb1: default language 0x0409 >> [ 1.060584] usb usb1: udev 1, busnum 1, minor = 0 >> [ 1.060587] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 >> [ 1.060589] usb usb1: New USB device strings: Mfr=3, Product=2, >> SerialNumber=1 >> [ 1.060590] usb usb1: Product: xHCI Host Controller >> [ 1.060592] usb usb1: Manufacturer: Linux 4.5.0-rc4-acpi+ xhci-hcd >> [ 1.060593] usb usb1: SerialNumber: 0000:00:14.0 >> [ 1.060845] usb usb1: usb_probe_device >> [ 1.060848] usb usb1: configuration #1 chosen from 1 choice >> [ 1.060914] usb usb1: adding 1-0:1.0 (config #1, interface 0) >> [ 1.060937] hub 1-0:1.0: usb_probe_interface >> [ 1.060939] hub 1-0:1.0: usb_probe_interface - got id >> [ 1.060941] hub 1-0:1.0: USB hub found >> [ 1.061028] hub 1-0:1.0: 12 ports detected >> [ 1.061030] hub 1-0:1.0: standalone hub >> [ 1.061031] hub 1-0:1.0: no power switching (usb 1.0) >> [ 1.061032] hub 1-0:1.0: individual port over-current protection >> [ 1.061034] hub 1-0:1.0: Single TT >> [ 1.061035] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns) >> [ 1.061036] hub 1-0:1.0: power on to power good time: 20ms >> [ 1.061109] hub 1-0:1.0: local power source is good >> [ 1.084337] usb usb1-port3: DeviceRemovable is changed to 1 >> according to platform information. >> [ 1.084339] usb usb1-port4: DeviceRemovable is changed to 1 >> according to platform information. >> [ 1.084341] usb usb1-port5: DeviceRemovable is changed to 1 >> according to platform information. >> [ 1.084343] hub 1-0:1.0: trying to enable port power on non-switchable hub >> [ 1.084438] xhci_hcd 0000:00:14.0: xHCI Host Controller >> [ 1.084624] xhci_hcd 0000:00:14.0: new USB bus registered, assigned >> bus number 2 >> [ 1.084628] xhci_hcd 0000:00:14.0: supports USB remote wakeup >> [ 1.084671] usb usb2: skipped 1 descriptor after endpoint >> [ 1.084679] usb usb2: default language 0x0409 >> [ 1.084691] usb usb2: udev 1, busnum 2, minor = 128 >> [ 1.084693] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 >> [ 1.084694] usb usb2: New USB device strings: Mfr=3, Product=2, >> SerialNumber=1 >> [ 1.084695] usb usb2: Product: xHCI Host Controller >> [ 1.084697] usb usb2: Manufacturer: Linux 4.5.0-rc4-acpi+ xhci-hcd >> [ 1.084698] usb usb2: SerialNumber: 0000:00:14.0 >> [ 1.084909] usb usb2: usb_probe_device >> [ 1.084914] usb usb2: configuration #1 chosen from 1 choice >> [ 1.084926] usb usb2: adding 2-0:1.0 (config #1, interface 0) >> [ 1.084948] hub 2-0:1.0: usb_probe_interface >> [ 1.084949] hub 2-0:1.0: usb_probe_interface - got id >> [ 1.084952] hub 2-0:1.0: USB hub found >> [ 1.084966] hub 2-0:1.0: 6 ports detected >> [ 1.084968] hub 2-0:1.0: standalone hub >> [ 1.084969] hub 2-0:1.0: no power switching (usb 1.0) >> [ 1.084971] hub 2-0:1.0: individual port over-current protection >> [ 1.084972] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns) >> [ 1.084973] hub 2-0:1.0: power on to power good time: 20ms >> [ 1.084978] hub 2-0:1.0: local power source is good >> [ 1.085684] usb usb2-port1: peered to usb1-port1 >> [ 1.086356] usb usb2-port2: peered to usb1-port2 >> [ 1.087004] usb usb2-port3: peered to usb1-port6 >> [ 1.087713] usb: failed to peer usb2-port4 and usb1-port6 by >> location (usb2-port4:none) (usb1-port6:usb2-port3) >> [ 1.087715] usb usb2-port4: failed to peer to usb1-port6 (-16) >> [ 1.087716] usb: port power management may be unreliable >> [ 1.088377] usb: failed to peer usb2-port5 and usb1-port6 by >> location (usb2-port5:none) (usb1-port6:usb2-port3) >> [ 1.088379] usb usb2-port5: failed to peer to usb1-port6 (-16) >> [ 1.089017] usb: failed to peer usb2-port6 and usb1-port6 by >> location (usb2-port6:none) (usb1-port6:usb2-port3) >> [ 1.089018] usb usb2-port6: failed to peer to usb1-port6 (-16) >> [ 1.089028] hub 2-0:1.0: trying to enable port power on non-switchable hub >> [ 1.089164] usbcore: registered new interface driver usbserial >> [ 1.089170] usbcore: registered new interface driver usbserial_generic >> [ 1.089195] usbserial: USB Serial support registered for generic >> [ 1.097055] usbcore: registered new interface driver usbhid >> [ 1.097056] usbhid: USB HID core driver >> [ 1.184226] usb usb1-port3: status 0101 change 0001 >> [ 1.184241] usb usb1-port5: status 0101 change 0001 >> [ 1.284270] hub 1-0:1.0: state 7 ports 12 chg 0028 evt 0000 >> [ 1.284302] usb usb1-port3: status 0101, change 0000, 12 Mb/s >> [ 1.288262] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0000 >> [ 1.288342] hub 2-0:1.0: hub_suspend >> [ 1.288348] usb usb2: bus auto-suspend, wakeup 1 >> [ 1.335334] usb usb1-port3: not reset yet, waiting 50ms >> [ 1.437396] usb 1-3: new full-speed USB device number 2 using xhci_hcd >> [ 1.488359] usb usb1-port3: not reset yet, waiting 50ms >> [ 1.603782] usb 1-3: udev 2, busnum 1, minor = 1 >> [ 1.603791] usb 1-3: New USB device found, idVendor=8087, idProduct=0a2a >> [ 1.603796] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 >> [ 1.604042] usb 1-3: usb_probe_device >> [ 1.604048] usb 1-3: configuration #1 chosen from 1 choice >> [ 1.604540] usb 1-3: adding 1-3:1.0 (config #1, interface 0) >> [ 1.604812] usb 1-3: adding 1-3:1.1 (config #1, interface 1) >> [ 1.605058] usb usb1-port5: status 0101, change 0000, 12 Mb/s >> [ 1.655297] usb usb1-port5: not reset yet, waiting 50ms >> [ 1.757276] usb 1-5: new high-speed USB device number 3 using xhci_hcd >> [ 1.808265] usb usb1-port5: not reset yet, waiting 50ms >> [ 1.956444] usb 1-5: skipped 2 descriptors after configuration >> [ 1.956447] usb 1-5: skipped 6 descriptors after interface >> [ 1.956449] usb 1-5: skipped 1 descriptor after endpoint >> [ 1.956451] usb 1-5: skipped 17 descriptors after endpoint >> [ 1.958099] usb 1-5: default language 0x0409 >> [ 1.963384] usb 1-5: udev 3, busnum 1, minor = 2 >> [ 1.963386] usb 1-5: New USB device found, idVendor=0bda, idProduct=5682 >> [ 1.963388] usb 1-5: New USB device strings: Mfr=3, Product=1, SerialNumber=2 >> [ 1.963390] usb 1-5: Product: Integrated_Webcam_HD >> [ 1.963391] usb 1-5: Manufacturer: CKFEH41I373010075512 >> [ 1.963392] usb 1-5: SerialNumber: 200901010001 >> [ 1.963630] usb 1-5: usb_probe_device >> [ 1.963632] usb 1-5: configuration #1 chosen from 1 choice >> [ 1.966973] usb 1-5: adding 1-5:1.0 (config #1, interface 0) >> [ 1.968683] usb 1-5: adding 1-5:1.1 (config #1, interface 1) >> [ 16.644924] btusb 1-3:1.0: usb_probe_interface >> [ 16.644938] btusb 1-3:1.0: usb_probe_interface - got id >> [ 16.651022] usbcore: registered new interface driver btusb >> [ 16.806790] uvcvideo 1-5:1.0: usb_probe_interface >> [ 16.806795] uvcvideo 1-5:1.0: usb_probe_interface - got id >> [ 16.832330] input: Integrated_Webcam_HD as >> /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input11 >> [ 16.832603] usbcore: registered new interface driver uvcvideo >> [ 18.864591] usb 1-5: usb auto-suspend, wakeup 0 >> >> I don't know whether this is useful: >> >> $ sudo lsusb -t >> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M >> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M >> |__ Port 3: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M >> |__ Port 3: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M >> |__ Port 5: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M >> |__ Port 5: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M > > Other than your internal hub not liking to be a peer (which seems like a > BIOS/ACPI issue, right Mathias), I don't see an error here. Are things > working properly? I think so, but I haven't tested with a USB device plugged in across suspend/resume. I do get this on resume, though: [ +0.008245] ACPI: Waking up from system sleep state S3 [ +0.137335] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI [ +0.000117] PM: noirq resume of devices complete after 12.890 msecs [ +0.011969] PM: early resume of devices complete after 11.890 msecs [ +0.000345] usb usb1: root hub lost power or was reset [ +0.000005] usb usb2: root hub lost power or was reset [ +0.005946] rtc_cmos 00:01: System wakeup disabled by ACPI [ +0.364455] usb 1-3: reset full-speed USB device number 2 using xhci_hcd [ +0.318243] usb 1-5: reset high-speed USB device number 3 using xhci_hcd [ +0.208028] PM: resume of devices complete after 896.974 msecs [ +0.000109] usb 1-3:1.0: rebind failed: -517 [ +0.000007] usb 1-3:1.1: rebind failed: -517 [ +0.000474] PM: Finishing wakeup. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html