Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 11:53:29 +0000
From:      Tom Jones <thj@freebsd.org>
To:        freebsd-usb@freebsd.org
Subject:   Missing USB on Intel Cherryview
Message-ID:  <20181127115327.GA84974@tom-desk.erg.abdn.ac.uk>

next in thread | raw e-mail | index | archive | help
Hi,

I have a Intel Cherryview based laptop with Braswell XHCI. The laptop has two
usb ports, a USB-A port routed to USB3 (this works) and a USB-C port routed a
USB 2 bus.

The USB bus routed to the USB-C port does not appear under FreeBSD.

xhci0: <Intel Braswell USB 3.0 controller> mem 0xa1a00000-0xa1a0ffff at device 20.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0

There is full (if slightly old) dmesg here: https://dmesgd.nycbug.org/index.cgi?do=view&id=3213

It is picket up on Linux:

[   19.200330] uhci_hcd: USB Universal Host Controller Interface driver
[   19.200827] xhci_hcd 0000:00:14.0: xHCI Host Controller
[   19.200855] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[   19.202004] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081509810
[   19.202019] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[   19.202522] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
[   19.202526] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.202529] usb usb1: Product: xHCI Host Controller
[   19.202534] usb usb1: Manufacturer: Linux 4.18.0-10-generic xhci-hcd
[   19.202537] usb usb1: SerialNumber: 0000:00:14.0
[   19.203545] hub 1-0:1.0: USB hub found
[   19.203579] hub 1-0:1.0: 7 ports detected
[   19.205628] xhci_hcd 0000:00:14.0: xHCI Host Controller
[   19.205638] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[   19.205649] xhci_hcd 0000:00:14.0: Host supports USB 3.0  SuperSpeed
[   19.205764] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.18
[   19.205768] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   19.205771] usb usb2: Product: xHCI Host Controller
[   19.205774] usb usb2: Manufacturer: Linux 4.18.0-10-generic xhci-hcd
[   19.205777] usb usb2: SerialNumber: 0000:00:14.0
[   19.206868] hub 2-0:1.0: USB hub found
[   19.206907] hub 2-0:1.0: 6 ports detected

It is also picked up on NetBSD, but conversations with stejda@ raise some
doubts about support there.

xhci0 at pci0 dev 20 function 0: vendor 8086 product 22b5 (rev. 0x34)
xhci0: interrupting at msi0 vec 0
xhci0: xHCI version 1.0
usb0 at xhci0: USB revision 3.0
usb1 at xhci0: USB revision 2.0

I have done some digging, but don't the background with usb to really know
where to look. Could someone give me some pointers for what to try?

- Tom

-- 
- [tj]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181127115327.GA84974>