Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 22:06:55 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        huanghwh@gmail.com,  "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject:   Re: r268604 broken xhci controller in MBP 2013
Message-ID:  <53C589DF.4010008@selasky.org>
In-Reply-To: <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN%2Buww3fA@mail.gmail.com>
References:  <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN%2Buww3fA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/14/14 12:28, Huang Wen Hui wrote:
> 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
>

Does the attached patch make any difference for you?

--HPS



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