Hi, I'm writing a simple little driver to read three bytes from a hid device
when plugged in it reports as hiddev96:__________--usb-0000:00:1d.0-2 and shows up in /dev/usb/hiddev0 and is enumerated in /proc/bus/usb/devices. Thinking a simple usb_control_msg will be good and simple enough to have the device send the three bytes Is there a way to do that with the hid interface using ioctl open/read/write functions or will it be necessary to use the usb_control_msg(...) call directly? Looking through the docs did not see any way to use the iotcl's and usbfs to specify that the write should envoke the control msg and set a pointer for the data required for the urb. Saw examples of code using the control msg directly, but nothing with ioctl() I'm a newbee at this, any help would be appreciated. Hope I stated the question properly. Thanks John ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel