All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] question about vt1211
@ 2007-01-19 15:25 Juerg Haefliger
  2007-01-19 21:08 ` Michelle Dupuis
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Juerg Haefliger @ 2007-01-19 15:25 UTC (permalink / raw)
  To: lm-sensors

Hi Sasha,

For future questions, please cc the lm-sensors mailing list since
other people might be interested as well.

> I compiled the driver and successfully installed the module on my
> distribution (TimeSys 2.6.17) .  I read the document I found in 2.6.19, but
> it didn't give me the idea on how to call driver functions from user level
> application.

I'm not familiar with TimeSys but from the name I'm assuming your're
running a 2.6.17 kernel. The official vt1211 driver is not part of
this kernel, it got added later with 2.6.19. Are you using Lars
Ekmans' driver? If so, you should switch to 2.6.19 or later and use
the official vt1211 driver that comes with the kernel.

Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs
files which are used to exchange data between the driver and
user-space processes. After loading the official driver, check
/sys/class/hwmon/vt1211. It contains a bunch of files that you can
access using regular read() and write() file operations to retrieve
data from the driver (like temps and fan RPMs) or write data to the
driver (like thermal thresholds).

Please check Documentation/hwmon/sysfs-interface and vt1211 for an
explanation of how to interpret the various files and their content.

The standard way is to use a tool called 'sensors' which is part of
the lm-sensors package. It reads these files, manipulates the data
according to some rules specified in /etc/sensors.conf and displays
them. Check it out...


> VIA Web site has  utility VIA_SystemHealth, but they don't provide source
> code as a reference for developers.  Could you please give me some idea on
> how to find API to the driver.

VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored
toward the old unofficial driver.

...juerg


> Thanks for the help.
>
> -- sasha
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
@ 2007-01-19 21:08 ` Michelle Dupuis
  2007-01-19 22:19 ` Sasha Raykhman
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michelle Dupuis @ 2007-01-19 21:08 UTC (permalink / raw)
  To: lm-sensors

On the same topic...(this answer may address your question too)

I just upgraded my kernel from from 2.6.17 to 2.6.18, and my old vt1211.c
broke.  Although it compiles and runs, my cpu temp is now stuck at 68'C
(normally runs half that).  Under 2.6.17 it showed 35'C approx. 

Is there a newer vt1211 I can download somewhere?  

Thanks,
Michelle

-----Original Message-----
From: lm-sensors-bounces@lm-sensors.org
[mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of Juerg Haefliger
Sent: Friday, January 19, 2007 10:25 AM
To: Sasha Raykhman
Cc: LM Sensors
Subject: Re: [lm-sensors] question about vt1211

Hi Sasha,

For future questions, please cc the lm-sensors mailing list since other
people might be interested as well.

> I compiled the driver and successfully installed the module on my 
> distribution (TimeSys 2.6.17) .  I read the document I found in 
> 2.6.19, but it didn't give me the idea on how to call driver functions 
> from user level application.

I'm not familiar with TimeSys but from the name I'm assuming your're running
a 2.6.17 kernel. The official vt1211 driver is not part of this kernel, it
got added later with 2.6.19. Are you using Lars Ekmans' driver? If so, you
should switch to 2.6.19 or later and use the official vt1211 driver that
comes with the kernel.

Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs files
which are used to exchange data between the driver and user-space processes.
After loading the official driver, check /sys/class/hwmon/vt1211. It
contains a bunch of files that you can access using regular read() and
write() file operations to retrieve data from the driver (like temps and fan
RPMs) or write data to the driver (like thermal thresholds).

Please check Documentation/hwmon/sysfs-interface and vt1211 for an
explanation of how to interpret the various files and their content.

The standard way is to use a tool called 'sensors' which is part of the
lm-sensors package. It reads these files, manipulates the data according to
some rules specified in /etc/sensors.conf and displays them. Check it out...


> VIA Web site has  utility VIA_SystemHealth, but they don't provide 
> source code as a reference for developers.  Could you please give me 
> some idea on how to find API to the driver.

VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored toward
the old unofficial driver.

...juerg


> Thanks for the help.
>
> -- sasha
>

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
  2007-01-19 21:08 ` Michelle Dupuis
@ 2007-01-19 22:19 ` Sasha Raykhman
  2007-01-19 22:24 ` Michelle Dupuis
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sasha Raykhman @ 2007-01-19 22:19 UTC (permalink / raw)
  To: lm-sensors


Hi Michelle,

I run 2.6.17 and installed patch I found on:
 
 http://hem.bredband.net/ekmlar/vt1211-2.6.17.patch.txt

My 'sensors' command output shows 

vt1211-isa-ec00
Adapter: ISA adapter
VCore1:    +4.42 V  (min =  +4.42 V, max =  +4.42 V)   ALARM
+5V:       +6.31 V  (min =  +6.31 V, max =  +6.31 V)   ALARM
+12V:     +15.00 V  (min = +15.00 V, max = +15.00 V)   ALARM
+3.3V:     +4.18 V  (min =  +4.18 V, max =  +4.18 V)   ALARM
fan1:        0 RPM  (min =    0 RPM, div = 8)          ALARM
fan2:        0 RPM  (min =    0 RPM, div = 8)          ALARM
ERROR: Can't get TEMP2 data!
Proc Temp:+196.9 C  (high =  +196 C, hyst =  +196 C)   ALARM
ERROR: Can't get TEMP4 data!
ERROR: Can't get TEMP5 data!
ERROR: Can't get TEMP6 data!
ERROR: Can't get TEMP7 data!
vid:       +0.00 V

Can't make sense out of it!  There is /etc/sensors.conf file for vt1211 setting, should I change anything there? Could you mail me your's to diff them? 

Due to many reasons beyond my control, I can't easily switch to 2.6.19 kernel - I need to deal with 2.6.17 for now.


Michelle Dupuis <support at ocg.ca> wrote: On the same topic...(this answer may address your question too)

I just upgraded my kernel from from 2.6.17 to 2.6.18, and my old vt1211.c
broke.  Although it compiles and runs, my cpu temp is now stuck at 68'C
(normally runs half that).  Under 2.6.17 it showed 35'C approx. 

Is there a newer vt1211 I can download somewhere?  

Thanks,
Michelle

-----Original Message-----
From: lm-sensors-bounces@lm-sensors.org
[mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of Juerg Haefliger
Sent: Friday, January 19, 2007 10:25 AM
To: Sasha Raykhman
Cc: LM Sensors
Subject: Re: [lm-sensors] question about vt1211

Hi Sasha,

For future questions, please cc the lm-sensors mailing list since other
people might be interested as well.

> I compiled the driver and successfully installed the module on my 
> distribution (TimeSys 2.6.17) .  I read the document I found in 
> 2.6.19, but it didn't give me the idea on how to call driver functions 
> from user level application.

I'm not familiar with TimeSys but from the name I'm assuming your're running
a 2.6.17 kernel. The official vt1211 driver is not part of this kernel, it
got added later with 2.6.19. Are you using Lars Ekmans' driver? If so, you
should switch to 2.6.19 or later and use the official vt1211 driver that
comes with the kernel.

Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs files
which are used to exchange data between the driver and user-space processes.
After loading the official driver, check /sys/class/hwmon/vt1211. It
contains a bunch of files that you can access using regular read() and
write() file operations to retrieve data from the driver (like temps and fan
RPMs) or write data to the driver (like thermal thresholds).

Please check Documentation/hwmon/sysfs-interface and vt1211 for an
explanation of how to interpret the various files and their content.

The standard way is to use a tool called 'sensors' which is part of the
lm-sensors package. It reads these files, manipulates the data according to
some rules specified in /etc/sensors.conf and displays them. Check it out...


> VIA Web site has  utility VIA_SystemHealth, but they don't provide 
> source code as a reference for developers.  Could you please give me 
> some idea on how to find API to the driver.

VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored toward
the old unofficial driver.

...juerg


> Thanks for the help.
>
> -- sasha
>

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070119/83b3b990/attachment.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
  2007-01-19 21:08 ` Michelle Dupuis
  2007-01-19 22:19 ` Sasha Raykhman
@ 2007-01-19 22:24 ` Michelle Dupuis
  2007-01-20 15:47 ` Juerg Haefliger
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michelle Dupuis @ 2007-01-19 22:24 UTC (permalink / raw)
  To: lm-sensors

It looks like your formulas are way off....here are mine (for a VIA PD1000
mobo).  I adjusted all my formulas based on BIOS output.
 
Strangely CPU temp was ok in 2.6.17 and then in 2.6.18 went way off.  Does
anyone know if the code changed requiring a new formula? Or is this a bug
 
----------------------
 
 
chip "vt1211-*" "vt8231-*"
# set uch1-2 to temp mode, uch3-5 to voltage mode
#
set config 12
ignore in0
ignore in1
ignore temp2
ignore temp4
ignore temp5
ignore temp6
ignore temp7
 
label in2 "VCore"
label in3 "+5V"
label in4 "+12V"
label in5 "+3.3V"
 
label fan1 "CPU fan"
label fan2 "Exhst fan"
 
label temp3 "CPU Temp"
# These values based on PD10000: BIOS vs Linux sensors output
compute in2 ((@ * 100) - 3) / (1.01235019909759 * 95.8), (@ *
1.01235019909759 * 0.958) + .03
compute in3 ((@ * 100) - 3) / (0.37571355840891 * 95.8), (@ *
0.37571355840891 * 0.958) + .03
compute in4 ((@ * 100) - 3) / (0.175517199295339 * 95.8), (@ *
0.175517199295339 * 0.958) + .03
compute in5 ((@ * 100) - 3) / (0.630187418108534 * 95.8), (@ *
0.630187418108534 * 0.958) + .03
 
set vrm 9.1
# Allow lower min voltage for CPU Scaling
set in2_min vid * 0.91 / 1.275862068
set in2_max vid * 1.03 / 1.275862068
set in3_min 5.0 * 0.95
set in3_max 5.0 * 1.05
set in4_min 12.0 * 0.90
set in4_max 12.0 * 1.10
set in5_min 3.3 * 0.95 
set in5_max 3.3 * 1.05 
compute temp3 (@*@*0.0046)-(@*0.088)-0.748, (@*0.9686)+65
 
set temp3_hyst 60
set temp3_over 65
 
set fan1_min 3000
set fan2_min 3000
 

 
  _____  

From: Sasha Raykhman [mailto:rsashok at yahoo.com] 
Sent: Friday, January 19, 2007 5:19 PM
To: Michelle Dupuis
Cc: 'LM Sensors'; 'Juerg Haefliger'
Subject: RE: [lm-sensors] question about vt1211



Hi Michelle,

I run 2.6.17 and installed patch I found on:
 
 http://hem.bredband.net/ekmlar/vt1211-2.6.17.patch.txt

My 'sensors' command output shows 

vt1211-isa-ec00
Adapter: ISA adapter
VCore1:    +4.42 V  (min =  +4.42 V, max =  +4.42 V)   ALARM
+5V:       +6.31 V  (min =  +6.31 V, max =  +6.31 V)   ALARM
+12V:     +15.00 V  (min = +15.00 V, max = +15.00 V)   ALARM
+3.3V:     +4.18 V  (min =  +4.18 V, max =  +4.18 V)   ALARM
fan1:        0 RPM  (min =    0 RPM, div = 8)          ALARM
fan2:        0 RPM  (min =    0 RPM, div = 8)          ALARM
ERROR: Can't get TEMP2 data!
Proc Temp:+196.9 C  (high =  +196 C, hyst =  +196 C)   ALARM
ERROR: Can't get TEMP4 data!
ERROR: Can't get TEMP5 data!
ERROR: Can't get TEMP6 data!
ERROR: Can't get TEMP7 data!
vid:       +0.00 V

Can't make sense out of it!  There is /etc/sensors.conf file for vt1211
setting, should I change anything there? Could you mail me your's to diff
them? 

Due to many reasons beyond my control, I can't easily switch to 2.6.19
kernel - I need to deal with 2.6.17 for now.


Michelle Dupuis <support at ocg.ca> wrote: 

On the same topic...(this answer may address your question too)

I just upgraded my kernel from from 2.6.17 to 2.6.18, and my old vt1211.c
broke. Although it compiles and runs, my cpu temp is now stuck at 68'C
(normally runs half that). Under 2.6.17 it showed 35'C approx. 

Is there a newer vt1211 I can download somewhere? 

Thanks,
Michelle

-----Original Message-----
From: lm-sensors-bounces@lm-sensors.org
[mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of Juerg Haefliger
Sent: Friday, January 19, 2007 10:25 AM
To: Sasha Raykhman
Cc: LM Sensors
Subject: Re: [lm-sensors] question about vt1211

Hi Sasha,

For future questions, please cc the lm-sensors mailing list since other
people might be interested as well.

> I compiled the driver and successfully installed the module on my 
> distribution (TimeSys 2.6.17) . I read the document I found in 
> 2.6.19, but it didn't give me the idea on how to call driver functions 
> from user level application.

I'm not familiar with TimeSys but from the name I'm assuming your're running
a 2.6.17 kernel. The official vt1211 driver is not part of this kernel, it
got added later with 2.6.19. Are you using Lars Ekmans' driver? If so, you
should switch to 2.6.19 or later and use the official vt1211 driver that
comes with the kernel.

Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs files
which are used to exchange data between the driver and user-space processes.
After loading the official driver, check /sys/class/hwmon/vt1211. It
contains a bunch of files that you can access using regular read() and
write() file operations to retrieve data from the driver (like temps and fan
RPMs) or write data to the driver (like thermal thresholds).

Please check Documentation/hwmon/sysfs-interface and vt1211 for an
explanation of how to interpret the various files and their content.

The standard way is to use a tool called 'sensors' which is part of the
lm-sensors package. It reads these files, manipulates the data according to
some rules specified in /etc/sensors.conf and displays them. Check it out...


> VIA Web site has utility VIA_SystemHealth, but they don't provide 
> source code as a reference for developers. Could you please give me 
> some idea on how to find API to the driver.

VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored toward
the old unofficial driver.

...juerg


> Thanks for the help.
>
> -- sasha
>

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070119/8b64751b/attachment-0001.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
                   ` (2 preceding siblings ...)
  2007-01-19 22:24 ` Michelle Dupuis
@ 2007-01-20 15:47 ` Juerg Haefliger
  2007-01-20 15:57 ` Juerg Haefliger
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Juerg Haefliger @ 2007-01-20 15:47 UTC (permalink / raw)
  To: lm-sensors

yes, upgrade to 2.6.19. That kernel includes a newly rewritten vt1211
driver that is compatible with the latest lm-sensors 2.10.1 (and
later).

...juerg


On 1/19/07, Michelle Dupuis <support at ocg.ca> wrote:
> On the same topic...(this answer may address your question too)
>
> I just upgraded my kernel from from 2.6.17 to 2.6.18, and my old vt1211.c
> broke.  Although it compiles and runs, my cpu temp is now stuck at 68'C
> (normally runs half that).  Under 2.6.17 it showed 35'C approx.
>
> Is there a newer vt1211 I can download somewhere?
>
> Thanks,
> Michelle
>
> -----Original Message-----
> From: lm-sensors-bounces at lm-sensors.org
> [mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of Juerg Haefliger
> Sent: Friday, January 19, 2007 10:25 AM
> To: Sasha Raykhman
> Cc: LM Sensors
> Subject: Re: [lm-sensors] question about vt1211
>
> Hi Sasha,
>
> For future questions, please cc the lm-sensors mailing list since other
> people might be interested as well.
>
> > I compiled the driver and successfully installed the module on my
> > distribution (TimeSys 2.6.17) .  I read the document I found in
> > 2.6.19, but it didn't give me the idea on how to call driver functions
> > from user level application.
>
> I'm not familiar with TimeSys but from the name I'm assuming your're running
> a 2.6.17 kernel. The official vt1211 driver is not part of this kernel, it
> got added later with 2.6.19. Are you using Lars Ekmans' driver? If so, you
> should switch to 2.6.19 or later and use the official vt1211 driver that
> comes with the kernel.
>
> Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs files
> which are used to exchange data between the driver and user-space processes.
> After loading the official driver, check /sys/class/hwmon/vt1211. It
> contains a bunch of files that you can access using regular read() and
> write() file operations to retrieve data from the driver (like temps and fan
> RPMs) or write data to the driver (like thermal thresholds).
>
> Please check Documentation/hwmon/sysfs-interface and vt1211 for an
> explanation of how to interpret the various files and their content.
>
> The standard way is to use a tool called 'sensors' which is part of the
> lm-sensors package. It reads these files, manipulates the data according to
> some rules specified in /etc/sensors.conf and displays them. Check it out...
>
>
> > VIA Web site has  utility VIA_SystemHealth, but they don't provide
> > source code as a reference for developers.  Could you please give me
> > some idea on how to find API to the driver.
>
> VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored toward
> the old unofficial driver.
>
> ...juerg
>
>
> > Thanks for the help.
> >
> > -- sasha
> >
>
> _______________________________________________
> lm-sensors mailing list
> lm-sensors at lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
>
>
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
                   ` (3 preceding siblings ...)
  2007-01-20 15:47 ` Juerg Haefliger
@ 2007-01-20 15:57 ` Juerg Haefliger
  2007-01-22 18:11 ` Sasha Raykhman
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Juerg Haefliger @ 2007-01-20 15:57 UTC (permalink / raw)
  To: lm-sensors

OK, should have read the whole thread before answering :-)

Here's the deal: Starting with kernel 2.6.19, the vt1211 driver is now
part of the kernel and there is no need to use Lars Ekman's patch
anymore. The new driver is based on Lars' driver but contains some
significant changes that render previous sensors.conf files unusable.
So if you upgrade to 2.6.19 and use that driver, you also have to have
a fairly recent version of the lm-sensors package (I believe 2.10.1 or
newer). The lm-sensors package contains a sensors.conf file that has a
vt1211 section that is compatible with the new 2.6.19 vt1211 driver.
It might need tweaking for your particular motherboard since I only
had a M10000 for testing.

So I strongly suggest that you upgrade to 2.6.19. I can't provide
support for Lars Ekman's patch.

...juerg


On 1/19/07, Michelle Dupuis <support at ocg.ca> wrote:
>
>
> It looks like your formulas are way off....here are mine (for a VIA PD1000
> mobo).  I adjusted all my formulas based on BIOS output.
>
> Strangely CPU temp was ok in 2.6.17 and then in 2.6.18 went way off.  Does
> anyone know if the code changed requiring a new formula? Or is this a bug
>
> ----------------------
>
>
> chip "vt1211-*" "vt8231-*"
> # set uch1-2 to temp mode, uch3-5 to voltage mode
> #
> set config 12
> ignore in0
> ignore in1
> ignore temp2
> ignore temp4
> ignore temp5
> ignore temp6
> ignore temp7
>
> label in2 "VCore"
> label in3 "+5V"
> label in4 "+12V"
> label in5 "+3.3V"
>
> label fan1 "CPU fan"
> label fan2 "Exhst fan"
>
> label temp3 "CPU Temp"
> # These values based on PD10000: BIOS vs Linux sensors output
> compute in2 ((@ * 100) - 3) / (1.01235019909759 * 95.8), (@ *
> 1.01235019909759 * 0.958) + .03
> compute in3 ((@ * 100) - 3) / (0.37571355840891 * 95.8), (@ *
> 0.37571355840891 * 0.958) + .03
> compute in4 ((@ * 100) - 3) / (0.175517199295339 * 95.8), (@ *
> 0.175517199295339 * 0.958) + .03
> compute in5 ((@ * 100) - 3) / (0.630187418108534 * 95.8), (@ *
> 0.630187418108534 * 0.958) + .03
>
> set vrm 9.1
> # Allow lower min voltage for CPU Scaling
> set in2_min vid * 0.91 / 1.275862068
> set in2_max vid * 1.03 / 1.275862068
> set in3_min 5.0 * 0.95
> set in3_max 5.0 * 1.05
> set in4_min 12.0 * 0.90
> set in4_max 12.0 * 1.10
> set in5_min 3.3 * 0.95
> set in5_max 3.3 * 1.05
> compute temp3 (@*@*0.0046)-(@*0.088)-0.748, (@*0.9686)+65
>
> set temp3_hyst 60
> set temp3_over 65
>
> set fan1_min 3000
> set fan2_min 3000
>
>
>
>  ________________________________
>  From: Sasha Raykhman [mailto:rsashok at yahoo.com]
> Sent: Friday, January 19, 2007 5:19 PM
> To: Michelle Dupuis
> Cc: 'LM Sensors'; 'Juerg Haefliger'
> Subject: RE: [lm-sensors] question about vt1211
>
>
>
> Hi Michelle,
>
> I run 2.6.17 and installed patch I found on:
>
>  http://hem.bredband.net/ekmlar/vt1211-2.6.17.patch.txt
>
> My 'sensors' command output shows
>
> vt1211-isa-ec00
> Adapter: ISA adapter
> VCore1:    +4.42 V  (min =  +4.42 V, max =  +4.42 V)   ALARM
> +5V:       +6.31 V  (min =  +6.31 V, max =  +6.31 V)   ALARM
> +12V:     +15.00 V  (min = +15.00 V, max = +15.00 V)   ALARM
> +3.3V:     +4.18 V  (min =  +4.18 V, max =  +4.18 V)   ALARM
> fan1:        0 RPM  (min =    0 RPM, div = 8)          ALARM
> fan2:        0 RPM  (min =    0 RPM, div = 8)          ALARM
> ERROR: Can't get TEMP2 data!
> Proc Temp:+196.9 C  (high =  +196 C, hyst =  +196 C)   ALARM
> ERROR: Can't get TEMP4 data!
> ERROR: Can't get TEMP5 data!
> ERROR: Can't get TEMP6 data!
> ERROR: Can't get TEMP7 data!
> vid:       +0.00 V
>
> Can't make sense out of it!  There is /etc/sensors.conf file for vt1211
> setting, should I change anything there? Could you mail me your's to diff
> them?
>
> Due to many reasons beyond my control, I can't easily switch to 2.6.19
> kernel - I need to deal with 2.6.17 for now.
>
>
> Michelle Dupuis <support at ocg.ca> wrote:
> On the same topic...(this answer may address your question too)
>
> I just upgraded my kernel from from 2.6.17 to 2.6.18, and my old vt1211.c
> broke. Although it compiles and runs, my cpu temp is now stuck at 68'C
> (normally runs half that). Under 2.6.17 it showed 35'C approx.
>
> Is there a newer vt1211 I can download somewhere?
>
> Thanks,
> Michelle
>
> -----Original Message-----
> From: lm-sensors-bounces at lm-sensors.org
> [mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of
> Juerg Haefliger
> Sent: Friday, January 19, 2007 10:25 AM
> To: Sasha Raykhman
> Cc: LM Sensors
> Subject: Re: [lm-sensors] question about vt1211
>
> Hi Sasha,
>
> For future questions, please cc the lm-sensors mailing list since other
> people might be interested as well.
>
> > I compiled the driver and successfully installed the module on my
> > distribution (TimeSys 2.6.17) . I read the document I found in
> > 2.6.19, but it didn't give me the idea on how to call driver functions
> > from user level application.
>
> I'm not familiar with TimeSys but from the name I'm assuming your're running
> a 2.6.17 kernel. The official vt1211 driver is not part of this kernel, it
> got added later with 2.6.19. Are you using Lars Ekmans' driver? If so, you
> should switch to 2.6.19 or later and use the official vt1211 driver that
> comes with the kernel.
>
> Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs files
> which are used to exchange data between the driver and user-space processes.
> After loading the official driver, check /sys/class/hwmon/vt1211. It
> contains a bunch of files that you can access using regular read() and
> write() file operations to retrieve data from the driver (like temps and fan
> RPMs) or write data to the driver (like thermal thresholds).
>
> Please check Documentation/hwmon/sysfs-interface and vt1211
> for an
> explanation of how to interpret the various files and their content.
>
> The standard way is to use a tool called 'sensors' which is part of the
> lm-sensors package. It reads these files, manipulates the data according to
> some rules specified in /etc/sensors.conf and displays them. Check it out...
>
>
> > VIA Web site has utility VIA_SystemHealth, but they don't provide
> > source code as a reference for developers. Could you please give me
> > some idea on how to find API to the driver.
>
> VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored toward
> the old unofficial driver.
>
> ...juerg
>
>
> > Thanks for the help.
> >
> > -- sasha
> >
>
> _______________________________________________
> lm-sensors mailing list
> lm-sensors at lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
>
>
>
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
                   ` (4 preceding siblings ...)
  2007-01-20 15:57 ` Juerg Haefliger
@ 2007-01-22 18:11 ` Sasha Raykhman
  2007-01-22 18:22 ` Juerg Haefliger
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sasha Raykhman @ 2007-01-22 18:11 UTC (permalink / raw)
  To: lm-sensors

Hi, 

vt1211 has GPIO's and watchdog.  Do you know if there are drivers supporting this part of the chip?

-- sasha

Juerg Haefliger <juergh at gmail.com> wrote: OK, should have read the whole thread before answering :-)

Here's the deal: Starting with kernel 2.6.19, the vt1211 driver is now
part of the kernel and there is no need to use Lars Ekman's patch
anymore. The new driver is based on Lars' driver but contains some
significant changes that render previous sensors.conf files unusable.
So if you upgrade to 2.6.19 and use that driver, you also have to have
a fairly recent version of the lm-sensors package (I believe 2.10.1 or
newer). The lm-sensors package contains a sensors.conf file that has a
vt1211 section that is compatible with the new 2.6.19 vt1211 driver.
It might need tweaking for your particular motherboard since I only
had a M10000 for testing.

So I strongly suggest that you upgrade to 2.6.19. I can't provide
support for Lars Ekman's patch.

...juerg


On 1/19/07, Michelle Dupuis  wrote:
>
>
> It looks like your formulas are way off....here are mine (for a VIA PD1000
> mobo).  I adjusted all my formulas based on BIOS output.
>
> Strangely CPU temp was ok in 2.6.17 and then in 2.6.18 went way off.  Does
> anyone know if the code changed requiring a new formula? Or is this a bug
>
> ----------------------
>
>
> chip "vt1211-*" "vt8231-*"
> # set uch1-2 to temp mode, uch3-5 to voltage mode
> #
> set config 12
> ignore in0
> ignore in1
> ignore temp2
> ignore temp4
> ignore temp5
> ignore temp6
> ignore temp7
>
> label in2 "VCore"
> label in3 "+5V"
> label in4 "+12V"
> label in5 "+3.3V"
>
> label fan1 "CPU fan"
> label fan2 "Exhst fan"
>
> label temp3 "CPU Temp"
> # These values based on PD10000: BIOS vs Linux sensors output
> compute in2 ((@ * 100) - 3) / (1.01235019909759 * 95.8), (@ *
> 1.01235019909759 * 0.958) + .03
> compute in3 ((@ * 100) - 3) / (0.37571355840891 * 95.8), (@ *
> 0.37571355840891 * 0.958) + .03
> compute in4 ((@ * 100) - 3) / (0.175517199295339 * 95.8), (@ *
> 0.175517199295339 * 0.958) + .03
> compute in5 ((@ * 100) - 3) / (0.630187418108534 * 95.8), (@ *
> 0.630187418108534 * 0.958) + .03
>
> set vrm 9.1
> # Allow lower min voltage for CPU Scaling
> set in2_min vid * 0.91 / 1.275862068
> set in2_max vid * 1.03 / 1.275862068
> set in3_min 5.0 * 0.95
> set in3_max 5.0 * 1.05
> set in4_min 12.0 * 0.90
> set in4_max 12.0 * 1.10
> set in5_min 3.3 * 0.95
> set in5_max 3.3 * 1.05
> compute temp3 (@*@*0.0046)-(@*0.088)-0.748, (@*0.9686)+65
>
> set temp3_hyst 60
> set temp3_over 65
>
> set fan1_min 3000
> set fan2_min 3000
>
>
>
>  ________________________________
>  From: Sasha Raykhman [mailto:rsashok at yahoo.com]
> Sent: Friday, January 19, 2007 5:19 PM
> To: Michelle Dupuis
> Cc: 'LM Sensors'; 'Juerg Haefliger'
> Subject: RE: [lm-sensors] question about vt1211
>
>
>
> Hi Michelle,
>
> I run 2.6.17 and installed patch I found on:
>
>  http://hem.bredband.net/ekmlar/vt1211-2.6.17.patch.txt
>
> My 'sensors' command output shows
>
> vt1211-isa-ec00
> Adapter: ISA adapter
> VCore1:    +4.42 V  (min =  +4.42 V, max =  +4.42 V)   ALARM
> +5V:       +6.31 V  (min =  +6.31 V, max =  +6.31 V)   ALARM
> +12V:     +15.00 V  (min = +15.00 V, max = +15.00 V)   ALARM
> +3.3V:     +4.18 V  (min =  +4.18 V, max =  +4.18 V)   ALARM
> fan1:        0 RPM  (min =    0 RPM, div = 8)          ALARM
> fan2:        0 RPM  (min =    0 RPM, div = 8)          ALARM
> ERROR: Can't get TEMP2 data!
> Proc Temp:+196.9 C  (high =  +196 C, hyst =  +196 C)   ALARM
> ERROR: Can't get TEMP4 data!
> ERROR: Can't get TEMP5 data!
> ERROR: Can't get TEMP6 data!
> ERROR: Can't get TEMP7 data!
> vid:       +0.00 V
>
> Can't make sense out of it!  There is /etc/sensors.conf file for vt1211
> setting, should I change anything there? Could you mail me your's to diff
> them?
>
> Due to many reasons beyond my control, I can't easily switch to 2.6.19
> kernel - I need to deal with 2.6.17 for now.
>
>
> Michelle Dupuis  wrote:
> On the same topic...(this answer may address your question too)
>
> I just upgraded my kernel from from 2.6.17 to 2.6.18, and my old vt1211.c
> broke. Although it compiles and runs, my cpu temp is now stuck at 68'C
> (normally runs half that). Under 2.6.17 it showed 35'C approx.
>
> Is there a newer vt1211 I can download somewhere?
>
> Thanks,
> Michelle
>
> -----Original Message-----
> From: lm-sensors-bounces at lm-sensors.org
> [mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of
> Juerg Haefliger
> Sent: Friday, January 19, 2007 10:25 AM
> To: Sasha Raykhman
> Cc: LM Sensors
> Subject: Re: [lm-sensors] question about vt1211
>
> Hi Sasha,
>
> For future questions, please cc the lm-sensors mailing list since other
> people might be interested as well.
>
> > I compiled the driver and successfully installed the module on my
> > distribution (TimeSys 2.6.17) . I read the document I found in
> > 2.6.19, but it didn't give me the idea on how to call driver functions
> > from user level application.
>
> I'm not familiar with TimeSys but from the name I'm assuming your're running
> a 2.6.17 kernel. The official vt1211 driver is not part of this kernel, it
> got added later with 2.6.19. Are you using Lars Ekmans' driver? If so, you
> should switch to 2.6.19 or later and use the official vt1211 driver that
> comes with the kernel.
>
> Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs files
> which are used to exchange data between the driver and user-space processes.
> After loading the official driver, check /sys/class/hwmon/vt1211. It
> contains a bunch of files that you can access using regular read() and
> write() file operations to retrieve data from the driver (like temps and fan
> RPMs) or write data to the driver (like thermal thresholds).
>
> Please check Documentation/hwmon/sysfs-interface and vt1211
> for an
> explanation of how to interpret the various files and their content.
>
> The standard way is to use a tool called 'sensors' which is part of the
> lm-sensors package. It reads these files, manipulates the data according to
> some rules specified in /etc/sensors.conf and displays them. Check it out...
>
>
> > VIA Web site has utility VIA_SystemHealth, but they don't provide
> > source code as a reference for developers. Could you please give me
> > some idea on how to find API to the driver.
>
> VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored toward
> the old unofficial driver.
>
> ...juerg
>
>
> > Thanks for the help.
> >
> > -- sasha
> >
>
> _______________________________________________
> lm-sensors mailing list
> lm-sensors at lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070122/27bcd366/attachment-0001.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
                   ` (5 preceding siblings ...)
  2007-01-22 18:11 ` Sasha Raykhman
@ 2007-01-22 18:22 ` Juerg Haefliger
  2007-01-23  0:51 ` Sasha Raykhman
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Juerg Haefliger @ 2007-01-22 18:22 UTC (permalink / raw)
  To: lm-sensors

Not that I'm aware of, no. Just out of curiousity, what do you plan to
do with the GPIOs?


...juerg


On 1/22/07, Sasha Raykhman <rsashok at yahoo.com> wrote:
> Hi,
>
> vt1211 has GPIO's and watchdog.  Do you know if there are drivers supporting
> this part of the chip?
>
> -- sasha
>
> Juerg Haefliger <juergh at gmail.com> wrote:
>  OK, should have read the whole thread before answering :-)
>
> Here's the deal: Starting with kernel 2.6.19, the vt1211 driver is now
> part of the kernel and there is no need to use Lars Ekman's patch
> anymore. The new driver is based on Lars' driver but contains some
> significant changes that render previous sensors.conf files unusable.
> So if you upgrade to 2.6.19 and use that driver, you also have to have
> a fairly recent version of the lm-sensors package (I believe 2.10.1 or
> newer). The lm-sensors package contains a sensors.conf file that has a
> vt1211 section that is compatible with the new 2.6.19 vt1211 driver.
> It might need tweaking for your particular motherboard since I only
> had a M10000 for testing.
>
> So I strongly suggest that you upgrade to 2.6.19. I can't provide
> support for Lars Ekman's patch.
>
> ...juerg
>
>
> On 1/19/07, Michelle Dupuis wrote:
> >
> >
> > It looks like your formulas are way off....here are mine (for a VIA PD1000
> > mobo). I adjusted all my formulas based on BIOS output.
> >
> > Strangely CPU temp was ok in 2.6.17 and then in 2.6.18 went way off. Does
> > anyone know if the code changed requiring a new formula? Or is this a bug
> >
> > ----------------------
> >
> >
> > chip "vt1211-*" "vt8231-*"
> > # set uch1-2 to temp mode, uch3-5 to voltage mode
> > #
> > set config 12
> > ignore in0
> > ignore in1
> > ignore temp2
> > ignore temp4
> > ignore temp5
> > ignore temp6
> > ignore temp7
> >
> > label in2 "VCore"
> > label in3 "+5V"
> > label in4 "+12V"
> > label in5 "+3.3V"
> >
> > label fan1 "CPU fan"
> > label fan2 "Exhst fan"
> >
> > label temp3 "CPU Temp"
> > # These values based on PD10000: BIOS vs Linux sensors output
> > compute in2 ((@ * 100) - 3) / (1.01235019909759 * 95.8), (@ *
> > 1.01235019909759 * 0.958) + .03
> > compute in3 ((@ * 100) - 3) / (0.37571355840891 * 95.8), (@ *
> > 0.37571355840891 * 0.958) + .03
> > compute in4 ((@ * 100) - 3) / (0.175517199295339 * 95.8), (@ *
> > 0.175517199295339 * 0.958) + .03
> > compute in5 ((@ * 100) - 3) / (0.630187418108534 * 95.8), (@ *
> > 0.630187418108534 * 0.958) + .03
> >
> > set vrm 9.1
> > # Allow lower min voltage for CPU Scaling
> > set in2_min vid * 0.91 / 1.275862068
> > set in2_max vid * 1.03 / 1.275862068
> > set in3_min 5.0 * 0.95
> > set in3_max 5.0 * 1.05
> > set in4_min 12.0 * 0.90
> > set in4_max 12.0 * 1.10
> > set in5_min 3.3 * 0.95
> > set in5_max 3.3 * 1.05
> > compute temp3 (@*@*0.0046)-(@*0.088)-0.748, (@*0.9686)+65
> >
> > set temp3_hyst 60
> > set temp3_over 65
> >
> > set fan1_min 3000
> > set fan2_min 3000
> >
> >
> >
> > ________________________________
> > From: Sasha Raykhman [mailto:rsashok at yahoo.com]
> > Sent: Friday, January 19, 2007 5:19 PM
> > To: Michelle Dupuis
> > Cc: 'LM Sensors'; 'Juerg Haefliger'
> > Subject: RE: [lm-sensors] question about vt1211
> >
> >
> >
> > Hi Michelle,
> >
> > I run 2.6.17 and installed patch I found on:
> >
> > http://hem.bredband.net/ekmlar/vt1211-2.6.17.patch.txt
> >
> > My 'sensors' command output shows
> >
> > vt1211-isa-ec00
> > Adapter: ISA adapter
> > VCore1: +4.42 V (min = +4.42 V, max = +4.42 V) ALARM
> > +5V: +6.31 V (min = +6.31 V, max = +6.31 V) ALARM
> > +12V: +15.00 V (min = +15.00 V, max = +15.00 V) ALARM
> > +3.3V: +4.18 V (min = +4.18 V, max = +4.18 V) ALARM
> > fan1: 0 RPM (min = 0 RPM, div = 8) ALARM
> > fan2: 0 RPM (min = 0 RPM, div = 8) ALARM
> > ERROR: Can't get TEMP2 data!
> > Proc Temp:+196.9 C (high = +196 C, hyst = +196 C) ALARM
> > ERROR: Can't get TEMP4 data!
> > ERROR: Can't get TEMP5 data!
> > ERROR: Can't get TEMP6 data!
> > ERROR: Can't get TEMP7 data!
> > vid: +0.00 V
> >
> > Can't make sense out of it! There is /etc/sensors.conf file for vt1211
> > setting, should I change anything there? Could you mail me your's to diff
> > them?
> >
> > Due to many reasons beyond my control, I can't easily switch to 2.6.19
> > kernel - I need to deal with 2.6.17 for now.
> >
> >
> > Michelle Dupuis wrote:
> > On the same topic...(this answer may address your question too)
> >
> > I just upgraded my kernel from from 2.6.17 to 2.6.18, and my old vt1211.c
> > broke. Although it compiles and runs, my cpu temp is now stuck at 68'C
> > (normally runs half that). Under 2.6.17 it showed 35'C approx.
> >
> > Is there a newer vt1211 I can download somewhere?
> >
> > Thanks,
> > Michelle
> >
> > -----Original Message-----
> > From: lm-sensors-bounces at lm-sensors.org
> > [mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of
> > Juerg Haefliger
> > Sent: Friday, January 19, 2007 10:25 AM
> > To: Sasha Raykhman
> > Cc: LM Sensors
> > Subject: Re: [lm-sensors] question about vt1211
> >
> > Hi Sasha,
> >
> > For future questions, please cc the lm-sensors mailing list since other
> > people might be interested as well.
> >
> > > I compiled the driver and successfully installed the module on my
> > > distribution (TimeSys 2.6.17) . I read the document I found in
> > > 2.6.19, but it didn't give me the idea on how to call driver functions
> > > from user level application.
> >
> > I'm not familiar with TimeSys but from the name I'm assuming your're
> running
> > a 2.6.17 kernel. The official vt1211 driver is not part of this kernel, it
> > got added later with 2.6.19. Are you using Lars Ekmans' driver? If so, you
> > should switch to 2.6.19 or later and use the official vt1211 driver that
> > comes with the kernel.
> >
> > Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs files
> > which are used to exchange data between the driver and user-space
> processes.
> > After loading the official driver, check /sys/class/hwmon/vt1211. It
> > contains a bunch of files that you can access using regular read() and
> > write() file operations to retrieve data from the driver (like temps and
> fan
> > RPMs) or write data to the driver (like thermal thresholds).
> >
> > Please check Documentation/hwmon/sysfs-interface and
> vt1211
> > for an
> > explanation of how to interpret the various files and their content.
> >
> > The standard way is to use a tool called 'sensors' which is part of the
> > lm-sensors package. It reads these files, manipulates the data according
> to
> > some rules specified in /etc/sensors.conf and displays them. Check it
> out...
> >
> >
> > > VIA Web site has utility VIA_SystemHealth, but they don't provide
> > > source code as a reference for developers. Could you please give me
> > > some idea on how to find API to the driver.
> >
> > VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored
> toward
> > the old unofficial driver.
> >
> > ...juerg
> >
> >
> > > Thanks for the help.
> > >
> > > -- sasha
> > >
> >
> > _______________________________________________
> > lm-sensors mailing list
> > lm-sensors at lm-sensors.org
> > http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
> >
> >
> >
> >
>
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
                   ` (6 preceding siblings ...)
  2007-01-22 18:22 ` Juerg Haefliger
@ 2007-01-23  0:51 ` Sasha Raykhman
  2007-01-23  8:13 ` Jean Delvare
  2007-01-23 12:56 ` Mark M. Hoffman
  9 siblings, 0 replies; 11+ messages in thread
From: Sasha Raykhman @ 2007-01-23  0:51 UTC (permalink / raw)
  To: lm-sensors

Hi, 

I need some help in explaining how to install 2.10.2 package.  

The problem I have is that I am compiling kernel on my host computer for a different target board. Installation instructions and make file presented in the package will install necessary files on the host, but not in my source tree which I need to compile for the target .  Is there a way to solve the problem?

Thanks.

-- sasha


Juerg Haefliger <juergh at gmail.com> wrote: OK, should have read the whole thread before answering :-)

Here's the deal: Starting with kernel 2.6.19, the vt1211 driver is now
part of the kernel and there is no need to use Lars Ekman's patch
anymore. The new driver is based on Lars' driver but contains some
significant changes that render previous sensors.conf files unusable.
So if you upgrade to 2.6.19 and use that driver, you also have to have
a fairly recent version of the lm-sensors package (I believe 2.10.1 or
newer). The lm-sensors package contains a sensors.conf file that has a
vt1211 section that is compatible with the new 2.6.19 vt1211 driver.
It might need tweaking for your particular motherboard since I only
had a M10000 for testing.

So I strongly suggest that you upgrade to 2.6.19. I can't provide
support for Lars Ekman's patch.

...juerg


On 1/19/07, Michelle Dupuis  wrote:
>
>
> It looks like your formulas are way off....here are mine (for a VIA PD1000
> mobo).  I adjusted all my formulas based on BIOS output.
>
> Strangely CPU temp was ok in 2.6.17 and then in 2.6.18 went way off.  Does
> anyone know if the code changed requiring a new formula? Or is this a bug
>
> ----------------------
>
>
> chip "vt1211-*" "vt8231-*"
> # set uch1-2 to temp mode, uch3-5 to voltage mode
> #
> set config 12
> ignore in0
> ignore in1
> ignore temp2
> ignore temp4
> ignore temp5
> ignore temp6
> ignore temp7
>
> label in2 "VCore"
> label in3 "+5V"
> label in4 "+12V"
> label in5 "+3.3V"
>
> label fan1 "CPU fan"
> label fan2 "Exhst fan"
>
> label temp3 "CPU Temp"
> # These values based on PD10000: BIOS vs Linux sensors output
> compute in2 ((@ * 100) - 3) / (1.01235019909759 * 95.8), (@ *
> 1.01235019909759 * 0.958) + .03
> compute in3 ((@ * 100) - 3) / (0.37571355840891 * 95.8), (@ *
> 0.37571355840891 * 0.958) + .03
> compute in4 ((@ * 100) - 3) / (0.175517199295339 * 95.8), (@ *
> 0.175517199295339 * 0.958) + .03
> compute in5 ((@ * 100) - 3) / (0.630187418108534 * 95.8), (@ *
> 0.630187418108534 * 0.958) + .03
>
> set vrm 9.1
> # Allow lower min voltage for CPU Scaling
> set in2_min vid * 0.91 / 1.275862068
> set in2_max vid * 1.03 / 1.275862068
> set in3_min 5.0 * 0.95
> set in3_max 5.0 * 1.05
> set in4_min 12.0 * 0.90
> set in4_max 12.0 * 1.10
> set in5_min 3.3 * 0.95
> set in5_max 3.3 * 1.05
> compute temp3 (@*@*0.0046)-(@*0.088)-0.748, (@*0.9686)+65
>
> set temp3_hyst 60
> set temp3_over 65
>
> set fan1_min 3000
> set fan2_min 3000
>
>
>
>  ________________________________
>  From: Sasha Raykhman [mailto:rsashok at yahoo.com]
> Sent: Friday, January 19, 2007 5:19 PM
> To: Michelle Dupuis
> Cc: 'LM Sensors'; 'Juerg Haefliger'
> Subject: RE: [lm-sensors] question about vt1211
>
>
>
> Hi Michelle,
>
> I run 2.6.17 and installed patch I found on:
>
>  http://hem.bredband.net/ekmlar/vt1211-2.6.17.patch.txt
>
> My 'sensors' command output shows
>
> vt1211-isa-ec00
> Adapter: ISA adapter
> VCore1:    +4.42 V  (min =  +4.42 V, max =  +4.42 V)   ALARM
> +5V:       +6.31 V  (min =  +6.31 V, max =  +6.31 V)   ALARM
> +12V:     +15.00 V  (min = +15.00 V, max = +15.00 V)   ALARM
> +3.3V:     +4.18 V  (min =  +4.18 V, max =  +4.18 V)   ALARM
> fan1:        0 RPM  (min =    0 RPM, div = 8)          ALARM
> fan2:        0 RPM  (min =    0 RPM, div = 8)          ALARM
> ERROR: Can't get TEMP2 data!
> Proc Temp:+196.9 C  (high =  +196 C, hyst =  +196 C)   ALARM
> ERROR: Can't get TEMP4 data!
> ERROR: Can't get TEMP5 data!
> ERROR: Can't get TEMP6 data!
> ERROR: Can't get TEMP7 data!
> vid:       +0.00 V
>
> Can't make sense out of it!  There is /etc/sensors.conf file for vt1211
> setting, should I change anything there? Could you mail me your's to diff
> them?
>
> Due to many reasons beyond my control, I can't easily switch to 2.6.19
> kernel - I need to deal with 2.6.17 for now.
>
>
> Michelle Dupuis  wrote:
> On the same topic...(this answer may address your question too)
>
> I just upgraded my kernel from from 2.6.17 to 2.6.18, and my old vt1211.c
> broke. Although it compiles and runs, my cpu temp is now stuck at 68'C
> (normally runs half that). Under 2.6.17 it showed 35'C approx.
>
> Is there a newer vt1211 I can download somewhere?
>
> Thanks,
> Michelle
>
> -----Original Message-----
> From: lm-sensors-bounces at lm-sensors.org
> [mailto:lm-sensors-bounces at lm-sensors.org] On Behalf Of
> Juerg Haefliger
> Sent: Friday, January 19, 2007 10:25 AM
> To: Sasha Raykhman
> Cc: LM Sensors
> Subject: Re: [lm-sensors] question about vt1211
>
> Hi Sasha,
>
> For future questions, please cc the lm-sensors mailing list since other
> people might be interested as well.
>
> > I compiled the driver and successfully installed the module on my
> > distribution (TimeSys 2.6.17) . I read the document I found in
> > 2.6.19, but it didn't give me the idea on how to call driver functions
> > from user level application.
>
> I'm not familiar with TimeSys but from the name I'm assuming your're running
> a 2.6.17 kernel. The official vt1211 driver is not part of this kernel, it
> got added later with 2.6.19. Are you using Lars Ekmans' driver? If so, you
> should switch to 2.6.19 or later and use the official vt1211 driver that
> comes with the kernel.
>
> Like all hwmon drivers, the vt1211 driver creates a bunch of sysfs files
> which are used to exchange data between the driver and user-space processes.
> After loading the official driver, check /sys/class/hwmon/vt1211. It
> contains a bunch of files that you can access using regular read() and
> write() file operations to retrieve data from the driver (like temps and fan
> RPMs) or write data to the driver (like thermal thresholds).
>
> Please check Documentation/hwmon/sysfs-interface and vt1211
> for an
> explanation of how to interpret the various files and their content.
>
> The standard way is to use a tool called 'sensors' which is part of the
> lm-sensors package. It reads these files, manipulates the data according to
> some rules specified in /etc/sensors.conf and displays them. Check it out...
>
>
> > VIA Web site has utility VIA_SystemHealth, but they don't provide
> > source code as a reference for developers. Could you please give me
> > some idea on how to find API to the driver.
>
> VIA's tool doesn't work with the 2.6.19 vt1211 driver, it is tailored toward
> the old unofficial driver.
>
> ...juerg
>
>
> > Thanks for the help.
> >
> > -- sasha
> >
>
> _______________________________________________
> lm-sensors mailing list
> lm-sensors at lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070122/26680f88/attachment.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
                   ` (7 preceding siblings ...)
  2007-01-23  0:51 ` Sasha Raykhman
@ 2007-01-23  8:13 ` Jean Delvare
  2007-01-23 12:56 ` Mark M. Hoffman
  9 siblings, 0 replies; 11+ messages in thread
From: Jean Delvare @ 2007-01-23  8:13 UTC (permalink / raw)
  To: lm-sensors

Hi Sasha,

On Mon, 22 Jan 2007 16:51:24 -0800 (PST), Sasha Raykhman wrote:
> I need some help in explaining how to install 2.10.2 package.  
> 
> The problem I have is that I am compiling kernel on my
> host computer for a different target board. Installation
> instructions and make file presented in the package will
> install necessary files on the host, but not in my source
> tree which I need to compile for the target .  Is there a
> way to solve the problem?

Try setting the DESTDIR variable to your staged installation root.
Either edit the Makefile to set it, or pass it on the command line:
# make DESTDIR=/tmp/fakeroot user_install
Then you can copy the files from /tmp/fakeroot to your target host.

-- 
Jean Delvare


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [lm-sensors] question about vt1211
  2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
                   ` (8 preceding siblings ...)
  2007-01-23  8:13 ` Jean Delvare
@ 2007-01-23 12:56 ` Mark M. Hoffman
  9 siblings, 0 replies; 11+ messages in thread
From: Mark M. Hoffman @ 2007-01-23 12:56 UTC (permalink / raw)
  To: lm-sensors

Hi Sasha:

> On Mon, 22 Jan 2007 16:51:24 -0800 (PST), Sasha Raykhman wrote:
> > I need some help in explaining how to install 2.10.2 package.  
> > 
> > The problem I have is that I am compiling kernel on my
> > host computer for a different target board. Installation
> > instructions and make file presented in the package will
> > install necessary files on the host, but not in my source
> > tree which I need to compile for the target .  Is there a
> > way to solve the problem?

* Jean Delvare <khali at linux-fr.org> [2007-01-23 09:13:08 +0100]:
> Try setting the DESTDIR variable to your staged installation root.
> Either edit the Makefile to set it, or pass it on the command line:
> # make DESTDIR=/tmp/fakeroot user_install
> Then you can copy the files from /tmp/fakeroot to your target host.

Also:  if the build host has a Linux 2.6.x kernel but the target has a 2.4.x
kernel (or vice versa)... you may want/need to override SYSFS_SUPPORT in the
Makefile as well.

Regards,

-- 
Mark M. Hoffman
mhoffman at lightlink.com



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-01-23 12:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19 15:25 [lm-sensors] question about vt1211 Juerg Haefliger
2007-01-19 21:08 ` Michelle Dupuis
2007-01-19 22:19 ` Sasha Raykhman
2007-01-19 22:24 ` Michelle Dupuis
2007-01-20 15:47 ` Juerg Haefliger
2007-01-20 15:57 ` Juerg Haefliger
2007-01-22 18:11 ` Sasha Raykhman
2007-01-22 18:22 ` Juerg Haefliger
2007-01-23  0:51 ` Sasha Raykhman
2007-01-23  8:13 ` Jean Delvare
2007-01-23 12:56 ` Mark M. Hoffman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.