Re: [ACPI-sppt] inspiron 2500

"Derek Broughton" <[email protected]> Sun, 21 Sep 2003 19:11:45 +0100
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
>
> I have an inspiron 2500 that I am trying to get working with acpi.  sleep
mose
> P1 works just fine.  But I dont have any batter support, and the

Me too.   I've been looking at it, on and off, for two years now...  The
DSDT in the bios has no battery support - because it's broken.  If you've
recompiled the DSDT, then I think you have to have fixed it enough to at
least have minimal battery support.  However, if you've just got it fixed
enough to compile, you still won't have a workable
/proc/acpi/battery/BAT0/info, which is where most of the information you
want is found.

>  anyway my proc dir is like this
>
> /proc/acpi/
> /proc/acpi/alarm
> /proc/acpi/dsdt
> /proc/acpi/event
> /proc/acpi/fadt
> /proc/acpi/sleep
> /proc/acpi/power_resource/
> /proc/acpi/embedded_controller/EC0/info

What version of ACPI are you using, and which BIOS?  I don't have a
power_resource - I have an ac_adapter and a battery.  Did you compile the
ACPI modules into the kernel, or as separate modules?  If they're modules,
you probably haven't insmodded the battery (can't remember what it's called,
because I found in the early days that I _had_ to compile them into the
kernel or I'd get a segfault).
>
> Also, acpid tells you to use events, but conviently does not tell you what
> events exist, nor where to find it out. Any idea??

Well, when you install acpid the default script logs all the events received
in /proc/acpi/events, so you just look for the messages.  The simple way to
see what you're looking for is to open a console, "tail /var/log/syslog -f"
(or wherever the syslog might be on your system), and close the lid.  When
you open it again you'll see two standard ACPI event messages.  acpid
_can't_ tell you what events exist, because they tend to have machine
dependent names (they're all specified in the DSDT).
>
> I been working on this for about 3 days straight.  making small steps, but
im
> not there yet...

Hey, if you get there, let me know :-)  I tried the 2.5 kernels in an
attempt to get closer but it never really helped.  I think it really
requires fixing the DSDT beyond what I'm capable of.

derek



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf