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: 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