Date: Thu, 15 Sep 2016 17:05:36 +0200 From: Michael Gmelin <grembo@freebsd.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: freebsd-acpi@freebsd.org Subject: Re: Patches to acpi_hp Message-ID: <20160915170536.7b525e32@bsd64.grem.de> In-Reply-To: <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> <20160914040735.GA18792@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Sep 2016 04:07:35 +0000 Alexey Dokuchaev <danfe@FreeBSD.org> wrote: > 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 > Unfortunately my memory on this is pretty spotty at this point, so I would probably start at reading this again: http://h20331.www2.hp.com/Hpsub/downloads/cmi_whitepaper.pdf I still have the laptop around I used to write it, so I could test patches if necessary. Your best bet is probably to check if Linux supports your model and if yes, figure out what's wrong with our driver. -michael -- Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160915170536.7b525e32>