public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Gateway 200x - trouble supplying ECDT table
@ 2003-12-23  6:07 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401720C4D-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Yu, Luming @ 2003-12-23  6:07 UTC (permalink / raw)
  To: Greg Sarjeant, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

There is a patch at http://bugzilla.kernel.org/show_bug.cgi?id=1690
trying to solve ec._INI failure due to lacking ECDT.      
But it's not a generic solution.  Since you are faking ECDT using data
of EC device, why not do it automatically?

--Luming                                                            


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: Gateway 200x - trouble supplying ECDT table
@ 2003-12-25  4:08 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401720C59-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Yu, Luming @ 2003-12-25  4:08 UTC (permalink / raw)
  To: Greg Sarjeant, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>I am sorry that you will receive this twice.
>I did not send my original reply back to the mailinglist.
>

Never mind!

>  I applied this patch to my 2.4.23 kernel 
>(started back from the fresh sources and applied the latest ACPI patch
first)

After a few investigation on your problem, that patch doesn't apply.
>From your DSDT, 
ECDT seems to be  unnecessary to your box.

>Unfortunately, I'm still getting the same sorts of >>messages on boot. 
>The _REG method of the Embedded Control fails as follows:

Obviously, this issue is relative to acpi_ec_space_handler.
 
>ACPI: Embedded Controller [H_EC] (gpe 28)
>evregion-0348: *** Error: Handler for [EmbeddedControl] returned
AE_BAD_PARAMETER
> dswexec-0435 [30] ds_exec_end_op        : [Store]: Could not resolve
operands, AE_BAD_PARAMETER
> psparse-1120: *** Error: Method execution failed
[\_SB_.PCI0.LPCB.H_EC._REG] (Node df5e7ae8), AE_BAD_PARAMETER

I just filed a patch for you testing, just try it.
http://bugzilla.kernel.org/show_bug.cgi?id=1744

Maybe we need to support other access bit width.  I found AccessType:
DWordAcc in your EC region definition.

Thanks,
Luming



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Gateway 200x - trouble supplying ECDT table
@ 2003-12-22 15:10 Greg Sarjeant
       [not found] ` <20031222101055.7d0c9c71.greg-QNIYhHqVzB9kr2E5YSwMOQ@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Sarjeant @ 2003-12-22 15:10 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

   I know that this has been covered here before, but I have gotten stuck, so I was wondering if someone could give me a nudge in the right direction.

   I have a Gateway 200x. Apparently, as discussed here previously (http://sourceforge.net/mailarchive/message.php?msg_id=6514510), these machines do not provide an ECDT. I am getting some EmbeddedController errors in dmesg, and do not have battery, button, thermal or ac adapter support. Obviously, it would be nice to resolve this :)

   I followed the thread above, and noticed that there is a patch for the 2.4.23 kernel that allows you to supply an ECDT as a boot parameter. Sounds like just the thing. I have applied the patch and am sending what I believe to be the correct parameters to the kernel in my grub.conf, but it will not use the faked ECDT. I imagine that I am just doing something stupid, but I can't figure out what it is right now. I have tried a number of different ways of specifying these parameters, but none has worked so far. I've posted some files (DSDT, dmesg, grub.conf and the version of the patch that I applied) at http://www.morningdave.org/acpi/. If someone could look them over and let me know if anything jumps out as obviously wrong, I would really appreciate it. Right now, I'm hopeful that it is just a subtle difference in the syntax for lilo.conf and grub.conf that I am not catching. If you nee
 d any other information, please let me know.

   Also, if it wouldn't be too much trouble, could someone let me know how one determines the command and data ports that are used by the EmbeddedController? I am using the values that folks seemed to agree on in the previous thread for this machine (0x66 and 0x62, respectively). But my only real justification is that they were mentioned in that thread, and I see those values in the DSDT. I don't really understand how I could have identified them without someone who knows what he is doing providing them first.

   Thanks,
   Greg


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-25 16:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-23  6:07 Gateway 200x - trouble supplying ECDT table Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401720C4D-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-12-23 16:39   ` Greg Sarjeant
  -- strict thread matches above, loose matches on Subject: below --
2003-12-25  4:08 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401720C59-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-12-25 16:30   ` Greg Sarjeant
2003-12-22 15:10 Greg Sarjeant
     [not found] ` <20031222101055.7d0c9c71.greg-QNIYhHqVzB9kr2E5YSwMOQ@public.gmane.org>
2003-12-22 16:51   ` Greg Sarjeant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox