Skip to contentSkip to conversation

sensors, algorithm and sysfs

DISCUSSION Jean Delvare 2 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi all,

I plan to modify sensors so that it doesn't display the algorithm by default.

Back in time, I once proposed that adapter and algorithm shouldn't be displayed by default. It was objected that they were very useful for debugging purposes (i.e. analyze user reports). I had to agree and although I added an option to hide adapter and algorithm, it wasn't the default.

With sysfs, things have changed a bit, because sysfs usually doesn't provide the algorithm. I think that most users get confused by the message shown, although we know it isn't an error. This is the reason why I would like not to display it by default.

This time, I don't think that it raises any problem related to the ability to debug/support, because we can deduce the algorithm from the adapter.

For now we have:
default : display both adapter and algorithm
-A : hide both

I propose:
default : display adapter only
-A : hide both
-a : display both

Anyone speak up if you have counterarguments.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw
Quoted 1 line

agreed

Done, works for me.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Jean Delvare

agreed

Quoted 31 lines · Jean Delvare

Hi all,

I plan to modify sensors so that it doesn't display the algorithm by default.

Back in time, I once proposed that adapter and algorithm shouldn't be displayed by default. It was objected that they were very useful for debugging purposes (i.e. analyze user reports). I had to agree and although I added an option to hide adapter and algorithm, it wasn't the default.

With sysfs, things have changed a bit, because sysfs usually doesn't provide the algorithm. I think that most users get confused by the message shown, although we know it isn't an error. This is the reason why I would like not to display it by default.

This time, I don't think that it raises any problem related to the ability to debug/support, because we can deduce the algorithm from the adapter.

For now we have:
default : display both adapter and algorithm
-A : hide both

I propose:
default : display adapter only

(quoted diff) +0 -2
-A      : hide both
-a      : display both

Anyone speak up if you have counterarguments.