Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 11:51:38 +0200
From:      CeDeROM <cederom@tlen.pl>
To:        Mitsuru IWASAKI <iwasaki@freebsd.org>
Cc:        Anthony Jenkins <Anthony.B.Jenkins@att.net>, freebsd-hackers@freebsd.org, freebsd-acpi@freebsd.org, Armin Gruner <ag@muc.de>
Subject:   Re: sysctl hw.acpi.acline
Message-ID:  <CAFYkXjkN1Uwx8rRQ_t9Px6RFw8wYKL08JHLk0c%2BLY-xE7C-NSQ@mail.gmail.com>
In-Reply-To: <20140618.152826.81987615.iwasaki@freebsd.org>
References:  <CAFYkXj=7pa6mECqjWnpAyE%2BB7MhDFb8KPYfbWa0-hGW67ki1bw@mail.gmail.com> <20140617002905.GW31367@funkthat.com> <CAFYkXjm9giHjdVUDTEJ3zvN3XRmRDOBoww%2B5GiUERh_UFg4hcA@mail.gmail.com> <20140618.152826.81987615.iwasaki@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 18, 2014 at 8:28 AM, Mitsuru IWASAKI <iwasaki@freebsd.org> wrote:
>> There is no information in the ACPI Manual that the OID's are optional
>> and may not exist in some cases. This is exactly the problem, an
>> undefined and undocumented situation. Maybe its just worth putting a
>> note :-)
>
> OK, how about adding the following line?
> ----
> Note that this OID exists only if there is a ACPI Device ID "ACPI0003" in ACPI Namespace of the system.
> ----

Hello Mitsuru! :-) I wanted to ask the list and make sure, in general,
if OID can be optional/missing depending on the hardware capabilities.
It looks like things are like that - some other OID are missing as
well depending on the hardware. I think one general remark could be
put into acpi and sysctl manual pages, something like:

"Note that some OID will be available only if given hardware supports
them, on a different hardware these will be missing which means that
feature is not supported."


> Unfortunately, UPS is not covered by ACPI specification.  I think that
> new OID would be needed in generic place (not under hw.acpi) in order
> to get the state of power sources.
> In that case, hw.acpi.battery should be moved to new place too.

I thought acline would be such place - it is even specified in the
manual (unlike battery) :-) Now I know assumption must be made that is
acline oid is not available then we have a dekstop. But I dont really
like assumptions, thats why I prefered to ask first :-)

Thank you! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjkN1Uwx8rRQ_t9Px6RFw8wYKL08JHLk0c%2BLY-xE7C-NSQ>