"Built-in" via686a sensors names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ian,

On 10/31/2006, Ian Pilcher wrote:
> Jean Delvare wrote:
> > This is a bug in Fedora and/or gkrellm. What do you expect from us by
> > reporting it on the lm_sensors list?
>
> I guess it would be a bug in gkrellm, since it's making the assumption
> that a voltage sensor will be named "inX".  OTOH, I'm not really sure
> what else an application is supposed to do, since there doesn't appear
> to be an API to determine the type of a sensor.

Indeed, this part is missing from the current API, has been identified as
such, and should be added in a near future. Right now, applications must
either include device-specific code to format the values properly (as
sensors does), or display only numbers without units (as sensors -u
does). I guess this is the major reason why the author of gkrellm never
wanted to use libsensors in the first place.

> Mostly, I wanted to start a discussion about whether the current
> behavior is useful.  From what you say about 2.11.0, it sounds like the
> problems it causes have been recognized, which is good news.

The current behavior must be somewhat useful, as a dozen applications
have been using it for many years. But it's admittedly suboptimal.
Something better should be available soon (say mid-2007), making it
possible for application authors to write only generic code and still
handle all devices propely with nicely formatted output (Linux 2.6 only.)

--
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux