tfheen Tue, 22 Jul 2008 - Kernel patches and the TEMPer USB thermometer
Today, I submitted my two first patches to the kernel. One is fairly
trivial (remove a USB ID from the pl2303 driver), the other is a fixup
of a patch from some other guy, which adds support for DTR, RTS and
CTS to the ch341 driver. Yay, hopefully they'll get accepted.
The reason for this journey into kernel land is I got a TEMPer
USB thermometer in the mail yesterday. After a fair bit of digging
around, I found some source code to drive it from C# and
Windows. I wanted to poke at it from Linux and C.
After more poking, I found it's an I2C device connected to the USB
serial adapter, where you talk to it by twiddling DTR, RTS and CTS.
The C# code was fairly easy to port, so now I can get temperature
readings from the command line. The code is a quick hack, but
I guess it might be interesting to some people. Oh, and the
calibration seems entirely off (but it was off in Windows too), so
feedback on whether it's more accurate for other people would be
appreciated.
tfheen Mon, 14 Jul 2008 - eweouz (bbdb-a-like) working
Some years ago, when I hacked on a TDB backend for
Evolution Data Server (EDS), I also wrote something about writing some
command line tools for accessing my contacts and so on. I've finally
gotten my act together and wrote the necessary glue to have addres
completion between Gnus and EDS. It's nowhere as feature-complete as
BBDB is, but it allows you to complete addresses, at least. Get it from
git (gitweb). I'll hopefully expand it a little bit
and cut a release fairly soon.
tfheen Mon, 14 Jul 2008 - Vacation time
It's been summer for a while already, but I have been busy with work and
we have been busy with buying a house which we are taking possession of
on August 1st. Together with that comes a zillion things to plan as
well as a lot of packing (which we have barely started with).
We are also having a little bit of summer vacation. We took the train
(and bus) to Molde yesterday with loads of luggage and Odin and
everything. A bit of a stressful start, but it worked out ok and I got
to read almost a whole book.
Today, we have been out for a walk, visiting some of Karianne's family
and helping put a boat on the water. We also spent a bit of time
planning what we need to do (or don't need to do) with the kitchen and
two bathrooms. Not a very exciting day, but it's vacation so that's
fine.
I also got an SMS from Mie (after a little bit of prodding) telling us
she given birth to a small girl. Lots of congratulations from us here.