Skip to contentSkip to conversation

lm_sensors, or rather /etc/conf.d/sensors

DISCUSSION Jean Delvare 1 participant 1 message May 19, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines

Sometimes a module needs a parameter, such as the it87 for Asus A7V600 board, eg to define sensor types. However, nowhere is it stated how to include a parameter.
After advice from Peter Ruskin on the gentoo-user list, I tried two methods that worked: putting the module with parameter in the modules.autoload/<kernel-version> file; and adding the parameter in the conf.d/sensors file as
MODULE_1='it87 temp_type=0x1c'

Quoted 4 lines

My suggestion is that instructions for adding parameters to modules are added to the text of conf.d/sensors. Maybe there is a better way
- or maybe even a Gentoo-standard way of handling this type of problem?

I think you would simply create /etc/modules.d/it87 with "options it87 temp_type=0x1c" in it, and you're done. Not tried myself, I don't have a Gentoo.

FYI, starting with lm_sensors 2.8.2, released today, you don't have to provide the "temp_type" parameter. The sensor type can be chosen through the /etc/sensors.conf file.

Hope that helps.

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