Mailinglist Archive: opensuse (1632 mails)
| < Previous | Next > |
Re: [opensuse] sensors.conf -Help !
- From: 911@xxxxxxxxxxx
- Date: Mon, 23 Jul 2007 23:41:28 -0400
- Message-id: <200707232341.28966.911@xxxxxxxxxxx>
On Sunday 22 July 2007 14:35:07 Rajko M. wrote:
> On Saturday 21 July 2007 22:24, you wrote:
> ....
OK Rajko, I am going to trim this post quite a bit. All read over several
times and thoroughly digested. I hope that won't mess you up. I will confine
it to providing information and questions.
OK, ran ls /sys/bus/i2c/devices/9191-0290 and the following was listed in
that directory.
bob@EasyStreet:~> ls /sys/bus/i2c/devices/9191-0290
alarms fan3_div in2_max in8_input temp1_max_hyst
beep_enable fan3_input in2_min in8_max temp1_type
beep_mask fan3_min in3_input in8_min temp2_input
bus hwmon:hwmon0 in3_max name temp2_max
driver in0_input in3_min power temp2_max_hyst
fan1_div in0_max in4_input pwm1 temp2_type
fan1_input in0_min in4_max pwm2 temp3_input
fan1_min in1_input in4_min pwm3 temp3_max
fan2_div in1_max in7_input subsystem temp3_max_hyst
fan2_input in1_min in7_max temp1_input temp3_type
fan2_min in2_input in7_min temp1_max uevent
bob@EasyStreet:~>
As you can see....there is no vrm and I guess is not compiled in andsensors-s
will never see it.
> In both cases it is easier to write sensors.conf from scratch than to
> correct driver source code.
>
> *********************************************************************
> Now back to proposal for sensors.conf:
>
> *** We have raw values ***
> *** We have default statements ***
> *** We have what BIOS tells ***
> *** We have your original posting ***
> *** We have standard voltages ***
> *** Missing ***
> We don't have sensors output with default values.
Not absolutely sure but I think my first posting was from the default values.
> ***
> Here is attempt to wite new config file with provided data.
> New section name, as you don't have the other chip:
> chip "w83627thf-*"
> # Voltage section
> label in0 "VCore"
> set in0_min 1.50 # below 1.5
> set in0_max 1.56 # just in case that voltage goes up
>
> label in1 "+3.3V"
> set in1_min 3.14 # 3.3*0.95
> set in1_max 3.47 # 3.3*1.05
>
> label in3 "+5V"
> compute in3 1.667*@, @/1.667 # ((34/51)+1)=1.667
>
> ignore in2 # for now set to ignore 0.45V
>
> label in4 "+12V" # this usually +12 pin
> compute in4 3.8*@, @/3.8 # ((28/10)+1)=3.8
> set in4_min 11.40
> set in4_max 12.60
>
> ignore in5
> ignore in6
> ignore in7
>
> # Fan section
>
> label fan1 "Sys Fan"
> label fan2 "CPU Fan"
> ignore fan3
>
> # Temperature section
>
> set sensor1 3435 # see [1]
> label temp1 "CPU Temp"
> # set temp1_over ?? # see [2]
> # set temp1_hyst ?? # see [2]
>
> set sensor2 3435 # see [1]
> label temp2 "M/B Temp"
> # set temp2_over ?? # see [2]
> # set temp2_hyst ?? # see [2]
>
> ignore temp3
>
> *********************************************************************
OK I cut and pasted your suggested/trial parameters into the one line
sensors.conf and ran sensors -s. (as root) Got another error:
EasyStreet:/ # sensors -s
Error: Line 4: Invalid keyword
General parse error
I looked at until my eyes glazed over. I can't see it.
Here are the first few lines from your suggested conf that reportedly contains
the error:
chip "w83627thf-*"
# Voltage section
label in0 "VCore"
set in0_min 1.50 # below 1.5
set in0_max 1.56 # just in case that voltage goes up
label in1 "+3.3V"
set in1_min 3.14 # 3.3*0.95
set in1_max 3.47 # 3.3*1.05
> [1] In todays computers it is probably thermistor and temperature value
> will be different than for diode. The only difference can be thermistor
> Beta value. The 3435 is from examples sensors, but values can be changed to
> get same reading as BIOS:
> CPU 55 degrees C
> Sys Tmp 45 degrees C
> I guess that when you change sensor type to thermistor it will show proper
> CPU temperature. If
> sensors -s
> reports "Unknown feature name" than something is wrong.
>
> [2] For temperature limits and hysteresis we need exac tCPU model and
> datasheet.
OK, we haven't got that far yet.
Thanks again
Bob S
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> On Saturday 21 July 2007 22:24, you wrote:
> ....
OK Rajko, I am going to trim this post quite a bit. All read over several
times and thoroughly digested. I hope that won't mess you up. I will confine
it to providing information and questions.
OK, ran ls /sys/bus/i2c/devices/9191-0290 and the following was listed in
that directory.
bob@EasyStreet:~> ls /sys/bus/i2c/devices/9191-0290
alarms fan3_div in2_max in8_input temp1_max_hyst
beep_enable fan3_input in2_min in8_max temp1_type
beep_mask fan3_min in3_input in8_min temp2_input
bus hwmon:hwmon0 in3_max name temp2_max
driver in0_input in3_min power temp2_max_hyst
fan1_div in0_max in4_input pwm1 temp2_type
fan1_input in0_min in4_max pwm2 temp3_input
fan1_min in1_input in4_min pwm3 temp3_max
fan2_div in1_max in7_input subsystem temp3_max_hyst
fan2_input in1_min in7_max temp1_input temp3_type
fan2_min in2_input in7_min temp1_max uevent
bob@EasyStreet:~>
As you can see....there is no vrm and I guess is not compiled in andsensors-s
will never see it.
> In both cases it is easier to write sensors.conf from scratch than to
> correct driver source code.
>
> *********************************************************************
> Now back to proposal for sensors.conf:
>
> *** We have raw values ***
> *** We have default statements ***
> *** We have what BIOS tells ***
> *** We have your original posting ***
> *** We have standard voltages ***
> *** Missing ***
> We don't have sensors output with default values.
Not absolutely sure but I think my first posting was from the default values.
> ***
> Here is attempt to wite new config file with provided data.
> New section name, as you don't have the other chip:
> chip "w83627thf-*"
> # Voltage section
> label in0 "VCore"
> set in0_min 1.50 # below 1.5
> set in0_max 1.56 # just in case that voltage goes up
>
> label in1 "+3.3V"
> set in1_min 3.14 # 3.3*0.95
> set in1_max 3.47 # 3.3*1.05
>
> label in3 "+5V"
> compute in3 1.667*@, @/1.667 # ((34/51)+1)=1.667
>
> ignore in2 # for now set to ignore 0.45V
>
> label in4 "+12V" # this usually +12 pin
> compute in4 3.8*@, @/3.8 # ((28/10)+1)=3.8
> set in4_min 11.40
> set in4_max 12.60
>
> ignore in5
> ignore in6
> ignore in7
>
> # Fan section
>
> label fan1 "Sys Fan"
> label fan2 "CPU Fan"
> ignore fan3
>
> # Temperature section
>
> set sensor1 3435 # see [1]
> label temp1 "CPU Temp"
> # set temp1_over ?? # see [2]
> # set temp1_hyst ?? # see [2]
>
> set sensor2 3435 # see [1]
> label temp2 "M/B Temp"
> # set temp2_over ?? # see [2]
> # set temp2_hyst ?? # see [2]
>
> ignore temp3
>
> *********************************************************************
OK I cut and pasted your suggested/trial parameters into the one line
sensors.conf and ran sensors -s. (as root) Got another error:
EasyStreet:/ # sensors -s
Error: Line 4: Invalid keyword
General parse error
I looked at until my eyes glazed over. I can't see it.
Here are the first few lines from your suggested conf that reportedly contains
the error:
chip "w83627thf-*"
# Voltage section
label in0 "VCore"
set in0_min 1.50 # below 1.5
set in0_max 1.56 # just in case that voltage goes up
label in1 "+3.3V"
set in1_min 3.14 # 3.3*0.95
set in1_max 3.47 # 3.3*1.05
> [1] In todays computers it is probably thermistor and temperature value
> will be different than for diode. The only difference can be thermistor
> Beta value. The 3435 is from examples sensors, but values can be changed to
> get same reading as BIOS:
> CPU 55 degrees C
> Sys Tmp 45 degrees C
> I guess that when you change sensor type to thermistor it will show proper
> CPU temperature. If
> sensors -s
> reports "Unknown feature name" than something is wrong.
>
> [2] For temperature limits and hysteresis we need exac tCPU model and
> datasheet.
OK, we haven't got that far yet.
Thanks again
Bob S
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |