OS 13.1 - Driver "nouveau" - Unable to command fan speed - Nvidia 6800 GS

Hello.
I try to control fan speed via nouveau driver.

find /sys -name pwm1_enable return :
/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/hwmon/hwmon0/pwm1_enable

readlink /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/driver return :
../../../../bus/pci/drivers/nouveau

Data from /sys/class/hwmon/hwmon0 show :

./name        : nouveau
./pwm1        : 100
./pwm1_enable    : 0
./pwm1_max    : 100
./pwm1_min    : 0
./uevent        :
./update_rate    : 1000

Following this paragraph “Fan Control” from https://wiki.archlinux.org/index.php/Nouveau I try to set pwm1_enable parameter to 1 (manual settings); and then set fan speed to 30% by issuing the following command :

echo 30 > /sys/class/hwmon/hwmon0/pwm1

but get the following error

bash: echo: write error: Operation not permitted

Any help is welcome.

since you did not provide the full line it is not possible to know if you did the command as user or root???

Those command really works for you?

Please always post complete: prompt, command, output, next prompt. I little larger move with the mouse and such much more information for those who try to help you.

Sorry yes I did ( by typing the command in konsole in super user mode)

linux-rgbr:~ # find /sys -name pwm1_enable
/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/hwmon/hwmon0/pwm1_enable
linux-rgbr:~ # readlink /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/driver
../../../../bus/pci/drivers/nouveau
linux-rgbr:~ # echo 30 > /sys/class/hwmon/hwmon0/pwm1
-bash: echo: write error: Operation not permitted
linux-rgbr:~ # 

I don’t n know
.
But should : Following this paragraph “Fan Control” from Nouveau - ArchWiki

It might sound stupid. but the first thing I always do in such a case is checking the permissions:

ls -ls /sys/class/hwmon/hwmon0/pwm1

linux-rgbr:~ # ls -ls /sys/class/hwmon/hwmon0/pwm1
0 -rw-r–r-- 1 root root 4096 Oct 10 18:51 /sys/class/hwmon/hwmon0/pwm1
linux-rgbr:~ # ls -ls /sys/class/hwmon/hwmon0/pwm1_enable
0 -rw-r–r-- 1 root root 4096 Oct 10 18:14 /sys/class/hwmon/hwmon0/pwm1_enable
linux-rgbr:~ #

Looks as if root has w access, but I do not know what the 0 type is???

BTW, where are your CODE tags :wink:

Here is journalctl ( nouveau part only )
http://paste.opensuse.org/56660361

and Xorg.0.log
http://paste.opensuse.org/52529502

/etc/X11/xorg.conf.d is not in use for graphic conf.
/etc/X11/xorg.conf : http://paste.opensuse.org/26692869

If that could help.

I am surprised that it is possible on ArchLinux and not on opensuse.
Any help is welcome

run “uname -r” on your Arch install, then read the kernel commits that occurred, for the nouveau DRM, between the 3.11 openSUSE kernel and that arch kernel you’re running, and i imagine you’ll find the answer :wink:

I am not running Arch linux. As said in the title, I am running opensuse 13.1.

So my question is still : Why I am unable to command fan speed with opensuse “nouveau” driver.

By the way :

uname -r
3.11.10-21-desktop

and

rpm -qa | grep nouveau
libdrm_nouveau2-32bit-2.4.46-3.2.2.x86_64
libdrm_nouveau2-2.4.46-3.2.2.x86_64
xorg-x11-driver-video-nouveau-1.0.9-3.1.2.x86_64