[Pkg-utopia-maintainers] Bug#544264: devicekit-power: AC unplug and replug is not detected

Tomas Safarik safarik at server.cz
Sun Aug 30 07:32:36 UTC 2009


Package: devicekit-power
Version: 009-1
Severity: important

Hello,

I have noticed, that devicekit-power does not detect that I am unplugging or
pluging again AC power cable in my notebook (iBook G4). I expect this is
why new version of gnome-power-manager is not working for me correctly.

According to some description on internet I would expect seeing:
$ devkit-power --monitor
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
#Unplgging power cable here
device changed:     /org/freedesktop/DeviceKit/Power/devices/line_power_ACAD
device changed:     /org/freedesktop/DeviceKit/Power/devices/battery_BAT1
daemon changed:
#Plugging power cable back in
device changed:     /org/freedesktop/DeviceKit/Power/devices/line_power_ACAD
daemon changed:
device changed:     /org/freedesktop/DeviceKit/Power/devices/battery_BAT1

But when I do this on my notebook I get nothing:
$ devkit-power --monitor
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
^C
(I unplugged AC and replugged during this command running.)

HAL is able to detect that.

I am happy to provide more information if needed.

Thank you,

Tomas

-- System Information:
Debian Release: squeeze/sid
  APT prefers experimental
  APT policy: (990, 'experimental'), (500, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.30-1-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devicekit-power depends on:
ii  devicekit                   003-1        abstraction for enumerating device
ii  libc6                       2.10.1-0exp1 GNU C Library: Shared libraries
ii  libdbus-1-3                 1.2.16-2     simple interprocess messaging syst
ii  libdbus-glib-1-2            0.82-1       simple interprocess messaging syst
ii  libdevkit-gobject0          003-1        abstraction for enumerating device
ii  libdevkit-power-gobject1    009-1        abstraction for power management -
ii  libglib2.0-0                2.21.4-1     The GLib library of C routines
ii  libpolkit-dbus2             0.9-4        library for accessing PolicyKit vi
ii  libpolkit2                  0.9-4        library for accessing PolicyKit
ii  libusb-0.1-4                2:0.1.12-13  userspace USB programming library

devicekit-power recommends no packages.

devicekit-power suggests no packages.

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list