tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB 3.0 xhci questions



From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Sun, 17 Aug 2014 
21:52:31 +0900 (JST)

> Hi,
> 
> From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Wed, 13 Aug 2014 
> 00:57:39 +0900 (JST)
> 
>> From: Takahiro HAYASHI <t.hash425%gmail.com@localhost>, Date: Tue, 12 Aug 
>> 2014 21:49:35 +0900
>> 
>>> On 08/12/14 20:37, Ryo ONODERA wrote:
>>>> From: Takahiro HAYASHI <t.hash425%gmail.com@localhost>, Date: Tue, 12 Aug 
>>>> 2014
>>>> 02:14:43 +0900
>>> [snip]
>>>>> I have some questions.
>>>>>
>>>>> 1) Do you have PCI_INTR_FIXUP in your kernel config?
>>>>
>>>> I had no PCI_INTR_FIXUP in kernel config.
>>>> I have added PCI_INTR_FIXUP to my kernel config, and no effects.
>>> 
>>> hmm..
>>> 
>>>>> 2) Is the port enabled -- has XHCI_PS_PED in PORTSC?
>>>>
>>>> All PORTSC is 0x2a0.
>>>> It means port is disabled?
>>> 
>>> Yes, disabled.
>>> 
>>> xHCI 1.1 section 5.4.8 PORTSC reg says 0x2a0 means
>>> XHCI_PS_CCS = 0: device is not connected
>>> XHCI_PS_PED = 0: port disabled
>>> XHCI_PS_PLS = 0x5: Link is in the RxDetect state
>>> XHCI_PS_PP = 1: not power-off state
>>> 
>>> RxDetect is the state after port warm reset.
>>> In this state controller is waiting for device.
>>> 
>>> 
>>> - xHCI specification 1.1
>>> http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/extensible-host-controler-interface-usb-xhci.pdf
>> 
>> Hi,
>> 
>> Thanks for your explanation.
>> I read xhci spec already.
>> But I cannot find missing something for Intel xhci device...
> 
> I have found the missing one, and post to my PR.
> http://gnats.netbsd.org/49076
> 
> It works for Lynx Point xhci,
> but does not work fine for Lynx Point-LP xhci.
> 
> If you have Lynx Point-LP machine, could you test my patch in
> PR kern/49076?
> My Lynx Point-LP machine is MacBook Air early 2014 11-inch.
> I would like to know the status on non-Apple Lynx Point-LP machine especially.

Lynx Point-LP has vendor ID = 0x8086/product ID = 0x9c31.

Thank you.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index