Bug#456541: Unplugging causes laptop to suspend

Carlos Moffat carlos.lst at eldiabloenlosdetalles.net
Sun Dec 16 14:21:22 UTC 2007


Package: gnome-power-manager
Version: 2.20.2-1
Severity: normal

--- Please enter the report below this line. ---

Hi,

I have a Thinkpad T42p. If I unplug the AC power, the laptop suspends.
I can't find the reason by looking at the scripts being called. The
attached file is the output of daemon.log over a suspend/resume cycle
caused by the unplug event.

I've 'solved' the problem by selecting 'Do Nothing' on the 'On Battery
Power' of the g-p-m preferences, so that now the computer suspends
automatically only when on AC.

Any ideas?
Best Regards,
Carlos

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22.071109

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        http.us.debian.org 

--- Package information. ---
Depends                                  (Version) | Installed
==================================================-+-======================
gconf2                               (>= 2.10.1-2) | 2.20.1-1
hal                                  (>= 0.5.10-1) | 0.5.10-4
libart-2.0-2                           (>= 2.3.18) | 2.3.19-3
libatk1.0-0                            (>= 1.20.0) | 1.20.0-1
libbonobo2-0                           (>= 2.15.0) | 2.20.2-1
libbonoboui2-0                         (>= 2.15.1) | 2.20.0-1
libc6                                   (>= 2.7-1) | 2.7-4
libcairo2                               (>= 1.4.0) | 1.4.10-1.3
libdbus-1-3                             (>= 1.1.1) | 1.1.2-1
libdbus-glib-1-2                         (>= 0.74) | 0.74-1
libfontconfig1                          (>= 2.4.0) | 2.5.0-2
libfreetype6                            (>= 2.3.5) | 2.3.5-1+b1
libgconf2-4                            (>= 2.13.5) | 2.20.1-1
libglade2-0                           (>= 1:2.6.1) | 1:2.6.2-1
libglib2.0-0                           (>= 2.14.0) | 2.14.4-2
libgnome-keyring0                      (>= 2.20.1) | 2.20.2-1
libgnome2-0                            (>= 2.17.3) | 2.20.1.1-1
libgnomecanvas2-0                      (>= 2.11.1) | 2.20.1.1-1
libgnomeui-0                           (>= 2.17.1) | 2.20.1.1-1
libgnomevfs2-0                      (>= 1:2.17.90) | 1:2.20.1-1
libgstreamer0.10-0                    (>= 0.10.15) | 0.10.15-3
libgtk2.0-0                            (>= 2.12.0) | 2.12.3-2
libhal1                                (>= 0.5.10) | 0.5.10-4
libice6                               (>= 1:1.0.0) | 2:1.0.4-1
libnotify1                              (>= 0.4.4) | 0.4.4-3
libnotify1-gtk2.10                                 | 
liborbit2                            (>= 1:2.14.1) | 1:2.14.7-0.1
libpanel-applet2-0                     (>= 2.19.3) | 2.20.2-2
libpango1.0-0                          (>= 1.18.3) | 1.18.3-1
libpng12-0                           (>= 1.2.13-4) | 1.2.15~beta5-3
libpopt0                                 (>= 1.10) | 1.10-3
libsm6                                             | 2:1.0.3-1+b1
libstartup-notification0                (>= 0.8-1) | 0.9-1
libwnck22                              (>= 2.19.5) | 2.20.2-1
libx11-6                                           | 2:1.0.3-7
libxcursor1                             (>> 1.1.2) | 1:1.1.9-1
libxext6                                           | 1:1.0.3-2
libxfixes3                            (>= 1:4.0.1) | 1:4.0.3-2
libxi6                                             | 2:1.1.3-1
libxinerama1                                       | 1:1.0.2-1
libxml2                                            | 2.6.30.dfsg-3
libxrandr2                            (>= 2:1.2.0) | 2:1.2.2-1
libxrender1                                        | 1:0.9.4-1
notification-daemon                                | 0.3.7-1+b1
zlib1g                       (>= 1:1.2.3.3.dfsg-1) | 1:1.2.3.3.dfsg-7

-------------- next part --------------
Dec 16 08:57:06 phoenix acpid: received event "ac_adapter AC 00000080 00000000" 
Dec 16 08:57:06 phoenix acpid: notifying client 3483[0:0] 
Dec 16 08:57:06 phoenix acpid: notifying client 3857[106:109] 
Dec 16 08:57:06 phoenix acpid: notifying client 3981[0:0] 
Dec 16 08:57:06 phoenix acpid: executing action "/etc/acpi/fglrx-powermode.sh" 
Dec 16 08:57:06 phoenix acpid: action exited with status 0 
Dec 16 08:57:06 phoenix acpid: executing action "/etc/acpi/actions/lm_ac_adapter.sh" 
Dec 16 08:57:07 phoenix acpid: action exited with status 0 
Dec 16 08:57:07 phoenix acpid: completed event "ac_adapter AC 00000080 00000000" 
Dec 16 08:57:07 phoenix acpid: received event "processor CPU 00000080 00000000" 
Dec 16 08:57:07 phoenix acpid: notifying client 3483[0:0] 
Dec 16 08:57:07 phoenix acpid: notifying client 3857[106:109] 
Dec 16 08:57:07 phoenix acpid: notifying client 3981[0:0] 
Dec 16 08:57:07 phoenix acpid: completed event "processor CPU 00000080 00000000" 
Dec 16 08:57:07 phoenix acpid: received event "processor CPU 00000081 00000000" 
Dec 16 08:57:07 phoenix acpid: notifying client 3483[0:0] 
Dec 16 08:57:07 phoenix acpid: notifying client 3857[106:109] 
Dec 16 08:57:07 phoenix acpid: notifying client 3981[0:0] 
Dec 16 08:57:07 phoenix acpid: completed event "processor CPU 00000081 00000000" 
Dec 16 08:57:07 phoenix acpid: received event "battery BAT1 00000080 00000001" 
Dec 16 08:57:07 phoenix acpid: notifying client 3483[0:0] 
Dec 16 08:57:07 phoenix acpid: notifying client 3857[106:109] 
Dec 16 08:57:07 phoenix acpid: notifying client 3981[0:0] 
Dec 16 08:57:07 phoenix acpid: executing action "/etc/acpi/actions/lm_battery.sh battery BAT1 00000080 00000001" 
Dec 16 08:57:07 phoenix acpid: action exited with status 0 
Dec 16 08:57:07 phoenix acpid: completed event "battery BAT1 00000080 00000001" 
Dec 16 08:57:07 phoenix acpid: received event "battery BAT1 00000080 00000001" 
Dec 16 08:57:07 phoenix acpid: notifying client 3483[0:0] 
Dec 16 08:57:07 phoenix acpid: notifying client 3857[106:109] 
Dec 16 08:57:07 phoenix acpid: notifying client 3981[0:0] 
Dec 16 08:57:07 phoenix acpid: executing action "/etc/acpi/actions/lm_battery.sh battery BAT1 00000080 00000001" 
Dec 16 08:57:07 phoenix acpid: action exited with status 0 
Dec 16 08:57:07 phoenix acpid: completed event "battery BAT1 00000080 00000001" 
Dec 16 08:57:10 phoenix NetworkManager: <info>  Going to sleep. 
Dec 16 08:57:10 phoenix dhclient: There is already a pid file /var/run/dhclient.ath0.pid with pid 25557
Dec 16 08:57:10 phoenix dhclient: killed old client process, removed PID file
Dec 16 08:57:10 phoenix avahi-daemon[3821]: Interface ath0.IPv4 no longer relevant for mDNS.
Dec 16 08:57:10 phoenix avahi-daemon[3821]: Leaving mDNS multicast group on interface ath0.IPv4 with address 192.168.1.104.
Dec 16 08:57:10 phoenix avahi-daemon[3821]: Withdrawing address record for 192.168.1.104 on ath0.
Dec 16 08:57:10 phoenix dhclient: wifi0: unknown hardware address type 801
Dec 16 08:57:10 phoenix dhclient: wifi0: unknown hardware address type 801
Dec 16 08:57:10 phoenix dhclient: DHCPRELEASE on ath0 to 192.168.1.1 port 67
Dec 16 08:57:10 phoenix dhclient: send_packet: Network is unreachable
Dec 16 08:57:10 phoenix dhclient: send_packet: please consult README file regarding broadcast address.
Dec 16 08:57:10 phoenix NetworkManager: <debug> [1197813430.750950] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/net_00_05_4e_50_7d_bd_0'). 
Dec 16 08:57:10 phoenix NetworkManager: <info>  Deactivating device ath0. 
Dec 16 08:57:11 phoenix NetworkManager: <WARN>  nm_device_802_11_wireless_get_mode(): error getting card mode on ath0: No such device 
Dec 16 08:57:11 phoenix NetworkManager: <debug> [1197813431.108334] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/net_00_05_4e_50_7d_bd'). 
Dec 16 08:57:24 phoenix acpid: received event "processor CPU 00000081 00000000" 
Dec 16 08:57:24 phoenix acpid: notifying client 3483[0:0] 
Dec 16 08:57:24 phoenix acpid: notifying client 3857[106:109] 
Dec 16 08:57:24 phoenix acpid: notifying client 3981[0:0] 
Dec 16 08:57:24 phoenix acpid: client has disconnected 
Dec 16 08:57:24 phoenix acpid: completed event "processor CPU 00000081 00000000" 
Dec 16 08:57:25 phoenix NetworkManager: <debug> [1197813445.372782] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_05_4e_50_7d_bd'). 
Dec 16 08:57:25 phoenix NetworkManager: <debug> [1197813445.379375] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/net_00_05_4e_50_7d_bd_0'). 
Dec 16 08:57:25 phoenix NetworkManager: <info>  ath0: Device is fully-supported using driver 'ath_pci'. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  nm_device_init(): waiting for device's worker thread to start 
Dec 16 08:57:25 phoenix acpid: client connected from 3981[0:0] 
Dec 16 08:57:25 phoenix acpid: 1 client rule loaded 
Dec 16 08:57:25 phoenix NetworkManager: <info>  nm_device_init(): device's worker thread started, continuing. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Now managing wireless (802.11) device 'ath0'. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Deactivating device ath0. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Waking up from sleep. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Deactivating device eth0. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Deactivating device ath0. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  ath0: Device is fully-supported using driver 'ath_pci'. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  nm_device_init(): waiting for device's worker thread to start 
Dec 16 08:57:25 phoenix NetworkManager: <info>  nm_device_init(): device's worker thread started, continuing. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Now managing wireless (802.11) device 'ath0'. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Deactivating device ath0. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  eth0: Device is fully-supported using driver 'e1000'. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  nm_device_init(): waiting for device's worker thread to start 
Dec 16 08:57:25 phoenix NetworkManager: <info>  nm_device_init(): device's worker thread started, continuing. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Now managing wired Ethernet (802.3) device 'eth0'. 
Dec 16 08:57:25 phoenix NetworkManager: <info>  Deactivating device eth0. 
Dec 16 08:57:33 phoenix ntpd[3987]: sendto(69.93.111.178) (fd=19): Invalid argument
Dec 16 08:57:36 phoenix NetworkManager: <info>  SWITCH: no current connection, found better connection 'ath0'. 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Will activate connection 'ath0/CoffeeObsession'. 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Device ath0 activation scheduled... 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Activation (ath0) started... 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare) scheduled... 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare) started... 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device Configure) scheduled... 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare) complete. 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device Configure) starting... 
Dec 16 08:57:36 phoenix NetworkManager: <info>  Activation (ath0/wireless): access point 'CoffeeObsession' is unencrypted, no key needed. 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: sending command 'INTERFACE_ADD ath0^I^Iwext^I/var/run/wpa_supplicant^I' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: response was 'OK' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: sending command 'AP_SCAN 1' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: response was 'OK' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: sending command 'ADD_NETWORK' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: response was '0' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 ssid 436f666665654f6273657373696f6e' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: response was 'OK' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 key_mgmt NONE' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: response was 'OK' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: sending command 'ENABLE_NETWORK 0' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  SUP: response was 'OK' 
Dec 16 08:57:37 phoenix NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device Configure) complete. 
Dec 16 08:57:42 phoenix ntpd[3987]: sendto(72.36.170.170) (fd=19): Invalid argument
Dec 16 08:57:42 phoenix NetworkManager: <info>  Old device 'ath0' activating, won't change. 
Dec 16 08:58:12 phoenix last message repeated 3 times
Dec 16 08:58:14 phoenix ntpd[3987]: sendto(69.10.36.5) (fd=19): Invalid argument



More information about the pkg-gnome-maintainers mailing list