Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2014 19:49:04 +0200
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@FreeBSD.org>
To:        freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org
Subject:   CEC device not attaching to xHCI port
Message-ID:  <20140929174904.GA15642@coyote.spoerlein.net>

next in thread | raw e-mail | index | archive | help
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: <Unknown> at usbus0 (disconnected)
root@coyote:~# usbconfig -u 0 -a 1
ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)

Working:
ugen1.4: <Pulse-Eight> at usbus1
ums0: <Pulse-Eight USB-CEC Adapter, class 0/0, rev 1.10/10.00, addr 4> on usbus1
ums0: 3 buttons and [XY] coordinates ID=0
umodem0: <Pulse-Eight USB-CEC Adapter, class 0/0, rev 1.10/10.00, addr 4> on usbus1
umodem0: data interface 1, has CM over data, has break
root@coyote:~# usbconfig -u 1 -a 4
ugen1.4: <USB-CEC Adapter Pulse-Eight> 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



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