June 2007


HID Explorer is a very handy example app that Apple put out to illustrate how to write programs that use HID Manager/HID Utilities to get data from human interface devices. Unfortinately, they have not maintained the project really since they put it out years ago, and so there are a couple of minor things you have to change in order to build it.

First off, the package comes with binaries, so you should remove those, especially if you are building on an Intel Mac. In particular, the HID.bundle. Next, you’ll need to put the HID Utilities source in the same folder, uncompress it, and build it.

Then lastly, you’ll need to upgrade the xcode project file. Run the current one, let it convert it, then save it. Close XCode, and open HID Explorer.xcodeproj/project.pbxproj with a text editor. Do a global search and replace, replacing “../HID Utilities Source/build” with “../HID Utilities Source/build/Development”. Also, I deleted all references to the /Volumes/GeoWar… thing.

Then everything built fine, with one warning, and I could use HID Explorer.

Ok, I bit the bullet and upgraded Debian from 3.1 to 4.0 on a production server. It didn’t go great, which is disappointing, so here I am posting on the blog of annoying technical details again.

I am getting these messages in the apache error log:

Invalid method in request \x80g\x01\x03\x01

When I try to connect to the https page, I get this message from Camino: Data Transfer InterruptedThe connection to 128.238.56.2 has terminated unexpectedly. Some data may have been transferred.

My guess is that apache is listening on port 443, but the SSL engine is not running. There is indeed a SSLEngine on in my /etc/apache2/sites-available/default-ssl, but it doesn’t seem to be working… perhaps the <IfModule SSL> symbol changed… but to what?

Commenting out <IfModule SSL> worked, now the SSL stuff works, but I feel there should be a better way… hmmm