EHCI Problem on FreeBSD arm port
Hans Petter Selasky
hselasky at c2i.net
Sat May 9 08:06:37 UTC 2009
On Saturday 09 May 2009, Yohanes Nugroho wrote:
> Hi all,
>
> This is where I got stuck. The EHCI controller is detected, most of
> the time the hub is detected (2 ports), and some of the time the USB
> mass controller is loaded. From my observation, it seems that even
> though the USB transaction is completed successfully, it sometimes
> doesn't return correct data. By "completing successfully", The result
> is (error=0):
Hi,
If the strings are corrupt I would guess at a busdma issue.
Flusing in device done is too late.
Put your flush all / invalidate all code into:
#if USB_HAVE_BUSDMA && defined(__FreeBSD__)
...
usb2_pc_cpu_flush()
usb2_pc_cpu_invalidate()
...
#endif
In "src/sys/dev/usb/usb_busdma.c".
Are you running stock 8-current ?
--HPS
More information about the freebsd-usb
mailing list