Monday, March 30, 2009

Wizardpen, Ubuntu 9.04 and Everchanging Xorg APIs

Here's the good news: I'm announcing that Wizardpen is compatible with Ubuntu 9.04! Apparently it was a quick fix actually as the reason the driver isn't compiling is due to the fact that Xorg had tinkered the argument list of one of its functions (specifically InitValuatorClassDeviceStruct, which it removed the motionProc argument). Doing so created a clean compile and a working driver.

However, the fact that all this while I was never involved in maintaining the driver nor had any knowledge in Xorg module programmer. Therefore it'd take me a while to test to make sure that there wouldn't be any side effects. But my guess is that I shouldn't take me more than a few days, so I think I'd be able to come up with a quick patch for that.

For now, I had the feeling that Xorg is starting to become more of a moving target seeing the API changing from time to time. With that in mind, I'm in an opinion that we'd probably need to catalogue the versions of Wizardpen drivers and to which release of Xorg it'll still work. From memory:
9.04 - 0.7.0-alpha2 (?)
8.10 - 0.6.0.2 to 0.7.0-alpha1
8.04 - 0.6.0.2
7.10 - Probably 0.5? Can't quite remember that one...

Would probably figure out a time to quickly sort it out, probably merging the new code over to project at Google Code or SourceForge. I'll see to it then.

P/S: For those who's confident in patching their own code, you can refer to this page.

Thursday, March 26, 2009

Wizardpen on Ubuntu 9.04 (Jaunty Jackalope): WORKING

UPDATE: I got it to work now, please see my latest blog announcement for the details

Seeing that Ubuntu 9.04 is coming up and I had installed Alpha 6 of the release, it is fair enough for me just to forewarn you that the Wizardpen driver will not work with Ubuntu 9.04... for now, at least. (UPDATE: It works now)

So for those who really needed the compatibility with Wizardpen in Ubuntu, hold your horses, stick to 8.10 (Interpid Ibex) for a while and wait until a patch is up.

OR... if you had done a fix, do share it out ;).