https://bugzilla.kernel.org/show_bug.cgi?id=201539
--- Comment #52 from muncrief (rmuncrief@humanavance.com) --- (In reply to MasterCATZ from comment #51)
current temp: 61000 interpolated pwm value for temperature 61000 is: 170 current pwm: 165, requested to set pwm to 170 current pwm: 165, requested to set pwm to 170 temp at last change was 61000 changing pwm to 170
current temp: 71000 current pwm: 255, requested to set pwm to 255 current pwm: 255, requested to set pwm to 255 not changing pwm, we just did at 71000, next change when below 66000
current temp: 73000 current pwm: 68, requested to set pwm to 255 current pwm: 68, requested to set pwm to 255 Fanmode not set to manual. setting fan mode to 1 temp at last change was 73000 changing pwm to 255 /usr/local/bin/amdgpu-fancontrol: line 65: echo: write error: Invalid argument
current temp: 87000 current pwm: 124, requested to set pwm to 255 current pwm: 124, requested to set pwm to 255 Fanmode not set to manual. setting fan mode to 1 temp at last change was 87000 changing pwm to 255 /usr/local/bin/amdgpu-fancontrol: line 65: echo: write error: Invalid argument
Well, that's certainly quite bizarre. I wish I could think of something else but I'm stumped. I've never experienced that problem on my system, and I don't know why yours isn't allowing the write. Is it possible there was some error in copying the script? It seems unlikely but that's all I can come up with at this point. If you have somewhere I can send my actual script and service files I'd be happy to send them to you. Otherwise I'm just out of ideas.