>-----Original Message----- >From: Brad Hards [mailto:[EMAIL PROTECTED] >Sent: 27 July 2003 12:13 >To: McGivern, Damien; 'Charles Lepple' >Cc: '[EMAIL PROTECTED]' >Subject: Re: [linux-usb-devel] Simple write/read example > > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On Mon, 21 Jul 2003 20:26 pm, McGivern, Damien wrote: >> I've search through the list archives and the web but still haven't >> been able to find a suitable example for what I need to do. Douglas >> Roberts had sort of the same problem as myself last year but never >> seemed to get it sorted either. All the examples I've seen so far only >> write input_event structures to the device which don't allow you to >> send an array of unsigned char's. >Are you trying to do kernel driver, or use the hiddev interface, or use the
>input interface? > >Brad Hi Brad, my device control code has to be in user space and uses the hiddev interface. >From what I've gathered so far I can only use the hiddev_usage_ref to send data to the device struct hiddev_usage_ref { unsigned report_type; unsigned report_id; unsigned field_index; unsigned usage_index; unsigned usage_code; __s32 value; }; but this only allows a single int value to be sent as data (__s32 value;). If you look Through the archive you'll see that there's a couple of people that have been asking this question for a while but without success. Damien ------------------------------------------------------- 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-devel