Ticket #2258 (new enhancement)

Opened 4 years ago

Last modified 14 months ago

Support for changing channel type

Reported by: ticket Owned by: somebody
Priority: major Milestone:
Component: libsensors Version:
Keywords: Cc: pinkel@…

Description

The PC-Chips 748MRT motherboard includes a voltage channel with an added temperature diode. Because this channel is registered as a voltage channel (And it technically _is_ a voltage channel..), there is no way to tell sensors to see it as a temperature channel.

A sensors.conf option which allows you to select the displayed channel-type can be a welcome addition.

Please see  http://article.gmane.org/gmane.linux.drivers.sensors/14564/ for more information

(Sorry for the late ticket)

Change History

Changed 4 years ago by khali

  • milestone changed from 3.0.0 to 3.0.1

Changed 4 years ago by khali

  • milestone changed from 3.0.1 to 3.0.2

Changed 4 years ago by khali

  • milestone changed from 3.0.2 to 3.0.3

Changed 3 years ago by khali

  • milestone changed from 3.0.3 to 3.0.4

Changed 3 years ago by khali

  • milestone 3.0.4 deleted

Nor sure how to implement this, removing milestone.

Changed 14 months ago by khali

Changing the channel type seems difficult, as each type has different subfeatures and matching subfeatures from the original type to the target type would be tricky. Implementing a specific mapping would be doable, but a generic implementation would be hard.

What could be done pretty easily though is letting the user attach an arbitrary unit string to a given channel. Like:

chip "somechip-*"

    unit fan1 "L/h"

in the configuration file. While this is less powerful than a real change of channel type, this also seems way more straightforward to implement.

Note: See TracTickets for help on using tickets.