r268604 broken xhci controller in MBP 2013

Huang Wen Hui huanghwh at gmail.com
Mon Jul 14 10:28:30 UTC 2014


Hi,
After update to r268604, xhci controller is broken in MBP 2013, USB
keyboard, USB stick and USB mouse are not respond, but power button in
keyboard is working, /var/log/messages show:
#cat /var/log/messages|egrep "10.0-STABLE|xhci"
Jul 14 17:38:29 mbp kernel: FreeBSD 10.0-STABLE #47 r268610M: Mon Jul 14
17:09:08 CST 2014
Jul 14 17:38:29 mbp kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0
Jul 14 17:38:29 mbp kernel: xhci0: 32 byte context size.
Jul 14 17:38:29 mbp kernel: xhci0: Port routing mask set to 0x0000003f
Jul 14 17:38:29 mbp kernel: usbus0 on xhci0

Revert back to  r268595 fixed this problem, /var/log/messages show:
#cat /var/log/messages|egrep "10.0-STABLE|xhci"
Jul 14 17:45:46 mbp kernel: FreeBSD 10.0-STABLE #48 r268595M: Mon Jul 14
17:31:15 CST 2014
Jul 14 17:45:46 mbp kernel: xhci0: <Intel Lynx Point USB 3.0 controller>
mem 0xc1e00000-0xc1e0ffff at device 20.0 on pci0
Jul 14 17:45:46 mbp kernel: xhci0: 32 byte context size.
Jul 14 17:45:46 mbp kernel: xhci0: Port routing mask set to 0xffffffff
Jul 14 17:45:46 mbp kernel: usbus0 on xhci0

Look like Port routing mask change from 0xffffffff t0 0x0000003f.

I try to set hw.usb.xhci.xhci_port_route="0" or
hw.usb.xhci.xhci_port_route="0xffffffff" in /boot/loader.conf, also not
work in r268604 kernel.

Cheers,
Huang Wen Hui


More information about the freebsd-usb mailing list