usb/141313: nvidia USB 2.0 controller - stops copying on USB

Hans Petter Selasky hselasky at c2i.net
Wed Dec 9 21:06:49 UTC 2009


On Wednesday 09 December 2009 16:10:02 Jan Marek wrote:
> The following reply was made to PR usb/141313; it has been noted by GNATS.
>
> From: Jan Marek <jan.marek at dera.cz>
> To: bug-followup at FreeBSD.org, janmarek at gdi.cz
> Cc:
> Subject: Re: usb/141313: nvidia USB 2.0 controller - stops copying on USB
> Date: Wed, 09 Dec 2009 14:46:12 +0100
>
>  Hi,
>
>  I tried the latest ehci*.[ch] - patch from current the result is the
>  same, still copy stops, but the ehci interupt storm is gone.
>
>  I tried to raise the debug level for hw.usb.ehci and  get the following
>  messages:
>
>  Dec  9 14:38:43 honzik kernel: ehci_set_hw_power: Async is active
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0001
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0002
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0003
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0004
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0005
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0006
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0007
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0008
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x0009
>  Dec  9 14:38:43 honzik kernel: ehci_roothub_exec: type=0xa3 request=0x00
>  wLen=0x0004 wValue=0x0000 wIndex=0x000a
>  Dec  9 14:38:47 honzik kernel: ehci_set_hw_power:.
>  Dec  9 14:38:47 honzik kernel: ehci_set_hw_power: Async is active
>
>  any suggestions ?

Hi,

You need to patch ehci_pci.c so that the interrupt patch becomes active for 
your PCI VID+PID. Search for switch statements in ehci_pci.c. There should be 
some already for ATI+VIA. pciconf -l -v gives you the list of ID's which you 
need.

--HPS


More information about the freebsd-usb mailing list