Skip to contentSkip to conversation

driver initialization of chips

DISCUSSION Mark Studebaker 3 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

I'd like to modify all the drivers to not initialize the chips unless there's an init=1 argument (i.e. init=0 is the default).
I know there's been some who favor this change... comments?

#1 lore raw
Quoted 4 lines · Mark D. Studebaker

I'd like to modify all the drivers to not initialize the chips unless there's an init=1 argument (i.e. init=0 is the default).
I know there's been some who favor this change... comments?

I'd just as soon rip the init code out altogether. It just reproduces the functionality of 'sensors -s', and that in an unconfigurable way.

The ASB100 driver has bare minimum init code - i.e. read the vid, and turn on monitoring - period. Sheesh, I don't know why I even read the vid there...

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#2 lore raw
In reply to Mark Studebaker
Quoted 5 lines

I'd like to modify all the drivers to not initialize the chips unless there's an init=1 argument (i.e. init=0 is the default).
I know there's been some who favor this change... comments?

I'm in favor of this, although I never took the time to change all the drivers. Please take a look at the following thread:
http://archives.andrew.net.au/lm-sensors/msg04549.html
Quite a long thread, I now, still this expresses the opinion of some of us about the topic, so it might help you.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/