[PATCH] Add keyboard event addon

Richard Hughes hughsient at gmail.com
Sat Feb 4 04:50:36 PST 2006


On Sat, 2006-02-04 at 11:58 +0000, Matthew Garrett wrote:
> Richard: this lets brightness button events be sent to g-p-m. On some 
> machines, hitting the brightness button generates an event and
> changes 
> the brightness. On other machines, hitting the brightness button only 
> generates an event. This is, in general, consistent within a 
> manufacturer. It would be nice if g-p-m could somehow deal with this
> and 
> display the brightness, with it also doing the job of changing the 
> brightness where necessary (Sonys are the main case where this is a 
> problem)

Is this h/w fixed (as in linked with PCB traces), or just set by the
kernel module?

If it's truely h/w, I would rather merge an fdi file. I think the vendor
information should remain outside of g-p-m, so other programs can use
the info.

What about laptop_panel.software_brightness_required with false for
Sony, and true for Toshiba, for example.

I think this more complex than per-vendor, as DavidZ's powerbook has h/w
support, but my iBook can do this in software only -- not a problem with
fdi files.

I'll test the patch now.

Richard.




More information about the hal mailing list