From owner-freebsd-usb@freebsd.org Tue Nov 27 11:53:42 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D4171147849 for ; Tue, 27 Nov 2018 11:53:42 +0000 (UTC) (envelope-from thj@freebsd.org) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19E8F73617 for ; Tue, 27 Nov 2018 11:53:42 +0000 (UTC) (envelope-from thj@freebsd.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 350E7C30 for ; Tue, 27 Nov 2018 06:53:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 27 Nov 2018 06:53:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=mA93T0xZ6pyeBee3AD930jb/bMCMK pDP4xNnsZ+lc/4=; b=q2ZKwsAC6/YmvM/uKk5GQ3xiddmS7G2TzNzUjQAKVQoFG Hqt5KsFaYWpSlIJTk6FZU9YUGB7fgcF62yJnn5+xSCTfYCoxUzNXilmID3keTLKV 21qRCZvrNIenNbzfWlHANmpSzOO0PU+rHpyqlP58YszBKCJsxWbTmtsthCePipl0 OL6pUF1UVyMf+kKquOe9Ay7Q4weykNo1e0LjF0lB5MZ28C9c6W90E8TnfDwv2Sl/ o0qpvgLc+6ZTNkkYJnlPxKvZVsoCFnlJGLt2CZLh6t3PXHi+jZWgl7PT3TkVVbsP M+V7aA9znu/dzbzoESa+HkZ2A+kUgfn8Zt8XLnAmA== X-ME-Sender: X-ME-Proxy: Received: from tom-desk.erg.abdn.ac.uk (tom-desk.erg.abdn.ac.uk [137.50.17.12]) by mail.messagingengine.com (Postfix) with ESMTPA id 0A97AE4A3B for ; Tue, 27 Nov 2018 06:53:33 -0500 (EST) Date: Tue, 27 Nov 2018 11:53:29 +0000 From: Tom Jones To: freebsd-usb@freebsd.org Subject: Missing USB on Intel Cherryview Message-ID: <20181127115327.GA84974@tom-desk.erg.abdn.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 19E8F73617 X-Spamd-Result: default: False [1.76 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_SPAM_SHORT(0.36)[0.359,0]; NEURAL_SPAM_MEDIUM(0.70)[0.700,0]; NEURAL_SPAM_LONG(0.70)[0.703,0]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2018 11:53:42 -0000 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: 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]