[clug] The e-beam, linux, and a proprietary HID protocol

Brad Hards bradh at frogmouth.net
Tue Feb 7 07:17:15 GMT 2006


On Tuesday 07 February 2006 16:09 pm, Paul Warren wrote:
> The thing has special covers for whiteboard pens, which emit ultrasound
> and so can be tracked by a device stuck on the whiteboard. It connects
> to your computer via USB and uses HID to get data from it.  I'm able to
> get data from it via read()ing /dev/hiddev and via libhid, but the data
> doesn't seem to make much sense!!  All the info is obviously there, Pen
> colour and position, I can even see sine waves in the data when drawing
> circles, but finding the relationship within the data between the pen
> colour, and the x-y co-ordinates has gone beyond my protocol reverse
> engineering skills.
HID is self describing. What does the descriptor look like? 

Can you try something like:
http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c

Brad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20060207/acfed46f/attachment.bin


More information about the linux mailing list