Friday, November 30, 2007

LCA 2008

Kind of at the last minute I decided to go to in Melbourne next January. I missed the last earlybird ticket by mere hours, but oh well. As usual there are plenty of interesting talks on, a few people to meet up with and a new city to check out as well. Flights, accommodation and the conference itself are all booked and paid for, so now all I need to do is wait. Should be an interesting trip :)

Thursday, November 15, 2007

Wake me up before you go-go

I was playing around with the Opie clock today and I discovered to my dismay that alarm wakeup is not working at all on my iPAQ h2200 running a self-built Angstrom + Opie image (2.6.21-hh17 kernel). It turns out that most of the pieces of the system are working fine up until the point when opiealarm (which gets run just before suspend) tells the kernel to set the rtc wakeup time. According to the rtc info in /sys it is being set to a date somewhere in 2035, which is not particularly useful especially if you really do want to be woken up early for that meeting tomorrow morning.

I have looked at the code in opiealarm and it looks OK to me, and hasn't been changed in a long time. It is using the old ioctl() based method of setting the alarm but that really ought to work properly. I suspect this is a bug in the kernel, but with the kernel discussion mailing list being down I'm not sure where to report it. Setting the wakeup time through /sys does work so at least that's something - if it comes to it I suppose I could modify opiealarm to use that method if it is available.