noisybox.net

P5 glove update, usb hacking, dammit.
Thursday, September 23rd 2004 8:40pm

I got my P5 glove yesterday and have spent some time playing with it. I'm quite excited about it (again, mainly for interfacing with pure-data), but my efforts at getting it going in Linux have failed...quite miserably.

Apparently there are two general options for supporting this thing -- the binary drivers from the manufacturer, and a 3rd party driver library based on the (userspace) libusb. My results with both? Shitty. The binary, manufacturer supplied driver just causes my machine to do a hard lock. Oh joy..."That's not supposed to happen in Linux". The other driver just reports error when trying to read data from the usb device.

Oh wonderful. So I did some stack tracing and stepped through some of the 3rd party code (which is surprisingly readable!) to no avail. Trying to track down errnos from ioctl() calls is apparently my idea of a good time. ;) Needless to say, I'm frustrated about the whole thing. Not sure what approach I'm gonna take yet, but I'll just have have to make this thing work.

Come to think of it...the only other time I can remember hard locking my linux boxes was when dicking with USB devices (in the other case specifically, a usb quickcam that I was planning on pointing at the LED sign).

As somebody else put it -- this thing has some great potential for sound/music work, because it's basically 11 continuous controllers with one hand. I want to be able to slave some pd patches to this...I just can't get there [yet].

this is a noisybox.net blog permalink

Want to go to the current blog?