FS#20399 - [xfce4-sensors-plugin] loses config
Attached to Project:
Arch Linux
Opened by Vitaliy Berdinskikh (UR6LAD) - Saturday, 07 August 2010, 10:10 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 29 January 2011, 12:27 GMT
Opened by Vitaliy Berdinskikh (UR6LAD) - Saturday, 07 August 2010, 10:10 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 29 January 2011, 12:27 GMT
|
Details
Description:
xfce4-sensors-plugin loses the config after reboot. Additional info: * package version(s) 1.0.0-2 * config and/or log files etc. === start of .config/xfce4/panel/panels.xml === <panels> <panel> ... <items> <item name="xfce4-menu" id="12797834031"/> ... <item name="xfce4-sensors-plugin" id="12811259970"/> ... </items> ... ==== end of .config/xfce4/panel/panels.xml ==== The .config/xfce4/panel/xfce4-sensors-plugin-12811259970.rc is attached. Steps to reproduce: I config xfce4-sensors-plugin to use the "Core0 Temp" and "CPU FAN Speed" sensors. If I reboot or shurdown my computer then plugin doesn't have any sensors. If I config xfce4-sensors-plugin then logout then login (without reboot or shutdown) plugin works fine. |
This task depends upon
drwx------ 2 *** users 1048 Авг 9 22:34 .config/xfce4/panel/
$ ls .config/xfce4/panel/xfce4-sensors-plugin-12811259970.rc -ld
-rw-r--r-- 1 *** users 663 Авг 9 22:34 .config/xfce4/panel/xfce4-sensors-plugin-12811259970.rc
I think xfce4-sensors-plugin loses a config because sources change their order. I have 4 source: acpitz-0, k8temp-c3, atk0110-0, ACPI. But in the previous session their order was atk0110-0, acpitz-0, k8temp-c3, ACPI. And when I login this evening the plugin loses a config again.
It seems it works now.
This is upstream's comment about that:
"OK, thx for the detailed diff. In fact, this behaviour was intended because I
rather assumed to have new chips with other or new features (i.e. names)
because of other module drivers or new hardware. And in this case you rather
would not want to reuse the previous settings. For this purpose, the concept of
chip numbers was introduced.
By specifying the order in which modules load, you will be able to bypass this
problem, i.e. first load acpi and then lm-sensors-whatever module.
I will therefore close this bug as invalid at first; feel free to reopen it if
you have any strong arguments why I should neglect the order in which chips are
found.
Please also report to archlinux and indicate the workaround with the order in
which modules load, thanks."
I look at my rc.conf:
DAEMONS=(syslog-ng !acpid network netfs hal @fam @crond @alsa @atd @sensors @sensord @gpm...)
hal starts acpid before sensors will start.
And there is no index parameter in the modules k8temp and it87 which are affected modules in my case. So I can't set the load order in /etc/modprobe.d/modprobe.conf.
But I reopened the upstream bug and explained this problem.
This is the content of this file besides some comments:
HWMON_MODULES="k8temp it87"
MODULE_0=k8temp
MODULE_1=it87
If this has an effect on the order in which these modules are loaded then they should always be loaded in a fixed order. In this case the order in which the modules are loaded can't be the reason for this bug.