From owner-freebsd-usb@FreeBSD.ORG Mon Sep 29 17:49:10 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43672147; Mon, 29 Sep 2014 17:49:10 +0000 (UTC) Received: from acme.spoerlein.net (unknown [IPv6:2a02:2528:fa:1000::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.spoerlein.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C1767C8A; Mon, 29 Sep 2014 17:49:09 +0000 (UTC) Received: from localhost (coyote.spoerlein.net [IPv6:2001:1620:b6e::151]) by acme.spoerlein.net (8.14.9/8.14.9) with ESMTP id s8THn5L9041990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 29 Sep 2014 19:49:06 +0200 (CEST) (envelope-from uqs@FreeBSD.org) Date: Mon, 29 Sep 2014 19:49:04 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org Subject: CEC device not attaching to xHCI port Message-ID: <20140929174904.GA15642@coyote.spoerlein.net> Mail-Followup-To: freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2014 17:49:10 -0000 Hi, I got a CEC adapter using libCEC to bridge the gap between my XBMC and TV. The device works fine *if* I plug it into the front ports (which is a bit ugly, so I was wondering why this is not working on the other USB hub). Non-working: ugen0.2: at usbus0 (disconnected) root@coyote:~# usbconfig -u 0 -a 1 ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) Working: ugen1.4: at usbus1 ums0: on usbus1 ums0: 3 buttons and [XY] coordinates ID=0 umodem0: on usbus1 umodem0: data interface 1, has CM over data, has break root@coyote:~# usbconfig -u 1 -a 4 ugen1.4: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (10mA) The hubs: root@coyote:~# pciconf -l -v xhci0 xhci0@pci0:0:20:0: class=0x0c0330 card=0x72708086 chip=0x1e318086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family USB xHCI Host Controller' class = serial bus subclass = USB root@coyote:~# pciconf -l -v ehci0 ehci0@pci0:0:26:0: class=0x0c0320 card=0x72708086 chip=0x1e2d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB This is on 10.1-BETA1 and I found this post and workaround, which seem to be relevant: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2013-02/msg00701.html But I haven't rebooted yet with hw.usb.xhci.xhci_port_route -1 Any more info you'd require on this? Should I file a PR to track this? Cheers, Uli