All of lore.kernel.org
 help / color / mirror / Atom feed
* APM battery status reporting
@ 2001-03-09 20:41 Dennis Noordsij
  2001-03-09 21:46 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Noordsij @ 2001-03-09 20:41 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have a Dell Inspiron 5000e laptop which works beautifully with 2.4.2, 
including suspends, DRM, etc etc.

One thing that has never worked though is battery status reporting 
(/proc/apm). However people who sell this exact same laptop with Linux 
preinstalled (mostly redhat though with their patched kernel, I use Debian 
with stock kernel) tell me their battery status reporting does indeed work. 
Via google.com/linux I have found several older posts in this list (Q4 2000) 
mentioning this exact laptop and patches that do enable this feature being 
tested in previous kernels. Then again my dmesg says the BIOS is probably 
buggy (same BIOS though as mentioned in those posts). Apmd does notice the 
change from mains to battery and vice versa (I have disabled Speedstep so now 
everything actually survives this transition :-).

So to end all the confusion, is there a patch out there that enables battery 
status reporting for me (and other Dell owners :-) ?

Thanks in advance for any pointers,
Kind regards,
Dennis Noordsij

dmesg:

BIOS strings suggest APM bugs, disabling power status reporting.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)


kernel configuration:

CONFIG_APM=y
CONFIG_APM_IGNORE_USER_SUSPEND=y
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_RTC_IS_GMT=y
CONFIG_APM_ALLOW_INTS=y
CONFIG_APM_REAL_MODE_POWER_OFF=y

# CONFIG_ACPI is not set


/proc/apm:

1.14 1.2 0x03 0xff 0xff 0xff -1% -1 ?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: APM battery status reporting
  2001-03-09 20:41 APM battery status reporting Dennis Noordsij
@ 2001-03-09 21:46 ` Alan Cox
  2001-03-09 23:00   ` Tom Sightler
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2001-03-09 21:46 UTC (permalink / raw)
  To: Dennis Noordsij; +Cc: linux-kernel

> tested in previous kernels. Then again my dmesg says the BIOS is probably 
> buggy (same BIOS though as mentioned in those posts). Apmd does notice the 
> change from mains to battery and vice versa (I have disabled Speedstep so now 
> everything actually survives this transition :-).
> So to end all the confusion, is there a patch out there that enables battery 
> status reporting for me (and other Dell owners :-) ?

Yes but the update you need is a new BIOS revision. Ask Dell 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: APM battery status reporting
  2001-03-09 21:46 ` Alan Cox
@ 2001-03-09 23:00   ` Tom Sightler
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Sightler @ 2001-03-09 23:00 UTC (permalink / raw)
  To: Dennis Noordsij, Alan Cox; +Cc: linux-kernel

> > tested in previous kernels. Then again my dmesg says the BIOS is
probably
> > buggy (same BIOS though as mentioned in those posts). Apmd does notice
the
> > change from mains to battery and vice versa (I have disabled Speedstep
so now
> > everything actually survives this transition :-).
> > So to end all the confusion, is there a patch out there that enables
battery
> > status reporting for me (and other Dell owners :-) ?
>
> Yes but the update you need is a new BIOS revision. Ask Dell
>

The BIOS update has been around forever from Compal (the people who actually
OEM the unit for Dell), you can get their generic BIOS at
http://software.tuxtops.com. This probably violates your Dell warranty but I
know many who use it and we've now installed it on all the 5000e systems we
own, without any problem.

I'm not sure why Dell is taking so long to get an update to it consumers,
but it probably has something to do with the fact that Linux isn't a
supported platform on this machine.  Their official stance appears to be
"APM isn't supported on this laptop, only ACPI."  That's pretty bogus since
everything but this one system call works, and even that works with the
Compal generic BIOS, so I'd more likely guess it's just not high on the
priority list because it's not important enough for their largest user base
which is of course Windows.

Later,
Tom



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-09 23:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-09 20:41 APM battery status reporting Dennis Noordsij
2001-03-09 21:46 ` Alan Cox
2001-03-09 23:00   ` Tom Sightler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.