Re: [Linux-usb-users] libusb on smdk2410(Samsung S3C2410)

2006-01-08 Thread Joe Culler
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

[Linux-usb-users] libusb on smdk2410(Samsung S3C2410)

2006-01-06 Thread Joe Culler
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 []

[Linux-usb-users] How to get a data from usb using libusb

2005-12-21 Thread Joe Culler
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