[ACPI-sppt] AC-Adapter

Alexander Wigen <[email protected]> Thu, 11 Sep 2003 13:09:48 +1000
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
Hi,
I have a Toshiba 'No-Name' laptop. It's sold in Norway by a company called 
Zepto.
I wondered if the DefinitionBlock in the dsdt could tell me more about what 
Toshiba model my laptop is:
DefinitionBlock ("DSDT.aml", "DSDT", 1, "COMPAL", "845M    ", 100925440)

But that doesn't seem to promesing. Does anyone know how I can find out what 
Toshiba model this is equivalent to?

/proc/acpi/battery,button,embedded_controller,processor and thermal_zone all 
work.

What doesn't work is the ac adapter as you can see from the output of 
dmesg|grep -i acpi (attached):
acpi_ac-0098 [37] acpi_ac_get_state: Error reading AC Adapter state
/proc/acpi/fan,power_resource are also empty directories, but I'm not sure if 
these are supposed to be supported.

I have disassembled the dstd but that didn't tell me much.

The ac adapter fails to register both when booting with the ac adapter on and 
when booting on battery.

One more thing I don't understand is this kernel message:
cpufreq: No CPUs supporting ACPI performance management found.

#uname -a
Linux berbara 2.6.0-test5-bk1 #3 Thu Sep 11 12:32:55 EST 2003 i686 Mobile 
Intel(R) Pentium(R) 4 - M CPU 1.80GHz GenuineIntel GNU/Linux

Two other things, the integrated wireless lan card has a button to turn it's 
TX on and of. Does anybody know if this is possible to control with acpi or 
something else? (Prism based card) And i have some buttons for playing 
cd/mp3's with that does not register with xev, are these acpi buttons?

Cheers
alex
-- 
http://www.wigen.net  ICQ: 3718651  MSN: [email protected]
Mail: [email protected]  What happens if you get scared half to death twice?
dmesgacpi (text/plain, 2.7 KB)
 BIOS-e820: 000000001fef0000 - 000000001fefc000 (ACPI data)
 BIOS-e820: 000000001fefc000 - 000000001ff00000 (ACPI NVS)
ACPI: RSDP (v000 PTLTD                                     ) @ 0x000f6c10
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x1fef59ed
ACPI: FADT (v001 INTEL  845M     0x06040000 PTL  0x0000004b) @ 0x1fefbf8c
ACPI: DSDT (v001 COMPAL 845M     0x06040000 MSFT 0x0100000d) @ 0x00000000
ACPI: MADT not present
ACPI: Subsystem revision 20030813
 tbxface-0117 [03] acpi_load_tables      : ACPI Tables successfully acquired
ACPI Namespace successfully loaded at root c051991c
evxfevnt-0093 [04] acpi_enable           : Transition to ACPI mode successful
Executing all Device _STA and_INI methods:.......[ACPI Debug] String: VGA_STA
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
[ACPI Debug] String: VGA_STA
[ACPI Debug] String: VGA_STA
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *10)
ACPI: PCI Interrupt Link [LNKB] (IRQs *10)
ACPI: PCI Interrupt Link [LNKC] (IRQs 9, enabled at IRQ 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 9, enabled at IRQ 11)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 12 14 15, disabled)
ACPI: PCI Interrupt Link [LNKH] (IRQs 5, disabled)
ACPI: Embedded Controller [EC0] (gpe 28)
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.4
 acpi_ac-0098 [37] acpi_ac_get_state     : Error reading AC Adapter state
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU0] (supports C1 C2, 8 throttling states)
[ACPI Debug] String: _TZ.THRM._TMP -> 
[ACPI Debug] Integer: 0000000000000C94
[ACPI Debug] String: _TZ.THRM._SCP -> 
[ACPI Debug] Integer: 0000000000000000
[ACPI Debug] String: _TZ.THRM._SCP -> Notify(0x81)
[ACPI Debug] String: _TZ.THRM._CRT -> 
[ACPI Debug] Integer: 0000000000000EF6
[ACPI Debug] String: _TZ.THRM._PSV -> 
[ACPI Debug] Integer: 0000000000000E6A
[ACPI Debug] String: _TZ.THRM._TMP -> 
[ACPI Debug] Integer: 0000000000000C94
ACPI: Thermal Zone [THRM] (49 C)
cpufreq: No CPUs supporting ACPI performance management found.
ACPI: (supports S0 S1 S3 S4 S5)