From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 80901] [NVCF] PWM fan speed too high
Date: Fri, 13 Mar 2015 16:05:11 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1616523703=="
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
--===============1616523703==
Content-Type: multipart/alternative; boundary="1426262711.BA7cd3.27449"; charset="UTF-8"
--1426262711.BA7cd3.27449
Date: Fri, 13 Mar 2015 16:05:11 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=80901
--- Comment #43 from poma ---
(In reply to K.-P. Schrage from comment #42)
> (In reply to poma from comment #40)
>
> > /etc/udev/rules.d/10-unladen-swallow.rules
> > ACTION=="add", ATTRS{vendor}=="0x1234", ATTRS{device}=="0xabcd",
> > 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"
>
> Thanks, Poma, this rule (all in one line, with my appropriate device and
> vendor id's) seems to work correctly, but it only reduces fan speed for a
> second or so during the boot process, then speed is up again, and the value
> that nvapoke writes is overwritten (800000d8 instead of 80000002).
> Perhaps this rule comes up too early, but changing the prefix number from 10
> to e. g. 99 doesn't help.
Exactly, these are oneliners.
There is no the GPU fan here, so I tested the CPU fan, and this is how it
works:
/etc/udev/rules.d/10-cpu-fan-manual-mode.rules
RUN+="/bin/sh -c '/bin/echo 1 > /sys/devices/platform/it87.656/pwm1_enable'"
Therefore remove ACTION & ATTRS part, so it runs unconditionally.
Before you reboot, check with:
# udevadm trigger
--
You are receiving this mail because:
You are the assignee for the bug.
--1426262711.BA7cd3.27449
Date: Fri, 13 Mar 2015 16:05:11 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 43
on bug 80901
from poma
(In reply to K.-P. Schrage from comment #42)
> (In reply to poma from comment #40)
>
> > /etc/udev/rules.d/10-unladen-swallow.rules
> > ACTION=="add", ATTRS{vendor}=="0x1234", ATTRS{device}=="0xabcd",
> > 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"
>
> Thanks, Poma, this rule (all in one line, with my appropriate device and
> vendor id's) seems to work correctly, but it only reduces fan speed for a
> second or so during the boot process, then speed is up again, and the value
> that nvapoke writes is overwritten (800000d8 instead of 80000002).
> Perhaps this rule comes up too early, but changing the prefix number from 10
> to e. g. 99 doesn't help.
Exactly, these are oneliners.
There is no the GPU fan here, so I tested the CPU fan, and this is how it
works:
/etc/udev/rules.d/10-cpu-fan-manual-mode.rules
RUN+="/bin/sh -c '/bin/echo 1 > /sys/devices/platform/it87.656/pwm1_enable'"
Therefore remove ACTION & ATTRS part, so it runs unconditionally.
Before you reboot, check with:
# udevadm trigger
You are receiving this mail because:
- You are the assignee for the bug.
--1426262711.BA7cd3.27449--
--===============1616523703==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy
ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK
--===============1616523703==--