Martin Godisch wrote:
> wmbattery doesn't work anymore since linux was upgraded from 2.6.24 to
> 2.6.25. It says:
> 
> error: dbus_bus_get: org.freedesktop.DBus.Error.FileNotFound: Failed to 
> connect to socket /var/run/dbus/system_bus_socket: No such file or directory
> Error: No APM, ACPI, HAL or SPIC support detected.
> 
> strace log shows:
> 
> open("/proc/acpi/battery", 
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = -1 ENOENT (No such 
> file or directory)
> open("/proc/acpi/ac_adapter", 
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = -1 ENOENT (No such 
> file or directory)
> 
> These files in /proc/acpi are gone, indeed. It appears battery and power
> status information can be found in /sys/class/power_supply now.

If you're running a kernel that no longer supports those method, you
need to install hal, which wmbattery recommends.

I can upgrade that to a dependency. I am *not* going to try to deal with
the kernel's new power reporting scheme myself.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to