libusb (http://libusb.sourceforge.net/) and devio.c in the kernel source are my main references.
In addtion to the functions in libusb, I used
USBDEVFS_SUBMITURB followed by USBDEVFS_REAPURB to read interrupt (INT) transfers.
You can use usbfs to send control requests then go back to hiddev for other operations if you like
I tested my codes with kernel 2.4.22 and 2.6.0-test9, and it worked fine. The only problem is that it requires root permissions to write to usbfs by default or need some changes to the hosplut script otherwise.
Good luck
Jay. On 11/14/2003 11:15:31 AM, martin f krafft wrote:
Hi there,
I am currently suffering from exactly the same problem as described here
http://sourceforge.net/mailarchive/message.php?msg_id=6390594
I have not been able to find a solution online. Could you please let me know how I can send multiple bytes to a device in a usage packet?
Please CC me on replies, I am not (yet) subscribed to the list.
------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
