public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Leppert" <wudmx-S0/GAf8tV78@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	"Moore,
	Robert" <robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: RE: ACPI_OS_NAME: no battery or no ac_adapter
Date: Fri, 17 Sep 2004 19:23:27 +0200	[thread overview]
Message-ID: <1570067295@web.de> (raw)

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

             reply	other threads:[~2004-09-17 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-17 17:23 Andreas Leppert [this message]
     [not found] ` <1570067295-S0/GAf8tV78@public.gmane.org>
2004-09-21 12:13   ` ACPI_OS_NAME: no battery or no ac_adapter Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2004-09-17 20:48 Moore, Robert
2004-09-17 17:10 Moore, Robert
2004-09-17 13:04 Andreas Leppert

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=1570067295@web.de \
    --to=wudmx-s0/gaf8tv78@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=robert.moore-ral2JQCrhuEAvxtiuMwx3w@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