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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to