From owner-freebsd-acpi@freebsd.org Wed Sep 14 04:07:35 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA7F8BD80DE for ; Wed, 14 Sep 2016 04:07:35 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BE4D7AF5; Wed, 14 Sep 2016 04:07:35 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id BD3B71462; Wed, 14 Sep 2016 04:07:35 +0000 (UTC) Date: Wed, 14 Sep 2016 04:07:35 +0000 From: Alexey Dokuchaev To: Michael Gmelin Cc: freebsd-acpi@freebsd.org Subject: Re: Patches to acpi_hp Message-ID: <20160914040735.GA18792@FreeBSD.org> References: <4A49FD78.90405@bindone.de> <25cb30906300503g4e11290xd18818238c5a4bb3@mail.gmail.com> <4A4A01F3.1080004@bindone.de> <25cb30906300525j650a601cr77f0740f56168e53@mail.gmail.com> <4A4A05FA.8000305@bindone.de> <25cb30906300537y5fae18afo7c34d5fda170fff3@mail.gmail.com> <25cb30906300554u4ef7e638naa0dfe51bac3e83f@mail.gmail.com> <4A4A0EF6.1080800@bindone.de> <25cb30906300943k4871313ao69595498c1758730@mail.gmail.com> <4A4A4C19.6000407@bindone.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A4A4C19.6000407@bindone.de> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 04:07:35 -0000 On Tue, Jun 30, 2009 at 07:32:09PM +0200, Michael Gmelin wrote: > Can you send me the output you get when kldloading acpi_hp + the output > of cat /dev/wmistat0. It's possible that your laptop doesn't support CMI. > ... > it seems like your model doesn't support this feature, sorry. Hi Michael, What exactly indicates proper CMI support? I have a problem with acpi_hp(4) on ProBook 645 G1 (infamous ``driver bug: Unable to set devclass (class: ppc devname: (unknown))'' error), but it looks like all GUIDs listed inside the `acpi_hp.c' are there: $ cat /dev/wmistat0 | egrep '95F24279|5FB7F034|2D114B49' {5FB7F034-2C63-45E9-BE91-3D44E2C707E4} 1 NO WMAA NO NO AA {95F24279-4D7B-4334-9387-ACCDC67EF61C} 1 NO NO NO 0x80+ - {2D114B49-2DFB-4130-B8FE-4A3C09E75133} 247 NO NO NO NO BC Despite that "driver bug" message, /dev/hpcmi gets created, but reading it yields just a bunch (247 of them, like the number above) of blank lines, and issuing various sysctl(8) calls also does not work properly. $ sysctl dev.acpi_hp.0.hdd_temperature dev.acpi_hp.0.hdd_temperature: 4 <-- ??? what units are these? # sysctl dev.acpi_hp.0.wlan_enabled=1 dev.acpi_hp.0.wlan_enabled: 0 sysctl: dev.acpi_hp.0.wlan_enabled=1: Interrupted system call ./danfe