[patch] add more events the acpi addon
Richard Hughes
hughsient at gmail.com
Tue May 15 09:05:39 PDT 2007
Attached patch adds more events to the acpi addon, to make the
brightness keys produce a dialog on a LENOVO X60 laptop. I've also
noticed:
- case 4099: /* dpms off */
- button = "display_off";
+ case 4099: /* battery */
+ button = "battery";
Danny - I think you added this code - are you sure it's display_off?
It's got a battery icon on this X60. I've also abstracted out
emit_device_from_computer as it's used in more than once now.
Please review.
Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add-more-acpi-events.patch
Type: text/x-patch
Size: 2301 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070515/b1a1e5f4/attachment.bin
More information about the hal
mailing list