From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 80901] [NVCF] PWM fan speed too high Date: Wed, 11 Mar 2015 15:59:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1914918032==" 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 --===============1914918032== Content-Type: multipart/alternative; boundary="1426089581.c62364D3.23961"; charset="UTF-8" --1426089581.c62364D3.23961 Date: Wed, 11 Mar 2015 15:59:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=80901 --- Comment #40 from poma --- (In reply to K.-P. Schrage from comment #38) ... > 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). > $ 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" -- You are receiving this mail because: You are the assignee for the bug. --1426089581.c62364D3.23961 Date: Wed, 11 Mar 2015 15:59:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 40 on bug 80901 from
(In reply to K.-P. Schrage from comment #38)
...
> 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).
> 

$ 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"


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