2.6.23 and newer kernel and option ACPI_PROC_EVENT.

David Zeuthen davidz at redhat.com
Sat Sep 1 15:04:04 UTC 2007


(Moving from fedora-devel-list to fedora-kernel-list)

On Wed, 2007-08-29 at 17:14 -0400, Dave Jones wrote:
> On Wed, Aug 29, 2007 at 11:38:04AM +0200, Zdenek Prikryl wrote:
>  > 
>  > > I think acpid will have to be ported to this new ABI.
>  > >   
>  > Yes, acpid will have to be ported, but it takes some time. But 
>  > meanwhile,  I think it is useful to enable old code.
> 
> Yes, I'll turn it back on for F8. I disabled it to find out
> just how much stuff is depending on it.  Seems just acpid :-)

Also hal. We still need /proc/acpi/event as the ACPI battery and
ac_adapter drivers in the kernel haven't been ported to use sysfs.
Hence, without the /proc/acpi/event socket we don't get change
notifications [1]. 

Actually I'm unsure what the sysfs interfaces will end up looking like
and how change notification will work. Does anyone know? I know dwmw2
did some work here (for OLPC) defining a sysfs class but I've also seen
other patches with different interfaces fly by. Richard added support in
hal for at least one of these [2] so maybe it will just work out of the
box. dwmw2?

     David

[1] : Actually we do poll all battery and ac_adapter devices every 30
secs (because some hardware is broken) so the changes are propagated to
policy agents like gnome-power-manager with a 0-30 sec delay.

[2] : http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=356ccdfa3bbf64648c48da8b756eaccef13d0dd9;hp=a2baf6b11fed6d64bf4e01db6e9a0fe279d7ee43





More information about the Fedora-kernel-list mailing list