On Tue, 19 Nov 2002, Brad Hards wrote: > On Tue, 19 Nov 2002 11:34, Rob Miller wrote:
> > S: Product=Synaptics cPad > > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=syn_cpad > > E: Ad=83(I) Atr=03(Int.) MxPS= 3 Ivl= 10ms > > I: If#= 0 Alt= 1 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=syn_cpad > > E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms > > I: If#= 0 Alt= 2 #EPs= 3 Cls=03(HID ) Sub=01 Prot=02 Driver=syn_cpad > > E: Ad=81(I) Atr=02(Bulk) MxPS= 32 Ivl= 0ms > > E: Ad=02(O) Atr=02(Bulk) MxPS= 32 Ivl= 0ms > > E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl= 10ms > That is surely one weird HID device. and a reasonably novel idea; hope they have good patent protection on it. current working applications (bash scripts) under linux that I've heard of are: - webcam monitor - caller ID display - slashdot headline display - cpu load / cpu temp / batt monitor but as yet no one's done the really obvious thing, hacking the palm pilot emulator to display on the cPad -- except for the newer models the Palm display is 160x160, leaving 80 pixels on the side for the "hard" buttons! :-) under windows one can display bitmaps and draw extra buttons (e.g. there is a calculator app). already my belief that Linux users would have more application for it has been confirmed. > Three interfaces: > * all of which claim to comply with the HID boot protocol for a mouse, > * one of which has a 3 byte interrupt endpoint, yes, that is alternate setting 0 which HID (?) sets it up in by default. standard 2 button mouse, reports relative coordinates, works great with the HID driver (and usbmouse). > * a second with 8 byte interrupt endpoint, alternate setting 1, reports absolute mouse coords, all 3 mouse buttons reported. > * and the third interface with two bulk endpoints and an interrupt pipe.... same as for alternate setting 1, plus the bulk endpoints to send/receive data for the LCD controller. as mentioned in another post, writes to this endpoint are either passed directly to the LCD controller (so the instructions are in the datasheet), or access cPad specific actions like eeprom, backlight, and lcd panel power. with more sleep I can answer this question, tho haven't run this code: >>>> What does http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c show? (for this particular device without your driver loaded - just the normal HID driver <<<< based on your evdev sample code (which made all the difference when I started out!), without my driver this comes up in alternate setting 0 and works perfectly as a normal, relative coordinates 2 button mouse. rob. -- rob miller x4647 Inpharmatica Ltd ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel