Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Missing Battery Info for Toshiba Tecra S1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
flav2000
n00b
n00b


Joined: 02 Sep 2003
Posts: 5
Location: Burnaby, British Columbia, Canada

PostPosted: Tue Sep 02, 2003 6:03 am    Post subject: Missing Battery Info for Toshiba Tecra S1 Reply with quote

I have just received my new Tecra S1 (103JL) model and I have problems seeing the battery status using ACPI. All other ACPI functions like cpufreq throttling and performance works.

I have tried the the -ac 2.4 series kernel, the 2.6-test4 and the 2.6-test4-mm4.

All I get is a empty directory in /proc/acpi/battery/. no BAT0 or BAT1

Also, Toshiba Extra detection says that this modem is a supported machine. so I have no way to adjust for the lcd brightness.

Anybody has any hints as to what I shold try next?

updates 09/02/2003 - addition info added
This seems to be a problem with the DSDT table that's in the BIOS. I used acpidump to output the DSDT table and then compile it using IASL and I go this result:

Code:

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030522 [May 23 2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

Unhandled encoded type: 1A
Unhandled encoded type: 1A
Unhandled encoded type: 1A
dsdt.asl   556:                     Notify(\_TZ_, 0x80)
Error    1035 -                   Invalid type ^  ([Resource] found, Notify operator requires [Device|Processor|Thermal])

dsdt.asl   567:                     Notify(\_TZ_, 0x80)
Error    1035 -                   Invalid type ^  ([Resource] found, Notify operator requires [Device|Processor|Thermal])

dsdt.asl  1023:                     If(\_OSI) {
Error    1028 -          Too few arguments ^  (\_OSI requires 1)

dsdt.asl  1024:                         "Windows 2001"
Error    1037 -                                      ^ parse error, unexpected PARSEOP_STRING_LITERAL

dsdt.asl  2496:                     Notify(\_TZ_, 0x80)
Error    1035 -                   Invalid type ^  ([Resource] found, Notify operator requires [Device|Processor|Thermal])

ASL Input:  dsdt.asl - 3024 lines, 106502 bytes, 2097 keywords
Compilation complete. 5 Errors, 0 Warnings, 0 Remarks, 556 Optimizations


I have fixed the OSI error (lines 1023,1024) since it's a string error. For the rest I can't find information on it as it looks like code from ACPI spec 1.0b which I cannot locate. For the time being I tried to comment them out and install a custom DSDT.

When I tried custom DSDT i get the following with dmesg | grep "ACPI":

Code:

 BIOS-e820: 000000000fff0000 - 000000000fffffc0 (ACPI data)
 BIOS-e820: 000000000fffffc0 - 0000000010000000 (ACPI NVS)
ACPI: have wakeup address 0xc0002000
ACPI: RSDP (v000 OID_00                     ) @ 0x000e6010
ACPI: RSDT (v001 INSYDE RSDT_000 00000.00001) @ 0x0fffa9f0
ACPI: FADT (v001 INSYDE FACP_000 00000.00256) @ 0x0ffffb00
ACPI: BOOT (v001 INSYDE SYS_BOOT 00000.00256) @ 0x0ffffb90
ACPI: DBGP (v001 INSYDE DBGP_000 00000.00256) @ 0x0ffffbc0
ACPI: SSDT (v001 INSYDE   GV3Ref 00000.08192) @ 0x0fffaa30
ACPI: DSDT (v001 TOSINV   INT810 00000.04098) @ 0x00000000
ACPI: BIOS passes blacklist
ACPI: MADT not present
ACPI: Subsystem revision 20030619
    ACPI-0292: *** Info: Table [DSDT] replaced by host OS
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: System [ACPI] (supports S0 S3 S4 S5)
    ACPI-1121: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node c12d0ee0), AE_NOT_EXIST
    ACPI-1121: *** Error: Method execution failed [\_SB_.BAT1._STA] (Node c12f6200), AE_NOT_EXIST
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs *11)
ACPI: PCI Interrupt Link [LNKD] (IRQs *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs *6)
ACPI: PCI Interrupt Link [LNKF] (IRQs 11, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 11, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 11, disabled)
ACPI: Embedded Controller [EC0] (gpe 16)
ACPI: Power Resource [PFA1] (off)
ACPI: Power Resource [PFA0] (off)
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
PCI: Using ACPI for IRQ routing
ACPI: AC Adapter [AC] (on-line)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Fan [FAN0] (off)
ACPI: Fan [FAN1] (off)
ACPI: Processor [CPU0] (supports C1 C2 C3, 5 performance states, 8 throttling states)
ACPI: Thermal Zone [THZN] (52 C)


clearly something about the BAT0 and BAT1 is not agreeing with the kernel even though the iasl compiles it in properly.
Back to top
View user's profile Send private message
flav2000
n00b
n00b


Joined: 02 Sep 2003
Posts: 5
Location: Burnaby, British Columbia, Canada

PostPosted: Tue Sep 02, 2003 6:26 pm    Post subject: Reply with quote

/bump

new updates added (see above)

Additional note: besides the DSDT table problem the lid switch and the power button does not give any shutdown or suspend response (holding the power key does eventually turn the laptop off like a soft switch)

Is this a related problem?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum