https://bugs.freedesktop.org/show_bug.cgi?id=80901
--- Comment #47 from poma <[email protected]> --- (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@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.
_______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
