Bug#352512: hal: hal locks out acpid

2006-02-12 Thread Sjoerd Simons
On Sun, Feb 12, 2006 at 03:17:45PM +0100, Johannes Rohr wrote:
> Hi, I don't know whether acpid or hal is to blame for this, but since
> the last upgrade of hal, acpid has stopped working, complaining that
> it cannot access /proc/acpi/events, while lsof reveals that this file
> is used by hald-addon-acpi, which doesn't seem to be documented
> anywhere. 
> 
> If hald-addon-acpi is meant to replace acpid, there should be some
> hints about how this can be done, e.g. what do I need to do to make
> the powerbutton event trigger the hibernate script...

The hal acpi addon can use either the /proc interface or the events file
provided by acpid. Unfortunately when the acpid event socket goes away the
addon immediatly connects to the proc interface, thus blocking acpid from
connecting.

I need to think about the ``correct'' fix for this...

  Sjoerd
-- 
A physicist is an atom's way of knowing about atoms.
-- George Wald


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#352512: hal: hal locks out acpid

2006-02-12 Thread Johannes Rohr
Package: hal
Version: 0.5.6-2
Severity: normal

Hi, I don't know whether acpid or hal is to blame for this, but since
the last upgrade of hal, acpid has stopped working, complaining that
it cannot access /proc/acpi/events, while lsof reveals that this file
is used by hald-addon-acpi, which doesn't seem to be documented
anywhere. 

If hald-addon-acpi is meant to replace acpid, there should be some
hints about how this can be done, e.g. what do I need to do to make
the powerbutton event trigger the hibernate script...

Thanks,

Johannes

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.15-1-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages hal depends on:
ii  adduser   3.63   Add and remove users and groups
ii  dbus  0.60-5 simple interprocess messaging syst
ii  libc6 2.3.5-12   GNU C Library: Shared libraries an
ii  libdbus-1-2   0.60-5 simple interprocess messaging syst
ii  libdbus-glib-1-2  0.60-5 simple interprocess messaging syst
ii  libexpat1 1.95.8-3   XML parsing C library - runtime li
ii  libglib2.0-0  2.8.6-1The GLib library of C routines
ii  libhal1   0.5.6-2Hardware Abstraction Layer - share
ii  libusb-0.1-4  2:0.1.11-4 userspace USB programming library
ii  lsb-base  3.0-15 Linux Standard Base 3.0 init scrip
ii  pciutils  1:2.1.11-15Linux PCI Utilities
ii  udev  0.084-3/dev/ and hotplug management daemo
ii  usbutils  0.71+cvs20051029-4 USB console utilities

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]