Skip to contentSkip to conversation

Updated fancontrol script

lm-sensors Volker Kuhlmann 2 participants 4 messages Jan 2, 2009 – Jan 27, 2009

lore
Share & tools
lore
#0 lore raw

I have updated my improved/extended fancontrol script with the changes from 0.63 to 0.67 of the "official" script. It's backwards compatible.

http://volker.top.geek.nz/linux/tech/lm_sensors/fancontrol-1.1

Major changes: temperature hysteresis for fan speed, using bash string functions instead of external programs, changed some ugly programming. For minor changes see changelog.

Feel free to make this the official script... ;)

Greets,

Volker

Signature · 7 lines
Volker Kuhlmann
http://volker.dnsalias.net/	Please do not CC list postings to me.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw

Hi Volker,

Quoted 2 lines · Volker Kuhlmann

I have updated my improved/extended fancontrol script with the changes from 0.63 to 0.67 of the "official" script. It's backwards compatible.

Someday we should get rid of these version numbers. Referring to the version of the lm-sensors package is much easier IMHO.

Quoted 7 lines

http://volker.top.geek.nz/linux/tech/lm_sensors/fancontrol-1.1

Major changes: temperature hysteresis for fan speed, using bash string functions instead of external programs, changed some ugly programming. For minor changes see changelog.

Feel free to make this the official script... ;)

If you want us to take anything from you, please send patches against our latest version of fancontrol. Preferably incremental ones.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Volker Kuhlmann

Hi Jean,

Quoted 5 lines
Quoted 2 lines

I have updated my improved/extended fancontrol script with the changes from 0.63 to 0.67 of the "official" script. It's backwards compatible.

Someday we should get rid of these version numbers. Referring to the version of the lm-sensors package is much easier IMHO.

No opinion, no difference to me... ;)

Quoted 4 lines
Quoted 1 line

http://volker.top.geek.nz/linux/tech/lm_sensors/fancontrol-1.1

If you want us to take anything from you, please send patches against our latest version of fancontrol. Preferably incremental ones.

Sure, patch is easy:

cp whatever-your-latest-version-is-cvs-or-stable fancontrol.orig wget http://volker.top.geek.nz/linux/tech/lm_sensors/fancontrol-1.1
diff -u fancontrol.orig fancontrol-1.1

Adjust diff format to personal taste. However the resulting patch would be much bigger than either script by itself, so wouldn't really be that useful. I did quite a bit of tidying up.

HTH,

Volker

Signature · 7 lines
Volker Kuhlmann			is list0570 with the domain in header
http://volker.dnsalias.net/	Please do not CC list postings to me.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#3 lore raw
In reply to Volker Kuhlmann
Quoted 17 lines · Volker Kuhlmann

Hi Jean,

Quoted 5 lines
Quoted 2 lines

I have updated my improved/extended fancontrol script with the changes from 0.63 to 0.67 of the "official" script. It's backwards compatible.

Someday we should get rid of these version numbers. Referring to the version of the lm-sensors package is much easier IMHO.

No opinion, no difference to me... ;)

Quoted 4 lines
Quoted 1 line

http://volker.top.geek.nz/linux/tech/lm_sensors/fancontrol-1.1

If you want us to take anything from you, please send patches against our latest version of fancontrol. Preferably incremental ones.

Sure, patch is easy:

Quoted 7 lines

cp whatever-your-latest-version-is-cvs-or-stable fancontrol.orig wget http://volker.top.geek.nz/linux/tech/lm_sensors/fancontrol-1.1
diff -u fancontrol.orig fancontrol-1.1

Adjust diff format to personal taste. However the resulting patch would be much bigger than either script by itself, so wouldn't really be that useful. I did quite a bit of tidying up.

That's not going to happen, sorry. If the changes are so important that a patch wouldn't be readable then I don't have the time to take care of this. Especially when I'm not even sure what is so great with your version. Using bash string functions instead of external programs? The latest version of fancontrol only uses one external program during runtime, which is sleep, I doubt you managed to replace that. The other external calls are only done during setup, and they are nothing a standard Linux system always has, so I'm not sure why this would be considered a problem. Changed some ugly programming? Please be specific. I've done a lot of cleanups to fancontrol myself over the past 2 years, and I believe I have managed to make it look reasonably good. On top of that, we had a lot of weird issues where bash and/or sysfs wouldn't behave the way you'd expected. Now that we have something that apparently works fine for all users, I'm certainly not going to replace fancontrol with a brand new version hardly anyone has ever tested.

If you want your changes to be merged into lm-sensors, you really only have 2 options:

* Split all your changes into incremental patches that can be easily reviewed and commented upon, post them, wait for comments, adjust accordingly (might include dropping changes which others don't like), resend and we'll apply them.

* Volunteer to become the maintainer of pwmconfig and fancontrol for the next 2 or 3 years. Get a developer account created, merge your changes, and take care of all the user reports about pwmconfig and fancontrol on the mailing list.

Both options require that you spend a significant amount of time. That's what good software development is all about, isn't it?

Thanks,

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors