Request for comments: Laptop improvements

Richard Hughes hughsient at gmail.com
Thu Jun 22 23:09:31 UTC 2006


On Wed, 2006-06-21 at 12:27 -0400, David Zeuthen wrote:
> That said.. I think acpid just needs to be removed from the distribution
> (acpid is fundamentally flawed in many ways) and for the time being
> (e.g. until g-p-m will run when no-one is logged in) we could ship a
> very small daemon to enforce policy for e.g. powerbutton presses. if
> g-p-m is not running (could use a nasty trick to grep the process
> list :-). It would of course listen to HAL events and if you write it in
> python it would be something like 20-50 lines of code. This could live
> in pm-utils. Bill?

Hmm. Maybe pm-utils is not the right place IMO, but I agree this could
be done in very few lines of code.

> Hotkeys on laptops is kinda a mess right now. Some work been done in HAL
> CVS to emit events but I'm not sure I like that applications should
> listen to HAL to get events a'la "pause button pressed". Ideally the
> keyboard drivers in the kernel would be smart and listen for the weird
> physical interfaces (some ACPI, some SMBIOS crap etc) that laptop
> hotkeys are on and just emit keypresses using the existing input event
> framework.

Yes, kernel guys: poke.

 :-)

Richard.





More information about the fedora-devel-list mailing list