Tuesday, December 27, 2011

Troublepunning

J: I just bought a new laptop and installed a fresh Debian on it. I used to look at my current battery status using Emacs. I like to look at the current rate too since this laptop will be used during a long trip and I want to take care of the consumption in real time. The issue is that with the 2.6.32 kernel from Debian for this laptop I do not have the /proc/acpi/battery part. However, the sysfs is able to report all the data I need. The current Emacs battery module is not able to retrieve the information I need from sysfs but it does from /proc/acpi/battery. So I made a small [patch] [...]

R: If this code keeps breaking, and we have to keep fixing it, is that similar to the Greek myth of sysfs?

No comments:

Post a Comment