Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2010 13:46:47 +0200
From:      kuba guzik <kuba.g4@gmail.com>
To:        Ian Smith <smithi@nimnet.asn.au>, Jung-uk Kim <jkim@freebsd.org>, freebsd-acpi@freebsd.org
Subject:   Re: acpi shows wrong battery state (fwd)
Message-ID:  <AANLkTimbzwPpHcedSzLWFECfj=y-yyyLUeQtR-AV-bTo@mail.gmail.com>
In-Reply-To: <20100903135945.K32216@sola.nimnet.asn.au>
References:  <AANLkTi==N=c8GOec48YBPYdhbD-Ot_uqYv%2BpDjQPVsLc@mail.gmail.com> <20100903135945.K32216@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> Can you show the steps you took to recompile and install those? =A0Not to
> condescend, just bearing in mind that you said you were new to FreeBSD.

vim sys/dev/acpi_support/acpi_wmi.c
cd /usr/src/sys/modules/acpi/acpi_wmi/
make
make install

> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
> =3D=3D=3D
> 11.16.5.1 _OS dependencies
>
> Some AML assumes the world consists of various Windows versions. You can
> tell FreeBSD to claim it is any OS to see if this fixes problems you may
> have. An easy way to override this is to set hw.acpi.osname=3D"Windows
> 2001" in /boot/loader.conf or other similar strings you find in the ASL.
> =3D=3D=3D
>
> It may be worth trying setting hw.acpi.osname to "Linux", or to one of
> the others mentioned in your ASL. =A0You'll see a number of conditional
> tests on 'OSYS' in there; I don't know just what they do, but it can't
> hurt to experiment.

I've already tried different OS configs- still no result.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimbzwPpHcedSzLWFECfj=y-yyyLUeQtR-AV-bTo>