Comment 64 for bug 193970

Revision history for this message
Matt Zimmerman (mdz) wrote :

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.