public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* acpi-problem with samsung x10 1700
@ 2003-12-19 15:09 D. S.
  0 siblings, 0 replies; 6+ messages in thread
From: D. S. @ 2003-12-19 15:09 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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_id=3371&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: acpi-problem with samsung x10 1700
@ 2003-12-19 15:43 Brown, Len
       [not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC892F-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Brown, Len @ 2003-12-19 15:43 UTC (permalink / raw)
  To: D. S., acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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_id=3371&op=click
> _______________________________________________
> 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: 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\x1278&alloc_id371&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <BF1FE1855350A0479097B3A0D2A80EE0CC8933@hdsmsx402.hd.intel.com>]
* RE: acpi-problem with samsung x10 1700
@ 2003-12-23  3:34 Yu, Luming
  0 siblings, 0 replies; 6+ messages in thread
From: Yu, Luming @ 2003-12-23  3:34 UTC (permalink / raw)
  To: D. S.; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Nate Lawson,
	Brown, Len

I just port it to Linux. And filed it at
http://bugzilla.kernel.org/show_bug.cgi?id=1729

Nate, 
 I'm interested in workarounds you have that could help linux too.

--Luming

-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Nate Lawson
Sent: Saturday, December 20, 2003 4:59 AM
To: Brown, Len
Cc: D. S.; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [ACPI] acpi-problem with samsung x10 1700

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
_______________________________________________
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: 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\x1278&alloc_id371&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-23  3:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-19 15:09 acpi-problem with samsung x10 1700 D. S.
  -- strict thread matches above, loose matches on Subject: below --
2003-12-19 15:43 Brown, Len
     [not found] ` <BF1FE1855350A0479097B3A0D2A80EE0CC892F-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2003-12-19 20:59   ` Nate Lawson
     [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-23  3:34 Yu, Luming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox