Bugzilla – Bug 956
interface won't load with rf_switch OFF
Last modified: 2006-04-06 04:48:28
You need to log in before you can comment on or make changes to this bug.
Turned OFF the Radio with the "Hardware" button abonilla@ubuntu:~$ sudo modprobe ipw3945 abonilla@ubuntu:~$ sudo ipw3945d ipw3945d - regulatory daemon Copyright (C) 2005-2006 Intel Corporation. All rights reserved. version: 0.7.16 Intel PRO/Wireless 3945ABG Network Connection found at: /sys/bus/pci/drivers/ipw3945/0000:02:00.0 Daemon launched as pid 10645. Exiting. abonilla@ubuntu:~$ iwconfig lo no wireless extensions. eth0 no wireless extensions. sit0 no wireless extensions. abonilla@ubuntu:~$ sudo modprobe -r ipw3945 FATAL: Module ipw3945 is in use. abonilla@ubuntu:~$ sudo ipw3945d --kill Turned ON the Radio with the "Hardware" button abonilla@ubuntu:~$ sudo modprobe -r ipw3945 abonilla@ubuntu:~$ sudo modprobe ipw3945 abonilla@ubuntu:~$ sudo ipw3945d ipw3945d - regulatory daemon Copyright (C) 2005-2006 Intel Corporation. All rights reserved. version: 0.7.16 Intel PRO/Wireless 3945ABG Network Connection found at: /sys/bus/pci/drivers/ipw3945/0000:02:00.0 Daemon launched as pid 10697. Exiting. abonilla@ubuntu:~$ iwconfig lo no wireless extensions. eth0 no wireless extensions. sit0 no wireless extensions. eth1 unassociated ESSID:off/any Mode:Managed Channel=0 Access Point: Not-Associated Bit Rate=0 kb/s Tx-Power:16 dBm Retry limit:15 RTS thr:off Fragment thr:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 abonilla@ubuntu:~$
It does notice the change on the rf_kill but it won't initially load if the rf_kill is off. abonilla@ubuntu:~$ sudo cat /sys/bus/pci/drivers/ipw3945/0000\:02\:00.0/rf_kill Password: 0 abonilla@ubuntu:~$ sudo cat /sys/bus/pci/drivers/ipw3945/0000\:02\:00.0/rf_kill 2 abonilla@ubuntu:~$ sudo cat /sys/bus/pci/drivers/ipw3945/0000\:02\:00.0/rf_kill 0
It looks like the problem resides on: Line 1045 if (priv->status & STATUS_RF_KILL_HW) { if ((cmd->meta.flags & CMD_WANT_SKB) && cmd->meta.u.skb) { dev_kfree_skb_any(cmd->meta.u.skb); cmd->meta.u.skb = NULL; } IPW_DEBUG_INFO("Command %s aborted: RF KILL Switch\n", get_cmd_string(cmd->id)); return -ECANCELED;
Created an attachment (id=719) [details] fix rfkill please apply against 0.70. the problem is in ipw_bg_rf_kill it wan not calling ipw_down
ipw_bg_rf_kill has problem that was fixed on the attached patch, it wan not calling ipw_down.
Created an attachment (id=720) [details] this is the right patch for rfkill this is the right fix for 956. please apply against 0.70
Thanks for the patch. But, it does not solve the problem. Please let me know if you find anything else.
Created an attachment (id=724) [details] Modified load to allow RF kill trigger to be received. Please try the attached patch against 0.0.70.
Patch merged for 0.0.71. Marking as Fixed.
verify on 0.0.71