If I try to plug in various USB 3.0 umass(4) devices into a USB 3.0 or USB 3.1 Type C port, nothing gets registered via dmesg, even if I add
option USB_DEBUG option UMASS_DEBUG option XHCI_DEBUG and compile a kernel. No dmesg output upon attachment of USB 3.0 devices. If I try, via config(8) UKC> disable xhci I get no USB 2.0 support at all. The USB 3.0 devices can only get recognised if I attach them via a USB 2.0 cable, and plug this cable into the USB 3.0 or USB 3.1 Type C port. I've attached 1. usbdevs via USB 2.0 with USB 3.0 device attached 2. usbdevs via USB 3.0, with USB 3.0 device attached 3. pcidump 4. and dmesg via USB 2.0 cable ******************** $ usbdevs -vd Controller /dev/usb0: addr 1: super speed, self powered, config 1, xHCI root hub(0x0000), Intel(0x8086), rev 1.00 uhub0 port 1 addr 4: high speed, power 224 mA, config 1, Ultra Fit(0x5583), SanDisk(0x0781), rev 1.00, iSerialNumber 4C530147300909108282 umass0 port 2 disabled port 3 disabled port 4 disabled port 5 disabled port 6 disabled port 7 addr 2: high speed, power 500 mA, config 1, NCM-G102(0x6001), NMGAAI00010200253N01253(0x2232), rev 0.02 uvideo0 port 8 addr 3: full speed, self powered, config 1, product 0x07dc(0x07dc), Intel(0x8087), rev 0.01 ugen0 port 9 disabled port 10 disabled port 11 disabled port 12 disabled port 13 disabled port 14 disabled port 15 disabled direct to USB 3.0 port ************************* $ usbdevs -vd Controller /dev/usb0: addr 1: super speed, self powered, config 1, xHCI root hub(0x0000), Intel(0x8086), rev 1.00 uhub0 port 1 disabled port 2 disabled port 3 disabled port 4 disabled port 5 disabled port 6 disabled port 7 addr 2: high speed, power 500 mA, config 1, NCM-G102(0x6001), NMGAAI00010200253N01253(0x2232), rev 0.02 uvideo0 port 8 addr 3: full speed, self powered, config 1, product 0x07dc(0x07dc), Intel(0x8087), rev 0.01 ugen0 port 9 disabled port 10 disabled port 11 disabled port 12 disabled port 13 disabled port 14 disabled port 15 disabled pcidump ********** $ pcidump -v 0:20:0 0:20:0: Intel 9 Series xHCI 0x0000: Vendor ID: 8086 Product ID: 9cb1 0x0004: Command: 0106 Status: 0290 0x0008: Class: 0c Subclass: 03 Interface: 30 Revision: 03 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 0x0010: BAR mem 64bit addr: 0x00000000e1200000/0x00010000 0x0018: BAR empty (00000000) 0x001c: BAR empty (00000000) 0x0020: BAR empty (00000000) 0x0024: BAR empty (00000000) 0x0028: Cardbus CIS: 00000000 0x002c: Subsystem Vendor ID: 8086 Product ID: 9cb1 0x0030: Expansion ROM Base Address: 00000000 0x0038: 00000000 0x003c: Interrupt Pin: 01 Line: 8b Min Gnt: 00 Max Lat: 00 0x0070: Capability 0x01: Power Management 0x0080: Capability 0x05: Message Signaled Interrupts (MSI) dmesg with XHCI_DEBUG ******************************* OpenBSD 5.8-current (GENERIC.MP) #3: Fri Nov 20 15:50:27 UTC 2015 char...@mousse.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17094049792 (16302MB) avail mem = 16571830272 (15804MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7ce42020 (9 entries) bios0: vendor coreboot version "(null)" date 04/02/2015 bios0: GOOGLE Samus acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S2 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG SSDT acpi0: wakeup devices HDEF(S3) WLAN(S3) EHCI(S3) XHCI(S3) ATPA(S3) CODC(S3) LID0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz, 2400.74 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX ,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS GSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz, 2893.30 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX ,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS GSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0 cpu2 at mainbus0: apid 3 (application processor) cpu2: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz, 2893.30 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX ,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS GSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 1, core 1, package 0 cpu3 at mainbus0: apid 2 (application processor) cpu3: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz, 2893.30 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX ,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEA DLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FS GSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins acpimcfg0 at acpi0 addr 0xf0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus -1 (RP02) acpiprt3 at acpi0: bus -1 (RP03) acpiprt4 at acpi0: bus -1 (RP04) acpiprt5 at acpi0: bus -1 (RP05) acpiprt6 at acpi0: bus -1 (RP06) acpiprt7 at acpi0: bus -1 (RP07) acpiprt8 at acpi0: bus -1 (RP08) acpiec0 at acpi0 acpicpu0 at acpi0: C3(700@148 mwait.1@0x33), C2(900@67 mwait.1@0x10), C1(1000@0 mwait.1@0x1), PSS acpicpu1 at acpi0: C3(700@148 mwait.1@0x33), C2(900@67 mwait.1@0x10), C1(1000@0 mwait.1@0x1), PSS acpicpu2 at acpi0: C3(700@148 mwait.1@0x33), C2(900@67 mwait.1@0x10), C1(1000@0 mwait.1@0x1), PSS acpicpu3 at acpi0: C3(700@148 mwait.1@0x33), C2(900@67 mwait.1@0x10), C1(1000@0 mwait.1@0x1), PSS acpitz0 at acpi0: critical temperature is 104 degC acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model "3487041" serial 809777200 type LION oem "21484737139854675" acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB cpu0: Enhanced SpeedStep 2400 MHz: speeds: 2401, 2400, 1700, 1300, 900, 500 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 5G Host" rev 0x09 inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 5500" rev 0x09 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 2560x1700 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msi xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi xhci0: xHCI version 1.0 xhci0: CAPLENGTH=0x80 xhci0: DOORBELL=0x3000 xhci0: RUNTIME=0x2000 xhci0: 32 bytes context xhci0: supported page size 0x00000001 xhci0: 15 ports and 32 slots xhci0: 16 scratch pages xhci0: USB3PRM / USB3.0 configurable ports: 0x0000000f xhci0: USB3_PSSEN / Enabled USB3.0 ports under xHCI: 0x0000000f xhci0: XUSB2PRM / USB2.0 ports can switch from EHCI to xHCI:0x000004ff xhci0: XUSB2PR / USB2.0 ports under xHCI: 0x000007ff usb0 at xhci0: USB revision 3.0 uhub0 at usb0 "Intel xHCI root hub" rev 3.00/1.00 addr 1 xhci0: DCBAAP=00x1ab3000 xhci0: CRCR=00 (0000000001ab4000) xhci0: ERSTBA=00x7ce16000 xhci0: ERDP=00x1ab5000 xhci0: USBCMD=0x5 xhci0: IMAN=0x2 ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xe3 pci1 at ppb0 bus 1 iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev 0xcb, msi pcib0 at pci0 dev 31 function 0 "Intel 9 Series LPC" rev 0x03 ahci0 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x03: msi, AHCI 1.3 ahci0: port 0: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, KINGSTON RBU-SUS, S9FM> SCSI3 0/direct fixed t10.ATA_KINGSTON_RBU-SUS151S364GD_50026B7E51D7488F_ sd0: 61057MB, 512 bytes/sector, 125045424 sectors, thin "Intel 9 Series Thermal" rev 0x03 at pci0 dev 31 function 6 not configured isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifo pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0 mux 1 wskbd0: connecting to wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 xhci0: port=7 change=0x80 xhci0: port=8 change=0x00 xhci0: port=7 change=0x80 xhci0: xhci_cmd_slot_control xhci0: dev 1, input=0xffffff0001e56000 slot=0xffffff0001e56020 ep0=0xffffff0001e56040 xhci0: dev 1, setting DCBAA to 0x0000000001e57000 xhci_pipe_init: pipe=0xffff80000051b000 addr=0 depth=1 port=7 speed=3 dev 1 dci 1 (epAddr=0x0) xhci0: xhci_cmd_set_address BSR=1 xhci0: xhci_cmd_set_address BSR=0 xhci0: dev 1 addr 1 uvideo0 at uhub0 port 7 configuration 1 interface 0 "NMGAAI00010200253N01253 NCM-G102" rev 2.00/0.02 addr 2 video0 at uvideo0 xhci0: port=8 change=0x00 xhci0: xhci_cmd_slot_control xhci0: dev 2, input=0xffffff0001e59000 slot=0xffffff0001e59020 ep0=0xffffff0001e59040 xhci0: dev 2, setting DCBAA to 0x0000000001e5a000 xhci_pipe_init: pipe=0xffff8000006e3000 addr=0 depth=1 port=8 speed=2 dev 2 dci 1 (epAddr=0x0) xhci0: xhci_cmd_set_address BSR=1 xhci0: xhci_cmd_set_address BSR=0 xhci0: dev 2 addr 2 ugen0 at uhub0 port 8 "Intel product 0x07dc" rev 2.00/0.01 addr 3 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed sd1: 16383MB, 512 bytes/sector, 33553904 sectors root on sd1a (685567a3b591f896.a) swap on sd1b dump on sd1b clock: unknown CMOS layout iwm0: hw rev 0x140, fw ver 25.228 (API ver 9), address 6c:29:95:23:03:98 iwm0: could not initiate 2 GHz scan Edward