> Do I put the driver in the input directory and use the hid-core functions, > or do I put it in the serial directory and use the usb-serial functions? > > At the time being, I have it in the serial directory and I am using the > usb-serial functions. I added a few lines of code to the hid-core.c file > to get it to ignore the device.
> usb_control_msg (port->serial->dev, usb_sndctrlpipe (port->serial->dev, 0), > HID_REQ_SET_REPORT, USB_DIR_OUT | USB_RECIP_INTERFACE | USB_TYPE_CLASS, > 0x0300, 0, feature, 5, 500); > The above call is always failing.. Hello again, Ok, before anyone spends time on this one, I was wrong about it failing, it works correctly. (Turns out the device I was using had some issues, replacing it with another identical one solved the problem.) I still have a question about it though; Is there a #define for the 0x0300 feature report) somewhere? And is this really the right way to do it? I now have the Cypress driver working and I have been stress testing it for most of the night. I am going to be going through it with a final clanup in a few days before I submit it, however, I am still not sure where to put it.. If anyone could shed some light on this one, it would be greatly appreciated. Thank you, -Neil Whelchel- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
