[Pkg-utopia-maintainers] Bug#470618: hal: Battery bay not detected on a laptop running with disconnected battery

Daniele Benucci d.benux at gmail.com
Wed Mar 12 09:59:03 UTC 2008


Package: hal
Version: 0.5.10+git20080301-1
Severity: important

When a laptop is powered on without a battery inserted, hal does not detect the battery bay, so power managers can't suspect the computer supports a 
battery and consequently disabling battery-powered related options in their interface.
Moreover, inserting the battery later requires a restart of the hal daemon (and of the power manager applet) to have the battery recognized.
May this bug be related to the recently introduced patch to fix the reporting of two batteries, since sysfs does not provide informations about battery when 
it's disconnected, while /proc does (in /proc/acpi/battery/BAT0/state)?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24eppol (PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hal depends on:
ii  adduser             3.106                add and remove users and groups
ii  dbus                1.1.20-1             simple interprocess messaging syst
ii  hal-info            20080215-1           Hardware Abstraction Layer - fdi f
ii  libc6               2.7-9                GNU C Library: Shared libraries
ii  libdbus-1-3         1.1.20-1             simple interprocess messaging syst
ii  libdbus-glib-1-2    0.74-1               simple interprocess messaging syst
ii  libexpat1           1.95.8-4             XML parsing C library - runtime li
ii  libgcc1             1:4.3.0-1            GCC support library
ii  libglib2.0-0        2.16.1-1             The GLib library of C routines
ii  libhal-storage1     0.5.10+git20080301-1 Hardware Abstraction Layer - share
ii  libhal1             0.5.10+git20080301-1 Hardware Abstraction Layer - share
ii  libsmbios1          0.13.13-1            Provide access to (SM)BIOS informa
ii  libstdc++6          4.3.0-1              The GNU Standard C++ Library v3
ii  libusb-0.1-4        2:0.1.12-9           userspace USB programming library
ii  libvolume-id0       0.114-2              libvolume_id shared library
ii  lsb-base            3.2-4                Linux Standard Base 3.2 init scrip
ii  mount               2.13.1-2             Tools for mounting and manipulatin
ii  pciutils            1:2.2.10-1           Linux PCI Utilities
ii  pm-utils            0.99.2-3             utilities and scripts for power ma
ii  udev                0.114-2              /dev/ and hotplug management daemo
ii  usbutils            0.73-7               Linux USB utilities

Versions of packages hal recommends:
ii  eject                         2.1.5-6    ejects CDs and operates CD-Changer
pn  libsmbios-bin                 <none>     (no description available)

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list