Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 07:54:56 +0800
From:      Huang Wen Hui <huanghwh@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject:   Re: r268604 broken xhci controller in MBP 2013
Message-ID:  <CAB8uncZvz%2BqXYaFjNC4OGiZsd2ig-h003NOZh3jO5OSeSAap7g@mail.gmail.com>
In-Reply-To: <53C589DF.4010008@selasky.org>
References:  <CAB8uncZyTMjww=NLjTRpue3FN9qHXDAQo5id_1RB-XN%2Buww3fA@mail.gmail.com> <53C589DF.4010008@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This patch fixed my problem.

Cheers
Huang Wen Hui


2014-07-16 4:06 GMT+08:00 Hans Petter Selasky <hps@selasky.org>:

> 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?CAB8uncZvz%2BqXYaFjNC4OGiZsd2ig-h003NOZh3jO5OSeSAap7g>