From: Ben B <kernel@bb.cactii.net>
To: Bruno Ducrot <ducrot@poupinou.org>
Cc: Thomas Renninger <trenn@suse.de>, linux-acpi@vger.kernel.org
Subject: Re: DSDT/ASL compiler error
Date: Fri, 18 Aug 2006 14:10:48 +0200 [thread overview]
Message-ID: <20060818121048.GA1579@cactii.net> (raw)
In-Reply-To: <20060818112517.GB4945@poupinou.org>
Bruno Ducrot <ducrot@poupinou.org> uttered the following thing:
> On Fri, Aug 18, 2006 at 12:33:30PM +0200, Thomas Renninger wrote:
> > >
> > > dsdt.dsl 3275: And (Local1, 0xFFFF)
> > > Warning 1104 - Result is not used, operator has no effect ^
> > >
> I'm not sure if that's one is harmless:
> > > dsdt.dsl 3275: And (Local1, 0xFFFF)
> It's as if the asl writter wanted to clear the upper bits of Local1, but forgot to
> assign it back to Local1. It might be something like this:
> And(Local1, 0xFFFF, Local1)
>
> It's only a rough guess though, and wihtout knowing what was the
> original intention, and without the source of the ASL, it's hard
> to tell for sure.
This is the context around there. I can send the whole asl if you'd like
also:
Store (C15B, Local1)
If (Local1)
{
If (And (C165, 0x40))
{
Add (Not (Local1), 0x01, Local1)
And (Local1, 0xFFFF)
}
}
Store (Local1, Index (DerefOf (Index (Local0, 0x02)), 0x0E))
Of particular interest that I'd like to get going also is the built in
accelerometer, which I only discovered browsing the ASL:
Device (ACEL)
{
Name (_HID, EisaId ("HPQ0004"))
"HP Mobile Data Protection Sensor"....but that's for another project. :)
Ben
next prev parent reply other threads:[~2006-08-18 12:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-17 17:03 DSDT/ASL compiler error Ben B
2006-08-18 10:33 ` Thomas Renninger
2006-08-18 11:25 ` Bruno Ducrot
2006-08-18 12:10 ` Ben B [this message]
2006-08-18 20:17 ` Bruno Ducrot
2006-08-18 13:09 ` Thomas Renninger
2006-08-18 20:18 ` Bruno Ducrot
2006-08-19 12:50 ` Thomas Renninger
2006-08-20 10:09 ` Bruno Ducrot
2006-08-20 10:22 ` Bruno Ducrot
2006-08-20 14:34 ` Thomas Renninger
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=20060818121048.GA1579@cactii.net \
--to=kernel@bb.cactii.net \
--cc=ducrot@poupinou.org \
--cc=linux-acpi@vger.kernel.org \
--cc=trenn@suse.de \
/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