Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 18:28:26 +0800
From:      Huang Wen Hui <huanghwh@gmail.com>
To:        "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject:   r268604 broken xhci controller in MBP 2013
Message-ID:  <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN%2Buww3fA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN%2Buww3fA>