public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Presario 2701US and Battery info
@ 2002-08-07 16:34 Black, Richard
       [not found] ` <D8C1802AADD0D346BE5C0A1D117075CC02C1C9F0-pKAD8otJBe2P0FQRY6S+e9kSKC0Mw0DFJ8am2ALHCgk@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Black, Richard @ 2002-08-07 16:34 UTC (permalink / raw)
  To: Faye Pearson, Ducrot Bruno; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

No battery info (battery not present) on Presario 2701US

Also getting the repeating message (which fills dmesg):

VFS: Disk change detected on device sr(11,1)

Details:

dmesg and dsdt.asl posted here
http://www.cpqlinux.com/dmesg.txt
http://www.cpqlinux.com/dsdt_asl.txt
and compressed here
http://www.cpqlinux.com/dmesg.txt.tgz
http://www.cpqlinux.com/dsdt_asl.txt.tgz

Presario 2701US 
Red Hat 7.2
Fresh 2.4.18 + acpi-20020726-2.4.18.diff
On this I have not modified my DSDT table.

For kernel configuration I did exactly the following:
cd /usr/src/linux-2.4.18-acpi
cp ../linux-2.4.7-10/configs/kernel-2.4.7-i686.config arch/i386/defconfig
make mrproper
yes "" | oldconfig
Then in xconfig I did:
1) change to PIII, 
2) turn off Compaq PCI Hotplug driver (doesn't compile), 
3) turn on ACPI support, 
4) make everything in ACPI as "y" not "m" (will do modules 
later once I get this working) - also turned on thermal zone 
and debug statements.

I see battery entries in 
cd /proc/acpi/battery/
find . -type f
./BAT2/alarm
./BAT2/state
./BAT2/info
./BAT1/alarm
./BAT1/state
./BAT1/info

cat BAT1/* BAT2/*
present:		no
present:		no
present:		no
present:		no
present:		no
present:		no

What works:
Lid button
fully powers off on shutdown


Sincerely,
Richard Black
http://www.cpqlinux.com
http://www.geocities.com/rlcomp_1999
http://www.compaq.com/linux

P.S. Some (not all) bad messages from dmesg (see web page for full details):
http://www.cpqlinux.com/dmesg.txt
http://www.cpqlinux.com/dsdt_asl.txt


grep dsutils
 dsutils-0391 [23] Ds_create_operand     : Object name [\_SB_.OKEC] was not found in namespace
 dsutils-0554 [22] Ds_create_operands    : While creating Arg 2 - AE_AML_NAME_NOT_FOUND
 dsutils-0391 [27] Ds_create_operand     : Object name [\_SB_.ACOK] was not found in namespace
 dsutils-0554 [26] Ds_create_operands    : While creating Arg 1 - AE_AML_NAME_NOT_FOUND
 dsutils-0391 [28] Ds_create_operand     : Object name [\_SB_.OKEC] was not found in namespace
 dsutils-0391 [24] Ds_create_operand     : Object name [\_SB_.ACOK] was not found in namespace
 dsutils-0554 [23] Ds_create_operands    : While creating Arg 2 - AE_AML_NAME_NOT_FOUND


grep acpi
 pci_irq-0293 [13] acpi_pci_irq_derive   : Unable to derive IRQ for device 02:04.0
 pci_irq-0293 [13] acpi_pci_irq_derive   : Unable to derive IRQ for device 02:05.0
 pci_irq-0293 [13] acpi_pci_irq_derive   : Unable to derive IRQ for device 02:06.0
 pci_irq-0293 [13] acpi_pci_irq_derive   : Unable to derive IRQ for device 02:08.0
 acpi_ac-0082 [16] acpi_ac_get_state     : Error reading AC Adapter state
 pci_irq-0293 [14] acpi_pci_irq_derive   : Unable to derive IRQ for device 02:08.0
 pci_irq-0293 [14] acpi_pci_irq_derive   : Unable to derive IRQ for device 02:06.0

grep -i bat
ACPI: Battery Slot [BAT1] (battery absent)
ACPI: Battery Slot [BAT2] (battery absent)


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

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

* Re: Presario 2701US and Battery info
       [not found] ` <D8C1802AADD0D346BE5C0A1D117075CC02C1C9F0-pKAD8otJBe2P0FQRY6S+e9kSKC0Mw0DFJ8am2ALHCgk@public.gmane.org>
@ 2002-08-07 16:46   ` Faye Pearson
  0 siblings, 0 replies; 2+ messages in thread
From: Faye Pearson @ 2002-08-07 16:46 UTC (permalink / raw)
  To: Black, Richard; +Cc: Ducrot Bruno, Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Black, Richard [Richard.Black-VXdhtT5mjnY@public.gmane.org] wrote:
> No battery info (battery not present) on Presario 2701US
> 
> grep dsutils
>  dsutils-0391 [23] Ds_create_operand     : Object name [\_SB_.OKEC] was not found in namespace
>  dsutils-0554 [22] Ds_create_operands    : While creating Arg 2 - AE_AML_NAME_NOT_FOUND
>  dsutils-0391 [27] Ds_create_operand     : Object name [\_SB_.ACOK] was not found in namespace
>  dsutils-0554 [26] Ds_create_operands    : While creating Arg 1 - AE_AML_NAME_NOT_FOUND
>  dsutils-0391 [28] Ds_create_operand     : Object name [\_SB_.OKEC] was not found in namespace
>  dsutils-0391 [24] Ds_create_operand     : Object name [\_SB_.ACOK] was not found in namespace
>  dsutils-0554 [23] Ds_create_operands    : While creating Arg 2 - AE_AML_NAME_NOT_FOUND

This is why.  You haven't changed _SB_ to \_SB_ in your DSDT so the
_SB_ stuff is going in the wrong place in the ACPI hierarchy.

Fix your DSDT and it will likely fix this.

You can probably use my DSDT, someone is using it with a 2720US.


Faye

-- 
Faye Pearson,
Software Development Manager,
ClaraNET Ltd.       Tel 020 7903 3000


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

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

end of thread, other threads:[~2002-08-07 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-07 16:34 Presario 2701US and Battery info Black, Richard
     [not found] ` <D8C1802AADD0D346BE5C0A1D117075CC02C1C9F0-pKAD8otJBe2P0FQRY6S+e9kSKC0Mw0DFJ8am2ALHCgk@public.gmane.org>
2002-08-07 16:46   ` Faye Pearson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox