You are not logged in.

#1 2012-12-17 17:06:18

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[solved] Cannot write to pcie_aspm - Operation not permitted

Hello,

I would like to use some powersaving settings:

[orschiro@thinkpad ~]$ cat /sys/module/pcie_aspm/parameters/policy
[default] performance powersave 

However, I cannot write the powersave setting:

[root@thinkpad orschiro]# echo powersave > /sys/module/pcie_aspm/parameters/policy
bash: echo: write error: Operation not permitted

Could somebody explain me why even root is not permitted to write to that file?

Regards

Last edited by orschiro (2012-12-17 20:33:00)

Offline

#2 2012-12-17 17:23:56

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] Cannot write to pcie_aspm - Operation not permitted

I think because this is something that is set on boot... I could be totally wrong though.  I noticed this as well.  I think though that unless it tells you that it is set to powersave, there is no need to worry, as I think that default is equivalent to powersave.

Offline

#3 2012-12-17 18:20:41

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] Cannot write to pcie_aspm - Operation not permitted

I just found the solution. To be able to write to this file you have to use pcie_aspm=force as boot parameter.

Offline

Board footer

Powered by FluxBB