CEC device not attaching to xHCI port

Ulrich Spörlein uqs at FreeBSD.org
Mon Sep 29 17:49:10 UTC 2014


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 at 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 at 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 at coyote:~# pciconf -l -v xhci0
xhci0 at 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 at coyote:~# pciconf -l -v ehci0
ehci0 at 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


More information about the freebsd-usb mailing list