If for some reason you don't have /proc/acpi/video/VID but rather /proc/acpi/video/VID1 and don't have brightness notifications, change this line:
#define BRIGHTNESS_NEW_NODE "/proc/acpi/video/VID/LCD0/brightness"
to whatever applies to you.
Johannes, I don't doubt that this a bug somewhere; I don't care. Linux and linux distro developers are lazy and pretty much don't know what they are doing, this is after all how this bug appeared in first place.
I am not going to wait for someone to fix a bug or even find it myself when I can produce a workaround for it in just under 30 minutes. You are free to use it or not, it's your choice, but considering that the bug priority is 'low' I wouldn't expect a fix anytime soon.
I've updated the program to be able to deal with the new kind of brightness /proc node in acpi/video/VID...
You can find it under http:// bwalexh. wordpress. com/2009/ 05/03/new- ubuntu- thinkpad- notification- program/
If for some reason you don't have /proc/acpi/ video/VID but rather /proc/acpi/ video/VID1 and don't have brightness notifications, change this line: acpi/video/ VID/LCD0/ brightness"
#define BRIGHTNESS_NEW_NODE "/proc/
to whatever applies to you.
Johannes, I don't doubt that this a bug somewhere; I don't care. Linux and linux distro developers are lazy and pretty much don't know what they are doing, this is after all how this bug appeared in first place.
I am not going to wait for someone to fix a bug or even find it myself when I can produce a workaround for it in just under 30 minutes. You are free to use it or not, it's your choice, but considering that the bug priority is 'low' I wouldn't expect a fix anytime soon.
Cheers,
Alex