Date: Sat, 15 Jan 2011 09:20:31 +0100 From: Andreas Tobler <andreast@FreeBSD.org> To: Justin Hibbits <chmeeedalf@gmail.com> Cc: FreeBSD PowerPC ML <freebsd-ppc@FreeBSD.org> Subject: Re: fix for sysctl of DS1775 on MDD Message-ID: <4D3158CF.7090709@FreeBSD.org> In-Reply-To: <DF581F3E-FA9B-427C-931C-5975AE959E74@gmail.com> References: <DF581F3E-FA9B-427C-931C-5975AE959E74@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Justin, On 14.01.11 04:36, Justin Hibbits wrote: > Just recompiled my kernel with the ds1775 sensor for my MDD, and > noticed the sensor name sysctl is blank (shows up as 'dev.ds1775.0.', > no sensor name), because there is no hwsensor-location property for > the MDD sensor. Attached is a patch that adds a generic 'cpu' name. > Feel free to adjust it as you see fit (checking OF_getprop return > instead, etc). Thanks. I put it in my testing queue. Do you have a printout from sysctl dev.ds1775? Also, I'd like to see a ofwdump -pr from the node where the ds1775 is attached. Might be that we have another indicator than hwsensor-location which we could use? Gruss, Andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D3158CF.7090709>