<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#c40">Comment # 40</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#c38">comment #38</a>)
...
<span class="quote">> I put the two lines
> echo 1 >
> /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pwm1_enable
> /usr/local/bin/nvapoke e118 80000002
> into /etc/rc.d/rc.local (don't know any other way to make this workaround
> permanent).
> </span >
$ udevadm info -a -p /sys/class/drm/card0 | grep -m2
'ATTRS{device}\|ATTRS{vendor}'
ATTRS{device}=="0xabcd"
ATTRS{vendor}=="0x1234"
/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"</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>