Bug 2856

Summary: ac_adapter and battareys dasn.
Product: ACPI Reporter: Oleksij Rempel (fishor) (bug-track)
Component: Power-BatteryAssignee: Luming Yu (luming.yu)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: kernel -2.6.9 Subsystem:
Regression: --- Bisected commit-id:
Attachments: acpidump on my laptop
dmesg
dmidecode
proc_interrupts
lspci
"cat /proc/dsdt > dsdt.aml" :-)
dmesg kernel 2.6.8.1
dmesg kernel 2.6.9
dmesg kernel 2.6.9 + acpi-20041105-26-latest-release.diff
kernel log 2.6.10-rc1-mm5
2.6.10-rc2-mm1 with original dsdt
2.6.10-rc2-mm2_original_dsdt

Description Oleksij Rempel (fishor) 2004-06-09 12:03:25 UTC
Distribution:Samsung
Hardware Environment:laptop NV5000
Software Environment:RedHat9
Problem Description:
ACPI-0347: *** Error: Handler for [EmbeddedControl] returned AE_BAD_PARAMETER
    ACPI-1133: *** Error: Method execution failed [\_SB_.BAT0._STA] (Node
c1148cbc), AE_BAD_PARAMETER
    ACPI-0347: *** Error: Handler for [EmbeddedControl] returned AE_BAD_PARAMETER
    ACPI-1133: *** Error: Method execution failed [\_SB_.ADP0._STA] (Node
c1148b9c), AE_BAD_PARAMETER

Steps to reproduce:
Comment 1 Len Brown 2004-06-09 23:10:30 UTC
please attach the output from acpidmp, 
available in /usr/sbin/, or in pmtools: 
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/ 
Comment 2 Oleksij Rempel (fishor) 2004-06-10 02:15:32 UTC
Created attachment 3127 [details]
acpidump on my laptop
Comment 3 Oleksij Rempel (fishor) 2004-06-10 02:16:31 UTC
Created attachment 3128 [details]
dmesg
Comment 4 Oleksij Rempel (fishor) 2004-06-10 02:17:06 UTC
Created attachment 3129 [details]
dmidecode
Comment 5 Oleksij Rempel (fishor) 2004-06-10 02:17:46 UTC
Created attachment 3130 [details]
proc_interrupts
Comment 6 Oleksij Rempel (fishor) 2004-06-10 02:18:18 UTC
Created attachment 3131 [details]
lspci
Comment 7 Oleksij Rempel (fishor) 2004-06-10 02:27:18 UTC
some information about laptop
http://www.samsungpc.com/gb/support/nv5000/menu-nv5000.html
Comment 8 Robert Moore 2004-06-17 09:35:17 UTC
I would much rather have the raw DSDT.  acpidmp does not disassemble 
everything correctly.

cat /proc/acpi/dsdt > dsdt.aml
Comment 9 Oleksij Rempel (fishor) 2004-06-20 10:24:18 UTC
Created attachment 3206 [details]
"cat /proc/dsdt > dsdt.aml" :-)
Comment 10 Len Brown 2004-11-03 22:57:21 UTC
can you re-test with linux-2.6.9 and the latest ACPI patch?
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/
Comment 11 Oleksij Rempel (fishor) 2004-11-08 05:36:14 UTC
Created attachment 3986 [details]
dmesg kernel 2.6.8.1
Comment 12 Oleksij Rempel (fishor) 2004-11-08 05:37:09 UTC
Created attachment 3987 [details]
dmesg kernel 2.6.9
Comment 13 Oleksij Rempel (fishor) 2004-11-08 05:38:38 UTC
Created attachment 3988 [details]
dmesg  kernel 2.6.9 + acpi-20041105-26-latest-release.diff
Comment 14 Oleksij Rempel (fishor) 2004-11-08 05:42:07 UTC
batterey still not working. Only with custom dsdt. :-( 
Comment 15 Oleksij Rempel (fishor) 2004-11-14 06:53:20 UTC
Created attachment 4026 [details]
kernel log 2.6.10-rc1-mm5
Comment 16 Oleksij Rempel (fishor) 2004-11-17 04:45:43 UTC
Created attachment 4059 [details]
2.6.10-rc2-mm1 with original dsdt

still error messeges like:
acpi_bus-0073 [10] acpi_bus_get_device	 : Error getting context for object
[c1138508]
acpi_bus-0073 [10] acpi_bus_get_device	 : Error getting context for object
[c1138288]
acpi_bus-0073 [10] acpi_bus_get_device	 : Error getting context for object
[c1137f48]
acpi_bus-0073 [10] acpi_bus_get_device	 : Error getting context for object
[c7fc42c8]

Batareys and ac_adapter working without custom dsdt!!!!! Yeeees!!!

Ewery time error message :
ACPI: acpi_ec_space_handler: bit_width should be 8

If i press "undock" button, kde-laptop aplett change "plugged in - no batterey"
to "No power source found" status.
Comment 17 Oleksij Rempel (fishor) 2004-11-18 04:07:41 UTC
Created attachment 4076 [details]
2.6.10-rc2-mm2_original_dsdt
Comment 18 Oleksij Rempel (fishor) 2004-11-23 13:02:13 UTC
Some nots. 
1. ac_adapter and battareys entrys alredy exist 
with out fixe dsdt 
2. acpi prowide for windows fun rules but with kernel 2.6.9 it dus not work, i 
tryd patch prowidet by Luming 
( http://bugzilla.kernel.org/attachment.cgi?id=4124&action=view ) it's didn't 
realy worked but it brout the fun working without stop .... but it worked some 
hauw. 
3.acpi_bus-0073 [10] acpi_bus_get_device   : Error getting context for object 
[c1138508] 
4."Sleep button". On this laptop no fisikal "sleep button", only "Power" and 
"Undock". In WindowsXP "undock" button bring laptop to the sleep state with 
message "in sleep state you can undock" or some think like this. 
5.Volume buttons. It's realy nice but no realy importent. Em i need to report 
this?