Fwd: Add capacity to disable usb port at boot parameter

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

 



Hi,

On a asrock Z97 Extreme 6 motherboard, the system provides:
 - 6 usb3 port in backplate
 - 1 usb (2-3? i don't know) port on the board near power switch
 - 2 usb sockets (to be used with brackets) on the board near power switch
   - in my case, they are both used with usb2-double port brackets


While all ports seems to be working, back in motherboard, front panel,
back panel and inside port, dmesg repeat at usb start this message
(boot or via reactivating xhci_hcd):

[66982.352959] usb 3-9: device descriptor read/all, error -110
[66982.464943] usb 3-9: new high-speed USB device number 4 using xhci_hcd
[66992.590023] usb 3-9: device descriptor read/all, error -110
[66992.701970] usb 3-9: new high-speed USB device number 5 using xhci_hcd
[66997.716538] usb 3-9: device descriptor read/8, error -110
[67002.835034] usb 3-9: device descriptor read/8, error -110
[67003.050912] usb 3-9: new high-speed USB device number 6 using xhci_hcd
[67008.065506] usb 3-9: device descriptor read/8, error -110
[67013.184035] usb 3-9: device descriptor read/8, error -110
[67013.287998] usb usb3-port9: unable to enumerate USB device

While the last message have not appeared, the other usb devices are
not activated. After the last message all usb devices unlock in less
than a second.
This means:
 - computer start really fast
 - but i can log in only after ~30 seconds because of usb keyboard not detected

This bug apply for all recent debian kernels (3.16, 3.18, 4.0, 4.1...)
(windows also have problem with a "unknown usb device").

I would know if it is possible:
- to disable usb3 port9 from kernel command line (so it won't try to
poll it and unlock the other ones faster)

Note:
- usb3 have other devices plug into without problems. I don't even
know if usb3-port9 is a real usb port...
- all plugged devices work correctly
- problem occur also with no usb devices plug in
- if the bios option to enable usb2 devices on usb3 port is activated,
the bios freeze for 30s also before grub... So i think it is hardware
related...


Linked files:

lspci / lsusb / lsusb -t / dmesg showing the (slow) reset of usb

--

Deldycke Quentin
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
00:1c.2 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 3 (rev d0)
00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0)
00:1c.6 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 7 (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aac8
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
04:00.0 PCI bridge: ASMedia Technology Inc. Device 1184
05:01.0 PCI bridge: ASMedia Technology Inc. Device 1184
05:03.0 PCI bridge: ASMedia Technology Inc. Device 1184
05:05.0 PCI bridge: ASMedia Technology Inc. Device 1184
05:07.0 PCI bridge: ASMedia Technology Inc. Device 1184
07:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
09:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
0a:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
    |__ Port 6: Dev 2, If 0, Class=Vendor Specific Class, Driver=ftdi_sio, 12M
    |__ Port 10: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 10: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 13: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 13: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 14: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 14: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
Bus 002 Device 002: ID 8087:8001 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 174c:5106 ASMedia Technology Inc. Transcend StoreJet 25M3
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 174c:3074 ASMedia Technology Inc. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 003 Device 009: ID 046d:c531 Logitech, Inc. 
Bus 003 Device 008: ID 045e:0768 Microsoft Corp. Sidewinder X4
Bus 003 Device 007: ID 0458:705e KYE Systems Corp. (Mouse Systems) 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[66971.100239] ehci-pci 0000:00:1a.0: remove, state 4
[66971.100246] usb usb1: USB disconnect, device number 1
[66971.100247] usb 1-1: USB disconnect, device number 2
[66971.104386] ehci-pci 0000:00:1a.0: USB bus 1 deregistered
[66971.104576] ehci-pci 0000:00:1a.0: EHCI Host Controller
[66971.104580] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
[66971.104590] ehci-pci 0000:00:1a.0: debug port 2
[66971.108488] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[66971.108495] ehci-pci 0000:00:1a.0: irq 16, io mem 0xefd3b000
[66971.120176] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00
[66971.120205] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[66971.120206] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[66971.120207] usb usb1: Product: EHCI Host Controller
[66971.120208] usb usb1: Manufacturer: Linux 4.0.0-trunk-amd64 ehci_hcd
[66971.120208] usb usb1: SerialNumber: 0000:00:1a.0
[66971.120316] hub 1-0:1.0: USB hub found
[66971.120319] hub 1-0:1.0: 2 ports detected
[66971.184234] ehci-pci 0000:00:1d.0: remove, state 4
[66971.184242] usb usb2: USB disconnect, device number 1
[66971.184244] usb 2-1: USB disconnect, device number 2
[66971.188463] ehci-pci 0000:00:1d.0: USB bus 2 deregistered
[66971.188648] ehci-pci 0000:00:1d.0: EHCI Host Controller
[66971.188651] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2
[66971.188660] ehci-pci 0000:00:1d.0: debug port 2
[66971.192568] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[66971.192577] ehci-pci 0000:00:1d.0: irq 23, io mem 0xefd3a000
[66971.204202] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00
[66971.204236] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[66971.204237] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[66971.204238] usb usb2: Product: EHCI Host Controller
[66971.204239] usb usb2: Manufacturer: Linux 4.0.0-trunk-amd64 ehci_hcd
[66971.204240] usb usb2: SerialNumber: 0000:00:1d.0
[66971.204436] hub 2-0:1.0: USB hub found
[66971.204441] hub 2-0:1.0: 2 ports detected
[66971.234554] xhci_hcd 0000:00:14.0: remove, state 4
[66971.234562] usb usb4: USB disconnect, device number 1
[66971.234563] usb 4-3: USB disconnect, device number 2
[66971.235201] xhci_hcd 0000:00:14.0: USB bus 4 deregistered
[66971.235208] xhci_hcd 0000:00:14.0: remove, state 1
[66971.235213] usb usb3: USB disconnect, device number 1
[66971.235214] usb 3-6: USB disconnect, device number 2
[66971.235328] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[66971.235340] ftdi_sio 3-6:1.0: device disconnected
[66971.235423] usb 3-10: USB disconnect, device number 7
[66971.264481] usb 3-13: USB disconnect, device number 8
[66971.432144] usb 1-1: new high-speed USB device number 2 using ehci-pci
[66971.444193] usb 3-14: USB disconnect, device number 9
[66971.516118] usb 2-1: new high-speed USB device number 2 using ehci-pci
[66971.564422] usb 1-1: New USB device found, idVendor=8087, idProduct=8009
[66971.564424] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[66971.564688] hub 1-1:1.0: USB hub found
[66971.564776] hub 1-1:1.0: 6 ports detected
[66971.565380] xhci_hcd 0000:00:14.0: USB bus 3 deregistered
[66971.565599] xhci_hcd 0000:00:14.0: xHCI Host Controller
[66971.565604] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 3
[66971.648387] usb 2-1: New USB device found, idVendor=8087, idProduct=8001
[66971.648389] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[66971.648534] hub 2-1:1.0: USB hub found
[66971.648631] hub 2-1:1.0: 8 ports detected
[66971.664275] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x00009810
[66971.664280] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[66971.664333] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[66971.664334] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[66971.664334] usb usb3: Product: xHCI Host Controller
[66971.664335] usb usb3: Manufacturer: Linux 4.0.0-trunk-amd64 xhci-hcd
[66971.664336] usb usb3: SerialNumber: 0000:00:14.0
[66971.664499] hub 3-0:1.0: USB hub found
[66971.664515] hub 3-0:1.0: 14 ports detected
[66971.693873] xhci_hcd 0000:00:14.0: xHCI Host Controller
[66971.693878] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 4
[66971.694038] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[66971.694040] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[66971.694041] usb usb4: Product: xHCI Host Controller
[66971.694042] usb usb4: Manufacturer: Linux 4.0.0-trunk-amd64 xhci-hcd
[66971.694042] usb usb4: SerialNumber: 0000:00:14.0
[66971.694182] hub 4-0:1.0: USB hub found
[66971.694197] hub 4-0:1.0: 6 ports detected
[66971.694762] xhci_hcd 0000:0a:00.0: remove, state 1
[66971.694766] usb usb6: USB disconnect, device number 1
[66971.694767] usb 6-1: USB disconnect, device number 2
[66971.729592] xhci_hcd 0000:0a:00.0: USB bus 6 deregistered
[66971.729602] xhci_hcd 0000:0a:00.0: remove, state 4
[66971.729606] usb usb5: USB disconnect, device number 1
[66971.863734] xhci_hcd 0000:0a:00.0: USB bus 5 deregistered
[66971.863890] xhci_hcd 0000:0a:00.0: xHCI Host Controller
[66971.863894] xhci_hcd 0000:0a:00.0: new USB bus registered, assigned bus number 5
[66971.975916] usb 3-6: new full-speed USB device number 2 using xhci_hcd
[66971.997856] xhci_hcd 0000:0a:00.0: hcc params 0x0200e081 hci version 0x100 quirks 0x00000010
[66971.998010] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[66971.998011] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[66971.998012] usb usb5: Product: xHCI Host Controller
[66971.998012] usb usb5: Manufacturer: Linux 4.0.0-trunk-amd64 xhci-hcd
[66971.998013] usb usb5: SerialNumber: 0000:0a:00.0
[66971.998107] hub 5-0:1.0: USB hub found
[66971.998113] hub 5-0:1.0: 2 ports detected
[66972.004029] usb 4-3: new SuperSpeed USB device number 2 using xhci_hcd
[66972.021530] usb 4-3: New USB device found, idVendor=174c, idProduct=3074
[66972.021532] usb 4-3: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[66972.021533] usb 4-3: Product: ASM107x
[66972.021534] usb 4-3: Manufacturer: ASRock
[66972.021877] hub 4-3:1.0: USB hub found
[66972.022001] hub 4-3:1.0: 4 ports detected
[66972.023237] xhci_hcd 0000:0a:00.0: xHCI Host Controller
[66972.023241] xhci_hcd 0000:0a:00.0: new USB bus registered, assigned bus number 6
[66972.023295] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[66972.023296] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[66972.023297] usb usb6: Product: xHCI Host Controller
[66972.023297] usb usb6: Manufacturer: Linux 4.0.0-trunk-amd64 xhci-hcd
[66972.023298] usb usb6: SerialNumber: 0000:0a:00.0
[66972.023432] hub 6-0:1.0: USB hub found
[66972.023437] hub 6-0:1.0: 2 ports detected
[66972.113388] usb 3-6: New USB device found, idVendor=0403, idProduct=6001
[66972.113391] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[66972.113392] usb 3-6: Product: FT232R USB UART
[66972.113392] usb 3-6: Manufacturer: FTDI
[66972.113393] usb 3-6: SerialNumber: AH01I4V6
[66972.115872] ftdi_sio 3-6:1.0: FTDI USB Serial Device converter detected
[66972.115895] usb 3-6: Detected FT232RL
[66972.116070] usb 3-6: FTDI USB Serial Device converter now attached to ttyUSB1
[66972.227919] usb 3-9: new high-speed USB device number 3 using xhci_hcd
[66972.332452] usb 6-1: new SuperSpeed USB device number 2 using xhci_hcd
[66972.352943] usb 6-1: New USB device found, idVendor=174c, idProduct=5106
[66972.352955] usb 6-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[66972.352956] usb 6-1: Product: AS2105
[66972.352957] usb 6-1: Manufacturer: ASMedia
[66972.352958] usb 6-1: SerialNumber:             5VE94DZ3
[66972.354556] usb-storage 6-1:1.0: USB Mass Storage device detected
[66972.354856] scsi host17: usb-storage 6-1:1.0
[66973.352370] scsi 17:0:0:0: Direct-Access     ST950032 5AS              0006 PQ: 0 ANSI: 5
[66973.352612] sd 17:0:0:0: Attached scsi generic sg5 type 0
[66973.352768] sd 17:0:0:0: [sde] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[66973.353223] sd 17:0:0:0: [sde] Write Protect is off
[66973.353225] sd 17:0:0:0: [sde] Mode Sense: 23 00 00 00
[66973.353665] sd 17:0:0:0: [sde] No Caching mode page found
[66973.353667] sd 17:0:0:0: [sde] Assuming drive cache: write through
[66973.638282]  sde: sde1 sde2
[66973.639817] sd 17:0:0:0: [sde] Attached SCSI disk
[66982.352959] usb 3-9: device descriptor read/all, error -110
[66982.464943] usb 3-9: new high-speed USB device number 4 using xhci_hcd
[66992.590023] usb 3-9: device descriptor read/all, error -110
[66992.701970] usb 3-9: new high-speed USB device number 5 using xhci_hcd
[66997.716538] usb 3-9: device descriptor read/8, error -110
[67002.835034] usb 3-9: device descriptor read/8, error -110
[67003.050912] usb 3-9: new high-speed USB device number 6 using xhci_hcd
[67008.065506] usb 3-9: device descriptor read/8, error -110
[67013.184035] usb 3-9: device descriptor read/8, error -110
[67013.287998] usb usb3-port9: unable to enumerate USB device
[67013.399931] usb 3-10: new high-speed USB device number 7 using xhci_hcd
[67013.617529] usb 3-10: New USB device found, idVendor=0458, idProduct=705e
[67013.617532] usb 3-10: New USB device strings: Mfr=16, Product=96, SerialNumber=0
[67013.617533] usb 3-10: Product: Eye 320SE
[67013.617534] usb 3-10: Manufacturer: PixArt Imaging Inc.
[67013.624392] uvcvideo: Found UVC 1.00 device Eye 320SE (0458:705e)
[67013.632872] input: Eye 320SE as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/input/input67
[67013.799792] usb 3-13: new full-speed USB device number 8 using xhci_hcd
[67013.936999] usb 3-13: New USB device found, idVendor=045e, idProduct=0768
[67013.937001] usb 3-13: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[67013.937002] usb 3-13: Product: Microsoft® SiderWinderTM X4 Keyboard
[67013.937003] usb 3-13: Manufacturer: Microsoft
[67013.940184] input: Microsoft Microsoft® SiderWinderTM X4 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.0/0003:045E:0768.001F/input/input68
[67013.995863] hid-generic 0003:045E:0768.001F: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® SiderWinderTM X4 Keyboard] on usb-0000:00:14.0-13/input0
[67014.005548] input: Microsoft Microsoft® SiderWinderTM X4 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.1/0003:045E:0768.0020/input/input69
[67014.059846] hid-generic 0003:045E:0768.0020: input,hidraw1: USB HID v1.11 Keyboard [Microsoft Microsoft® SiderWinderTM X4 Keyboard] on usb-0000:00:14.0-13/input1
[67014.171672] usb 3-14: new full-speed USB device number 9 using xhci_hcd
[67014.301732] usb 3-14: New USB device found, idVendor=046d, idProduct=c531
[67014.301735] usb 3-14: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[67014.301736] usb 3-14: Product: USB Receiver
[67014.301736] usb 3-14: Manufacturer: Logitech
[67014.303480] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-14/3-14:1.0/0003:046D:C531.0021/input/input70
[67014.303558] hid-generic 0003:046D:C531.0021: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-14/input0
[67014.306046] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb3/3-14/3-14:1.1/0003:046D:C531.0022/input/input71
[67014.411773] hid-generic 0003:046D:C531.0022: input,hiddev0,hidraw3: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-14/input1

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

  Powered by Linux