[Bug 576602] Re: Fancontrol relies on the module load order
This affects me too on Asus z97P, since at least ubuntu 13.10 (when I bought this system). I sometimes hear fans not spin down after booting, and have been "rebooting until success" for the last 7 years... lucky it isnt too often I get the wrong order, maybe once in 10 boots or so. Since adding a new GPU recently made this problem worse, and I needed the it87 driver compiled from unofficial sources to support my board (IT8606 chip) in 20.04, I stumbled on this bug via the lm-sensors github. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/lmsensors/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
** Changed in: lmsensors Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/lmsensors/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Upstream bug, which would fix this: https://github.com/lm-sensors/lm- sensors/issues/227 ** Bug watch added: github.com/lm-sensors/lm-sensors/issues #227 https://github.com/lm-sensors/lm-sensors/issues/227 ** Also affects: lmsensors via https://github.com/lm-sensors/lm-sensors/issues/227 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/lmsensors/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
This problem still exists in ubuntu 20.04. It looks like a good solution to this problem would be to use the contents of /sys/class/hwmon/hwmon*/name instead of the hwmon device number. fancontrol uses these name files to do the verification that results in the errors in this bug report. I used Thomas's workaround, it worked. My module order was slightly more complicated, because I had additional devices involved in the random ordering. I added softdeps for all of them: $ grep -H . /sys/class/hwmon/hwmon*/name /sys/class/hwmon/hwmon0/name:amdgpu /sys/class/hwmon/hwmon1/name:nct6798 /sys/class/hwmon/hwmon2/name:k10temp /sys/class/hwmon/hwmon3/name:hidpp_battery_0 /sys/class/hwmon/hwmon4/name:asus # cat /etc/modprobe.d/fancontrol.conf softdep nct6775 pre: amdgpu softdep k10temp pre: nct6775 softdep asus_wmi pre: k10temp softdep hid_logitech_hidpp pre: k10temp To figure out which devices it wants to have which numbers, look at: # grep DEVNAME /etc/fancontrol DEVNAME=hwmon1=nct6798 hwmon2=k10temp My motherboard is an Asus TUF X570. I am not entirely certain that I got the right modules for the asus and hidpp_battery_0 hwmon devices. fancontrol and pwmconfig are in the fancontrol package. Upstream is https://hwmon.wiki.kernel.org/lm_sensors The download link on that page is a git archive which does contain fancontrol and pwmconfig. There is an upstream mailing list and IRC channel: https://hwmon.wiki.kernel.org/feedbackandsupport -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Hello, I tried Thomas DEBESSE's solution but it didn't work because one of these drivers was built in the kernel : thermal_sys (as in linux- image 4.2.XX for 15.10). The device that use thermal_sys is called acpitz-virtual-0 and appears on my laptop most of the time as hwmon0, but sometimes as hwmon2. Instead of recompiling a kernel just for that I did the following : First find out where are the hwmonX pointing at : $ ls -l /sys/class/hwmon/ total 0 lrwxrwxrwx 1 root root 0 mars 11 06:02 hwmon0 -> ../../devices/virtual/hwmon/hwmon0 lrwxrwxrwx 1 root root 0 mars 11 06:02 hwmon1 -> ../../devices/platform/asus-nb-wmi/hwmon/hwmon1 lrwxrwxrwx 1 root root 0 mars 11 06:02 hwmon2 -> ../../devices/platform/coretemp.0/hwmon/hwmon2 Pick the device path that you need, asus-nb-wmi in my case and fill /etc/fancontrol like that example : INTERVAL=2 FCTEMPS=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon?/pwm1=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon?/temp1_input FCFANS=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon?/pwm1=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon?/fan1_input MINTEMP=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon?/pwm1=50 MAXTEMP=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon?/pwm1=70 MINSTART=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon?/pwm1=60 MINSTOP=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon?/pwm1=0 Edit /usr/sbin/fancontrol and replace all "egrep" by "grep" in lines from 100 to 107 : (I can't think of any case where egrep is needed there) AFCFAN[$fcvcount]=`echo $FCFANS |sed -e 's/ /\n/g' |grep "${AFCPWM[$fcvcount]}" |cut -d'=' -f2` AFCMINTEMP[$fcvcount]=`echo $MINTEMP |sed -e 's/ /\n/g' |grep "${AFCPWM[$fcvcount]}" |cut -d'=' -f2` AFCMAXTEMP[$fcvcount]=`echo $MAXTEMP |sed -e 's/ /\n/g' |grep "${AFCPWM[$fcvcount]}" |cut -d'=' -f2` AFCMINSTART[$fcvcount]=`echo $MINSTART |sed -e 's/ /\n/g' |grep "${AFCPWM[$fcvcount]}" |cut -d'=' -f2` AFCMINSTOP[$fcvcount]=`echo $MINSTOP |sed -e 's/ /\n/g' |grep "${AFCPWM[$fcvcount]}" |cut -d'=' -f2` AFCMINPWM[$fcvcount]=`echo $MINPWM |sed -e 's/ /\n/g' |grep "${AFCPWM[$fcvcount]}" |cut -d'=' -f2` [ -z "${AFCMINPWM[$fcvcount]}" ] && AFCMINPWM[$fcvcount]=0 AFCMAXPWM[$fcvcount]=`echo $MAXPWM |sed -e 's/ /\n/g' |grep "${AFCPWM[$fcvcount]}" |cut -d'=' -f2` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Thanks Thomas, that is a much better work-around method! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
To rectify, don't forget to put a space before *and* after the keyword 'pre:' You can test the workaround in this way (adapt with your modules names): Checks that the modules are loaded: root@ubuntu ~ # lsmod | grep '^it87\|^k10temp\|^fam15h_power' | cut -f1 -d' ' fam15h_power k10temp it87 Removes all modules: root@ubuntu ~ # modprobe -r it87 k10temp fam15h_power Checks that all modules are unloaded: root@ubuntu ~ # lsmod | grep '^it87\|^k10temp\|^fam15h_power' | cut -f1 -d' ' [nothing] Load the module to be loaded first: root@ubuntu ~ # modprobe it87 Checks that it is alone: root@ubuntu ~ # lsmod | grep '^it87\|^k10temp\|^fam15h_power' | cut -f1 -d' ' it87 Remove this module: root@ubuntu ~ # modprobe -r it87 Checks that all modules are unloaded: root@ubuntu ~ # lsmod | grep '^it87\|^k10temp\|^fam15h_power' | cut -f1 -d' ' [nothing] Load the module to be loaded last: root@ubuntu ~ # modprobe fam15h_power Checks that all the other modules are loaded: root@ubuntu ~ # lsmod | grep '^it87\|^k10temp\|^fam15h_power' | cut -f1 -d' ' fam15h_power k10temp it87 You can adapt this workaround to your computer, this is better than blacklisting a module to load it succesfully, otherwise in a few years when you read your code you do not understand what it will mean. :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Same problem here with Ubuntu 13.4 To solve the problem I launch pwmconfig, and search those lines (may differ on your computer) : […] Found the following devices: hwmon0/device is it8721 hwmon1/device is k10temp hwmon2/device is fam15h_power […] Then I write (as root) a config file named /etc/modprobe.d/fancontrol.conf with this content (modules names can differ a little to names given by pwmconfig, use lsmod to find them) : softdep fam15h_power pre:k10temp softdep k10temp pre: it87 Then I rebuild initramfs root@ubuntu # update-initramfs -k all -u […] At boot time, fam15h_power module can't be loaded before k10temp module, and k10temp module can't be loaded before it87 module. It forces module load order. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Same problem here with 64-bit 12.04. It seems to be a rather basic flaw in the underlying design that the 'hwmon0' sort of name used is load-order-dependent for the modules. Can't that ordering be made alphabetical or similar so without a hardware/configuration change it is fixed? My solution was to add the k10temp module to the one of the blacklists in /etc/modprobe.d/ and then add it to /etc/modules before the w83627ehf module that provides the PWM control. Hopefully it will always load the modules in the order specified by /etc/modules. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
I can confirm same bug in 12.10 64bit. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Hi, I had the same problem with fancontrol in 12.04. VK's modified script works perfectly. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Hi, it is almost 2 years, since VK have posted the modified start/stop script, which works perfectly (tnhank you much VK). Is there any plan to fix the bug? Now I have installed Ubuntu 12.04 and it is still there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576602 Title: Fancontrol relies on the module load order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lm-sensors-3/+bug/576602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Thanks for the response and documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better! ** Changed in: lm-sensors-3 (Ubuntu) Importance: Undecided = Medium ** Changed in: lm-sensors-3 (Ubuntu) Status: Incomplete = Triaged -- Fancontrol relies on the module load order https://bugs.launchpad.net/bugs/576602 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Thank you for the above scripts. However, it would be better to attach them as plain text files using the Add attachment or patch button below. This would then allow the users to download them and place them in the necessary directories for use. Also, what directory should these scripts be used in? -- Fancontrol relies on the module load order https://bugs.launchpad.net/bugs/576602 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Ok my apologies, i'll post it as text next times... As i wrote, those scripts are located in /etc/init.d/ in order to be ran at boot time (use console utils to configure symbolics in states) -- Fancontrol relies on the module load order https://bugs.launchpad.net/bugs/576602 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
for an unknomw reason, my script is not working anymore, the parameters files are not given to fancontrol, taking /etc/fancontrol all the times Here is a script to avoid this problem : #!/bin/sh # # Fancontrol start script. # set -e # Defaults DAEMON=/usr/sbin/fancontrol PIDFILE=/var/run/fancontrol.pid PATH=/sbin:/bin:/usr/sbin:/usr/bin test -f $DAEMON || exit 0 . /lib/lsb/init-functions case $1 in start) cp /etc/fancontrol1 /etc/fancontrol log_begin_msg Starting fancontrol config 1... start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? sleep 1 if start-stop-daemon --stop -q -p $PIDFILE ; then log_success_msg redémarrage configuration ok1 start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? exit 0 else rm -f $PIDFILE fi cp /etc/fancontrol2 /etc/fancontrol log_begin_msg Starting fancontrol config 2... start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? sleep 1 if start-stop-daemon --stop -q -p $PIDFILE ; then log_success_msg redémarrage configuration ok2 start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? exit 0 else rm -f $PIDFILE fi cp /etc/fancontrol3 /etc/fancontrol log_begin_msg Starting fancontrol config 3... start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? sleep 1 if start-stop-daemon --stop -q -p $PIDFILE ; then log_success_msg redémarrage configuration ok3 start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? exit 0 else rm -f $PIDFILE fi cp /etc/fancontrol4 /etc/fancontrol log_begin_msg Starting fancontrol config 4... start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? sleep 1 if start-stop-daemon --stop -q -p $PIDFILE ; then log_success_msg redémarrage configuration ok4 start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? exit 0 else log_success_msg échec démarrage fancontrol rm -f $PIDFILE fi ;; stop) log_begin_msg Stopping fancontrol daemon... start-stop-daemon --stop -o -q -p $PIDFILE log_end_msg $? rm -f $PIDFILE ;; force-reload|restart) sh $0 stop sh $0 start ;; *) log_success_msg Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload} log_success_msg start - starts system-wide fancontrol service log_success_msg stop - stops system-wide fancontrol service log_success_msg restart, force-reload - starts a new system-wide fancontrol service exit 1 ;; esac exit 0 -- Fancontrol relies on the module load order https://bugs.launchpad.net/bugs/576602 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
here is an enhanced script (no need to stop daemon to be sure that it works) #!/bin/sh # # Fancontrol start script. # set -e # Defaults DAEMON=/usr/sbin/fancontrol PIDFILE=/var/run/fancontrol.pid PATH=/sbin:/bin:/usr/sbin:/usr/bin test -f $DAEMON || exit 0 . /lib/lsb/init-functions case $1 in start) cp /etc/fancontrol1 /etc/fancontrol log_begin_msg Starting fancontrol config 1... start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? sleep 1 if [ ! -f $PIDFILE ] then log_success_msg Erreur de configuration else log_success_msg Démarrage ok exit 0 fi cp /etc/fancontrol2 /etc/fancontrol log_begin_msg Starting fancontrol config 2... start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? sleep 1 if [ ! -f $PIDFILE ] then log_success_msg Erreur de configuration else log_success_msg Démarrage ok exit 0 fi cp /etc/fancontrol3 /etc/fancontrol log_begin_msg Starting fancontrol config 3... start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? sleep 1 if [ ! -f $PIDFILE ] then log_success_msg Erreur de configuration else log_success_msg Démarrage ok exit 0 fi cp /etc/fancontrol4 /etc/fancontrol log_begin_msg Starting fancontrol config 4... start-stop-daemon --start -b -p $PIDFILE -x $DAEMON log_end_msg $? sleep 1 if [ ! -f $PIDFILE ] then log_success_msg Erreur de configuration else log_success_msg Démarrage ok exit 0 fi ;; stop) log_begin_msg Stopping fancontrol daemon... start-stop-daemon --stop -o -q -p $PIDFILE log_end_msg $? rm -f $PIDFILE ;; force-reload|restart) sh $0 stop sh $0 start ;; *) log_success_msg Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload} log_success_msg start - starts system-wide fancontrol service log_success_msg stop - stops system-wide fancontrol service log_success_msg restart, force-reload - starts a new system-wide fancontrol service exit 1 ;; esac exit 0 -- Fancontrol relies on the module load order https://bugs.launchpad.net/bugs/576602 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Sorry for my english i'm french ^ i've done a starting script in init.d for fancontrol to handle the different configurations : First create fancontrol, fancontrol1, fancontrol2 configuration files for fancontrol with different configurations you can have (you can have only two or more than three conf files) then here is the script : * #!/bin/sh # # Fancontrol start script. # set -e # Defaults DAEMON=/usr/sbin/fancontrol PIDFILE=/var/run/fancontrol.pid PATH=/sbin:/bin:/usr/sbin:/usr/bin CONFIG1=/etc/fancontol CONFIG2=/etc/fancontol1 CONFIG3=/etc/fancontol2 test -f $DAEMON || exit 0 . /lib/lsb/init-functions case $1 in start) log_begin_msg Starting fancontrol config 1... start-stop-daemon --start -o -b -p $PIDFILE -x $DAEMON $CONFIG2 log_end_msg $? sleep 1 if start-stop-daemon --stop -q -p $PIDFILE ; then log_success_msg redémarrage configuration ok1 start-stop-daemon --start -o -b -p $PIDFILE -x $DAEMON $CONFIG2 log_end_msg $? exit 0 else rm -f $PIDFILE fi log_begin_msg Starting fancontrol config 2... start-stop-daemon --start -o -b -p $PIDFILE -x $DAEMON $CONFIG1 log_end_msg $? sleep 1 if start-stop-daemon --stop -q -p $PIDFILE ; then log_success_msg redémarrage configuration ok2 start-stop-daemon --start -o -b -p $PIDFILE -x $DAEMON $CONFIG1 log_end_msg $? exit 0 else rm -f $PIDFILE fi log_begin_msg Starting fancontrol config 3... start-stop-daemon --start -o -b -p $PIDFILE -x $DAEMON $CONFIG3 log_end_msg $? sleep 1 if start-stop-daemon --stop -q -p $PIDFILE ; then log_success_msg redémarrage configuration ok3 start-stop-daemon --start -o -b -p $PIDFILE -x $DAEMON $CONFIG3 log_end_msg $? exit 0 else rm -f $PIDFILE fi ;; stop) log_begin_msg Stopping fancontrol daemon... start-stop-daemon --stop -o -q -p $PIDFILE log_end_msg $? rm -f $PIDFILE ;; force-reload|restart) sh $0 stop sh $0 start ;; *) log_success_msg Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload} log_success_msg start - starts system-wide fancontrol service log_success_msg stop - stops system-wide fancontrol service log_success_msg restart, force-reload - starts a new system-wide fancontrol service exit 1 ;; esac exit 0 ** For now then fancontrol daemon always starts without fails Hope this could be useful for others With only one week of linux practice, i'm proud of this script ! ^^ -- Fancontrol relies on the module load order https://bugs.launchpad.net/bugs/576602 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Maverick Meerkat. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help. ** Changed in: lm-sensors-3 (Ubuntu) Status: New = Incomplete -- Fancontrol relies on the module load order https://bugs.launchpad.net/bugs/576602 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576602] Re: Fancontrol relies on the module load order
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/47955727/Dependencies.txt -- Fancontrol relies on the module load order https://bugs.launchpad.net/bugs/576602 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs