All of lore.kernel.org
 help / color / mirror / Atom feed
* dbus-sensors:hwmontemp: additional attribute proposal
@ 2020-08-05 23:42 Jason Ling
  2020-08-06  6:07 ` Zbyszek
  2020-08-06 20:40 ` James Feist
  0 siblings, 2 replies; 26+ messages in thread
From: Jason Ling @ 2020-08-05 23:42 UTC (permalink / raw)
  To: OpenBMC Maillist, James Feist

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

*Problem:*
There is a use case where temp1_input should be omitted from being exposed
to dbus.
A concrete example is if you have a temp sensor with 10 channels but only
want to expose 2..10.

Currently dbus/hwmontemp doesn't allow this.

*Solution:*
In order to maintain backwards compatibility I am proposing an OmitList
attribute that hwmontemp will attempt to retrieve.
If the "Name"s of any temp sensor appears in the list, it will be skip
sensor creation.

I am proposing a list to support other use cases such as...

* you're doing BMC development and for whatever reason want to temporarily
suppress a temperature and do some tests..you can add it to this list and
then remove it instead of deleting and re-inserting.

* lets you have non-contiguous temp sensors exposed (e.g temp2_input,
temp5_input, temp7_input) . There is a better solution to this; but for now
this enables this use-case.

*etc..*
It's a simple feature; plan to have something within O(hours).

[-- Attachment #2: Type: text/html, Size: 1234 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-08-12 16:19 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 23:42 dbus-sensors:hwmontemp: additional attribute proposal Jason Ling
2020-08-06  6:07 ` Zbyszek
2020-08-06 20:40 ` James Feist
2020-08-06 22:52   ` Jason Ling
2020-08-07 16:24     ` James Feist
2020-08-07 16:34       ` Jason Ling
2020-08-07 16:39         ` Ed Tanous
2020-08-07 16:54           ` Jason Ling
2020-08-07 17:06             ` James Feist
2020-08-07 17:17               ` Jason Ling
2020-08-07 17:40                 ` James Feist
2020-08-07 18:04                   ` Jason Ling
2020-08-07 18:17                     ` James Feist
2020-08-07 18:29                       ` Jason Ling
2020-08-07 19:27                         ` Ed Tanous
2020-08-07 19:17                     ` Ed Tanous
2020-08-07 21:05                       ` Jason Ling
2020-08-07 21:53                         ` Ed Tanous
2020-08-11  0:08                           ` Alex Qiu
2020-08-11 23:02                             ` Ed Tanous
2020-08-12  0:46                               ` Alex Qiu
2020-08-12  1:42                                 ` Ed Tanous
2020-08-12 16:19                                   ` Alex Qiu
2020-08-07 17:24             ` Ed Tanous
2020-08-07 17:01         ` James Feist
2020-08-07 16:37       ` Ed Tanous

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.