Confirmed:
perseus:[/sys/class/rfkill] # enable the kill switch perseus:[/sys/class/rfkill] sudo rmmod iwlagn perseus:[/sys/class/rfkill] cat */state 2 2 perseus:[/sys/class/rfkill] sudo modprobe iwlagn perseus:[/sys/class/rfkill] cat */state 2 2 1 perseus:[/sys/class/rfkill] # wait a few seconds perseus:[/sys/class/rfkill] cat */state 2 2 2 perseus:[/sys/class/rfkill] # disable the kill switch perseus:[/sys/class/rfkill] cat */state 1 1 2 perseus:[/sys/class/rfkill] # enable the kill switch perseus:[/sys/class/rfkill] cat */state 2 2 2 perseus:[/sys/class/rfkill] # disable the kill switch perseus:[/sys/class/rfkill] cat */state 1 1 2 perseus:[/sys/class/rfkill] # enable the kill switch perseus:[/sys/class/rfkill] cat */state 2 2 2
If the state is '2' when the module is loaded, it never changes. If the state is '1' when the module is loaded, it works properly.
Confirmed:
perseus: [/sys/class/ rfkill] # enable the kill switch [/sys/class/ rfkill] sudo rmmod iwlagn [/sys/class/ rfkill] cat */state [/sys/class/ rfkill] sudo modprobe iwlagn [/sys/class/ rfkill] cat */state [/sys/class/ rfkill] # wait a few seconds [/sys/class/ rfkill] cat */state [/sys/class/ rfkill] # disable the kill switch [/sys/class/ rfkill] cat */state [/sys/class/ rfkill] # enable the kill switch [/sys/class/ rfkill] cat */state [/sys/class/ rfkill] # disable the kill switch [/sys/class/ rfkill] cat */state [/sys/class/ rfkill] # enable the kill switch [/sys/class/ rfkill] cat */state
perseus:
perseus:
2
2
perseus:
perseus:
2
2
1
perseus:
perseus:
2
2
2
perseus:
perseus:
1
1
2
perseus:
perseus:
2
2
2
perseus:
perseus:
1
1
2
perseus:
perseus:
2
2
2
If the state is '2' when the module is loaded, it never changes. If the state is '1' when the module is loaded, it works properly.