Bug#415815: hal: no battery status reported
> could you please test the 0.5.9 packages from experimental. > They should better with newer kernels and even if CONFIG_ACPI_PROCFS is > set to n. Yes, it works! Marcus pgpkv9a90orEd.pgp Description: PGP signature
Bug#415815: hal: no battery status reported
Marcus Better wrote: > I have a new suspect: CONFIG_ACPI_PROCFS. Battery status is working now with > this option enabled (although I now run 2.6.21). > > From the Kconfig: > config ACPI_PROCFS > bool "Procfs interface (deprecated)" > depends on ACPI > default y > ---help--- > Procfs interface for ACPI is made optional for back-compatible. > As the same functions are duplicated in sysfs interface > and this proc interface will be removed some time later, > it's marked as deprecated. > > If you can confirm that it uses this interface, I think this bug can be > closed, or perhaps better changed to a wishlist to make sure HAL migrates > away from it soon. > > Marcus Hi Marcus, could you please test the 0.5.9 packages from experimental. They should better with newer kernels and even if CONFIG_ACPI_PROCFS is set to n. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#415815: hal: no battery status reported
I have a new suspect: CONFIG_ACPI_PROCFS. Battery status is working now with this option enabled (although I now run 2.6.21). From the Kconfig: config ACPI_PROCFS bool "Procfs interface (deprecated)" depends on ACPI default y ---help--- Procfs interface for ACPI is made optional for back-compatible. As the same functions are duplicated in sysfs interface and this proc interface will be removed some time later, it's marked as deprecated. If you can confirm that it uses this interface, I think this bug can be closed, or perhaps better changed to a wishlist to make sure HAL migrates away from it soon. Marcus pgpJBiEmx6BXB.pgp Description: PGP signature
Bug#415815: hal: no battery status reported
Oh well, most of the time it works now - but sometimes it does not. But I can't see any pattern... I'm using initng, maybe some things get loaded it the wrong order, I will check with sysvinit - Stefan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#415815: hal: no battery status reported
So I just tried with the standard etch kernel 2.6.18-4-amd64, and the battery status is reported correctly. Either there are changes in recent kernels, or some other configuration option is missing in my config. Marcus pgpm81MRHyetG.pgp Description: PGP signature
Bug#415815: hal: no battery status reported
...and now it's broken again, so it seems I wasn't mistaken. ~$ uname -r 2.6.21-rc6-melech ~$ grep SYSFS /boot/config-2.6.21-rc6-melech CONFIG_SYSFS_DEPRECATED=y CONFIG_PM_SYSFS_DEPRECATED=y CONFIG_RTC_INTF_SYSFS=m CONFIG_SYSFS=y Will try a stock Debian kernel. Marcus pgpvVWa1qYj3r.pgp Description: PGP signature
Bug#415815: hal: no battery status reported
Stefan Söffing wrote: > Sjoerd Simons schrieb: >>> same here with gnome-power-manager. No battery is reported since >>> the last update. >>> >>> Going to sleep doesn't work either... >> What kernel version are you running ? Does it also fail with the >> 2.6.18 as available from sid and etch (if your not running a debian >> kernel) > >> Sjoerd > I'm running 2.6.18 compiled from debian sources (2.6.18.dfsg.1-11) > > All the above mentioned modules are built into the kernel. Could you both please try to install and run a stock Debian kernel so we can rule out any potential kernel problem? Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#415815: hal: no battery status reported
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sjoerd Simons schrieb: > On Thu, Mar 22, 2007 at 04:38:20PM +0100, Stefan Söffing wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Hi, >> >> same here with gnome-power-manager. No battery is reported since >> the last update. >> >> Going to sleep doesn't work either... > > What kernel version are you running ? Does it also fail with the > 2.6.18 as available from sid and etch (if your not running a debian > kernel) > > Sjoerd I'm running 2.6.18 compiled from debian sources (2.6.18.dfsg.1-11) All the above mentioned modules are built into the kernel. - - Stefan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGBh6YpfXh+uYP16sRAky6AJ4sR4eeAIbCToapt/Za0QQ/cJfAZgCfZaSt XVUvbwsAx8xBRPsy3n4P31Y= =cKjU -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#415815: hal: no battery status reported
On Thu, Mar 22, 2007 at 04:38:20PM +0100, Stefan Söffing wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > same here with gnome-power-manager. No battery is reported since the > last update. > > Going to sleep doesn't work either... What kernel version are you running ? Does it also fail with the 2.6.18 as available from sid and etch (if your not running a debian kernel) Sjoerd -- The rule on staying alive as a forecaster is to give 'em a number or give 'em a date, but never give 'em both at once. -- Jane Bryant Quinn
Bug#415815: hal: no battery status reported
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, same here with gnome-power-manager. No battery is reported since the last update. Going to sleep doesn't work either... - - Stefan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGAqLspfXh+uYP16sRAkM7AJ4u7LS+fGUghnOwJPGCYjbJInMUNgCfXcNe EuYe/mMQHcZFtd+40jW+kDE= =ybi8 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#415815: hal: no battery status reported
> You are running a self compiled 2.6.21-rc4. Make sure to compile it with > CONFIG_SYSFS_DEPRECATED=y That didn't help. I also enabled CONFIG_PM_SYSFS_DEPRECATED. > If that doesn't help run > hald --daemon=no --verbose=yes and attach the output (gzipped) to this > bug report. Attached. hal.gz Description: GNU Zip compressed data pgpDAZOduExVC.pgp Description: PGP signature
Bug#415815: hal: no battery status reported
> Please check the "ac" module too. It's loaded. > You are running a self compiled 2.6.21-rc4. Make sure to compile it with > CONFIG_SYSFS_DEPRECATED=y Ah, that was off... Will try. Thanks! Marcus pgpm5pKf4rQzj.pgp Description: PGP signature
Bug#415815: hal: no battery status reported
Marcus Better schrieb: > Michael Biebl wrote: >> You might be bitten by this bug: >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413729 > > I don't think so. I have acpid 1.0.4-5, which has a different init script, > and > my modules are loaded: > > ~$ lsmod|grep bat > battery11784 0 > ~$ lsmod|grep acpi > acpi_cpufreq 10088 1 > freq_table 5584 2 cpufreq_ondemand,acpi_cpufreq > ibm_acpi 34168 0 > backlight 7296 1 ibm_acpi > processor 35232 2 acpi_cpufreq,thermal Please check the "ac" module too. From which hal version did you upgrade? Does it also happen with a stock Debian kernel? You are running a self compiled 2.6.21-rc4. Make sure to compile it with CONFIG_SYSFS_DEPRECATED=y If that doesn't help run hald --daemon=no --verbose=yes and attach the output (gzipped) to this bug report. Cheers, Michael signature.asc Description: OpenPGP digital signature
Bug#415815: hal: no battery status reported
Michael Biebl wrote: > You might be bitten by this bug: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413729 I don't think so. I have acpid 1.0.4-5, which has a different init script, and my modules are loaded: ~$ lsmod|grep bat battery11784 0 ~$ lsmod|grep acpi acpi_cpufreq 10088 1 freq_table 5584 2 cpufreq_ondemand,acpi_cpufreq ibm_acpi 34168 0 backlight 7296 1 ibm_acpi processor 35232 2 acpi_cpufreq,thermal pgpKUn8q9kiF2.pgp Description: PGP signature
Bug#415815: hal: no battery status reported
Marcus Better wrote: > Package: hal > Version: 0.5.8.1-9 > Severity: normal > > HAL doesn't seem to show the battery status on my Thinkpad R60 any > longer. The result is that all the battery status information in > kpowersave disappeared, and it shows the laptop as being on AC power > all the time. > > (I'm not sure this is a HAL problem, but I haven't upgraded kpowersave > in a long time, and HAL was recently updated.) > You might be bitten by this bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413729 Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#415815: hal: no battery status reported
Package: hal Version: 0.5.8.1-9 Severity: normal HAL doesn't seem to show the battery status on my Thinkpad R60 any longer. The result is that all the battery status information in kpowersave disappeared, and it shows the laptop as being on AC power all the time. (I'm not sure this is a HAL problem, but I haven't upgraded kpowersave in a long time, and HAL was recently updated.) ~$ lshal|grep battery ~$ cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: discharging present rate:14940 mW remaining capacity: 40400 mWh present voltage: 11466 mV hal-device-manager also doesn't show any batteries or AC power devices. -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.21-rc4-melech Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Versions of packages hal depends on: ii adduser 3.102Add and remove users and groups ii dbus1.0.2-1 simple interprocess messaging syst ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst ii libdbus-glib-1-20.71-3 simple interprocess messaging syst ii libexpat1 1.95.8-3.4 XML parsing C library - runtime li ii libglib2.0-02.12.9-2 The GLib library of C routines ii libhal-storage1 0.5.8.1-9Hardware Abstraction Layer - share ii libhal1 0.5.8.1-9Hardware Abstraction Layer - share ii libusb-0.1-42:0.1.12-5 userspace USB programming library ii libvolume-id0 0.105-3 libvolume_id shared library ii lsb-base3.1-23.1 Linux Standard Base 3.1 init scrip ii pciutils1:2.2.4-1Linux PCI Utilities ii udev0.105-3 /dev/ and hotplug management daemo ii usbutils0.72-7 USB console utilities Versions of packages hal recommends: ii eject 2.1.4-3ejects CDs and operates CD-Changer -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]