Home
Recent Entries Friends Archive User Info Tags My Website
 
 
 
 
 
 
Remember that "Write a real, working Linux driver" tutorial I attended at OLS? With some help from the presenter, I've gotten the driver working! The sample shell script polls the temperature probe once a second and outputs its temperature reading in Fahrenheit and Celsius. Nifty.

So, tinkerers out there, do you want to try it too? I'll lend you the temperature probe, and I can point you to the slides from the tutorial as well as a tarball of all the code. For some background material, you can read the entire USB Drivers chapter (pdf) of the O'Reilly Linux Device Drivers book online.
 
 
 
 
 
 
Go you! Is this your first step to becoming a true kernel h4x0r, or just something you've wanted to try?
You should make it so that hal notices that you've inserted the temperature probe and pops up a GUI temperature app.
Rather, you should have an app that monitors for hal "new temperature probe" events and pops up a gui. I don't know the details of how this works exactly, but I've seen it in practice (with cameras, for instance.)
That's awesome. I don't have time at the moment, and I think my C is still too weak to really dive in, but that's really great. Go you!
Hey cool. I will do some horn-tootin' for you ;)