Date: Tue, 13 Jul 2010 10:48:17 +0200 From: Ed Schouten <ed@80386.nl> To: Andreas Tobler <andreast-list@fgznet.ch> Cc: freebsd-hackers@freebsd.org Subject: Re: sysctl question Message-ID: <20100713084817.GU1742@hoeg.nl> In-Reply-To: <4C3B783D.5050200@fgznet.ch> References: <4C3B783D.5050200@fgznet.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
--oIMVlEQ///Q2JYC7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Andreas Tobler <andreast-list@fgznet.ch> wrote: > But now I wonder how can I teach the sysctl to print my tempreature > the same way as my userland app does. I seem to remember all the other temperature sensors expose their value using tenth Kelvin precision. There is some kind of modifier you can add to the SYSCTL_INT declaration to denote that it's a temperature value. The sysctl(8) code on HEAD seems to suggest the type is "IK". Greetings, --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --oIMVlEQ///Q2JYC7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkw8KFEACgkQ52SDGA2eCwV5qwCcCKKkzb6JdWPoA907OIDLO5Jw zjUAn2kGeIEPmOKv6+NvYm4m8nD01EEy =1tKD -----END PGP SIGNATURE----- --oIMVlEQ///Q2JYC7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100713084817.GU1742>