blog

P5 glove now working in Linux!

Sat Oct 02 2004 23:37:41 GMT-0700 (PDT)

So I spent entirely too long troubleshooting and otherwise trying to make my p5 glove work in Linux. I was especially interested in the open source 3rd party driver, but alas, I had no success with any driver. At least until tonight, when I stumbled on a solution! I kinda assumed my USB setup was proper, and that the drivers were just outdated or somehow out of sync with the latest kernel usb support. Sure enough, my hunch was right. I ran across a post somewhere that mentioned that the libusb function usb_bulk_read is used with older kernerls (like 2.4 series), but that the newer ones (like 2.6 series) use usb_interruptread. I changed one function call name in the C code and viola_, the 3rd party driver stopped erroring out and started working! So now I'm able to dump the raw data from the device, but it's still not terribly interesting. The next step is to set up USB hotplug scripts to set permissions when it's plugged in. After that, I'm going to try and track down code that will convert LED readings into true (read: useful) x,y,z and roll,pitch,yaw. I'm fairly certain that this code exists somewhere already...so hopefully I don't have to write it myself (my matrix math is rusty). Once that's in place, I'll either track down a pd external to use the glove...or maybe even write one myself. The existing approach seems to use OSC fed into pd, but I'm a little concerned about adding latency. I'd rather have a component that reads directly from the glove...so I guess we'll see. On a side note, I did a short interview for the upcoming 2 Gyrlz Quarterly, mostly regarding my attendance at the noise fest earlier this year. So if you're in PDX and care, pay attention to the EL festival and pick up a copy.

P5 glove update, usb hacking, dammit.

Thu Sep 23 2004 20:40:06 GMT-0700 (PDT)

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].

The continuing decline of Radio Shack usefulness...

Sun Sep 19 2004 20:05:09 GMT-0700 (PDT)

It's true. Radio Shack continues to suck...and get worse. I can confirm that this simple circuit can be built cheaply and quickly instead of dropping $22 on Radio Shack's gold plated equivalent. I ended up constructing the adaptor for free from parts in my junk box. Cannibalize an S-Video cable and slap on a cap and a male RCA adaptor with solder connections...and viola. The end result is completely contained, and looks like it was store bought. Of course, when I went to Rat Shack, the helpful little bitch stayed true to form: "So, what exactly are you hooking up, anyway?". They always ask that, like somehow its their business or somehow it helps them (it doesn't!). Most people who actually want to downgrade an S-Video signal to composite won't care about the fact that they're using gold plated connections. Sheesh. If you want a higher quality signal, don't buy the gold shit...just stick with S-video. I first tested video out on the Apple //c display. Nothing says quality like a movie on a 6", 20 year old green monochrome monitor. I later connected it to the TV, and the picture looks fine.

Yay! Now I'm only about 3 years behind the technocurve...

Sat Sep 18 2004 20:53:45 GMT-0700 (PDT)

I suppose that I consider myself a pretty high tech guy...but honestly, on many fronts, I'm late to the party. I guess I'm fairly comfortable with that...I do have a lot going on...

After some reasonable refactorings, I cobbled two main features into the noisybox blog: permalinks and an rss feed. Now I'm all hip circa 2000 style. Actually, I don't know if there's any real use in this crap for anybody (including myself!), but it still feels good to support the spirit of the web, yaknow?

The rss feed should show up as a link next to the topmost summary line (the one up there that shows message counts). The permalinks show up as intentionally small, low contrast circles next to the posting time.

Archive.org has all my uploads curated and approved for public display now. Neeto...mostly because I know I'd never get around to building something to support streaming. :) It's also nice to have another place for people to dload from (at high speeds too).

In a typical run of synchronicity, I ended up using the archive.org rss validator to validate the structure of my new feed. Go figure!

These geeks really know how to break it on down.

Zombies: The Other White Meat<small><sup>TM</sup></small>

Thu Sep 16 2004 22:27:52 GMT-0700 (PDT)

As mentioned last time, I completed the Piece For Walking and posted it up in the art section. I'm actually quite pleased with how it turned out...it's satisfying to surprise yourself once in a while. John claims that the above mentioned track is called "Blown to Pieces While Walking". I'll accept "Piece for Walking (to the end of the world)" or even "Piece for Walking (off the edge)", but absolutely not "Blown to Pieces While Walking". :) heh. Although I've been thinking about it for some time, I finally started migrating my audio content over to archive.org. You can click (hell, bookmark it!) this link to see what's available by me. "The Burden" is complete, and the others are in a pseudo complete semi pending state. I expect them to be fully available within a few days. Sometime last week I was thinking about how all window-based UIs generally suck and that the our whole keyboard-mouse thing under utilizes the left hand and that it's a shame that things haven't progressed too much in the last 15-20 years. I guess I have high expectations for the smart ones. Anyway, I was looking at this glove as a distraction and it got me kinda interested. Synchronicity kicked in tonight when somebody on the pd mailing list mentioned buying one for $12.50 from computergeeks.com. How could I resist? I'm pretty interested in interfacing it with pure-data...so expect an update later after I get it. I also saw this kinda interesting thing called FreeWheeling. Interesting looking looper tool...too bad the guy hasn't made it actually available yet. Sheesh.

Free software schtuff, movies, noises...

Tue Sep 07 2004 22:30:11 GMT-0700 (PDT)

Ok, so I've been hacking up some Perl. I can't seem to shake my fondness for the beautiful, and ultimately horrible and sexy thing that is Perl. Today, noisybox.net releases nzbperl, a throttling nzb downloader in Perl. Try it out, if you're geek enough. Saw Ju-on a few weeks ago. Although I did like it a lot, I kinda hoped it would be more horrifying. It was maybe a little repetitious. Also saw the director's cut of Donnie Darko the other day. It contains TONS of crazy new footage, and overall (IMHO) does a better job of explaining the whole mythos...but I'm still bitter at the fact that they stomped over the Echo and the Bunnymen for some goddamn INXS. I have to wonder why the fuck somebody let that happen. I'm working on a short (15-20 minute) one-take track called "Piece for Walking". Hope to have it up in the art section before long. And to close with a funny note...I'll resort to quoting emails: "I AM MAKING RESEARCH ON STROLLING LED,I WILL LIKE YOU TO SEND ME THE CIRCUIT DIAGRAM OF LED STROLLING LIGHT."

Wow, how the time flies as you age...

Thu Aug 19 2004 22:55:46 GMT-0700 (PDT)

I bothered to put up a page for my reverse dependency package checker script for Debian. Sure, it's stupid simple, but hell, maybe somebody will find it useful. And I went to see Alien vs. Predator tonight. Overall, a minor disappointment, but still a good flick. First, the goddamn fucking thing could have used some more fucking profanity and a shit fucking cock sucking R rating. PG-13 my ass. I suspect that, at least in a few noticeable scenes, things were either force-cut, or the directors or effects guys really held back...just for ratings sake. Sheesh. The taming of this film to provide access to a larger audience (think "Hey guys, our market research shows that the majority of theater money is made from pre/teens, and we project we can make $xx.yy if we smooth this down to a Britney-friendly PG13...") was probably my main complaint... But really, it wasn't horrible. In fact, as usual, I'm being overly critical. Aside from the rating, the first half was basically a "Hey, the action film audience is stupid, we have to spell things out..." while doing mediocre character development. Yes, we fell in love with Ripley, then with Dutch, but nobody in this film came close. Even though I quite like Henriksen and his acting is always great, his character just didn't deliver (yeah, I blame the writing). The shots of the Alien queen, however, were brilliant. Probably the best (IMHO) of any Alien film, and I think the movie matched the mythos from both movies really, really well. It's worth seeing, tho I'd probably recommend matinee. I guess what probably pisses me off is the great potential that this concept had. I wanted, no, seriously, really fucking WANTED this film to be great. I mean, who didn't want to see this after the end of Predator 2? Instead, years later, Hollywood continues to bastardize great ideas for money, and so I have to give it a generous 5/10. When did I become such a film critic? High school. :)

Create creation. Make to consume.

Sun Aug 01 2004 00:14:21 GMT-0700 (PDT)

And so I give to you, Infiltration Lab's new album, The Burden.

Old midlife becomes useless and mindless. Beaten!

Wed Jul 14 2004 21:10:10 GMT-0700 (PDT)

The solitude over the weekend was strange, but frankly quite nice. I had a chance to do quite a bit of recording and I consider the new album nearly finished (although there's still much work remaining). Even already, I'm much more satisfied with this one over the last one. I also took a trek out to Oregon City and took a bunch of photos that have relevance to my childhood. It's strange to visit a place with so much [personal] history....especially when it's been a few years. I can't even imagine Roseville anymore. Apparently Stacy missed her flight out of Vegas (overslept? Hmmmm :)) and will be returning tomorrow. On a similar note, this dog is driving me crazy. For now, though, I'm sitting in the backyard, piggybackin on some wireless on the corporate laptop, watching the grass grow....muthafuckin literally.

bloopy boopy beep beep ding bleep crunch bleep crunch

Sat Jul 10 2004 20:21:04 GMT-0700 (PDT)

I think it's only fair. If some of those robot guys are allowed to call their constructions "semiautonomous", then sound/noise/art geeks should be able to use the term "semigenerative". This one time, I had a German professor who was fond of saying "kick it". Please note that Google returns about 10,600 hits for "semiautonomous", but only a mere 3 hits for "semigenerative".. The hyphenated and quoted "semi-generative" still only returns 104 short hits...but at least one of them is Nullpointer, who does some mad sick work with pd and quake and the like...