Tuesday 12 February 2008

projects

The MacBook is running smoothly. Being the restless person that I am, smooth operation has never given me reason to lean back and enjoy but rather to tinker and play. After connecting the external hard drive for backups and the 24-inch screen for wowing visitors, SGI dials are next.

This peripheral was originally manufactured for Silicon Graphics workstations and allowed a user to rotate and translate objects on the screen around and along precisely defined axes, normally x, y, and z. We use it a lot for molecular graphics. Rotations and translations can of course be accomplished with the mouse, but the molecule will sooner or later tumble from its original orientation. Moving back is never the exact inverse of going forward with a mouse. With dials, no problem.

Since they date back to the stone ages of computing, older even than O2s, connecting them to modern computers is tricky. They come with a serial cable. The MacBook doesn't have a serial port. David Gohara describes how to get it all to work in theory. I decided to follow his instructions, downloading USB-to-serial adapter and dials drivers.

I got the adapter from digitus. The driver supplied with it does not work on Intel Macs. For some reason, David Gohara's generic Prolific (maker of the chip in the digitus adapter) driver (v. 1.0.9b1) doesn't work either, though I'm not sure why. I managed to get rid of the drivers by deleting them from /System/Library/Extensions. Apparently, that's all it takes. Installation, by the way, is a bit more involved and requires rebooting. With kextload' and 'kextunload' one can load and unload extensions, except I cannot load the extension because it 'does not contain code for this architecture' and unloading simply fails, presumably because nothing is loaded in the first place.

I hope I can continue this post with a successful continuation at some point. Until then, this is work in progress.

No comments: