<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [NVCF] PWM fan speed too high"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80901#c47">Comment # 47</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [NVCF] PWM fan speed too high"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80901">bug 80901</a>
from <span class="vcard"><a class="email" href="mailto:pomidorabelisima@gmail.com" title="poma <pomidorabelisima@gmail.com>"> <span class="fn">poma</span></a>
</span></b>
<pre>(In reply to K.-P. Schrage from <a href="show_bug.cgi?id=80901#c46">comment #46</a>)
<span class="quote">> (In reply to poma from <a href="show_bug.cgi?id=80901#c45">comment #45</a>)
>
> > 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@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).</span >
No problemos. ;)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>