Skip to contentSkip to conversation

ACPI_OS_NAME: no battery or no ac_adapter

DISCUSSION Andreas Leppert 1 participant 1 message Sep 17, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

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