From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 80901] [NVCF] PWM fan speed too high Date: Fri, 13 Mar 2015 21:16:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0409392259==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0409392259== Content-Type: multipart/alternative; boundary="1426281369.5716BE3.16308"; charset="UTF-8" --1426281369.5716BE3.16308 Date: Fri, 13 Mar 2015 21:16:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=80901 --- Comment #45 from poma --- (In reply to K.-P. Schrage from comment #44) > Now my 10-...rules file in /etc/udev/rules.d/ looks like this: > RUN+="/bin/sh -c '/bin/echo 1 > > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pwm1_enable'", > RUN+="/usr/local/bin/nvapoke e118 80000002" > > During boot, it sounds as if it gets triggered several times > (noise-silence-noise-silence), but it ends up with a silent gpu fan when the > graphical desktop has started. > Startup logs are flooded with messages like: > > nvapoke:473 conflicting memory types e8000000-f0000000 > uncached-minus<->write-combining > reserve_memtype failed [mem 0xe8000000-0xefffffff], track uncached-minus, > req uncached-minus # rm /etc/udev/rules.d/10-gpu-fan.rules 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 -- You are receiving this mail because: You are the assignee for the bug. --1426281369.5716BE3.16308 Date: Fri, 13 Mar 2015 21:16:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 45 on bug 80901 from
(In reply to K.-P. Schrage from comment #44)

> Now my 10-...rules file in /etc/udev/rules.d/ looks like this:
> RUN+="/bin/sh -c '/bin/echo 1 >
> /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pwm1_enable'",
> RUN+="/usr/local/bin/nvapoke e118 80000002"
> 
> During boot, it sounds as if it gets triggered several times
> (noise-silence-noise-silence), but it ends up with a silent gpu fan when the
> graphical desktop has started.
> Startup logs are flooded with messages like:
> 
> nvapoke:473 conflicting memory types e8000000-f0000000
> uncached-minus<->write-combining
> reserve_memtype failed [mem 0xe8000000-0xefffffff], track uncached-minus,
> req uncached-minus


# rm /etc/udev/rules.d/10-gpu-fan.rules

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


You are receiving this mail because:
  • You are the assignee for the bug.
--1426281369.5716BE3.16308-- --===============0409392259== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0409392259==--