Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACPI funciona mais não exibe informações da bateria
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
wagner_hebert
n00b
n00b


Joined: 02 Feb 2004
Posts: 12
Location: Maceió/AL

PostPosted: Sun Jul 04, 2004 6:21 pm    Post subject: ACPI funciona mais não exibe informações da bateria Reply with quote

Tenho um notebook PCCHIPS A530, aparentemente tudo funciona, inclusive o ACPI porem as informações da bateria e do AC adapter não... gostaria de saber se alguem ja teve esse problema.. tentei colocar o initrd do DSDT mais nao funcionou...
Code:

chatoo root # uname -a
Linux chatoo 2.6.7-rc3 #2 SMP Sun Jul 4 11:37:19 BRT 2004 i686 Transmeta(tm) Crusoe(tm) Processor TM5600 GenuineTMx86 GNU/Linux

Code:

chatoo root # ls -l /proc/acpi/battery/
total 0

Code:

chatoo root # ls -l /proc/acpi/ac_adapter/
total 0


??????????????????????

* DMESG
Code:

chatoo root # dmesg |grep ACPI
 BIOS-e820: 0000000006ff0000 - 0000000006ff8000 (ACPI data)
 BIOS-e820: 0000000006ff8000 - 0000000007000000 (ACPI NVS)
ACPI: RSDP (v000 AMI                                       ) @ 0x000fad50
ACPI: RSDT (v001 AMIINT AMIINT09 0x00000011 MSFT 0x00000097) @ 0x06ff0000
ACPI: FADT (v001 AMIINT AMIINT09 0x00000011 MSFT 0x00000097) @ 0x06ff0030
ACPI: DSDT (v001 TM5600    TMx86 0x00001000 MSFT 0x0100000d) @ 0x00000000
ACPI: Looking for DSDT in initrd ... found customized DSDT with 10851 bytes!
ACPI: Subsystem revision 20040326
ACPI: Using customized DSDT
    ACPI-0299: *** Info: Table [DSDT] replaced by host OS
ACPI: IRQ4 SCI: Edge set to Level Trigger.
    ACPI-0201: *** Error: Return object type is incorrect [\_SB_.PWRB._STA] (Node c6fee348), AE_TYPE
    ACPI-0201: *** Error: Return object type is incorrect [\_SB_.PCI0.SBRG.ECP_._STA] (Node c6f96d48), AE_TYPE
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: Power Resource [URP1] (off)
ACPI: Power Resource [URP2] (off)
ACPI: Power Resource [FDDP] (off)
ACPI: Power Resource [LPTP] (off)
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11 12 14 *15), disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 14 15) *9, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *9 10 11 12 14 15), disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 14 15)
ACPI: PCI Interrupt Link [LNKP] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 9
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
ACPI: No IRQ known for interrupt pin A of device 0000:00:10.0
ACPI: PCI Interrupt Link [LNKP] enabled at IRQ 10
PCI: Using ACPI for IRQ routing
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Processor [CPU1] (supports C1, 8 throttling states)
ACPI: No IRQ known for interrupt pin A of device 0000:00:10.0
ACPI: (supports S0 S1 S4 S5)
Back to top
View user's profile Send private message
Clansman
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 140

PostPosted: Tue Sep 14, 2004 8:34 am    Post subject: Reply with quote

viva!

eu tenho o mesmo problema, mas ainda não testei a substituição da DSDT... o meu laptop é mto recente e receio que não tenha suporte para tal... é possível?

mais alguma informação sobre isto?

*EDIT*
o howto sobre o DSDT é excelente e tem lá uma secção interessantíssima para este assunto...
Quote:

In addition to the DSDT, laptops that conform to the ACPI 2.0 specification may provide an ECDT. This is a small table that provides minimal information about the Embedded Controller to the ACPI drivers before this section is parsed from the DSDT. This is necessary to prevent some chicken and egg type problems with initializing devices (such as the battery and ac adapter in some systems) that rely on the Embedded Controller. Sadly, again, some laptops that should provide an ECDT do not. So, to get around this, we'll have to patch the kernel to read the necessary information from the DSDT.


e ainda
Quote:

The ECDT is used to provide some minimal information about the Embedded Controller to the ACPI drivers before the Embedded Controller region has actually been parsed from the DSDT. This is frequently necessary before initializing the battery and ac adapter, so if you have errors in dmesg from the battery, adapter or EmbeddedControl, the ECDT is the likely culprit. For instance, after fixing my DSDT, I had the following errors in dmesg:

Code:

evregion-0251 [22] ev_address_space_dispa: No handler for Region [ECR_] (df5ec688) [EmbeddedControl]
 exfldio-0284 [21] ex_access_region      : Region EmbeddedControl(3) has no handler
 dswexec-0435 [14] ds_exec_end_op        : [LEqual]: Could not resolve operands, AE_NOT_EXIST
dswstate-0273 [16] ds_result_pop_from_bot: No result objects! State=df5fb428
 dsutils-0525 [16] ds_create_operand     : Missing or null operand, AE_AML_NO_RETURN_VALUE
 psparse-1120: *** Error: Method execution failed [\_SB_.ADP1._STA] (Node df5f42c8), AE_AML_NO_RETURN_VALUE
evregion-0251 [22] ev_address_space_dispa: No handler for Region [ECR_] (df5ec688) [EmbeddedControl]
 exfldio-0284 [21] ex_access_region      : Region EmbeddedControl(3) has no handler
 dswexec-0435 [14] ds_exec_end_op        : [LEqual]: Could not resolve operands, AE_NOT_EXIST
dswstate-0273 [16] ds_result_pop_from_bot: No result objects! State=df5fb428
 dsutils-0525 [16] ds_create_operand     : Missing or null operand, AE_AML_NO_RETURN_VALUE
 psparse-1120: *** Error: Method execution failed [\_SB_.BAT1._STA] (Node df5f4848), AE_AML_NO_RETURN_VALUE


EmbeddedControl is obviously the embedded controller. ADP1 is the ac adapter and BAT1 is the battery. After booting, my /proc/acpi/ac_adapter and /proc/acpi/battery directories were empty. All of this was caused by the missing ECDT.


estou away do meu laptop agora mas logo a noite vou testar isto tudo.

[]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese 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