Problem when unplugging my laptop (P-Bell Easynote E4)

Bug #44863 reported by Nicolas DERIVE
This bug report is a duplicate of:  Bug #33072: Pulling AC plug suspends computer. Edit Remove
10
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

When I unplug my laptop when Ubuntu is running, my computer automatically switch to suspend mode with any action of my part. When I try to unsuspend it, it crashes (when I normal suspend works correctly) or it retries to suspend immediatly. If I want to unplug my computer when ubuntu is running, I had to do ctrl+alt+backspace and unplug it before running my session for my computer don't react to it.

Revision history for this message
Paul Sladen (sladen) wrote :

Hi, thanks for your report; can you confirm that you're running the latest dapper updates; there was a fix that went into hal and gnome-power-manager.

By doing the control-alt-backspace you're killing X and then killing the 'g-p-m' which is presumebly why this is then working for you.

If you've got the latest packages and updates and this is still showing up, we'll undup it and try to debug it further.

Changed in acpi-support:
status: Unconfirmed → Needs Info
Revision history for this message
Nicolas DERIVE (kalon33) wrote :

Yes, I last updated yesterday (sunday 15th May), so I have the last packages (I updated now but don't plug (or unplug) yet my AC power).

Revision history for this message
Nicolas DERIVE (kalon33) wrote :

sorry, it is of course sunday 14th may.

Revision history for this message
Paul Sladen (sladen) wrote :

Can you include a log from:

  lshal -m

when you do the inplugging and the suspend occurs.

Revision history for this message
Nicolas DERIVE (kalon33) wrote :

Here I've unplugged and it suspends (as described). To restore, I've replugged it during suspend mode. Here is the Hal log :

nicolas@DERIVE-N:~$ lshal -m

Start monitoring devicelist:
-------------------------------------------------
acpi_AC property ac_adapter.present = false
acpi_BAT0 property battery.charge_level.percentage = 77 (0x4d)
acpi_BAT0 property battery.remaining_time = 3146 (0xc4a)
acpi_BAT0 property battery.charge_level.rate = 16650000 (0xfe0f10)
acpi_BAT0 property battery.charge_level.current = 14552100 (0xde0c24)
acpi_BAT0 property battery.reporting.rate = 1500 (0x5dc)
acpi_BAT0 property battery.reporting.current = 1311 (0x51f)
acpi_BAT0 property battery.rechargeable.is_discharging = true
acpi_BAT0 property battery.rechargeable.is_charging = false
acpi_BAT0 property battery.voltage.current = 12071 (0x2f27)
acpi_BAT0 property battery.charge_level.percentage = 76 (0x4c)
acpi_BAT0 property battery.remaining_time = 3141 (0xc45)
acpi_BAT0 property battery.charge_level.current = 14529900 (0xddb56c)
acpi_BAT0 property battery.voltage.current = 11958 (0x2eb6)
acpi_BAT0 property battery.reporting.current = 1309 (0x51d)
net_00_0e_35_c7_fa_5f removed
net_00_40_d0_6b_62_1c removed
acpi_PWRF condition ButtonPressed = power
usb_device_46d_850_noserial_if0 removed
usb_device_46d_850_noserial_if1_oss_mixer__1 removed
usb_device_46d_850_noserial_if1_oss_pcm_0 removed
usb_device_46d_850_noserial_if1_oss_pcm_0_0 removed
usb_device_46d_850_noserial_if1_alsa_control__1 removed
usb_device_46d_850_noserial_if1_alsa_capture_0 removed
usb_device_46d_850_noserial_if1 removed
usb_device_46d_850_noserial_if2 removed
usb_device_46d_850_noserial removed
usb_device_46d_850_noserial added
usb_device_1267_201_noserial_if0_logicaldev_input removed
usb_device_1267_201_noserial_if0 removed
usb_device_46d_850_noserial_if0 added
usb_device_46d_850_noserial_if1 added
usb_device_46d_850_noserial_if2 added
usb_device_1267_201_noserial removed
usb_device_1267_201_noserial added
usb_device_1267_201_noserial_if0 added
usb_device_46d_850_noserial_usbraw removed
usb_device_46d_850_noserial_if1_alsa_capture_0 added
usb_device_46d_850_noserial_if1_oss_pcm_0 added
usb_device_46d_850_noserial_if1_oss_pcm_0_0 added
usb_device_46d_850_noserial_if1_alsa_control__1 added
usb_device_46d_850_noserial_if1_oss_mixer__1 added
usb_device_1267_201_noserial_usbraw_0 removed
usb_device_46d_850_noserial_usbraw added
usb_device_1267_201_noserial_if0_logicaldev_input added
usb_device_1267_201_noserial_usbraw added
net_00_0e_35_c7_fa_5f added
net_00_40_d0_6b_62_1c added
acpi_AC property ac_adapter.present = true
acpi_BAT0 property battery.remaining_time = 14436 (0x3864)
acpi_BAT0 property battery.charge_level.rate = 1098900 (0x10c494)
acpi_BAT0 property battery.charge_level.current = 14474400 (0xdcdca0)
acpi_BAT0 property battery.voltage.current = 12434 (0x3092)
acpi_BAT0 property battery.reporting.rate = 99 (0x63)
acpi_BAT0 property battery.reporting.current = 1304 (0x518)
acpi_BAT0 property battery.rechargeable.is_discharging = false
acpi_BAT0 property battery.rechargeable.is_charging = true

Revision history for this message
Paul Sladen (sladen) wrote :

It appears to be getting:

  acpi_PWRF condition ButtonPressed = power

from somewhere. Can you also attach the log from:

  /var/log/acpid

for this period (snip it to the appropriate timestamps so that we don't get distracted by previous events that have already happened).

Revision history for this message
Nicolas DERIVE (kalon33) wrote :

here is /var/log/acpid from the same action than before (but that I did a few minutes from now) :

[Mon May 15 21:20:12 2006] received event "ac_adapter AC 00000080 00000000"
[Mon May 15 21:20:12 2006] notifying client 4373[119:119]
[Mon May 15 21:20:12 2006] executing action "/etc/acpi/power.sh"
[Mon May 15 21:20:12 2006] BEGIN HANDLER MESSAGES
[Mon May 15 21:20:12 2006] END HANDLER MESSAGES
[Mon May 15 21:20:12 2006] action exited with status 0
[Mon May 15 21:20:12 2006] completed event "ac_adapter AC 00000080 00000000"
[Mon May 15 21:20:12 2006] received event "battery BAT0 00000080 00000001"
[Mon May 15 21:20:12 2006] notifying client 4373[119:119]
[Mon May 15 21:20:12 2006] executing action "/etc/acpi/power.sh"
[Mon May 15 21:20:12 2006] BEGIN HANDLER MESSAGES
[Mon May 15 21:20:12 2006] END HANDLER MESSAGES
[Mon May 15 21:20:12 2006] action exited with status 0
[Mon May 15 21:20:12 2006] completed event "battery BAT0 00000080 00000001"
[Mon May 15 21:20:32 2006] received event "button/power PWRF 00000080 00000001"
[Mon May 15 21:20:32 2006] notifying client 4373[119:119]
[Mon May 15 21:20:32 2006] executing action "/etc/acpi/powerbtn.sh"
[Mon May 15 21:20:32 2006] BEGIN HANDLER MESSAGES
[Mon May 15 21:20:33 2006] END HANDLER MESSAGES
[Mon May 15 21:20:33 2006] action exited with status 0
[Mon May 15 21:20:33 2006] completed event "button/power PWRF 00000080 00000001"

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for acpi-support (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.