* ACPI_OS_NAME: no battery or no ac_adapter
@ 2004-09-17 13:04 Andreas Leppert
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Leppert @ 2004-09-17 13:04 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
hi,
i've a strange problem on my fujitsu laptop. If i compile my kernel using acpi, everything works fine, but acpi -V doesn't change the value of ac_adapter info. it's always set to "on-line". it doesnt matter if the ac_adapter is plugged in or not. always "on-line".
then i found this: http://sourceforge.net/mailarchive/message.php?msg_id=8560832
so i changed the value of ACPI_OS_NAME in my /usr/src/linux/include/acpi/platform/aclinux.h from "Linux" to "Microsoft Windows NT". Now, ac_adapter changes its value from "on-line" to "off-line" if i unplug the ac_adapter.
But now, acpi -V doesnt show me any battery information. the line is just omitted! so what to do?
under http://andileppert.de/dsdtl.dsl you can find my dsdt. you will see that there are a few _OS commands... what can i do? this is a strange thing...
thanks in advance
Andi Leppert
_________________________________________________________
Mit WEB.DE FreePhone® mit höchster Qualität ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ACPI_OS_NAME: no battery or no ac_adapter
@ 2004-09-17 17:10 Moore, Robert
0 siblings, 0 replies; 5+ messages in thread
From: Moore, Robert @ 2004-09-17 17:10 UTC (permalink / raw)
To: Andreas Leppert, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
In newer versions of ACPI CA, we have changed ACPI_OS_NAME to "Microsoft Windows NT" for exactly this reason.
Bob
> -----Original Message-----
> From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-
> admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Andreas Leppert
> Sent: Friday, September 17, 2004 6:04 AM
> To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: [ACPI] ACPI_OS_NAME: no battery or no ac_adapter
>
> hi,
>
> i've a strange problem on my fujitsu laptop. If i compile my kernel using
> acpi, everything works fine, but acpi -V doesn't change the value of
> ac_adapter info. it's always set to "on-line". it doesnt matter if the
> ac_adapter is plugged in or not. always "on-line".
>
> then i found this:
> http://sourceforge.net/mailarchive/message.php?msg_id=8560832
>
> so i changed the value of ACPI_OS_NAME in my
> /usr/src/linux/include/acpi/platform/aclinux.h from "Linux" to "Microsoft
> Windows NT". Now, ac_adapter changes its value from "on-line" to "off-
> line" if i unplug the ac_adapter.
>
> But now, acpi -V doesnt show me any battery information. the line is just
> omitted! so what to do?
>
> under http://andileppert.de/dsdtl.dsl you can find my dsdt. you will see
> that there are a few _OS commands... what can i do? this is a strange
> thing...
>
> thanks in advance
> Andi Leppert
> _________________________________________________________
> Mit WEB.DE FreePhone® mit höchster Qualität ab 0 Ct./Min.
> weltweit telefonieren! http://freephone.web.de/?mc=021201
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> 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: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ACPI_OS_NAME: no battery or no ac_adapter
@ 2004-09-17 17:23 Andreas Leppert
[not found] ` <1570067295-S0/GAf8tV78@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Leppert @ 2004-09-17 17:23 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Moore, Robert
if i understand you then you have enabled this (Microsoft Windows NT value for the variable ACPI_OS_NAME) in your newest patch. i have installed the patch, ACPI_OS_NAME is now in the include/acpi/acconfig.h.
ok, ac_adapter events are possible, but why on hell is now /proc/acpi/battery/BAT0/state -> present rate always unknown (so acpi -V doesnt give me any battery information!) if i change the ACPI_OS_NAME to "Linux", acpi -V gives me information about the battery... but there aren't any ac_adapter events!
where's the problem with this? it has to do something with the ACPI_OS_NAME ...
perhaps something with my dsdt? really dont know. do you have any answers for this?
thanks again
"Moore, Robert" <robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote on 17.09.04 19:12:05:
>
> In newer versions of ACPI CA, we have changed ACPI_OS_NAME to "Microsoft Windows NT" for exactly this reason.
>
> Bob
>
>
> > hi,
> >
> > i've a strange problem on my fujitsu laptop. If i compile my kernel using
> > acpi, everything works fine, but acpi -V doesn't change the value of
> > ac_adapter info. it's always set to "on-line". it doesnt matter if the
> > ac_adapter is plugged in or not. always "on-line".
> >
> > then i found this:
> > http://sourceforge.net/mailarchive/message.php?msg_id=8560832
> >
> > so i changed the value of ACPI_OS_NAME in my
> > /usr/src/linux/include/acpi/platform/aclinux.h from "Linux" to "Microsoft
> > Windows NT". Now, ac_adapter changes its value from "on-line" to "off-
> > line" if i unplug the ac_adapter.
> >
> > But now, acpi -V doesnt show me any battery information. the line is just
> > omitted! so what to do?
> >
> > under http://andileppert.de/dsdtl.dsl you can find my dsdt. you will see
> > that there are a few _OS commands... what can i do? this is a strange
> > thing...
> >
> > thanks in advance
> > Andi Leppert
> > _________________________________________________________
> > Mit WEB.DE FreePhone® mit höchster Qualität ab 0 Ct./Min.
> > weltweit telefonieren! http://freephone.web.de/?mc=021201
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE for your judgement on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > _______________________________________________
> > 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: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ACPI_OS_NAME: no battery or no ac_adapter
@ 2004-09-17 20:48 Moore, Robert
0 siblings, 0 replies; 5+ messages in thread
From: Moore, Robert @ 2004-09-17 20:48 UTC (permalink / raw)
To: Andreas Leppert, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
It sounds like you are running into a new and different problem with the battery status.
> -----Original Message-----
> From: Andreas Leppert [mailto:wudmx-S0/GAf8tV78@public.gmane.org]
> Sent: Friday, September 17, 2004 10:23 AM
> To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Moore, Robert
> Subject: RE: [ACPI] ACPI_OS_NAME: no battery or no ac_adapter
>
> if i understand you then you have enabled this (Microsoft Windows NT value
> for the variable ACPI_OS_NAME) in your newest patch. i have installed the
> patch, ACPI_OS_NAME is now in the include/acpi/acconfig.h.
>
> ok, ac_adapter events are possible, but why on hell is now
> /proc/acpi/battery/BAT0/state -> present rate always unknown (so acpi -V
> doesnt give me any battery information!) if i change the ACPI_OS_NAME to
> "Linux", acpi -V gives me information about the battery... but there
> aren't any ac_adapter events!
>
> where's the problem with this? it has to do something with the
> ACPI_OS_NAME ...
>
> perhaps something with my dsdt? really dont know. do you have any answers
> for this?
>
> thanks again
>
> "Moore, Robert" <robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote on 17.09.04 19:12:05:
> >
> > In newer versions of ACPI CA, we have changed ACPI_OS_NAME to "Microsoft
> Windows NT" for exactly this reason.
> >
> > Bob
> >
> >
> > > hi,
> > >
> > > i've a strange problem on my fujitsu laptop. If i compile my kernel
> using
> > > acpi, everything works fine, but acpi -V doesn't change the value of
> > > ac_adapter info. it's always set to "on-line". it doesnt matter if the
> > > ac_adapter is plugged in or not. always "on-line".
> > >
> > > then i found this:
> > > http://sourceforge.net/mailarchive/message.php?msg_id=8560832
> > >
> > > so i changed the value of ACPI_OS_NAME in my
> > > /usr/src/linux/include/acpi/platform/aclinux.h from "Linux" to
> "Microsoft
> > > Windows NT". Now, ac_adapter changes its value from "on-line" to "off-
> > > line" if i unplug the ac_adapter.
> > >
> > > But now, acpi -V doesnt show me any battery information. the line is
> just
> > > omitted! so what to do?
> > >
> > > under http://andileppert.de/dsdtl.dsl you can find my dsdt. you will
> see
> > > that there are a few _OS commands... what can i do? this is a strange
> > > thing...
> > >
> > > thanks in advance
> > > Andi Leppert
> > > _________________________________________________________
> > > Mit WEB.DE FreePhone® mit höchster Qualität ab 0 Ct./Min.
> > > weltweit telefonieren! http://freephone.web.de/?mc=021201
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > > Project Admins to receive an Apple iPod Mini FREE for your judgement
> on
> > > who ports your project to Linux PPC the best. Sponsored by IBM.
> > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > > _______________________________________________
> > > 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: YOU BE THE JUDGE. Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE for your judgement on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > _______________________________________________
> > Acpi-devel mailing list
> > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
>
> ________________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ACPI_OS_NAME: no battery or no ac_adapter
[not found] ` <1570067295-S0/GAf8tV78@public.gmane.org>
@ 2004-09-21 12:13 ` Pavel Machek
0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2004-09-21 12:13 UTC (permalink / raw)
To: Andreas Leppert
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Moore, Robert
Hi!
>
> ok, ac_adapter events are possible, but why on hell is now /proc/acpi/battery/BAT0/state -> present rate always unknown (so acpi -V doesnt give me any battery information!) if i change the ACPI_OS_NAME to "Linux", acpi -V gives me information about the battery... but there aren't any ac_adapter events!
>
> where's the problem with this? it has to do something with the
> ACPI_OS_NAME ...
Fix DSDT... See archives for tutorials.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-09-21 12:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-17 13:04 ACPI_OS_NAME: no battery or no ac_adapter Andreas Leppert
-- strict thread matches above, loose matches on Subject: below --
2004-09-17 17:10 Moore, Robert
2004-09-17 17:23 Andreas Leppert
[not found] ` <1570067295-S0/GAf8tV78@public.gmane.org>
2004-09-21 12:13 ` Pavel Machek
2004-09-17 20:48 Moore, Robert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox