6 Nov 2007 19:21
Digital Arts & Crafts Studio - HID help needed
Bill Kendrick <nbs <at> sonic.net>
2007-11-06 18:21:54 GMT
2007-11-06 18:21:54 GMT
Hi there, I just subscribed. I'm author of the open source kid's drawing program "Tux Paint" ( http://www.tuxpaint.org/ ) Recently while at a store, I noticed the Fisher-Price "Digital Arts & Crafts Studio," a USB-based drawing tablet ('digitizer', as some call them) for kids. It has a basic, non-pressure-sensitive pad and stylus, and a number of buttons for doing things like changing tools, choosing a color, etc. I thought it would be a cool thing to support under Tux Paint, and as a gift, my wife bought me one. (They're about $50USD.) It comes with Windows software, which I've not tried yet, but upon plugging it into a Linux 2.6.22 system (a Kubuntu 7.10 laptop), a device node at "/dev/usb/hiddev0" appeared. It sends a continuous stream of data when I read it (e.g., using "xxd"), which repeats every 88 bytes. The data changes when I press buttons or move the stylus on the device, so I was pretty confident I'd get it to do something under Linux. Some folks directed me to libhid, and I've begun (began?) creating a small test app to read from the device. I'm finally to the point where I can call "hid_get_input_report()", but at the moment, I'm getting nothing but zeros. I think I'm using the wrong 'usage' path, so came here to get help. Here's the output from "lsusb -vvv" for the specific device ("-d 0x0813:0x1006"). Based on this, I thought I'd only need to specify one path for input, "0xff000001", but...? Bus 003 Device 007: ID 0813:1006 Mattel, Inc. Device Descriptor: bLength 18(Continue reading)
RSS Feed