Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review)
- From: Doug Ambrisko <ambrisko@xxxxxxxxxxxx>
- Date: Tue, 10 Jul 2007 11:33:00 -0700 (PDT)
John-Mark Gurney writes:
| Constantine A. Murenin wrote this message on Sat, Jul 07, 2007 at 21:43 -0400:
| > Hardware sensors tree is going to be pretty deep down. Under sysctl(8)
| > the variable names will look like this:
| >
| > hw.sensors.lm0.temp0
| >
| > whereas in reality, the tree has five levels:
| >
| > hw.sensors.lm0.temp.0
|
| I'm curious, why do we want/need these in the kernel as opposed to a
| userland library/utility to provide this info?
I agree. There are so many different flavours of HW monitoring chips
and several tools that can read them live in ports. Lots of them are
slightly different, intefaces can be i2c or direct I/O. We are already
somewhat battling with the various ways IPMI controllers can be attached
to the system. Now in the case of IPMI there is a good win in providing
a device driver interface for the HW and user land tools to get info.
out of them. I don't see a win with this in the various HW monitoring
chips.
Doug A.
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD
- From: M. Warner Losh
- Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review)
- From: Constantine A. Murenin
- Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD
- References:
- Prev by Date: Re: select timings
- Next by Date: Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review)
- Previous by thread: Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review)
- Next by thread: Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review)
- Index(es):