Start parameters for rt2x00 module
I have following question, what parameters are allowed for rt2x00 module?
I ask, because I would like to force it to use rfkill. In my laptop I have radio on/off button, but when driver loaded it is not detected by the system.
There are no module parameters for rt2x00.
Are you sure the laptop key is tied to your rt2x00 card? So do you have a special key which is not tied to your regular keyboard that controls the wireless radio?
Yes, some time ago I observed its state in memory dumps of network card in sys files, it is matching the address set in source files (now I don't remember its address). Anyway pressing of the button toggle state of the rfkill bit.
At this moment I cannot check it, because I am connected using ndiswrapper, the connection quality is not so good, and rt2x00 driver don't detect access points.
But if you want some more information, please let me know, I wiil switch to rt2x00 to make test.
Then I am not sure what the problem is, what do you mean with "rfkill is not detected" as in pressing the button causes nothing to happen, or the rfkill structure is not created?
And with what version are you testing this? Latest rt2x00.git no longer creates the input device, so if you are missing that, then that is correct.
I am using the version from kernel 2.6.25.
With the "rfkill is not detected" I mean that the rfkill structures are not created. So therefore I asked if there is possibility to force the driver to use of rfkill.
There is dump file of registers.
Thanks, but you _did_ compile rt2x00.git with RFKILL support enabled for rt2x00 right?
Yes I have compiled it with rfkill support, of course.