public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Brix Folsted Andersen <folsted-TJNDrJVYK8B/SzgSGea1oA@public.gmane.org>
To: Heiko Ettelbrueck <hbruckynews-hi6Y0CQ0nG0@public.gmane.org>
Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org
Subject: Re: Problems installing ACPI
Date: 21 Jan 2003 12:06:30 +0100	[thread overview]
Message-ID: <1043147191.1205.8.camel@gregers.imsb.au.dk> (raw)
In-Reply-To: <3E2C70FB.1090905-hi6Y0CQ0nG0@public.gmane.org>

Hi Heiko

Thank you so much for your help.

However i am having a bit of a problem applying your patch. The file
drivers/acpi/osl.c does not exist instead there is a file called os.c.
I looked at the file and tried to patch it manualy, but can not find the
position of the last part of the patch.

The first part was added at line 85 of os.c

static int acpi_irq_irq = 0;
static OSD_HANDLER acpi_irq_handler = NULL;
static void *acpi_irq_context = NULL;

extern unsigned char AmlCode[];

In which function is the last part supposed to go?
Which kernel did you use?

regards Christian



On Mon, 2003-01-20 at 22:58, Heiko Ettelbrueck wrote:
> Hi Christian,
> 
> > Steps:
> > - Get a fixed DSDT. You could try mine from 
> > http://www.ettelbrueck.de/linux-acpi/compaq-evo-n160/acpi_dsdt.asl , but 
> > you should alter it to fit to your battery. I've coded the current 
> > maximum capacity of my battery (3357 mAh instead of 4000 mAh for a new 
> > battery) into it - see my posting of 14 december 2002 for details about 
> > the battery part.
> 
> I've updated the DSDT files on my web server concerning the maximum and 
> last known capacity of the battery: Both are now set to the default 
> value of 4000 mAh, so there's no longer a need for you to change anything.
> 
> > - Compile your DSDT with Intel's ASL compiler into a c source code file 
> > and copy it to kernel-src-dir/drivers/acpi/tables/acpi_dsdt.c.
> 
> You can now skip this part and directly use
> http://www.ettelbrueck.de/linux-acpi/compaq-evo-n160/acpi_dsdt.c
> 
> > - [Don't know by heart if this is needed with current acpi patches] 
> > Apply a patch to your kernel that makes it use your DSDT.
> 
> I found the patch I used to make my kernel use my fixed DSDT. You can 
> download it from
> http://www.ettelbrueck.de/linux-acpi/compaq-evo-n160/acpi_use_own_dsdt-2.4.20.diff
> 
> > - Compile your kernel once again.
> > - Boot it...
> 
> These two steps are obviously still needed ;-)
> 
> Kind regards
> Heiko




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

  parent reply	other threads:[~2003-01-21 11:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-20 17:28 Problems installing ACPI Christian Brix Folsted Andersen
     [not found] ` <1043083690.1702.15.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-01-20 18:45   ` Heiko Ettelbrueck
     [not found]     ` <3E2C43D3.3020307-hi6Y0CQ0nG0@public.gmane.org>
2003-01-20 21:58       ` Heiko Ettelbrueck
     [not found]         ` <3E2C70FB.1090905-hi6Y0CQ0nG0@public.gmane.org>
2003-01-21 11:06           ` Christian Brix Folsted Andersen [this message]
     [not found]             ` <1043147191.1205.8.camel-bkBLLvNVh9RMk0OslVgrwH9LOBIZ5rWg@public.gmane.org>
2003-01-21 12:03               ` Heiko Ettelbrueck
     [not found]                 ` <3E2D372F.5040500-hi6Y0CQ0nG0@public.gmane.org>
2003-01-21 15:02                   ` Christian Brix Folsted Andersen
     [not found]                     ` <1043161338.1284.14.camel-bkBLLvNVh9RMk0OslVgrwH9LOBIZ5rWg@public.gmane.org>
2003-01-21 16:15                       ` Heiko Ettelbrueck
     [not found]                         ` <3E2D722C.5090508-hi6Y0CQ0nG0@public.gmane.org>
2003-01-21 16:37                           ` Christian Brix Folsted Andersen
     [not found]                             ` <1043167032.1763.4.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2003-01-21 17:04                               ` Heiko Ettelbrueck
2003-01-21 17:04                               ` Faye Pearson
2003-01-21 13:29               ` Ducrot Bruno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1043147191.1205.8.camel@gregers.imsb.au.dk \
    --to=folsted-tjndrjvyk8b/szgsgea1oa@public.gmane.org \
    --cc=acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org \
    --cc=hbruckynews-hi6Y0CQ0nG0@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox