* Re: [lm-sensors] ITE IT8721F, IT8758E it87 standalone driver report
2011-04-06 20:17 [lm-sensors] ITE IT8721F, IT8758E it87 standalone driver report atr_temp
@ 2011-04-07 7:37 ` Jean Delvare
2011-04-07 20:58 ` Jean Delvare
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Jean Delvare @ 2011-04-07 7:37 UTC (permalink / raw)
To: lm-sensors
On Thu, 7 Apr 2011 00:17:22 +0400, atr_temp@mail.ru wrote:
> Hello, Lm-sensors.
>
> Sending report about using standalone driver for IT8721F, IT8758E at
> Ubuntu 9.10 with kernel 2.6.31.12 with motherboard Foxconn D42S.
>
> I was unable to build just driver from sources, so i put it into my
Can you please report what the problem was? I would like to fix it.
> kernel sources: replace original drivers/hwmon/it87.c with new one.
> Next i compile and install kernel and found a problem:
> > # modprobe it87
> > FATAL: Error inserting it87 (/lib/modules/***/drivers/hwmon/it87.ko): Device or resource busy
> But found a solution:
> > Basically, you need to add a new kernel line in your menu.lst to fix
> > this behavior.
> > acpi_enforce_resources=lax
> And it was good for me.
> Now the sensors give me correct output, but without names (temp1, fan1
> and so on), so i had to edit /etc/sensors.conf and now the output is
> correct for me (temp and fans)
> > # sensors
> > acpitz-virtual-0
> > Adapter: Virtual device
> > temp1: +55.0°C (crit = +85.0°C)
> >
> > it8721-isa-0a10
> > Adapter: ISA adapter
> > in0: +2.76 V (min = +1.38 V, max = +2.05 V) ALARM
> > in1: +2.80 V (min = +1.30 V, max = +3.05 V)
> > in2: +2.06 V (min = +0.66 V, max = +2.98 V)
> > +3.3V: +3.41 V (min = +5.66 V, max = +1.87 V) ALARM
> > in4: +1.87 V (min = +2.82 V, max = +2.60 V) ALARM
> > in5: +1.04 V (min = +1.68 V, max = +1.02 V) ALARM
> > in6: +2.23 V (min = +1.43 V, max = +1.48 V) ALARM
> > 3VSB: +3.24 V (min = +4.37 V, max = +0.72 V) ALARM
> > Vbat: +3.05 V
If you want help to figure out the labels and scaling factors of the
remaining voltage inputs, please go to your BIOS, find the hardware
monitoring menu, and write down all voltage values it reports. If a
given item oscillates between different values, write them all down.
> > CPU Fan: 903 RPM (min = 14 RPM)
> > Sys Fan: 0 RPM (min = 12 RPM) ALARM
Are these correct?
> > CPU Temp: +54.0°C (low = -107.0°C, high = +80.0°C) sensor = thermal diode
> > temp2: -56.0°C (low = -10.0°C, high = +127.0°C) sensor = thermal diode
> > M/B Temp: +35.0°C (low = -61.0°C, high = +127.0°C) sensor = thermal diode
Apparently temp2 isn't connected so you can add:
ignore temp2
to your configuration file. You could also adjust the temperature
limits for temp1 and temp3.
If you come up with a good configuration file, please post it and I'll
add it to the wiki.
> For more information look at my blog post
> http://www.aleksandr.ru/blog/ubuntu_9_10___lm_sensors___ite_it8721f_it8758e.html
> (in Russian language)
Unfortunately I can't read Russian.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [lm-sensors] ITE IT8721F, IT8758E it87 standalone driver report
2011-04-06 20:17 [lm-sensors] ITE IT8721F, IT8758E it87 standalone driver report atr_temp
2011-04-07 7:37 ` Jean Delvare
@ 2011-04-07 20:58 ` Jean Delvare
2011-04-08 18:06 ` Rebel
2011-04-09 8:02 ` Jean Delvare
3 siblings, 0 replies; 5+ messages in thread
From: Jean Delvare @ 2011-04-07 20:58 UTC (permalink / raw)
To: lm-sensors
Please always reply to the list when a discussion started on said list.
People who read the beginning of a story are often interested in its
end too.
On Thu, 7 Apr 2011 23:29:11 +0400, Rebel wrote:
> > On Thu, 7 Apr 2011 00:17:22 +0400, atr_temp@mail.ru wrote:
> >> Hello, Lm-sensors.
> >>
> >> Sending report about using standalone driver for IT8721F, IT8758E at
> >> Ubuntu 9.10 with kernel 2.6.31.12 with motherboard Foxconn D42S.
> >>
> >> I was unable to build just driver from sources, so i put it into my
>
> > Can you please report what the problem was? I would like to fix it.
>
> When i run "make" in it87 driver folder, it was unable to find some .o
> files, so i had to build kernel. And now, when i already have kernel
> built there is no errors. So it is not a problem :)
Yes, standalone drivers need a configured kernel tree to build. So they
aren't completely standalone.
> >> kernel sources: replace original drivers/hwmon/it87.c with new one.
> >> Next i compile and install kernel and found a problem:
> >> > # modprobe it87
> >> > FATAL: Error inserting it87 (/lib/modules/***/drivers/hwmon/it87.ko): Device or resource busy
> >> But found a solution:
> >> > Basically, you need to add a new kernel line in your menu.lst to fix
> >> > this behavior.
> >> > acpi_enforce_resources=lax
> >> And it was good for me.
> >> Now the sensors give me correct output, but without names (temp1, fan1
> >> and so on), so i had to edit /etc/sensors.conf and now the output is
> >> correct for me (temp and fans)
> >> > # sensors
> >> > acpitz-virtual-0
> >> > Adapter: Virtual device
> >> > temp1: +55.0°C (crit = +85.0°C)
> >> >
> >> > it8721-isa-0a10
> >> > Adapter: ISA adapter
> >> > in0: +2.76 V (min = +1.38 V, max = +2.05 V) ALARM
> >> > in1: +2.80 V (min = +1.30 V, max = +3.05 V)
> >> > in2: +2.06 V (min = +0.66 V, max = +2.98 V)
> >> > +3.3V: +3.41 V (min = +5.66 V, max = +1.87 V) ALARM
> >> > in4: +1.87 V (min = +2.82 V, max = +2.60 V) ALARM
> >> > in5: +1.04 V (min = +1.68 V, max = +1.02 V) ALARM
> >> > in6: +2.23 V (min = +1.43 V, max = +1.48 V) ALARM
> >> > 3VSB: +3.24 V (min = +4.37 V, max = +0.72 V) ALARM
> >> > Vbat: +3.05 V
>
> > If you want help to figure out the labels and scaling factors of the
> > remaining voltage inputs, please go to your BIOS, find the hardware
> > monitoring menu, and write down all voltage values it reports. If a
> > given item oscillates between different values, write them all down.
>
> Here is my bios output:
>
> CPU Core 1.044 V
This is a little surprising but that would be in5.
> DRAM Voltage 1.827 V
Maybe in4, although the value is slightly different.
> +3.30V 3.401V
in3, already labeled as it is an internal voltage for the IT8721F chip.
> +5.00V 4.988V
> +12.0V 11.816V
For these two, we would need more values from the BIOS to conclude, as
we have 4 candidates (in0, in1, in2 and in6.)
>
> >> > CPU Fan: 903 RPM (min = 14 RPM)
> >> > Sys Fan: 0 RPM (min = 12 RPM) ALARM
>
> > Are these correct?
>
> Yes it is. CPU fan is controlled by pwm in bios, system fan is absent
> (but there is 4-pin connector for it).
>
> >> > CPU Temp: +54.0°C (low = -107.0°C, high = +80.0°C) sensor = thermal diode
> >> > temp2: -56.0°C (low = -10.0°C, high = +127.0°C) sensor = thermal diode
> >> > M/B Temp: +35.0°C (low = -61.0°C, high = +127.0°C) sensor = thermal diode
>
> > Apparently temp2 isn't connected so you can add:
>
> > ignore temp2
>
> > to your configuration file. You could also adjust the temperature
> > limits for temp1 and temp3.
>
> > If you come up with a good configuration file, please post it and I'll
> > add it to the wiki.
>
> This output i made by adding chip and labels to sensors.conf
> chip "it8721-*"
> label temp1 "CPU Temp"
> label temp3 "M/B Temp"
> label fan1 "CPU Fan"
> label fan2 "Sys Fan"
> After this i run sensors but it outputs temp1, temp2 and so on (no my
> labels). Next i run "sensors -c /etc/sensors.conf" and output was
> correct. And after deleting chip and labels from configuration file too.
This is simply not possible. "sensors" reads the configuration files
again each time to run it.
> All next times running sensors without -c the output was
> correct, why?
Not sure what you did exactly, but /etc/sensors.conf is not used by
lm-sensors 3.x if /etc/sensors3.conf is present. /etc/sensors3.conf is
always checked first, to make it possible to have both lm-sensors 2 and
lm-sensors 3 installed on a given machine (although nobody should be
doing this any longer.)
The preferred approach these days is to leave /etc/sensors3.conf
untouched, and create a dedicated configuration file for your mainboard
in directory /etc/sensors.d.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [lm-sensors] ITE IT8721F, IT8758E it87 standalone driver report
2011-04-06 20:17 [lm-sensors] ITE IT8721F, IT8758E it87 standalone driver report atr_temp
2011-04-07 7:37 ` Jean Delvare
2011-04-07 20:58 ` Jean Delvare
@ 2011-04-08 18:06 ` Rebel
2011-04-09 8:02 ` Jean Delvare
3 siblings, 0 replies; 5+ messages in thread
From: Rebel @ 2011-04-08 18:06 UTC (permalink / raw)
To: lm-sensors
Hello, Jean.
You wrote:
>> +5.00V 4.988V
>> +12.0V 11.816V
> For these two, we would need more values from the BIOS to conclude, as
> we have 4 candidates (in0, in1, in2 and in6.)
More values? But there is no more values in my BIOS.
>> After this i run sensors but it outputs temp1, temp2 and so on (no my
>> labels). Next i run "sensors -c /etc/sensors.conf" and output was
>> correct. And after deleting chip and labels from configuration file too.
> This is simply not possible. "sensors" reads the configuration files
> again each time to run it.
I don't know how it can be, but before running sensors3 at first time,
/etc/sensors.d was an empty folder, but now there is it8721.conf wich
holds data i put into /etc/sensors.conf
>> All next times running sensors without -c the output was
>> correct, why?
> Not sure what you did exactly, but /etc/sensors.conf is not used by
> lm-sensors 3.x if /etc/sensors3.conf is present. /etc/sensors3.conf is
> always checked first, to make it possible to have both lm-sensors 2 and
> lm-sensors 3 installed on a given machine (although nobody should be
> doing this any longer.)
Here is the log of my actions:
- i have removed old sensors2 (apt-get remove lm-sensors) but may be
Ubuntu hasn't deleted the old config file.
- i compiled new sensors from sources and run it without parameters
(the output was temp1 fan1 and so on)
- in /etc/sensors.conf i put my chip and some labels
- run newly built sensors with config /etc/srnsors.conf
"sensors -c /etc/sensors.conf" and output was with correct labels i
put in /etc/sensors.conf
- i have deleted my chip and labesls from /etc/srnsors.conf and run
sensors again without config, output was correct with my labels
I think, when i run sensors with edited config /etc/sensors.conf it
creates file in /etc/sensors.d. Is it right?
--
С уважением,
Rebel http://www.aleksandr.ru
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [lm-sensors] ITE IT8721F, IT8758E it87 standalone driver report
2011-04-06 20:17 [lm-sensors] ITE IT8721F, IT8758E it87 standalone driver report atr_temp
` (2 preceding siblings ...)
2011-04-08 18:06 ` Rebel
@ 2011-04-09 8:02 ` Jean Delvare
3 siblings, 0 replies; 5+ messages in thread
From: Jean Delvare @ 2011-04-09 8:02 UTC (permalink / raw)
To: lm-sensors
On Fri, 8 Apr 2011 22:06:48 +0400, Rebel wrote:
> Hello, Jean.
>
> You wrote:
>
> >> +5.00V 4.988V
> >> +12.0V 11.816V
>
> > For these two, we would need more values from the BIOS to conclude, as
> > we have 4 candidates (in0, in1, in2 and in6.)
>
> More values? But there is no more values in my BIOS.
I mean more samples for a given values. Often monitored values
oscillate between two or three values. On some systems you have to
leave and re-enter the monitoring screen in the BIOS to get new values,
but most of them update the values every second automatically.
> > This is simply not possible. "sensors" reads the configuration files
> > again each time to run it.
>
> I don't know how it can be, but before running sensors3 at first time,
> /etc/sensors.d was an empty folder, but now there is it8721.conf wich
> holds data i put into /etc/sensors.conf
Either you live in the 4th dimension, or your distribution has extra
code doing that kind of magic. The code at lm-sensors.org doesn't do
anything like this.
> > Not sure what you did exactly, but /etc/sensors.conf is not used by
> > lm-sensors 3.x if /etc/sensors3.conf is present. /etc/sensors3.conf is
> > always checked first, to make it possible to have both lm-sensors 2 and
> > lm-sensors 3 installed on a given machine (although nobody should be
> > doing this any longer.)
>
> Here is the log of my actions:
> - i have removed old sensors2 (apt-get remove lm-sensors) but may be
> Ubuntu hasn't deleted the old config file.
> - i compiled new sensors from sources and run it without parameters
> (the output was temp1 fan1 and so on)
> - in /etc/sensors.conf i put my chip and some labels
> - run newly built sensors with config /etc/srnsors.conf
> "sensors -c /etc/sensors.conf" and output was with correct labels i
> put in /etc/sensors.conf
> - i have deleted my chip and labesls from /etc/srnsors.conf and run
> sensors again without config, output was correct with my labels
>
> I think, when i run sensors with edited config /etc/sensors.conf it
> creates file in /etc/sensors.d. Is it right?
Our code doesn't do this, no. Your Linux distribution, maybe, but this
is the first time I hear of this.
--
Jean Delvare
http://khali.linux-fr.org/wishlist.html
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 5+ messages in thread