• 0
x01015918

How to change module parameter?

Question

Hi,

 

I was trying to test couple module parameters for i915 but they are not picked up if set in the grub.cfg as extra_args.

I could do it this way but it's not persistent after reboot

cd /lib/modules
rmmod i915
insmod i915.ko modeset=1

Can anyone help me with a permanent solution?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
2 minutes ago, Olegin said:

May be this /sys/module/i915/parameters will help you. I did it @TeleDDim

that is the point changing  /sys/module/i915/parameters is not working by grub args, and the insmod i915.ko modeset=1 works only until reboot.

 

this one also is not working

root@DS918:/lib/modules# echo "1" > /sys/module/i915/parameters/modeset
-ash: /sys/module/i915/parameters/modeset: Permission denied

 

Share this post


Link to post
Share on other sites
  • 0
6 минут назад, x01015918 сказал:

this one also is not working

Did you try to edit files in mc or nano?

  • Thanks 1

Share this post


Link to post
Share on other sites
  • 0
1 minute ago, Olegin said:

Did you try to edit files in mc or nano? 

no, I will tnks

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.