acpi patch to use /sys/ instead of deprecated /proc/
Time has come for me to do something serious for Debian :-)
I must say I'm not a C programmer -- everything I did comes from general knowledge of C, trial-and-error, some general concepts I have. Thus, the code I'm attaching here is likely to be buggy.
I'd like that, who feels a bit adventurous, applies the patch to acpi-0.09 (the current Debian version), to see if it works for him. As already happened, for someone it did not work, so I fixed it a bit.
I hope you know how to patch sources... don't you? ;)
Please report any failure/missing information to Debian Bug #462305, by sending a mail to firstname.lastname@example.org (or, well, comment this post...).