tech-kern archive

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

Re: USB 3.0 xhci questions



From: Takahiro HAYASHI <t.hash425%gmail.com@localhost>, Date: Thu, 14 Aug 2014 
08:18:18 +0900

> On 08/14/14 07:20, Ryo ONODERA wrote:
>> Hi,
>>
>> From: Takahiro HAYASHI <t.hash425%gmail.com@localhost>, Date: Tue, 12 Aug 
>> 2014
>> 02:14:43 +0900
>>
>>> For comparison here is dmesg from my testbed:
>>>
>>> xhci0 at pci5 dev 0 function 0: vendor 0x1033 product 0x0194
>>> (rev. 0x04)
>>> xhci0: interrupting at ioapic0 pin 21
>>> xhci_init
>>> xhci0: ac64 1 ctxsz 32
>>> xhci0: xECP 500
>>> xhci0: ECR 500: 00000401
>>> xhci0: ECR 510: 03000402
>>> xhci0: SP: 03000402 20425355 00000201
>>> xhci0: ECR 520: 02000002
>>> xhci0: SP: 02000002 20425355 00000203
>>> xhci0: PAGESIZE 0x00000001
>>> xhci0: sc_pgsz 0x00001000
>>> xhci0: sc_maxslots 0x00000020
>>> xhci0: sc_maxspbuf 0
>>> xhci0: eventst: NORMAL_COMPLETION 0000000002f15fc0 0xffff800013028fc0
>>> 1000
>>> xhci0: dcbaa: NORMAL_COMPLETION 0000000002f17000 0xffff800013029000
>>> 1000
>>> xhci0: USBCMD 00000005
>>> usb5 at xhci0: USB revision 2.0
>>> usb5: WARNING: power management not supported
>>>
>>> and i got:
>>>
>>> xhci0: xhci_intr1 USBSTS 00000018
>>> xhci0: xhci_intr1 USBSTS 00000000
>>> xhci0: xhci_intr1 IMAN0 00000003
>>> xhci0: xhci_intr1 IMAN0 00000002
>>> xhci0: xhci_intr1 USBSTS 00000000
>>> xhci0: port 1 status change
>>
>> On my machine, xhci_handle_event() is not invoked
>> when USB memory stick is plugged.
>> How about on your machine?
> 
> It is called in my case.
> 
> xhci_intr: xhci0
> xhci0: xhci_intr1 USBSTS 00000018
> xhci0: xhci_intr1 USBSTS 00000000
> xhci0: xhci_intr1 IMAN0 00000003
> xhci0: xhci_intr1 IMAN0 00000002
> xhci0: xhci_intr1 USBSTS 00000000
> xhci_softintr: xhci0
> xhci_handle_event: xhci0
> xhci0: port 1 status change
> xhci_softintr: xhci0 ends

Thank you very much.

--
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