From: Nate Lawson <nate-Y6VGUYTwhu0@public.gmane.org>
To: "Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "D. S." <silent.bob-zqRNUXuvxA0b1SvskN2V4Q@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: acpi-problem with samsung x10 1700
Date: Fri, 19 Dec 2003 12:59:17 -0800 (PST) [thread overview]
Message-ID: <20031219125633.E77906@root.org> (raw)
In-Reply-To: <BF1FE1855350A0479097B3A0D2A80EE0CC892F-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
FreeBSD does have a workaround for this. We use an implicit return value:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/contrib/dev/acpica/psparse.c.diff?r1=1.20&r2=1.21&f=h
-Nate
On Fri, 19 Dec 2003, Brown, Len wrote:
> AML is like C -- if there is no return statement from a routine (method)
> then nothing gets returned.
>
> Unfortunately the microsoft implementation of the AML interpreter
> behaves as if there is a return statement, and so bugs in AML get
> through windows validation.
>
> For this to work on the ACPICA AML interpreter, you need to insert the
> missing return statements in the AML -- we don't have a workaround for
> this type of BIOS bug.
>
> -Len
>
> > -----Original Message-----
> > From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of D. S.
> > Sent: Friday, December 19, 2003 10:10 AM
> > To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > Subject: [ACPI] acpi-problem with samsung x10 1700
> >
> >
> > hi folks,
> > maybe you folks could help me out.
> > i fixed the dsdt.aml so far that iasl compiles without an error.
> > so far so good.
> >
> > now dmesg gives me the following:
> >
> > acpi-1121: error:method execution failed [\SB_.ADP1._STA] (Node
> > c1613920), AE_AML_NO_RETURN_VALUE
> > acpi-1121: error:method execution failed [\SB_.BAT1._STA] (Node
> > c1613a20), AE_AML_NO_RETURN_VALUE
> >
> > this means, if i'm correct, that the stats for battery and ac-adapter
> > can't be read.
> > i am not sure where to correct this and how.
> >
> > so you maybe need some info on the machine/dist.
> > samsung x10 xtc1700
> > bios 06ye (samsung orginal shipped)
> > suse 9.0 (wich is patched already for reading dsdt)
> >
> > help would be great!
> >
> > regards
> > d.
> >
> > Some programming languages manage to absorb change, but withstand
> > progress. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982
> >
> >
> >
> > -------------------------------------------------------
> > 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_i
-------------------------------------------------------
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
next prev parent reply other threads:[~2003-12-19 20:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-19 15:43 acpi-problem with samsung x10 1700 Brown, Len
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC892F-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2003-12-19 20:59 ` Nate Lawson [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-12-23 3:34 Yu, Luming
[not found] <BF1FE1855350A0479097B3A0D2A80EE0CC8933@hdsmsx402.hd.intel.com>
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC8933-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2003-12-19 17:19 ` D. S.
[not found] ` <1071854398.2072.111.camel-zol+sbJHWF4t3qbh98lueDGFqIE1/xf0XqFh9Ls21Oc@public.gmane.org>
2003-12-19 19:49 ` Len Brown
2003-12-19 15:09 D. S.
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=20031219125633.E77906@root.org \
--to=nate-y6vguytwhu0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=silent.bob-zqRNUXuvxA0b1SvskN2V4Q@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