[Nouveau] [Bug 80901] [NVCF] PWM fan speed too high

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 14 05:05:13 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=80901

--- Comment #47 from poma <pomidorabelisima at gmail.com> ---
(In reply to K.-P. Schrage from comment #46)
> (In reply to poma from comment #45)
> 
> > And try this:
> > /etc/systemd/system/gpu-fan.service 
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > [Unit]
> > Description=GPU fan lower speed
> > 
> > [Service]
> > Type=oneshot
> > ExecStart=/bin/sh -c '/bin/echo 1 >
> > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pwm1_enable'
> > ExecStart=/usr/local/bin/nvapoke e118 80000002
> > StandardOutput=null
> > StandardError=null
> > 
> > [Install]
> > WantedBy=basic.target
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > 
> > # systemctl enable gpu-fan.service
> > # systemctl start gpu-fan.service
> > # systemctl status gpu-fan.service
> > 
> > If everything is OK:
> > # systemctl reboot
> > ...
> > 
> > BOOT
> > ...
> > # systemctl status gpu-fan.service
> 
> After reboot:
> [root at linux_keller kp]# systemctl status gpu-fan.service
> ● gpu-fan.service - GPU fan lower speed
>    Loaded: loaded (/etc/systemd/system/gpu-fan.service; enabled)
>    Active: inactive (dead) since Sa 2015-03-14 11:40:03 CET; 33s ago
>   Process: 683 ExecStart=/usr/local/bin/nvapoke e118 80000002 (code=exited,
> status=0/SUCCESS)
>   Process: 672 ExecStart=/bin/sh -c /bin/echo 1 >
> /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pwm1_enable
> (code=exited, status=0/SUCCESS)
>  Main PID: 683 (code=exited, status=0/SUCCESS)
> 
> Mär 14 11:40:03 linux_keller systemd[1]: Starting GPU fan lower speed...
> Mär 14 11:40:03 linux_keller systemd[1]: Started GPU fan lower speed.
> ---------------
> BUT: Fan speed is high, register e118 shows value 000000d8, not 00000002, as
> expected. I have to restart the service manually to calm down the fan.
> 
> Let me be honest, poma: I am very grateful for all your help, but I think
> I'll stick to the old-school method rc.local which seems to be rather
> straightforward to me (although even that is now governed by systemd and not
> so old-school anymore).


No problemos. ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20150314/af4a75bd/attachment.html>


More information about the Nouveau mailing list