/sys and even more /proc are two folders to really avoid. They are a bit special and may show some strange behaviour
(like when you open a file you see in the folder you may be told there is no such file if you use a GUI editor or that you can't delete files and more ...) Don't play around here unless you are a real "super geek"
This is why you did not have enough permissions
You should also take some time to check how old an article is - this is talking about kernel 2.6.12 and then we are back in June 2005 and at the bottom of the page you find "Last modified: 16.02.06 by GlaDiaC"
I don't use tips that old!
You have to go for /etc/modprobe.d/options and add the settings in a line there
Here's some interesting info on using that file (the example is for a webcam)
In order to see what options are available just type:
In the case of my webcam, this showed me about 25 options ranging from control of the LED to the autogain and backlighting controls and so forth. Very useful to say the least.
As root, edit the file “/etc/modprobe.d/options” and add a line like this:
options MODULE OPT1=x OPT2=x
where MODULE is the module name, and OPT1, OPT2 and so on, are the names of the options you got when running modinfo. So a real world example would be like “options ov51x_jpeg led=1 autogain=0 backlight=1″
This of course means that you have to know the name of the module, and for my USB mouse it is psmouse
Among the parameters (shown as parm: ) is rate (Report rate, in reports per second. (uint) ) but not poll
So I'd guess that you want to add something like
- Code: Select all
options psmouse rate=1000
And sorry i don't know how to make it "on the fly"