Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516698 - sys-apps/lm_sensors - /usr/sbin/pwmconfig: line 926: [: -eq: unary operator expected
Summary: sys-apps/lm_sensors - /usr/sbin/pwmconfig: line 926: [: -eq: unary operator e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-08 14:27 UTC by Dimitrios Semitsoglou-Tsiapos
Modified: 2016-09-20 17:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of pwmconfig with -x set (pwmconfig.out,28.19 KB, text/plain)
2014-07-08 14:29 UTC, Dimitrios Semitsoglou-Tsiapos
Details
Configuration file resulting from pwmconfig (fancontrol.conf,406 bytes, text/plain)
2014-07-08 14:32 UTC, Dimitrios Semitsoglou-Tsiapos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitrios Semitsoglou-Tsiapos 2014-07-08 14:27:47 UTC
After setting the low and high temperatures the following errors are printed:
/usr/sbin/pwmconfig: line 926: [: -eq: unary operator expected
/usr/sbin/pwmconfig: line 952: [: -eq: unary operator expected


Reproducible: Sometimes

Steps to Reproduce:
1. run pwmconfig
2. set custom higher and lower temperatures for one of your sensors



Motherboard: MSI MS-7592
ISA Adapters: f71889fg-isa-0a00, coretemp-isa-0000
Comment 1 Dimitrios Semitsoglou-Tsiapos 2014-07-08 14:29:17 UTC
Created attachment 380438 [details]
Output of pwmconfig with -x set

Try sed '/^+/d' for cleaner output.
Comment 2 Dimitrios Semitsoglou-Tsiapos 2014-07-08 14:32:34 UTC
Created attachment 380440 [details]
Configuration file resulting from pwmconfig
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2016-09-16 12:53:20 UTC
I think this was addresses upstream. Please re-test with latest =sys-apps/lm_sensors-3.4.0_p20160725.
Comment 4 Dimitrios Semitsoglou-Tsiapos 2016-09-20 10:06:31 UTC
Thank you Thomas, it appears that this is indeed resolved with =sys-apps/lm_sensors-3.4.0_p20160725
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2016-09-20 17:58:34 UTC
Thank you for testing. Closing as "Fixed".