Hi Luka, thanks for your reply.
I checked the output of lshal, both when the laptop is connected to the power supply and when the laptop runs from battery. The output looks reasonable to me. Since kde-guidance-powermanager displays again and again that the laptop is disconnected, I did several time an lshal, when the power supply is plugged off. But always I get the ac_adapter.present = false. Looks to me like a powermanager issue. Also the problem is not intermittent, happens always.... Thanks, Rainer Here are details: This is what I get, when plugged in: [EMAIL PROTECTED]:~/.ssh$ lshal|grep -B 3 -A 1 ac_adapter udi = '/org/freedesktop/Hal/devices/acpi_AC' info.udi = '/org/freedesktop/Hal/devices/acpi_AC' (string) linux.hotplug_type = 4 (0x4) (int) ac_adapter.present = true (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.product = 'AC Adapter' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 3 (0x3) (int) linux.acpi_path = '/proc/acpi/ac_adapter/AC' (string) Now plugging off the power supply. This is what I get when plugged off: [EMAIL PROTECTED]:~/.ssh$ lshal|grep -B 3 -A 1 ac_adapter udi = '/org/freedesktop/Hal/devices/acpi_AC' info.udi = '/org/freedesktop/Hal/devices/acpi_AC' (string) linux.hotplug_type = 4 (0x4) (int) ac_adapter.present = false (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.product = 'AC Adapter' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 3 (0x3) (int) linux.acpi_path = '/proc/acpi/ac_adapter/AC' (string) [EMAIL PROTECTED]:~/.ssh$ lshal|grep -B 3 -A 1 ac_adapter udi = '/org/freedesktop/Hal/devices/acpi_AC' info.udi = '/org/freedesktop/Hal/devices/acpi_AC' (string) linux.hotplug_type = 4 (0x4) (int) ac_adapter.present = false (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.product = 'AC Adapter' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 3 (0x3) (int) linux.acpi_path = '/proc/acpi/ac_adapter/AC' (string) [EMAIL PROTECTED]:~/.ssh$ lshal|grep -B 3 -A 1 ac_adapter udi = '/org/freedesktop/Hal/devices/acpi_AC' info.udi = '/org/freedesktop/Hal/devices/acpi_AC' (string) linux.hotplug_type = 4 (0x4) (int) ac_adapter.present = false (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.product = 'AC Adapter' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 3 (0x3) (int) linux.acpi_path = '/proc/acpi/ac_adapter/AC' (string) [EMAIL PROTECTED]:~/.ssh$ lshal|grep -B 3 -A 1 ac_adapter udi = '/org/freedesktop/Hal/devices/acpi_AC' info.udi = '/org/freedesktop/Hal/devices/acpi_AC' (string) linux.hotplug_type = 4 (0x4) (int) ac_adapter.present = false (bool) info.capabilities = {'ac_adapter'} (string list) info.category = 'ac_adapter' (string) info.product = 'AC Adapter' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) linux.acpi_type = 3 (0x3) (int) linux.acpi_path = '/proc/acpi/ac_adapter/AC' (string) [EMAIL PROTECTED]:~/.ssh$ Am Montag, 15. Januar 2007 15:06 schrieb Luka Renko: > Hi! > > Powermanager uses HAL/DBus to get information about battery and AC adapter. > Currently, powermanager does polling on the HAL devices status in regular > intervals and detect if the state of device changes. > > Notification about battery powered/AC adapter powered is therefore detected > by device of category "ac_adapter". You can check the output of "lshal" and > search for "ac_adapter". On my system: > > udi = '/org/freedesktop/Hal/devices/acpi_C176' > info.udi = '/org/freedesktop/Hal/devices/acpi_C176' (string) > linux.hotplug_type = 4 (0x4) (int) > ac_adapter.present = false (bool) > info.capabilities = {'ac_adapter'} (string list) > info.category = 'ac_adapter' (string) > info.product = 'AC Adapter' (string) > info.parent = '/org/freedesktop/Hal/devices/computer' (string) > linux.acpi_type = 3 (0x3) (int) > linux.acpi_path = '/proc/acpi/ac_adapter/C176' (string) > > Powermanager checks 'ac_adapter.present' variable and if the state changes, > it notifies the users. > It is possible that the bug reported by you is powermanager bug or bug in > HAL or kernel. Inspecting lshal output when bug occurs might reveal if HAL > has proper info about the state or not. > > Regards, > Luka > > > ----- Forwarded message from Rainer Dorsch <[EMAIL PROTECTED]> ----- > > > > From: Rainer Dorsch <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > > Date: Sat, 13 Jan 2007 20:35:22 -0500 > > Subject: Fwd: Re: [Pkg-kde-extras] Powermanager OSD comes up again and > > again > > > > Hello, > > > > I just wanted to politely ask how powermanager finds out that it got > > detached from the power and runs from battery (hal?). > > > > Although I like powermanager, it is rendered almost useless on my > > ThinkPad. > > > > Any input (like a pointer to the most appropriate documentation or a hint > > what I could try) is welcome. > > > > I am wondering if the severity level of the debian bug should be > > increased, because it reduces the usability of powermanager > > significantly. > > > > Thanks, > > Rainer > > > > ---------- Weitergeleitete Nachricht ---------- > > > > Subject: Re: [Pkg-kde-extras] Powermanager OSD comes up again and again > > Date: Montag, 8. Januar 2007 09:16 > > From: Rainer Dorsch <[EMAIL PROTECTED]> > > To: Tom Albers <[EMAIL PROTECTED]> > > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] > > > > Am Montag, 8. Januar 2007 03:30 schrieb Tom Albers: > > > At Sunday 07 January 2007 17:24, you wrote: > > > > Jonathan, > > > > > > > > I get continously the Powermanager OSD (see attachment), when I plug > > > > off the powersupply of my Thinkpad T42p. > > > > > > > > Also when I open Power Manager from kicker, when pressing cancel, it > > > > is disappearing, I have to press OK. > > > > > > > > I am running Power Manager 0.42 on KDE 3.5.5 on a Debian etch system. > > > > > > no attachment... > > > > Weired. My outbox says there was an attachment (showing the message as a > > screenshot). > > > > Attaching it again. > > > > BTW, I found in the meantime, that is bug is already reported in the > > Debian BTS. I added further information there: > > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=397508 > > > > Thanks, > > Rainer > > > > -- > > Rainer Dorsch > > Alzentalstr. 28 > > D-71083 Herrenberg > > 07032-919495 > > jabber: [EMAIL PROTECTED] > > GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E > > Full GPG key: http://pgp.mit.edu/ > > > > ------------------------------------------------------- -- Rainer Dorsch Alzentalstr. 28 D-71083 Herrenberg 07032-919495 jabber: [EMAIL PROTECTED] GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]