-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 23 Jul 2003 12:04 pm, Qiu ZhongLe wrote: > � When I plugged in My device(HID-class),the system(version2.4.18) can > detect it,and I can find my device at "/proc/bus/usb/devices" ,I even wrote > a program which can open it and print the > vendor and product information.But I do need to exchange data between > device and host, > I think I should use "usb_submit_urb()" to transfer data. Why? What is the device? What is the intended usage? That makes a difference to the API you should use.
> � �Do I need to write a device driver? Perhaps, but probably not in kernel space. > � �Can I read data and write data without my own driver? I mean ,maybe I > only need write > a read/write function. Yes, the input API or hiddev API may be suitable. However it depends on your device (in particular, the intended usage, and the HID Application) and what you need to do. Brad -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/HvLmW6pHgIdAuOMRArR0AJ9bKQ9Piu5qBj/59X/tmnk3WeucrACffj5i eAiv9A+UkwRKaxbpKivjuJU= =MSHF -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
