On 1/7/06, Randy.Dunlap wrote:
> On Fri, 6 Jan 2006 21:25:22 +0800 Joe Culler wrote:
>
> > Hello,
> >
> > I wrote a simple usb program using libusb to get raw data from the usb
> > device.
> > My program runs fine on PC, but it hangs on smdk2410 developme
Hello,
I wrote a simple usb program using libusb to get raw data from the usb device.
My program runs fine on PC, but it hangs on smdk2410 development board:
Backtrace:
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
Hello there,
I want to get a data from my usb device using libusb.
I think I should use usb_control_msg to get data from usb device,
Should I use:
1. usb_control_msg(my_dev, 0xC1, 0x00, 0x, 0x0521, buffer, 0x0001, 5000)
or
2. usb_control_msg(my_dev, 0xC1, 0x00, 0x, 0x0521, NULL, 0x0001, 5