ACPI on Toshiba A210

Pattern patttern at gmail.com
Mon Aug 17 22:37:32 UTC 2009


In result:
# uname -a
FreeBSD toshiba.homenet 8.0-BETA2 FreeBSD 8.0-BETA2 #1: Sun Aug  9 15:09:10
MSD 2009     root at toshiba.homenet:/usr/obj/usr/src/sys/TOSHIBA  i386
# acpidump -dt > acpi_ta210f16.orig.asl
http://pma.8855.ru/files/acpi_ta210f16.orig.asl
Changes to the file
http://pma.8855.ru/files/acpi_ta210f16.diff
Result of the changes
http://pma.8855.ru/files/acpi_ta210f16.asl
After these changes ACPI has worked well. But there are some issues:

1. Booting system runs without errors usually. Sometimes during the boot
process this error appears:
...
acpi_acad0: <AC Adapter> on acpi0
acpi_ec0: EcRead: failed waiting to get data
ACPI Exception: AE_NO_HARDWARE_RESPONSE, Returned by Handler for
[EmbeddedControl] 20090521 evregion-531
ACPI Error (psparse-0633): Method parse/execution failed
[\_SB_.PCI0.LPC0.EC0_.PCLK] (Node 0xc6eebca0), AE_NO_HARDWARE_RESPONSE
ACPI Error (psparse-0633): Method parse/execution failed
[\_SB_.PCI0.LPC0.EC0_._Q1D] (Node 0xc6eef320), AE_NO_HARDWARE_RESPONSE
acpi_ec0: evaluation of query method _Q1D failed: AE_NO_HARDWARE_RESPONSE
battery0: <ACPI Control Method Battery> on acpi0
...
What causes that and how can I fix it?

2. In line 5601 (in file acpi_ta210f16.asl) method calling commented. After
running iasl with optimization parameters (iasl -vo), program says, that
method has to be called this way
HTEV (0x02)
It causes the error:
...
ACPI Error (psparse-0633): Method parse/execution failed
[\_SB_.PCI0.LPC0.EC0_.HTEV] (Node 0xc6897b60), AE_NOT_EXIST
ACPI Error (psparse-0633): Method parse/execution failed
[\_SB_.PCI0.LPC0.EC0_._REG] (Node 0xc69d6260), AE_NOT_EXIST
acpi0: Could not initialize SystemIO handler: AE_NOT_EXIST
...
and system stops booting
If method calling registered by its actual address
\_SB.HTEV (0x02)
this error appears while booting process:
...
ACPI Error (psparse-0633): Method parse/execution failed [\_SB_.HTEV] (Node
0xc6897b60), AE_NOT_EXIST
ACPI Error (psparse-0633): Method parse/execution failed
[\_SB_.PCI0.LPC0.EC0_._REG] (Node 0xc69d6260), AE_NOT_EXIST
acpi0: Could not initialize SystemIO handler: AE_NOT_EXIST
...
and system stops booting further.
In both cases, the method of HTEV into \ _SB_.PCI0.LPC0.EC0_._REG can not be
called.
However if not call this method, system boots correctly.
How can I fix it?


More information about the freebsd-acpi mailing list