* ACPI Compaq Presario
@ 2002-07-29 20:57 A.MAINS
[not found] ` <000001c23742$9e9ec650$9865fea9-9tCyY70DaME@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: A.MAINS @ 2002-07-29 20:57 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]
Hello
I am new to this list and I have had a problem in which has been bugging
me for the longest time. I am running linux on a Compaq Presario 2700US
Laptop with Kernel 2.4.18 with ACPI Patch 20020726 along with
kacpid.patch (which I am not sure does anything for my system). This
machine in very similar to the newer Evo Laptops as well as the Presario
1700 and 700 Line of notebooks in terms of the BIOS and hardware
configurations.
Anyway, ACPI compiled well into my system. Unfortunately after doing a
lot of research, it is almost useless to me. I know ACPI is under
development but also understand that Battery Status and Power Status is
fairly well implemented. I can not get either to work. Does anyone have
experience with these types of machines in linux? I would be very
interested in hearing about some experiences. Seeing the remaining
battery as well as if the system is on AC or battery is my goal.
I do cats to /proc/acpi/battery/BAT1/Status and info, yielding "battery
not present".
Thanks in advance for any help!
[-- Attachment #2: Type: text/html, Size: 5227 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ACPI Compaq Presario
[not found] ` <000001c23742$9e9ec650$9865fea9-9tCyY70DaME@public.gmane.org>
@ 2002-07-29 21:21 ` Sourav K Mandal
[not found] ` <200207292121.RAA17223-YqEmrenMroz22lVXsKccr97O1rVE3XUg@public.gmane.org>
2002-07-29 21:36 ` Christophe Boyanique
1 sibling, 1 reply; 11+ messages in thread
From: Sourav K Mandal @ 2002-07-29 21:21 UTC (permalink / raw)
To: A.MAINS; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
I have the Presario 2800, which is the sister machine to
the Evo N800. A quick search on the archives will show
my messages on getting things to work, and similar
experiences for other Compaq Presario users.
A synopsis of my functionality as relating to ACPI
(I'm using 2.4.18+acpi-20020709+nocorruption.2+swsusp9):
* No battery entry in /proc/acpi, so I'm
flying blind. Another user notes that fan policy
is handled at the machine level, so no ACPI
interface for the fan, either.
* Suspend to disk and sleep on lid-closing works,
provided X has only run w/o DRI since the last
power up; once you fire up X w/ DRI enabled, neither
will work unless you reboot.
* Haven't played with setting CPU throttling policy,
but the /proc/acpi/processor tree seems complete, and
the speed stepping from 1.6GHz to 1.2GHz happens
automatically.
* Device hot swap works, sort of. I can monkey around
with the floppy, but the CDRW/DVD has to be present at
boot for Linux to appreciate its existence. Not sure
about the battery since the entry for the primary
battery has yet to work ...
Only the first of these issues is a show stopper.
The one thing I'll try tonight is to deactivate
ACPI debugging in the kernel config, to see if that
has any effect. Other than that, I'm out of ideas
beyond waiting for new patches and patching the DSDT.
Regards,
Sourav
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0001_01C23721.178D2650
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: 7bit
>
> Hello
>
> I am new to this list and I have had a problem in which has been bugging
> me for the longest time. I am running linux on a Compaq Presario 2700US
> Laptop with Kernel 2.4.18 with ACPI Patch 20020726 along with
> kacpid.patch (which I am not sure does anything for my system). This
> machine in very similar to the newer Evo Laptops as well as the Presario
> 1700 and 700 Line of notebooks in terms of the BIOS and hardware
> configurations.
>
> Anyway, ACPI compiled well into my system. Unfortunately after doing a
> lot of research, it is almost useless to me. I know ACPI is under
> development but also understand that Battery Status and Power Status is
> fairly well implemented. I can not get either to work. Does anyone have
> experience with these types of machines in linux? I would be very
> interested in hearing about some experiences. Seeing the remaining
> battery as well as if the system is on AC or battery is my goal.
>
> I do cats to /proc/acpi/battery/BAT1/Status and info, yielding "battery
> not present".
>
> Thanks in advance for any help!
>
> ------=_NextPart_000_0001_01C23721.178D2650
> Content-Type: text/html;
> charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
> xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> xmlns=3D"http://www.w3.org/TR/REC-html40">
>
> <head>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Dus-ascii">
>
>
> <meta name=3DProgId content=3DWord.Document>
> <meta name=3DGenerator content=3D"Microsoft Word 10">
> <meta name=3DOriginator content=3D"Microsoft Word 10">
> <link rel=3DFile-List href=3D"cid:filelist.xml-jcRblH2VmAR02dXU2D/HNzRmByFHzeGd@public.gmane.org">
> <!--[if gte mso 9]><xml>
> <o:OfficeDocumentSettings>
> <o:DoNotRelyOnCSS/>
> </o:OfficeDocumentSettings>
> </xml><![endif]--><!--[if gte mso 9]><xml>
> <w:WordDocument>
> <w:SpellingState>Clean</w:SpellingState>
> <w:GrammarState>Clean</w:GrammarState>
> <w:DocumentKind>DocumentEmail</w:DocumentKind>
> <w:EnvelopeVis/>
> <w:Compatibility>
> <w:BreakWrappedTables/>
> <w:SnapToGridInCell/>
> <w:WrapTextWithPunct/>
> <w:UseAsianBreakRules/>
> </w:Compatibility>
> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
> </w:WordDocument>
> </xml><![endif]-->
> <style>
> <!--
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
> {mso-style-parent:"";
> margin:0in;
> margin-bottom:.0001pt;
> mso-pagination:widow-orphan;
> font-size:12.0pt;
> font-family:"Times New Roman";
> mso-fareast-font-family:"Times New Roman";}
> a:link, span.MsoHyperlink
> {color:blue;
> text-decoration:underline;
> text-underline:single;}
> a:visited, span.MsoHyperlinkFollowed
> {color:purple;
> text-decoration:underline;
> text-underline:single;}
> span.EmailStyle17
> {mso-style-type:personal-compose;
> mso-style-noshow:yes;
> mso-ansi-font-size:10.0pt;
> mso-bidi-font-size:10.0pt;
> font-family:Arial;
> mso-ascii-font-family:Arial;
> mso-hansi-font-family:Arial;
> mso-bidi-font-family:Arial;
> color:windowtext;}
> span.SpellE
> {mso-style-name:"";
> mso-spl-e:yes;}
> span.GramE
> {mso-style-name:"";
> mso-gram-e:yes;}
> @page Section1
> {size:8.5in 11.0in;
> margin:1.0in 1.25in 1.0in 1.25in;
> mso-header-margin:.5in;
> mso-footer-margin:.5in;
> mso-paper-source:0;}
> div.Section1
> {page:Section1;}
> -->
> </style>
> <!--[if gte mso 10]>
> <style>
> /* Style Definitions */=20
> table.MsoNormalTable
> {mso-style-name:"Table Normal";
> mso-tstyle-rowband-size:0;
> mso-tstyle-colband-size:0;
> mso-style-noshow:yes;
> mso-style-parent:"";
> mso-padding-alt:0in 5.4pt 0in 5.4pt;
> mso-para-margin:0in;
> mso-para-margin-bottom:.0001pt;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:"Times New Roman";}
> </style>
> <![endif]-->
> </head>
>
> <body lang=3DEN-US link=3Dblue vlink=3Dpurple =
> style=3D'tab-interval:.5in'>
>
> <div class=3DSection1>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Hello<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>I am new to this list and I have had a problem in =
> which has
> been bugging me for the longest time. I am running <span =
> class=3DSpellE>linux</span>
> on a Compaq Presario 2700US Laptop with Kernel 2.4.18 with ACPI Patch =
> 20020726
> along with <span class=3DSpellE>kacpid.patch</span> (which I am not sure =
> does
> anything for my system). <span class=3DGramE>This machine in very =
> similar to the
> newer <span class=3DSpellE>Evo</span> Laptops as well as the Presario =
> 1700 and
> 700 Line of notebooks in terms of the BIOS and hardware =
> configurations.</span> <span
> style=3D'mso-spacerun:yes'> </span><o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
> face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'>Anyway, ACPI compiled well =
> into my
> system.</span></font></span><font size=3D2 face=3DArial><span =
> style=3D'font-size:
> 10.0pt;font-family:Arial'> Unfortunately after doing a lot of research, =
> it is
> almost useless to me. I know ACPI is under development but also =
> understand that
> Battery Status and Power Status is fairly well implemented. I can not =
> get either
> to work. Does anyone have experience with these types of machines in =
> <span
> class=3DSpellE>linux</span>? I would be very interested in hearing about =
> some experiences.
> <span style=3D'mso-spacerun:yes'> </span>Seeing the remaining =
> battery as
> well as if the system is on AC or battery is my =
> goal.<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>I do cats to /proc/acpi/battery/BAT1/Status and info,
> yielding “battery not present”. =
> <o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Thanks in advance for any =
> help!<o:p></o:p></span></font></p>
>
> </div>
>
> </body>
>
> </html>
>
> ------=_NextPart_000_0001_01C23721.178D2650--
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=3D31
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ACPI Compaq Presario
[not found] ` <000001c23742$9e9ec650$9865fea9-9tCyY70DaME@public.gmane.org>
2002-07-29 21:21 ` Sourav K Mandal
@ 2002-07-29 21:36 ` Christophe Boyanique
[not found] ` <Pine.LNX.4.44.0207292308330.1067-100000-ebPZwV3Hi81W4s3OGYaEKcXXUOn6P5/W@public.gmane.org>
1 sibling, 1 reply; 11+ messages in thread
From: Christophe Boyanique @ 2002-07-29 21:36 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Mon, 29 Jul 2002, A.MAINS wrote:
> I am running linux on a Compaq Presario 2700US Laptop with Kernel
> 2.4.18 with ACPI Patch 20020726 along with kacpid.patch (which I am
> not sure does anything for my system). This machine in very similar to
> the newer Evo Laptops as well as the Presario 1700 and 700 Line of
> notebooks in terms of the BIOS and hardware configurations.
Try to follow this steps:
- Get Intel tools from
http://www.intel.com/technology/iapc/acpi/downloads.htm
- Dump your dsdt table with the Intel ACPI tool
acpidump /proc/acpi/dsdt > dsdt.asl
- You should have obtained a .asl (ACPI Source Language) file. This file
is bugged and this is your problem. As first pass, check there are PnP
and others entries like:
Name(_HID, "*PNP0C0B") and suppress the *
- Get the Intel ACPI compiler and compile your table while ignoring
errors:
iasl -tc -i dsdt.asl
You should get a dsdt.hex file.
- Get your kernel sources and copy this file into drivers/acpi
drivers/acpi/osl.c and modify the file osl.c file with this patch:
diff -urP drivers/acpi/osl.c /usr/src/linux/drivers/acpi/osl.c
--- drivers/acpi/osl.c Mon Jul 29 23:30:42 2002
+++ /usr/src/linux/drivers/acpi/osl.c Sat Jul 27 18:32:34 2002
@@ -71,6 +71,9 @@
static void *acpi_irq_context = NULL;
+#include "dsdt.hex"
+acpi_table_header *myDST = (acpi_table_header *) AmlCode;
+
acpi_status
acpi_os_initialize(void)
{
@@ -221,7 +224,10 @@
if (!existing_table || !new_table)
return AE_BAD_PARAMETER;
- *new_table = NULL;
+ if (!strncmp(existing_table->signature, DSDT_SIG, 4))
+ *new_table = myDST;
+ else
+ *new_table = NULL;
return AE_OK;
}
- Compile your kernel, install, reboot and cross your fingers.
I tested this on an Evo and I got battery status I haven't had before.
There is a lots of others errors in the dsdt table, this is only a
beginning thanks to David Douard.
Christophe.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: ACPI Compaq Presario
[not found] ` <Pine.LNX.4.44.0207292308330.1067-100000-ebPZwV3Hi81W4s3OGYaEKcXXUOn6P5/W@public.gmane.org>
@ 2002-07-29 21:51 ` A.MAINS
2002-08-02 5:24 ` Compaq Presario and Overriding Bios's DSDT Sérgio Monteiro Basto
2002-08-02 5:40 ` Sérgio Monteiro Basto
2 siblings, 0 replies; 11+ messages in thread
From: A.MAINS @ 2002-07-29 21:51 UTC (permalink / raw)
To: 'Christophe Boyanique',
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Thank You so much! I read intel's instructions on this and they made
minimal sense to me as I am not proficient in linux (yet not "newbie").
I will try your steps later and I thank you for taking the time to write
them out!
Andrew
-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Christophe
Boyanique
Sent: Monday, July 29, 2002 5:36 PM
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ACPI] ACPI Compaq Presario
On Mon, 29 Jul 2002, A.MAINS wrote:
> I am running linux on a Compaq Presario 2700US Laptop with Kernel
> 2.4.18 with ACPI Patch 20020726 along with kacpid.patch (which I am
> not sure does anything for my system). This machine in very similar to
> the newer Evo Laptops as well as the Presario 1700 and 700 Line of
> notebooks in terms of the BIOS and hardware configurations.
Try to follow this steps:
- Get Intel tools from
http://www.intel.com/technology/iapc/acpi/downloads.htm
- Dump your dsdt table with the Intel ACPI tool
acpidump /proc/acpi/dsdt > dsdt.asl
- You should have obtained a .asl (ACPI Source Language) file. This file
is bugged and this is your problem. As first pass, check there are PnP
and others entries like:
Name(_HID, "*PNP0C0B") and suppress the *
- Get the Intel ACPI compiler and compile your table while ignoring
errors:
iasl -tc -i dsdt.asl
You should get a dsdt.hex file.
- Get your kernel sources and copy this file into drivers/acpi
drivers/acpi/osl.c and modify the file osl.c file with this patch:
diff -urP drivers/acpi/osl.c /usr/src/linux/drivers/acpi/osl.c
--- drivers/acpi/osl.c Mon Jul 29 23:30:42 2002
+++ /usr/src/linux/drivers/acpi/osl.c Sat Jul 27 18:32:34 2002
@@ -71,6 +71,9 @@
static void *acpi_irq_context = NULL;
+#include "dsdt.hex"
+acpi_table_header *myDST = (acpi_table_header *) AmlCode;
+
acpi_status
acpi_os_initialize(void)
{
@@ -221,7 +224,10 @@
if (!existing_table || !new_table)
return AE_BAD_PARAMETER;
- *new_table = NULL;
+ if (!strncmp(existing_table->signature, DSDT_SIG, 4))
+ *new_table = myDST;
+ else
+ *new_table = NULL;
return AE_OK;
}
- Compile your kernel, install, reboot and cross your fingers.
I tested this on an Evo and I got battery status I haven't had before.
There is a lots of others errors in the dsdt table, this is only a
beginning thanks to David Douard.
Christophe.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ACPI Compaq Presario
[not found] ` <200207292121.RAA17223-YqEmrenMroz22lVXsKccr97O1rVE3XUg@public.gmane.org>
@ 2002-07-29 21:54 ` Charl P. Botha
0 siblings, 0 replies; 11+ messages in thread
From: Charl P. Botha @ 2002-07-29 21:54 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Mon, Jul 29, 2002 at 05:21:46PM -0400, Sourav K Mandal wrote:
> * Suspend to disk and sleep on lid-closing works,
> provided X has only run w/o DRI since the last
> power up; once you fire up X w/ DRI enabled, neither
> will work unless you reboot.
Sorry for plugging this, but I need victims^H^H^H^H^H^H^Htesters for my
kludge. Maybe one day it'll become a feature. Your 2800 has a Radeon,
which is good, and probably an intel 845 chipset, which is even better.
http://cpbotha.net/dri_reinit_kludge.html has patches (and binaries) so that
the Radeon DRI drivers release DRM/AGP resources across VT switches if no 3D
apps are running at that moment. This means if you have a chvt before
suspend, resuming will work.
These patches also include (just like DRI CVS) our fixes for the Radeon DRI
VT (console) switch bug.
Regards,
Charl
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: ACPI Compaq Presario
@ 2002-07-30 0:23 Troy Schultz
[not found] ` <1027988630.1812.9.camel-QUVSR2uV0NY@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Troy Schultz @ 2002-07-30 0:23 UTC (permalink / raw)
To: A.MAINS; +Cc: ACPI Development - Sourceforge
In my daily digest of ACPI messages I see you have a Compaq Presario
2700 Notebook and are trying to get Linux running.
Here is a link to my web page with my experiences with my 2710CA
notebook and Linux.
http://www.schultzcentral.org/notebook/notebook.html
I have made some changes to my DSDT and have fairly good ACPI support.
I do have battery and thermal, and can pick between two CPU speeds. I
have not tried Suspend/Resume as I have no need for it at this time.
Please send me a copy of your /proc/acpi/dsdt file and I'll compare it
to the ones I have on file. I should be able to send you a "corrected"
DSDT that will run on your system.
Best Regards
- Troy
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ACPI Compaq Presario
[not found] ` <1027988630.1812.9.camel-QUVSR2uV0NY@public.gmane.org>
@ 2002-07-30 11:08 ` Faye Pearson
[not found] ` <20020730110827.GB8277-6JSjyQ0Qj1ReoWH0uzbU5w@public.gmane.org>
0 siblings, 1 reply; 11+ messages in thread
From: Faye Pearson @ 2002-07-30 11:08 UTC (permalink / raw)
To: Troy Schultz; +Cc: A.MAINS, ACPI Development - Sourceforge
Troy Schultz [tschultz-zzOxFVvAfJPQT0dZR+AlfA@public.gmane.org] wrote:
> In my daily digest of ACPI messages I see you have a Compaq Presario
> 2700 Notebook and are trying to get Linux running.
>
> Here is a link to my web page with my experiences with my 2710CA
> notebook and Linux.
> http://www.schultzcentral.org/notebook/notebook.html
>
> I have made some changes to my DSDT and have fairly good ACPI support.
> I do have battery and thermal, and can pick between two CPU speeds. I
> have not tried Suspend/Resume as I have no need for it at this time.
>
> Please send me a copy of your /proc/acpi/dsdt file and I'll compare it
> to the ones I have on file. I should be able to send you a "corrected"
> DSDT that will run on your system.
I have a 2701 EA and have documented my experiences on
http://dude.noc.clara.net/~faye/compaq2701ea/
I created a patch which includes the 0709 ACPI, nocorruption and also
Firewire and USB patches. All the hardware works on my laptop and I
have Battery, AC, Thermal, Processor, Events and Alarms.
I've repeated the patches with 0725 but I haven't yet tested that
sufficiently to put it on the website.
It's possible the 2700 is similar enough to the 2701 to have the same
DSDT in which case you could just compile the patched kernel, install
and go. My DSDT is also available on that page separately so you could
check before installing.
My advice would be not to install it as your main kernel until you are
satisfied everything is working correctly (or at least better than your
old kernel did!)
Faye
--
Faye Pearson,
Software Development Manager,
ClaraNET Ltd. Tel 020 7903 3000
checkuary, n:
The thirteenth month of the year. Begins New Year's Day and ends
when a person stops absentmindedly writing the old year on his checks.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: ACPI Compaq Presario
[not found] ` <20020730110827.GB8277-6JSjyQ0Qj1ReoWH0uzbU5w@public.gmane.org>
@ 2002-07-30 14:43 ` A.MAINS
2002-07-30 18:42 ` A.MAINS
1 sibling, 0 replies; 11+ messages in thread
From: A.MAINS @ 2002-07-30 14:43 UTC (permalink / raw)
To: 'ACPI Development - Sourceforge'
Hello
I have seen your website and have considered doing this. Troy kindly
offered to edit my DSDT and I will give that a try. Your DSDT may work
as the 2700 and 2701 are similar. I think the only difference may be the
screen size and possible the CPU speed (I have 1.0 Ghz while the 2701
probalby has a 1.2 GHz).
Thanks!
-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Faye
Pearson
Sent: Tuesday, July 30, 2002 7:08 AM
To: Troy Schultz
Cc: A.MAINS; ACPI Development - Sourceforge
Subject: Re: [ACPI] ACPI Compaq Presario
Troy Schultz [tschultz-zzOxFVvAfJPQT0dZR+AlfA@public.gmane.org] wrote:
> In my daily digest of ACPI messages I see you have a Compaq Presario
> 2700 Notebook and are trying to get Linux running.
>
> Here is a link to my web page with my experiences with my 2710CA
> notebook and Linux.
> http://www.schultzcentral.org/notebook/notebook.html
>
> I have made some changes to my DSDT and have fairly good ACPI support.
> I do have battery and thermal, and can pick between two CPU speeds. I
> have not tried Suspend/Resume as I have no need for it at this time.
>
> Please send me a copy of your /proc/acpi/dsdt file and I'll compare it
> to the ones I have on file. I should be able to send you a
"corrected"
> DSDT that will run on your system.
I have a 2701 EA and have documented my experiences on
http://dude.noc.clara.net/~faye/compaq2701ea/
I created a patch which includes the 0709 ACPI, nocorruption and also
Firewire and USB patches. All the hardware works on my laptop and I
have Battery, AC, Thermal, Processor, Events and Alarms.
I've repeated the patches with 0725 but I haven't yet tested that
sufficiently to put it on the website.
It's possible the 2700 is similar enough to the 2701 to have the same
DSDT in which case you could just compile the patched kernel, install
and go. My DSDT is also available on that page separately so you could
check before installing.
My advice would be not to install it as your main kernel until you are
satisfied everything is working correctly (or at least better than your
old kernel did!)
Faye
--
Faye Pearson,
Software Development Manager,
ClaraNET Ltd. Tel 020 7903 3000
checkuary, n:
The thirteenth month of the year. Begins New Year's Day and
ends
when a person stops absentmindedly writing the old year on his
checks.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: ACPI Compaq Presario
[not found] ` <20020730110827.GB8277-6JSjyQ0Qj1ReoWH0uzbU5w@public.gmane.org>
2002-07-30 14:43 ` A.MAINS
@ 2002-07-30 18:42 ` A.MAINS
1 sibling, 0 replies; 11+ messages in thread
From: A.MAINS @ 2002-07-30 18:42 UTC (permalink / raw)
To: 'Faye Pearson'; +Cc: 'ACPI Development - Sourceforge'
Hello
I tried your Presario 2701 EA Patch on my laptop and it works great!! I
can see accurate battery status as well as my CPU Temperature (Windows
Could not do that!)
I will be trying suspend / sleep and hopefully apply the klaptop patch
so I can see battery information on the desktop.
Thanks For the Help!
>I have a 2701 EA and have documented my experiences on
>http://dude.noc.clara.net/~faye/compaq2701ea/
>I created a patch which includes the 0709 ACPI, nocorruption and also
>Firewire and USB patches. All the hardware works on my laptop and I
>have Battery, AC, Thermal, Processor, Events and Alarms.
>I've repeated the patches with 0725 but I haven't yet tested that
>sufficiently to put it on the website.
>It's possible the 2700 is similar enough to the 2701 to have the same
>DSDT in which case you could just compile the patched kernel, install
>and go. My DSDT is also available on that page separately so you could
>check before installing.
>My advice would be not to install it as your main kernel until you are
>satisfied everything is working correctly (or at least better than your
>old kernel did!)
Faye
--
Faye Pearson,
Software Development Manager,
ClaraNET Ltd. Tel 020 7903 3000
checkuary, n:
The thirteenth month of the year. Begins New Year's Day and
ends
when a person stops absentmindedly writing the old year on his
checks.
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
^ permalink raw reply [flat|nested] 11+ messages in thread
* Compaq Presario and Overriding Bios's DSDT
[not found] ` <Pine.LNX.4.44.0207292308330.1067-100000-ebPZwV3Hi81W4s3OGYaEKcXXUOn6P5/W@public.gmane.org>
2002-07-29 21:51 ` A.MAINS
@ 2002-08-02 5:24 ` Sérgio Monteiro Basto
2002-08-02 5:40 ` Sérgio Monteiro Basto
2 siblings, 0 replies; 11+ messages in thread
From: Sérgio Monteiro Basto @ 2002-08-02 5:24 UTC (permalink / raw)
To: Christophe Boyanique; +Cc: acpi-devel
[-- Attachment #1: Type: text/plain, Size: 3097 bytes --]
First of all correct me if i am wrong, nothing in this email is for
sure.
thank you, for the introduction on overriding Bios's DSDT
btw today I upgrade the bios with rompaqs released in 15 of July 2002.
first I try with iasl-linux-20020611.tar.gz (wrong!)
get: iasl-linux-20020725.tar.gz
cat /proc/acpi/dsdt > dsdt1.dat
./iasl -d dsdt1.dat
Intel ACPI Component Architecture
ASL Compiler / AML Disassembler version 20020725 [Jul 25 2002]
Copyright (C) 2000 - 2002 Intel Corporation
Supports ACPI Specification Revision 2.0a
Loading Acpi table from file dsdt1.dat
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse
Pass 2 parse
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)
..............................................................................................................................................................................
Parsing completed
Disassembly completed, written to "dsdt1.dsl"
./iasl -tc -i dsdt1.dsl
Intel ACPI Component Architecture
ASL Compiler / AML Disassembler version 20020725 [Jul 25 2002]
Copyright (C) 2000 - 2002 Intel Corporation
Supports ACPI Specification Revision 2.0a
dsdt1.dsl 549: Zero
Error 1037 - parse error ^
dsdt1.dsl 550: Zero
Error 1037 - parse error ^
dsdt1.dsl 551: Zero
Error 1037 - parse error ^
dsdt1.dsl 552: Zero
Error 1037 - parse error ^
dsdt1.dsl 553: Zero
Error 1037 - parse error ^
dsdt1.dsl 554: Zero
Error 1037 - parse error ^
dsdt1.dsl 555: Zero
Error 1037 - parse error ^
dsdt1.dsl 672: If (CondRefOf (_OSI, Local0))
Error 1022 - Object does not exist ^ (_OSI)
dsdt1.dsl 674: If (\_OSI)
Error 1022 - Object does not exist ^ (\_OSI)
dsdt1.dsl 676: "Windows 2001"
Error 1037 - parse error ^
dsdt1.dsl 2077: Field (ERAM, AnyAcc, NoLock,
Preserve)
Error 1048 - ^ Host Operation Region
requires ByteAcc access
dsdt1.dsl 2777: PWST, 2,
Error 1051 - ^ Access width of Field Unit
extends beyond region limit
dsdt1.dsl 2780: PMST, 1
Error 1051 - ^ Access width of Field Unit
extends beyond region limit
ASL Input: dsdt1.dsl - 2807 lines, 96013 bytes, 1378 keywords
AML Output: DSDT.aml - 14196 bytes 385 named objects 993 executable
opcodes
Compilation complete. 13 Errors 0 Warnings
Now what ? :-)
Can anyone help me to fix the errors.
thanks in advance
SérgioMB
P.S. I try the patch for override dsdt but it is worst then normal way.
is this the complete patch for overriding DSDT
[-- Attachment #2: patchacpi_overridedsdt.txt --]
[-- Type: text/plain, Size: 575 bytes --]
--- linux-2.4.19/drivers/acpi/osl.c.orig Sun Jul 28 18:08:29 2002
+++ linux-2.4.19/drivers/acpi/osl.c Thu Aug 1 03:02:19 2002
@@ -71,6 +71,9 @@
static void *acpi_irq_context = NULL;
+#include "dsdt.h"
+acpi_table_header *myDST = (acpi_table_header *) AmlCode;
+
acpi_status
acpi_os_initialize(void)
{
@@ -221,7 +224,11 @@
if (!existing_table || !new_table)
return AE_BAD_PARAMETER;
- *new_table = NULL;
+ if (!strncmp(existing_table->signature, DSDT_SIG, 4))
+ *new_table = myDST;
+ else
+ *new_table = NULL;
+
return AE_OK;
}
^ permalink raw reply [flat|nested] 11+ messages in thread
* Compaq Presario and Overriding Bios's DSDT
[not found] ` <Pine.LNX.4.44.0207292308330.1067-100000-ebPZwV3Hi81W4s3OGYaEKcXXUOn6P5/W@public.gmane.org>
2002-07-29 21:51 ` A.MAINS
2002-08-02 5:24 ` Compaq Presario and Overriding Bios's DSDT Sérgio Monteiro Basto
@ 2002-08-02 5:40 ` Sérgio Monteiro Basto
2 siblings, 0 replies; 11+ messages in thread
From: Sérgio Monteiro Basto @ 2002-08-02 5:40 UTC (permalink / raw)
To: Christophe Boyanique; +Cc: acpi-devel
I override with the dsdt.hex output from result of
iasl -tc -i dsdt1.dsl with buggy dsdt1.dsl
this dsdt1.dsl can be found in
http://codecs.home.sapo.pt/dsdt1.dsl
so please help me!
Sérgiomb
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2002-08-02 5:40 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-29 20:57 ACPI Compaq Presario A.MAINS
[not found] ` <000001c23742$9e9ec650$9865fea9-9tCyY70DaME@public.gmane.org>
2002-07-29 21:21 ` Sourav K Mandal
[not found] ` <200207292121.RAA17223-YqEmrenMroz22lVXsKccr97O1rVE3XUg@public.gmane.org>
2002-07-29 21:54 ` Charl P. Botha
2002-07-29 21:36 ` Christophe Boyanique
[not found] ` <Pine.LNX.4.44.0207292308330.1067-100000-ebPZwV3Hi81W4s3OGYaEKcXXUOn6P5/W@public.gmane.org>
2002-07-29 21:51 ` A.MAINS
2002-08-02 5:24 ` Compaq Presario and Overriding Bios's DSDT Sérgio Monteiro Basto
2002-08-02 5:40 ` Sérgio Monteiro Basto
-- strict thread matches above, loose matches on Subject: below --
2002-07-30 0:23 ACPI Compaq Presario Troy Schultz
[not found] ` <1027988630.1812.9.camel-QUVSR2uV0NY@public.gmane.org>
2002-07-30 11:08 ` Faye Pearson
[not found] ` <20020730110827.GB8277-6JSjyQ0Qj1ReoWH0uzbU5w@public.gmane.org>
2002-07-30 14:43 ` A.MAINS
2002-07-30 18:42 ` A.MAINS
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox