Call for 2.10.5
Hi all,
lm-sensors 2.10.4 is 3 months old now, so we should think about releasing 2.10.5. There are no big changes, as expected in a stable branch, but a good load of bugfixes. Proposed schedule:
* October 10th: SVN freeze
* October 11th-14th: testing
* October 15th: release
Philip is still the release manager for this stable branch.
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
Hi all,
lm-sensors 2.10.4 is 3 months old now, so we should think about releasing 2.10.5. There are no big changes, as expected in a stable branch, but a good load of bugfixes. Proposed schedule:
* October 10th: SVN freeze
* October 11th-14th: testing
* October 15th: release
<ugh> thats awefully short notice. I would really like to add support for the new FSC driver, and fix things so that they will work with both the old and the new drivers, but I don't think I'll get around to doing that before the 10th.
Any chance we could slip a couple of days if I don't get around to doing this before the 10th?
---
While I'm talking about the FSC, currently the temp code for both the fscpos and the fscher looks like this:
if (!sensors_get_label_and_valid(*name,SENSORS_FSCPOS_TEMP1,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_FSCPOS_TEMP1,&temp) &&
!sensors_get_feature(*name,SENSORS_FSCPOS_TEMP1_STATE,&state)) {
if (valid) {
print_label(label,10);
if((int) state & 0x01)
printf("\t%+6.2f C\n", temp);
else
printf("\tfailed\n");
}
} else
printf("ERROR: Can't get TEMP1 data!\n");
free(label);Notice the SENSORS_FSCPOS_TEMP1_STATE, which is a sysfs attr file containing a copy of the status register, the new driver doesn't have this. It has a tempX_fault instead and adds a tempX_alarm.
So I'm thinking to just go the common denominater way here and only read and display the temp (thus displaying something like 0 or 255 for not connected sensors), does this sound ok?
---
For fans it reads:
if (!sensors_get_label_and_valid(*name,SENSORS_FSCPOS_FAN1,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_FSCPOS_FAN1,&fan) &&
!sensors_get_feature(*name,SENSORS_FSCPOS_FAN1_STATE,&state)) {
if (valid) {
print_label(label,10);
if((int) state & 0x04)
printf("\tfaulty\n");
else
printf("\t%6.0f RPM\n", fan);
}
} else
printf("ERROR: Can't get FAN1 data!\n");free(label);
Again using a raw dump of the status register and dead wrong actually as 0x04 is not a fault bit but an alarm bit (rather major difference if you ask me). Again I'm thinking to just go the common denominater way here and only read and display the rpms (displaying 0 for a not connected fan) does this sound ok?
---
For the fscscy the temp code looks like this:
if (!sensors_get_label_and_valid(*name,SENSORS_FSCSCY_TEMP1,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1,&temp) &&
!sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1_LIM,&templim) &&
!sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1_MIN,&tempmin) &&
!sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1_MAX,&tempmax) &&
!sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1_STATE,&state)) {
if (valid) {
print_label(label,10);
if((int) state & 0x01)
printf("\t%+6.2f C (Min = %+6.2f C, Max = %+6.2f C, Lim = %+6.2f C)\n
temp,tempmin,tempmax,templim);
else
printf("\tfailed\n");
}
} else
printf("ERROR: Can't get TEMP1 data!\n");free(label);
Again using a raw dump of the status register, and even worse using software maintained min and max values, which are not limits, but the lowest / highest value measured since the driver was loaded <ugh>.
Proposed solution once again: display only the temp and no other info, it would be nice to preserve the display of the limit, but thats called temp#_lim, where as in the new driver it is called temp#_max, which in the old driver was not a limit as described above, so just displaying only the temp seems for the best.
---
Alternatively I could test for the readability of SENSORS_FSC***_TEMP1_STATE and switch between the code for the old driver and new to be written code for the new driver, that might be better as it will also reduce the chance of regressions.
Any input much appreciated.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Hans,
Quoted 7 lines · Hans de Goede
Quoted 6 lines · Jean Delvare
Hi all,
lm-sensors 2.10.4 is 3 months old now, so we should think about releasing 2.10.5. There are no big changes, as expected in a stable branch, but a good load of bugfixes. Proposed schedule:
Quoted 5 lines
Quoted 3 lines
* October 10th: SVN freeze
* October 11th-14th: testing
* October 15th: release<ugh> thats awefully short notice.
The release date of 2.10.5 has been set to October 16th long ago:
http://www.lm-sensors.org/milestone/2.10.5
Quoted 6 lines
I would really like to add support for the
new FSC driver, and fix things so that they will work with both the old and the new drivers, but I don't think I'll get around to doing that before the 10th.Any chance we could slip a couple of days if I don't get around to doing this before the 10th?
Sure, no problem. As long as it doesn't shift too much, that's fine with me.
Quoted 17 lines
While I'm talking about the FSC, currently the temp code for both the fscpos and the fscher looks like this:
if (!sensors_get_label_and_valid(*name,SENSORS_FSCPOS_TEMP1,&label,&valid) && !sensors_get_feature(*name,SENSORS_FSCPOS_TEMP1,&temp) && !sensors_get_feature(*name,SENSORS_FSCPOS_TEMP1_STATE,&state)) { if (valid) { print_label(label,10); if((int) state & 0x01) printf("\t%+6.2f C\n", temp); else printf("\tfailed\n"); } } else printf("ERROR: Can't get TEMP1 data!\n"); free(label);
Quoted 7 lines
Notice the
SENSORS_FSCPOS_TEMP1_STATE, which is a sysfs attr file containing a copy of the status register, the new driver doesn't have this. It has atempX_faultinstead and adds atempX_alarm.So I'm thinking to just go the common denominater way here and only read and display the temp (thus displaying something like 0 or 255 for not connected sensors), does this sound ok?
Your change should not cause a regression. This means that you should keep using the value read from the state file where available, and only if not, display whatever bogus value the driver returned.
Alternatively, you could add new symbols for the fault files in libsensors, so that you always have a way to get the information. Whether it's worth doing when lm-sensors 3 offers full support out of the box, is up to you.
Quoted 15 lines
For fans it reads:
if (!sensors_get_label_and_valid(*name,SENSORS_FSCPOS_FAN1,&label,&valid) && !sensors_get_feature(*name,SENSORS_FSCPOS_FAN1,&fan) && !sensors_get_feature(*name,SENSORS_FSCPOS_FAN1_STATE,&state)) { if (valid) { print_label(label,10); if((int) state & 0x04) printf("\tfaulty\n"); else printf("\t%6.0f RPM\n", fan); } } else printf("ERROR: Can't get FAN1 data!\n"); free(label);
Quoted 2 lines
Again using a raw dump of the status register and dead wrong actually as
0x04is not a fault bit but an alarm bit (rather major difference if you ask me).
Please fix this bug.
Quoted 2 lines
Again I'm thinking to just go the common denominater way here and only read and display the rpms (displaying 0 for a not connected fan) does this sound ok?
As above for temperatures, you shouldn't introduce a regression.
Quoted 19 lines
For the fscscy the temp code looks like this:
if (!sensors_get_label_and_valid(*name,SENSORS_FSCSCY_TEMP1,&label,&valid) && !sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1,&temp) && !sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1_LIM,&templim) && !sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1_MIN,&tempmin) && !sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1_MAX,&tempmax) && !sensors_get_feature(*name,SENSORS_FSCSCY_TEMP1_STATE,&state)) { if (valid) { print_label(label,10); if((int) state & 0x01) printf("\t%+6.2f C (Min = %+6.2f C, Max = %+6.2f C, Lim = %+6.2f C)\n temp,tempmin,tempmax,templim); else printf("\tfailed\n"); } } else printf("ERROR: Can't get TEMP1 data!\n"); free(label);
Quoted 3 lines
Again using a raw dump of the status register, and even worse using software maintained min and max values, which are not limits, but the lowest / highest value measured since the driver was loaded <ugh>.
This is confusing and should be removed.
Quoted 4 lines
Proposed solution once again: display only the temp and no other info, it would be nice to preserve the display of the limit, but thats called temp#_lim, where as in the new driver it is called temp#_max, which in the old driver was not a limit as described above, so just displaying only the temp seems for the best.
You can translate temp#_lim to temp#_max in lib/chips.c.
Quoted 4 lines
Alternatively I could test for the readability of SENSORS_FSC***_TEMP1_STATE and switch between the code for the old driver and new to be written code for the new driver, that might be better as it will also reduce the chance of regressions.
My point exactly :)
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
Hi Hans,
Quoted 7 lines · Hans de Goede
Quoted 6 lines · Jean Delvare
Hi all,
lm-sensors 2.10.4 is 3 months old now, so we should think about releasing 2.10.5. There are no big changes, as expected in a stable branch, but a good load of bugfixes. Proposed schedule:
Quoted 8 lines
Quoted 4 lines
Quoted 3 lines
* October 10th: SVN freeze
* October 11th-14th: testing
* October 15th: release<ugh> thats awefully short notice.
The release date of 2.10.5 has been set to October 16th long ago:
http://www.lm-sensors.org/milestone/2.10.5
Ah, I never look there, I'll try to take a peek there now and then from now on.
Quoted 7 lines
Quoted 4 lines
Alternatively I could test for the readability of SENSORS_FSC***_TEMP1_STATE and switch between the code for the old driver and new to be written code for the new driver, that might be better as it will also reduce the chance of regressions.
My point exactly :)
Yes,
After writing all the stuff snipped above, pressing enter and giving it a second thought, I've come to the conclusion that this way is both the easiest and the best.
I'm working on integrating your driver review changes now (so that I can test tomorrow when I have access to the actual hardware) and then I'll start working on a userspace patch.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 11 lines · Hans de Goede
Quoted 9 lines · Jean Delvare
Hi all,
lm-sensors 2.10.4 is 3 months old now, so we should think about releasing 2.10.5. There are no big changes, as expected in a stable branch, but a good load of bugfixes. Proposed schedule:
* October 10th: SVN freeze
* October 11th-14th: testing
* October 15th: release
Quoted 6 lines
<ugh> thats awefully short notice. I would really like to add support for the new FSC driver, and fix things so that they will work with both the old and the new drivers, but I don't think I'll get around to doing that before the 10th.
Any chance we could slip a couple of days if I don't get around to doing this before the 10th?
It looks like we're all done with merging stuff in trunk? So let the testing phase begin. Updated schedule:
* October 15th: SVN freeze
* October 16th-21st: testing
* October 22nd: release
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 11 lines · Jean Delvare
Quoted 10 lines · Hans de Goede
Quoted 9 lines · Jean Delvare
Hi all,
lm-sensors 2.10.4 is 3 months old now, so we should think about releasing 2.10.5. There are no big changes, as expected in a stable branch, but a good load of bugfixes. Proposed schedule:
* October 10th: SVN freeze
* October 11th-14th: testing
* October 15th: release
Quoted 8 lines
Quoted 6 lines
<ugh> thats awefully short notice. I would really like to add support for the new FSC driver, and fix things so that they will work with both the old and the new drivers, but I don't think I'll get around to doing that before the 10th.
Any chance we could slip a couple of days if I don't get around to doing this before the 10th?
It looks like we're all done with merging stuff in trunk?
Atleast I am, yes.
Quoted 7 lines
So let the
testing phase begin. Updated schedule:* October 15th: SVN freeze
* October 16th-21st: testing
* October 22nd: release
Sounds good,
Regards,
Hans
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 6 lines · Jean Delvare
It looks like we're all done with merging stuff in trunk? So let the testing phase begin. Updated schedule:
* October 15th: SVN freeze
* October 16th-21st: testing
* October 22nd: release
I am done with testing, I've committed patches for the minor issues I found while testing. So, as far as I am concerned, we are ready to release.
Philip, will you have the time to do a lm-sensors release this week?
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 8 lines · Jean Delvare
Quoted 6 lines · Jean Delvare
It looks like we're all done with merging stuff in trunk? So let the testing phase begin. Updated schedule:
* October 15th: SVN freeze
* October 16th-21st: testing
* October 22nd: release
Quoted 5 lines
I am done with testing, I've committed patches for the minor issues I found while testing. So, as far as I am concerned, we are ready to release.
Philip, will you have the time to do a lm-sensors release this week?
Hi Jean, sure I'll try to get the release done today or tomorrow.
Phil
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 15 lines · Philip Edelbrock
Quoted 12 lines · Jean Delvare
Quoted 6 lines · Jean Delvare
It looks like we're all done with merging stuff in trunk? So let the testing phase begin. Updated schedule:
* October 15th: SVN freeze
* October 16th-21st: testing
* October 22nd: releaseI am done with testing, I've committed patches for the minor issues I found while testing. So, as far as I am concerned, we are ready to release.
Quoted 6 lines
Quoted 1 line
Philip, will you have the time to do a lm-sensors release this week?
Hi Jean, sure I'll try to get the release done today or tomorrow.
Phil
OK, the release is done. I did both an lm-sensors and i2c for 2.10.5.
Please check and make wiki/other changes as needed.
Phil
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Philip,
Quoted 7 lines · Philip Edelbrock
Quoted 4 lines · Philip Edelbrock
Quoted 1 line · Jean Delvare
Philip, will you have the time to do a lm-sensors release this week?
Hi Jean, sure I'll try to get the release done today or tomorrow.
OK, the release is done. I did both an lm-sensors and i2c for 2.10.5.
Great, thank you. You didn't tag the i2c repository though?
Quoted 1 line
Please check and make wiki/other changes as needed.
I've added a news item on the main page to announce the new release. I've also posted an announcement on Freshmeat.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 5 lines · Jean Delvare
Hi Philip,
Quoted 2 lines · Philip Edelbrock
Quoted 1 line · Philip Edelbrock
On Oct 23, 2007, at 8:15 AM, Jean Delvare wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Philip, will you have the time to do a lm-sensors release this week?
Hi Jean, sure I'll try to get the release done today or tomorrow.
OK, the release is done. I did both an lm-sensors and i2c for 2.10.5.
Great, thank you. You didn't tag the i2c repository though?
Good catch, thanks. Done. I also prep'ed the CHANGES and version headers.
Quoted 5 lines
Quoted 2 lines
Please check and make wiki/other changes as needed.
I've added a news item on the main page to announce the new release. I've also posted an announcement on Freshmeat.
OK, thanks.
Phil
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors