← Back to team overview

desktop-packages team mailing list archive

[Bug 885722] Re: Automatic hibernate on Dell Latitude E6410 because of phantom battery reading

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gnome-power-manager (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/885722

Title:
  Automatic hibernate on Dell Latitude E6410 because of phantom battery
  reading

Status in “gnome-power-manager” package in Ubuntu:
  Confirmed
Status in “linux” package in Ubuntu:
  Confirmed
Status in “upower” package in Ubuntu:
  Confirmed
Status in “gnome-power-manager” package in Fedora:
  Unknown

Bug description:
  The Dell Latitude E6410 I've got here hibernates upon resume if no AC
  adapter is plugged in, with Oneiric. Apparently the kernel adds a
  second battery into sysfs only after resume that's not actually
  present but which is interpreted as being a battery with 0% charge.
  The power symbol in the panel is also telling me that a battery is
  missing.

  I guess the slot is the one of the DVD disk drive, where you could
  plug in a second one.  On boot I get this:

  [    2.352062] ACPI: Battery Slot [BAT1] (battery absent)

  If you read the /proc/acpi/battery/BAT1/* entries, the kernel drops
  the battery from sysfs again and the icon returns to the right battery
  BAT0.  Sadly the whole problem is critical as hibernation does not
  seem to work with Oneiric and this particular type of laptop. So
  there's certainly a kernel bug involved, but gpm also doesn't seem to
  handle the situation gracefully.

  The uname output is as follows: Linux roadrunner 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux
  The package versions in question are linux-image-3.0.0-12-generic 3.0.0-12.20, gnome-power-manager 3.2.0-0ubuntu1 and upower 0.9.13-1. (upower emits signals for both batteries in question and continues to poll the absent BAT1 every second.)

  There's a bug report over at RedHat which contains a workaround that touches those files post-resume. I did not test it yet and it's clearly a hack because the kernel shouldn't add it in the first place.
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  isabel     1669 F.... pulseaudio
   /dev/snd/pcmC0D0p:   isabel     1669 F...m pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xd6960000 irq 45'
     Mixer name	: 'Intel IbexPeak HDMI'
     Components	: 'HDA:111d76d5,1028040a,00100104 HDA:80862804,80860101,00100000'
     Controls      : 19
     Simple ctrls  : 11
  DistroRelease: Ubuntu 11.10
  GnomeSessionIdleInhibited: No
  GnomeSessionInhibitors: None
  GnomeSessionSuspendInhibited: No
  HibernationDevice: RESUME=UUID=c7b9f2a3-7ac6-488c-9cb0-b4427e240be2
  MachineType: Dell Inc. Latitude E6410
  Package: upower 0.9.13-1
  PackageArchitecture: i386
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcEnviron:
   LC_TIME=en_GB.UTF-8
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-12-generic root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-12-generic N/A
   linux-backports-modules-3.0.0-12-generic  N/A
   linux-firmware                            1.60
  Tags:  oneiric oneiric oneiric
  Uname: Linux 3.0.0-12-generic i686
  UpgradeStatus: Upgraded to oneiric on 2011-10-19 (14 days ago)
  UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev video
  dmi.bios.date: 11/20/2010
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A06
  dmi.board.name: 04373Y
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A03
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA06:bd11/20/2010:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn04373Y:rvrA03:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E6410
  dmi.product.version: 0001
  dmi.sys.vendor: Dell Inc.
  gnome-power-bugreport: Error: [Errno 2] No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/885722/+subscriptions


References