The All-Thing

All stick and no carrot, since ought-three.

各位能夠讀中文得來賓您好。小的這還在學中文中,恐怕中文寫得不太好,希望你們還看得懂。


宿業師山房待丁大不至 (孟浩然)

夕陽度西嶺,群壑倏已暝。
鬆月生夜涼,風泉滿清聽。
樵人歸盡欲,煙鳥棲初定。
之子期宿來,孤琴候蘿徑。

Contact:
| web page

Other views:
RSS 1.0
RSS 0.91
Plain (good for lynx)

Past posts:

March
Sun Mon Tue Wed Thu Fri Sat
  4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Recent comments:

Recent search referers:
korean bit torrent movies
pr0n torrent
gay torrent (x2)
"chinese movies" torrent
老女人torrent
"xiii crack" (x2)
XIII torrent (x2)
xiii no cd crack
"ack too long"
shogun total war bit torrent
i want look for gay fried (x2)
"living in Boston"
bit torrent books
Last Samurai bit torrent
taboo bit torrent
24 torrent season 1

Exits:
William's Aggregated Feeds



Creative Commons License
This work is licensed under a Creative Commons License.

       

Fri, 21 Nov 2003
Gateway ECDT

It turns out that the ACPI support on the Gateway laptop is all fux0red under Linux because Gateway ships these machines with a fux0red BIOS. Of course, they also ship compensating Windows drivers, effectively rendering the power-management, battery monitoring, etc. capabilities of the machine Windows-only. Thanks guys.

Specifically, the BIOS lacks an ECDT, so parsing the DSDT during ACPI setup time dies violently as there's no way to access the embedded controller region. I have been hax0ring the kernel trying to fake an ECDT but without too much success: I have (what I believe to be) a fake ECDT that I plug in, but the kernel rejects it with:

 tbget-0292: * Info: Table [ECDT] replaced by host OS
tbrsdt-0227: * Error: Invalid signature where RSDP indicates RSDT/XSDT should be located

which I really understand. And unfortunately the acpi-devel list is only sporadically useful—though I can't say I blame them, as this is a hardware issue.

But it sure would be awfully nice to be able to see how much battery juice was remaining....

UPDATE 1/30/2004: I've created a wiki page for this: http://www.masanjin.net/wiki/Gateway200XLinuxHOWTO

Posted at 22:37 | trackback | 4 comments | back

Comments

Re: Gateway ECDT
greg wrote on Fri, 09 Jan 2004 23:17

Hi,

I'm not sure whether you already have this fixed or not. I came across this post when I was looking into this same problem. I think I've managed to fix the DSDT for the 200X, and there is now a patch at bugzilla to parse the Embedded Controller region a bit early. It's a bit kludgy, and only works with 2.4.2x kernels as far as I know, but the net effect of the fixed DSDT and the embedded control patch is to restore all of the broken ACPI functionality (buttons, fans, thermal zones, ac adapter and battery). Maybe they'll help you out.

The DSDT: http://acpi.sourceforge.net/dsdt/view.php?id=140

The Embedded Control patch: http://bugzilla.kernel.org/attachment.cgi?id=1757&action=view

The bug at bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=1744


Reply
    Re: Re: Gateway ECDT
    William wrote on Sat, 10 Jan 2004 21:15

    hey, that looks excellent! i will check it out and let you know how i fare... i kind of lost the energy for this after a while, so i haven't been playing around with it at all recently.

    i'm not sure which is more amazing, the fact that i got something useful out of my blog or the fact that someone arrived here by searching for something other than "bittorent pr0n".


    Reply
Re: Gateway ECDT
Greg wrote on Fri, 16 Jan 2004 11:46

Great. I hope it works out. In case you're interested, I found a better patch at bugzilla for handling the embedded controller initialization. I've updated bug 1744 with the info:

http://bugzilla.kernel.org/show_bug.cgi?id=1744

The upshot is that the new DSDT and the patch for bug 1690 restore all of the functionality without any of the odd behavior I saw from the fake_ecdt patch or the embedded control patch at bug 1744. Here's that other patch:

http://bugzilla.kernel.org/attachment.cgi?id=1690&action=view

I think I'm actually happy with everything but suspend on this laptop now. If I can just get that to work... ah, who am I kidding, there's always something else :)

Oh, and don't worry, I won't clutter your blog every time I find something out about ACPI on this laptop. This just seems to me to be the best fix right now.


Reply
    Re: Re: Gateway ECDT
    William wrote on Sat, 17 Jan 2004 15:26

    Hey, your comments are one good thing that's ever come out of this failed experiment. Clutter away. I am very interested in getting this laptop to a completely functional state.

    As for suspend---I was unsuccessful at getting software suspend to work when I played with it a few weeks ago. Well, to be exact, the suspend worked fine; it would just hang on resume. But perhaps now that ACPI is coming together, hardware suspend is worth investigating.

    At any rate, thanks for the info!


    Reply

Your Comment

 
Name:
URL/Email: [http://... or mailto:you@wherever] (optional)
Title: (optional)
Comment:
Save my Name and URL/Email for next time