On Fri, 3 May 2002 01:30, Manoj Sharma wrote: > Sorry, I had really not understood what you meant by "hiddev". I still don't think you understand what HID is - see below.
> The device is actually a panel having a LCD controller and a touchscreen > (single device address). So I planned to provide a char interface (say > /dev/usb/panel) similar to the "/dev/usb/hiddev?", you have mentioned. > I want to send data to the LCD controller using Bulk pipe and get data from > the touchscreen using Interrupt pipe. The code of "usbmouse.c" was of great > help for the touchscreen part. OK, but you probably could have made a HID touchscreen work by just using the existing HID driver and the input subsystem (with mouse output, event device output or even the touchscreen output - see the http://linuxconsole.sf.net CVS archive), depending on what your userspace application for that touchscreen data needs to see. As for sending HID data over bulk endpoint - you can't. See HID specification 1.11, Section 4.4. How about providing the descriptors for this device? (eg /proc/bus/usb/devices and maybe a HID dump). I think that you should probably go back to the developer of your device, and get all the required programming information. Maybe reading some of the docs linked off http://linux-usb.org (such as the programmers guide) and http://www.usb.org/developers (such as the USB spec) would help too. Then, if you could explain what your device actually does, we might be able to provide reasonable answeres. Brad _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel