[PATCH] command line options for hald-addon-acpi

Timo Hoenig thoenig at suse.de
Tue Aug 2 12:24:32 PDT 2005


Hi,

On Tue, 2005-08-02 at 19:17 +0100, Richard Hughes wrote:

> On Tue, 2005-08-02 at 20:13 +0200, Timo Hoenig wrote:
> > There are drivers (IBM ACPI, Panasonic ACPI, Sony ACPI just to name a
> > few) generating ACPI events which are not handled by HAL and thus get
> > lost if HAL claims /proc/acpi/event.  
> 
> Okay.. You got anymore details? A URL perhaps?

The mainline drivers (ASUS, IBM and Toshiba) source code should provide
all information (e.g. prefix of the expected events).

The Toshiba driver is somewhat special since it needs polling from user
space and does not use /proc/acpi/event.

Out-of-tree drivers are:

      * Panasonic ACPI driver, http://www.da-cha.org/letsnote/
      * Sony ACPI driver, http://popies.net/sonypi/2.6-sony_acpi4.patch

For some of the drivers I've already coded modules for IAL (svn co
svn://svn.berlios.de/ial).

> > Yes, there is a generic hotkey
> > driver on its way to make the specific drivers obsolete but it does not
> > yet provide the wide range of functionality the specific ones do.
> 
> Yes, I've been looking at this today, after a rawhide kernel removed
> my /proc/acpi/buttons... Looks promising, if a little over-engineered.

Please prove me wrong, but this bug has nothing to do with the generic
hotkey driver.  /proc/acpi/buttons/* only implements the buttons defined
in the ACPI specification -- namely:

      * Power-Button
      * Sleep-Button
      * Lid Switch

The generic hotkey driver -- which is enabled by default for vanilla
kernels in the meantime -- disables all other specific hotkey drivers
(ASUS, IBM and Toshiba in mainline).  The kernel parameter
acpi_specific_hotkey  re-enables them.

> Thanks,
> 
> Richard

I am not very sure if we should spend much time in integrating the
specific drivers into HAL at all.  They are going to be dropped, once
the generic hotkey drivers proves its usability.

See you,

   Timo

_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list