Help wanted: individual alarm files
Hi all,
The future libsensors assumes that all hardware monitoring drivers follow the standard sysfs interface defined in Documentation/hwmon/sysfs-interface. They all mostly do already, except for one thing: alarms. Most drivers are still only exposing a single file with all alarms in a bit-vector, in chip-dependent order. In order to let the new libsenors display the alarms properly, we must add individual alarm files to these drivers. For some drivers, fault and/or beep files need to be added too.
Here's the current status, to the best of my knowledge.
Already have individual alarm files:abituguru.ccoretemp.cds1621.cdme1737.cf71805f.clm63.clm83.clm85.clm90.cpc87427.csmsc47m192.cvt1211.cw83627ehf.cw83793.c
Don't have alarms at all:ad7418.cadm1029.c
amsapplesmc.catxp1.chdaps.ck8temp.clm70.clm75.cmax6650.csmsc47b397.cw83l785ts.c
Need to be converted:adm1021.cadm1025.cadm1026.cadm1031.cadm9240.casb100.cfscher.cfscpos.cgl518sm.cgl520sm.cit87.clm77.clm78.clm80.clm87.clm92.cmax1619.cpc87360.csis5595.csmsc47m1.cvia686a.cvt8231.cw83627hf.cw83781d.cw83791d.cw83792d.c
As you can see, the list is quite long, so I need help. That's not a difficult job, but you need chip ship in question to test.
How to add individual alarm files:
* Read Documentation/hwmon/sysfs-interface, so that you know what are the valid names for individual alarm, fault and beep files.
* Take a look at this patch which adds individual alarm support to 4 drivers:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h-45771e6ea79f56a7d85e448f702f60ef86c228#patch2
* Do the same to your driver. To find out which alarm bit correspond to what, you can look at the defines used in the current version of libsensors:
http://www.lm-sensors.org/browser/lm-sensors/branches/lm-sensors-3.0.0/kernel/include/sensors.h?revD73
Or you can look at the datasheet for your chip, but it's likely to take longer.
* Test. You can test manually (change the limits and read the alarm files from sysfs) or you can use the next version of libsensors, which is in branch "lm-sensors-3.0.0" under SVN:
svn checkout http://lm-sensors.org/svn/lm-sensors/branch/lm-sensors-3.0.0 lm-sensors-3
* Submit your patch to the lm-sensors list, I'll review it.
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hey Jean, Hans,
I will give it a shot. Since I am _completely_ new to this, it might take a while.
Ivo
----- Original Message -----
From: "Hans de Goede" <[email protected]>
To: "Jean Delvare" <[email protected]>
Cc: "LM Sensors" <[email protected]>
Sent: Sunday 1 July 2007 23:13
Subject: Re: [lm-sensors] Help wanted: individual alarm files
Quoted 113 lines
Hi All,
I'll take care of converting the "fscher" driver as my work PC has such a beast. I hope to be able todo this soon.
Ivo, if you are reading this, any chance you could try to convert the sis5595
driver?Regards,
Hans
Quoted 98 lines · Jean Delvare
Hi all,
The future libsensors assumes that all hardware monitoring drivers follow the standard sysfs interface defined in
Documentation/hwmon/sysfs-interface. They all mostly do already, except for one thing: alarms. Most drivers are still only exposing a single file with all alarms in a bit-vector, in chip-dependent order. In order to let the new libsenors display the alarms properly, we must add individual alarm files to these drivers. For some drivers, fault and/or beep files need to be added too.Here's the current status, to the best of my knowledge.
Already have individual alarm files:
abituguru.ccoretemp.cds1621.cdme1737.cf71805f.clm63.clm83.clm85.clm90.cpc87427.csmsc47m192.cvt1211.cw83627ehf.cw83793.cDon't have alarms at all:
ad7418.cadm1029.c
amsapplesmc.catxp1.chdaps.ck8temp.clm70.clm75.cmax6650.csmsc47b397.cw83l785ts.cNeed to be converted:
adm1021.cadm1025.cadm1026.cadm1031.cadm9240.casb100.cfscher.cfscpos.cgl518sm.cgl520sm.cit87.clm77.clm78.clm80.clm87.clm92.cmax1619.cpc87360.csis5595.csmsc47m1.cvia686a.cvt8231.cw83627hf.cw83781d.cw83791d.cw83792d.cAs you can see, the list is quite long, so I need help. That's not a difficult job, but you need chip ship in question to test.
How to add individual alarm files:
* Read
Documentation/hwmon/sysfs-interface, so that you know what are the valid names for individual alarm, fault and beep files.* Take a look at this patch which adds individual alarm support to 4 drivers:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h-45771e6ea79f56a7d85e448f702f60ef86c228#patch2* Do the same to your driver. To find out which alarm bit correspond to what, you can look at the defines used in the current version of libsensors:
http://www.lm-sensors.org/browser/lm-sensors/branches/lm-sensors-3.0.0/kernel/include/sensors.h?revD73
Or you can look at the datasheet for your chip, but it's likely to take longer.* Test. You can test manually (change the limits and read the alarm files from sysfs) or you can use the next version of libsensors, which is in branch "lm-sensors-3.0.0" under SVN:
svn checkout http://lm-sensors.org/svn/lm-sensors/branch/lm-sensors-3.0.0
lm-sensors-3* Submit your patch to the lm-sensors list, I'll review it.
Quoted 7 lines
Quoted 1 line
Thanks,
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi All,
I'll take care of converting the "fscher" driver as my work PC has such a beast. I hope to be able todo this soon.
Ivo, if you are reading this, any chance you could try to convert the sis5595 driver?
Regards,
Hans
Quoted 90 lines · Jean Delvare
Hi all,
The future libsensors assumes that all hardware monitoring drivers follow the standard sysfs interface defined in
Documentation/hwmon/sysfs-interface. They all mostly do already, except for one thing: alarms. Most drivers are still only exposing a single file with all alarms in a bit-vector, in chip-dependent order. In order to let the new libsenors display the alarms properly, we must add individual alarm files to these drivers. For some drivers, fault and/or beep files need to be added too.Here's the current status, to the best of my knowledge.
Already have individual alarm files:
abituguru.ccoretemp.cds1621.cdme1737.cf71805f.clm63.clm83.clm85.clm90.cpc87427.csmsc47m192.cvt1211.cw83627ehf.cw83793.cDon't have alarms at all:
ad7418.cadm1029.c
amsapplesmc.catxp1.chdaps.ck8temp.clm70.clm75.cmax6650.csmsc47b397.cw83l785ts.cNeed to be converted:
adm1021.cadm1025.cadm1026.cadm1031.cadm9240.casb100.cfscher.cfscpos.cgl518sm.cgl520sm.cit87.clm77.clm78.clm80.clm87.clm92.cmax1619.cpc87360.csis5595.csmsc47m1.cvia686a.cvt8231.cw83627hf.cw83781d.cw83791d.cw83792d.cAs you can see, the list is quite long, so I need help. That's not a difficult job, but you need chip ship in question to test.
How to add individual alarm files:
* Read
Documentation/hwmon/sysfs-interface, so that you know what are the valid names for individual alarm, fault and beep files.* Take a look at this patch which adds individual alarm support to 4 drivers:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h-45771e6ea79f56a7d85e448f702f60ef86c228#patch2* Do the same to your driver. To find out which alarm bit correspond to what, you can look at the defines used in the current version of libsensors:
http://www.lm-sensors.org/browser/lm-sensors/branches/lm-sensors-3.0.0/kernel/include/sensors.h?revD73
Or you can look at the datasheet for your chip, but it's likely to take longer.
Quoted 8 lines
* Test. You can test manually (change the limits and read the alarm files from sysfs) or you can use the next version of libsensors, which is in branch "lm-sensors-3.0.0" under SVN:
svn checkout http://lm-sensors.org/svn/lm-sensors/branch/lm-sensors-3.0.0 lm-sensors-3* Submit your patch to the lm-sensors list, I'll review it.
Thanks,
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
I will take care of the w83627hf.c driver.
However I wont have time until the weekend.
Carlos
Quoted 3 lines · you
Hi all,
The future libsensors assumes that all hardware
monitoring drivers
Quoted 2 lines
follow the standard sysfs interface defined in
Documentation/hwmon/sysfs-interface. They
all mostly do already, except
Quoted 2 lines
for one thing: alarms. Most drivers are still only exposing a single file with
all alarms in a bit-vector, in chip-dependent order. In order
Quoted 1 line
to let the new libsenors display the alarms properly, we
must add
Quoted 2 lines
individual alarm files to these drivers. For some drivers, fault and/or beep files need to be added
too.
Quoted 4 lines
Here's the current status, to the best of my knowledge.
Already have individual alarm
files:
Quoted 57 lines
abituguru.ccoretemp.cds1621.cdme1737.cf71805f.clm63.clm83.clm85.clm90.cpc87427.csmsc47m192.cvt1211.cw83627ehf.cw83793.cDon't have alarms at all:
ad7418.cadm1029.c
amsapplesmc.catxp1.chdaps.ck8temp.clm70.clm75.cmax6650.csmsc47b397.cw83l785ts.cNeed to be converted:
adm1021.cadm1025.cadm1026.cadm1031.cadm9240.casb100.cfscher.cfscpos.cgl518sm.cgl520sm.cit87.clm77.clm78.clm80.clm87.clm92.cmax1619.cpc87360.csis5595.csmsc47m1.cvia686a.cvt8231.cw83627hf.cw83781d.cw83791d.cw83792d.c
Quoted 1 line
As you can see,
the list is quite long, so I need help. That's not a
Quoted 5 lines
difficult job, but you need chip ship in question to test.
How to add individual alarm files:
* Read
Documentation/hwmon/sysfs-interface, so that you
know what are
Quoted 3 lines
the valid names for individual alarm, fault and beep files.
* Take a look at this
patch which adds individual alarm support to 4
Quoted 5 lines
* Do the same to your driver. To find out which alarm bit correspond to what, you can look at the
defines used in the current version of
Quoted 3 lines
libsensors:
http://www.lm-sensors.org/browser/lm-sensors/branches/lm-sensors-3.0.0/kernel/include/sensors.h?revD73
Or you
can look at the datasheet for your chip, but it's likely to take
Quoted 3 lines
longer.
* Test. You can test
manually (change the limits and read the alarm
Quoted 1 line
files from sysfs) or you can use the next version of libsensors,
which
Quoted 2 lines
is in branch "lm-sensors-3.0.0" under SVN:
svn checkout
http://lm-sensors.org/svn/lm-sensors/branch/lm-sensors-3.0.0 lm-sensors-3
Quoted 2 lines
* Submit your patch to the
lm-sensors list, I'll review it.
Quoted 2 lines
Thanks,
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Jean,
Quoted 8 lines
The future libsensors assumes that all hardware monitoring drivers follow the standard sysfs interface defined in
Documentation/hwmon/sysfs-interface. They all mostly do already, except for one thing: alarms. Most drivers are still only exposing a single file with all alarms in a bit-vector, in chip-dependent order. In order to let the new libsenors display the alarms properly, we must add individual alarm files to these drivers. For some drivers, fault and/or beep files need to be added too.
I'd like to take care of w83792d chip's converting work. It will be finished in the next week.
And could you please give me some information about the ASUS motherboard with w83791d chip using for hardware monitor function?
Any help will be welcome.
Best regards,
Gong Jun
=============================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email irrelevant to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Gong Jun,
Quoted 11 lines · On Thu, 5 Jul 2007 19:27:40 +0800, [email protected] wrote:
Quoted 8 lines
The future libsensors assumes that all hardware monitoring drivers follow the standard sysfs interface defined in
Documentation/hwmon/sysfs-interface. They all mostly do already, except for one thing: alarms. Most drivers are still only exposing a single file with all alarms in a bit-vector, in chip-dependent order. In order to let the new libsenors display the alarms properly, we must add individual alarm files to these drivers. For some drivers, fault and/or beep files need to be added too.I'd like to take care of w83792d chip's converting work. It will be finished in the next week.
Great, thanks!
Quoted 4 lines
And could you please give me some information about the ASUS motherboard with w83791d chip using for hardware monitor function?
Any help will be welcome.
I don't know, sorry. The only system I know using a W83791D is the Acer Altos R300 server. Charles Spirakis (Cc'd) wrote the Linux 2.6 w83791d driver, he should be able to tell you which system he was using.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 2 lines · On Sun, 1 Jul 2007 22:00:05 +0200 Jean Delvare <[email protected]> wrote:
Need to be converted:
adm1021.c
I'll take care of it. I have already converted it to dynamic sysfs calls. The next patch will add alarm files.
Regards,
Krzysztof
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
A little late to the party, but I'll take care of converting the w83791d.
I'll try to get this done either this weekend or next (is there a preferred time frame)?
-- charles
Quoted 9 lines · Krzysztof Helt
Quoted 2 lines · On Sun, 1 Jul 2007 22:00:05 +0200 Jean Delvare <[email protected]> wrote:
Need to be converted:
adm1021.cI'll take care of it. I have already converted it to dynamic sysfs calls. The next patch will add alarm files.
Quoted 8 lines
Regards,
Krzysztof_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Charles,
Quoted 4 lines · Charles Spirakis
A little late to the party, but I'll take care of converting the w83791d.
I'll try to get this done either this weekend or next (is there a preferred time frame)?
"As your time permits" if the preferred time frame :)
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Ivo,
Quoted 2 lines · Hans de Goede
Quoted 2 lines
Ivo, if you are reading this, any chance you could try to convert the sis5595 driver?
Quoted 2 lines · Ivo Manca
I will give it a shot. Since I am _completely_ new to this, it might take a while.
Any news on this?
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 10 lines · Jean Delvare
The future libsensors assumes that all hardware monitoring drivers follow the standard sysfs interface defined in
Documentation/hwmon/sysfs-interface. They all mostly do already, except for one thing: alarms. Most drivers are still only exposing a single file with all alarms in a bit-vector, in chip-dependent order. In order to let the new libsenors display the alarms properly, we must add individual alarm files to these drivers. For some drivers, fault and/or beep files need to be added too.Here's the current status, to the best of my knowledge.
Updated list:
Recently converted:adm1021.c (Krzysztof Helt)lm78.c (Jean Delvare)lm85.c (Jean Delvare)lm87.c (Jean Delvare)thmc50.c (Krzysztof Helt)w83791d.c (Charles Spirakis)w83792d.c (Gong Jun)
Superseded by a newer driver:fscher.cfscpos.c
Still need to be converted:adm1025.cadm1026.cadm1031.cadm9240.casb100.cgl518sm.cgl520sm.cit87.clm77.clm80.clm92.cmax1619.cpc87360.csis5595.c (Ivo Manco volunteered)smsc47m1.cvia686a.cvt8231.cw83627hf.c (Carlos Olalla Martínez volunteered)w83781d.c
The list is shorter, thanks to everyone who helped so far. More help would of course be appreciated, as we are about to release lm-sensors 3.0.0 and it needs these individual alarm files. I will try to convert some more drivers this afternoon, next on my list is w83781d.
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hey Jean,
To be honest, I've haven't looked into it, yet. I'll try to hook up my machine this evening to get it running. Then, I'll try to convert it as soon as possible.
I'll report back next weekend.
Ivo
Quoted 10 lines · Jean Delvare
Hi Ivo,
Quoted 3 lines · Hans de Goede
Quoted 3 lines
Ivo, if you are reading this, any chance you could try to convert the sis5595 driver?
On Sun, 1 Jul 2007 23:05:55 +0200, Ivo Manca wrote:
Quoted 8 lines
Quoted 3 lines
I will give it a shot. Since I am _completely_ new to this, it might take a while.
Any news on this?
Thanks,
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors