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: Sat, 14 Mar 2015 12:05:13 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1377204713=="
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
--===============1377204713==
Content-Type: multipart/alternative; boundary="1426334713.C74C33E3.25157"; charset="UTF-8"
--1426334713.C74C33E3.25157
Date: Sat, 14 Mar 2015 12:05:13 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D80901
--- Comment #47 from poma ---
(In reply to K.-P. Schrage from comment #46)
> (In reply to poma from comment #45)
>=20
> > And try this:
> > /etc/systemd/system/gpu-fan.service=20
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > [Unit]
> > Description=3DGPU fan lower speed
> >=20
> > [Service]
> > Type=3Doneshot
> > ExecStart=3D/bin/sh -c '/bin/echo 1 >
> > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pwm1_ena=
ble'
> > ExecStart=3D/usr/local/bin/nvapoke e118 80000002
> > StandardOutput=3Dnull
> > StandardError=3Dnull
> >=20
> > [Install]
> > WantedBy=3Dbasic.target
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >=20
> > # systemctl enable gpu-fan.service
> > # systemctl start gpu-fan.service
> > # systemctl status gpu-fan.service
> >=20
> > If everything is OK:
> > # systemctl reboot
> > ...
> >=20
> > BOOT
> > ...
> > # systemctl status gpu-fan.service
>=20
> After reboot:
> [root@linux_keller kp]# systemctl status gpu-fan.service
> =E2=97=8F 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=3D/usr/local/bin/nvapoke e118 80000002 (code=3De=
xited,
> status=3D0/SUCCESS)
> Process: 672 ExecStart=3D/bin/sh -c /bin/echo 1 >
> /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pwm1_enable
> (code=3Dexited, status=3D0/SUCCESS)
> Main PID: 683 (code=3Dexited, status=3D0/SUCCESS)
>=20
> M=C3=A4r 14 11:40:03 linux_keller systemd[1]: Starting GPU fan lower spee=
d...
> M=C3=A4r 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.
>=20
> 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. ;)
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1426334713.C74C33E3.25157
Date: Sat, 14 Mar 2015 12:05:13 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Commen=
t # 47
on bug 80901<=
/a>
from poma
(In reply to K.-P. Schrage from comment #46)
> (In reply to poma from comment #45)
>=20
> > And try this:
> > /etc/systemd/system/gpu-fan.service=20
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > [Unit]
> > Description=3DGPU fan lower speed
> >=20
> > [Service]
> > Type=3Doneshot
> > ExecStart=3D/bin/sh -c '/bin/echo 1 >
> > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pw=
m1_enable'
> > ExecStart=3D/usr/local/bin/nvapoke e118 80000002
> > StandardOutput=3Dnull
> > StandardError=3Dnull
> >=20
> > [Install]
> > WantedBy=3Dbasic.target
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >=20
> > # systemctl enable gpu-fan.service
> > # systemctl start gpu-fan.service
> > # systemctl status gpu-fan.service
> >=20
> > If everything is OK:
> > # systemctl reboot
> > ...
> >=20
> > BOOT
> > ...
> > # systemctl status gpu-fan.service
>=20
> After reboot:
> [root@linux_keller kp]# systemctl status gpu-fan.service
> =E2=97=8F 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=3D/usr/local/bin/nvapoke e118 80000002 (code=
=3Dexited,
> status=3D0/SUCCESS)
> Process: 672 ExecStart=3D/bin/sh -c /bin/echo 1 >
> /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon1/pwm1_en=
able
> (code=3Dexited, status=3D0/SUCCESS)
> Main PID: 683 (code=3Dexited, status=3D0/SUCCESS)
>=20
> M=C3=A4r 14 11:40:03 linux_keller systemd[1]: Starting GPU fan lower s=
peed...
> M=C3=A4r 14 11:40:03 linux_keller systemd[1]: Started GPU fan lower sp=
eed.
> ---------------
> BUT: Fan speed is high, register e118 shows value 000000d8, not 000000=
02, as
> expected. I have to restart the service manually to calm down the fan.
>=20
> Let me be honest, poma: I am very grateful for all your help, but I th=
ink
> 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 a=
nd not
> so old-school anymore).
No problemos. ;)
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1426334713.C74C33E3.25157--
--===============1377204713==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy
ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK
--===============1377204713==--