Re: ENXIOing non-present battery

2014-12-08 Thread Colin Percival
On 12/07/14 08:03, Adrian Chadd wrote:
 How's this work on other systems? KDE on Linux doesn't lose its mind
 if the second battery is totally flat.

I just booted Ubuntu 14.04, and both batteries appear in /proc/acpi/battery;
but BAT1 just shows present: no without any statistics, and the GUI shows
the correct state for the single present battery.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org


Re: ENXIOing non-present battery

2014-12-08 Thread Adrian Chadd
What's the output of acpiconf -i0 and acpiconf -i1?

I wonder if changing 'state' to something else would keep everything happy.



-adrian


On 8 December 2014 at 15:08, Colin Percival cperc...@freebsd.org wrote:
 On 12/07/14 08:03, Adrian Chadd wrote:
 How's this work on other systems? KDE on Linux doesn't lose its mind
 if the second battery is totally flat.

 I just booted Ubuntu 14.04, and both batteries appear in /proc/acpi/battery;
 but BAT1 just shows present: no without any statistics, and the GUI shows
 the correct state for the single present battery.

 --
 Colin Percival
 Security Officer Emeritus, FreeBSD | The power to serve
 Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org


Re: ENXIOing non-present battery

2014-12-08 Thread Ian Smith
On Mon, 8 Dec 2014 15:27:10 -0800, Adrian Chadd wrote:

  What's the output of acpiconf -i0 and acpiconf -i1?
  
  I wonder if changing 'state' to something else would keep everything happy.

  On 8 December 2014 at 15:08, Colin Percival cperc...@freebsd.org wrote:
   On 12/07/14 08:03, Adrian Chadd wrote:
   How's this work on other systems? KDE on Linux doesn't lose its mind
   if the second battery is totally flat.
  
   I just booted Ubuntu 14.04, and both batteries appear in 
   /proc/acpi/battery;
   but BAT1 just shows present: no without any statistics, and the GUI shows
   the correct state for the single present battery.

And what does 'grep battery /var/run/dmesg.boot' have to say?  Normally 
with 2 batteries catered for and only one fitted you'd expect to see eg:

./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery0: ACPI Control Method 
Battery on acpi0
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery1: ACPI Control Method 
Battery on acpi0
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery0: battery initialization 
start
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery1: battery initialization 
start
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery0: battery initialization 
done, tried 1 times
./nicks_acpi/dmesg-bootwithacpi-2-part.txt:battery1: battery initialization 
failed, giving up

cheers, Ian
___
freebsd-acpi@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to freebsd-acpi-unsubscr...@freebsd.org