Gregor, I successfully got a set of drivers to do a multi-byte write using the hiddev device. The source code for doing it is in http://wish.sourceforge.net (http://sourceforge.net/project/showfiles.php?group_id=68802&package_id=6761 1&release_id=218550). Look for the file plusb_xcvr.c.
While probably not the perfect implementation, it does work for multi-byte writes to a HID device. For the multi-byte writes to work, you do need John Deneux's patch for 2.6.1-rc1 (also included in the source code). Scott > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gregory Soyez > Sent: Monday, February 23, 2004 4:27 AM > To: [EMAIL PROTECTED] > Subject: Fwd: [linux-usb-devel] write access to hid > > > Hi all, > > sorry to send the same message twice ... I just forgot to > mention that I have > not yet subscribed to the list ... so please CC me in your answers ... > > > do you know if the write access is implemented for HID > devices. I have searched the web but I have only found > information concerning reading from /dev/usb/hiddev*. Is it > possible to access it in write mode ? If it is the case, do I > just need to use the write(...) function (in C) ? > > TIA > Gregor > > ------------------------------------------------------- > > -- > Gregory Soyez > University of Liege > Institut de Physique > Allee du 6 Aout, Bat B5 > B-4000 Sart-Tilman, LIEGE 1 > Tel: +32 4 366 37 04 > Fax: +32 4 366 36 72 > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438> &op=click > > _______________________________________________ > > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/l> inux-usb-devel > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
