{"action":"created","issue":{"url":"https://api.github.com/repos/daringer/asus-fan/issues/40","repository_url":"https://api.github.com/repos/daringer/asus-fan","labels_url":"https://api.github.com/repos/daringer/asus-fan/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/daringer/asus-fan/issues/40/comments","events_url":"https://api.github.com/repos/daringer/asus-fan/issues/40/events","html_url":"https://github.com/daringer/asus-fan/issues/40","id":194122847,"number":40,"title":"fancontrol fails to read gfx_temp","user":{"login":"saultdon","id":1724441,"avatar_url":"https://avatars.githubusercontent.com/u/1724441?v=3","gravatar_id":"","url":"https://api.github.com/users/saultdon","html_url":"https://github.com/saultdon","followers_url":"https://api.github.com/users/saultdon/followers","following_url":"https://api.github.com/users/saultdon/following{/other_user}","gists_url":"https://api.github.com/users/saultdon/gists{/gist_id}","starred_url":"https://api.github.com/users/saultdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saultdon/subscriptions","organizations_url":"https://api.github.com/users/saultdon/orgs","repos_url":"https://api.github.com/users/saultdon/repos","events_url":"https://api.github.com/users/saultdon/events{/privacy}","received_events_url":"https://api.github.com/users/saultdon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-07T18:04:09Z","updated_at":"2016-12-09T21:33:03Z","closed_at":null,"body":"Fancontrol is failing to start because it can't read the value for gfx_temp even though the asus_fan module is loaded and fresh links created with the asus-fan-create-symlinks.sh script.\r\n\r\n```\r\n● fancontrol.service - Start fan control, if configured\r\n   Loaded: loaded (/usr/lib/systemd/system/fancontrol.service; enabled; vendor preset: disabled)\r\n   Active: failed (Result: exit-code) since Wed 2016-12-07 10:53:56 MST; 4s ago\r\n  Process: 1025 ExecStart=/usr/sbin/fancontrol (code=exited, status=1/FAILURE)\r\n Main PID: 1025 (code=exited, status=1/FAILURE)\r\n\r\nDec 07 10:53:56 archasus fancontrol[1025]:   MINPWM=90\r\nDec 07 10:53:56 archasus fancontrol[1025]:   MAXPWM=255\r\nDec 07 10:53:56 archasus fancontrol[1025]: Enabling PWM on fans...\r\nDec 07 10:53:56 archasus fancontrol[1025]: Starting automatic fan control...\r\nDec 07 10:53:56 archasus fancontrol[1025]: Error reading temperature from ///tmp/asus-fan-shm/gfx_temp\r\nDec 07 10:53:56 archasus fancontrol[1025]: Aborting, restoring fans...\r\nDec 07 10:53:56 archasus fancontrol[1025]: Verify fans have returned to full speed\r\nDec 07 10:53:56 archasus systemd[1]: fancontrol.service: Main process exited, code=exited, status=1/FAILURE\r\nDec 07 10:53:56 archasus systemd[1]: fancontrol.service: Unit entered failed state.\r\nDec 07 10:53:56 archasus systemd[1]: fancontrol.service: Failed with result 'exit-code'.\r\n```\r\n\r\ngfx_temp has a value, that looks like it should work...:\r\n\r\n```\r\n% cat /tmp/asus-fan-shm/gfx_temp\r\n36000%\r\n```\r\n\r\nAnd sensors at first glance has a readable output showing the asus_fan module has loaded correctly, but after a minute or two and checking sensors again the GFX Fa value shows -1 RPM!:\r\n```\r\n% sensors\r\nasus_fan-isa-0000\r\nAdapter: ISA adapter\r\nCPU Fa:      2005 RPM  (min =   10 RPM)\r\nGFX Fa:        -1 RPM  (min =   10 RPM)\r\ngfx_tem:      +39.0°C  (crit =  +0.1°C)\r\n```\r\n\r\nThis is on Arch Linux kernel 4.8.12\r\n\r\nTried reloading the asus_fan module with modprobe and then recreating the links with asus-fan-create-symlinks.sh but that results in the same behaviour as above."},"comment":{"url":"https://api.github.com/repos/daringer/asus-fan/issues/comments/266129365","html_url":"https://github.com/daringer/asus-fan/issues/40#issuecomment-266129365","issue_url":"https://api.github.com/repos/daringer/asus-fan/issues/40","id":266129365,"user":{"login":"saultdon","id":1724441,"avatar_url":"https://avatars.githubusercontent.com/u/1724441?v=3","gravatar_id":"","url":"https://api.github.com/users/saultdon","html_url":"https://github.com/saultdon","followers_url":"https://api.github.com/users/saultdon/followers","following_url":"https://api.github.com/users/saultdon/following{/other_user}","gists_url":"https://api.github.com/users/saultdon/gists{/gist_id}","starred_url":"https://api.github.com/users/saultdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saultdon/subscriptions","organizations_url":"https://api.github.com/users/saultdon/orgs","repos_url":"https://api.github.com/users/saultdon/repos","events_url":"https://api.github.com/users/saultdon/events{/privacy}","received_events_url":"https://api.github.com/users/saultdon/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T21:33:03Z","updated_at":"2016-12-09T21:33:03Z","body":"Looks like maybe it has something to do with the % symbol seen in the output of cat.\r\n\r\nThe other temp links don't have it:\r\n\r\n```\r\n% cat /tmp/asus-fan-shm/gfx_temp\r\n37000%                                                                                                                                                          % cat /tmp/asus-fan-shm/core1_temp\r\n32000\r\n% cat /tmp/asus-fan-shm/core2_temp\r\n33000\r\n% cat /tmp/asus-fan-shm/die_temp\r\n39000\r\n% cat /tmp/asus-fan-shm/tz1_temp\r\n38000\r\n% cat /tmp/asus-fan-shm/tz2_temp\r\n38000\r\n```"}}
{"actor":{"display_login":"saultdon"}}