Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Intel 3945ABG not working: RF-kill hard block
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
s0ltys
n00b
n00b


Joined: 25 Mar 2009
Posts: 23

PostPosted: Wed Feb 26, 2014 7:00 pm    Post subject: [SOLVED] Intel 3945ABG not working: RF-kill hard block Reply with quote

Hi guys.

Recently I've got an HP Compaq 6720s on which I've installed gentoo. Everything works fine, except wifi, which I can't get working.

I've followed https://wiki.gentoo.org/wiki/Wifi, compiled my kernel with needed drivers and installed sys-kernel/linux-firmware

The wifi card seems to be rf-kill hard-blocked:
rfkill list all
Code:
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: yes


rfkill unblock all has no effect.

ifconfig wlan0 up gives me this:
Code:
SIOCSIFFLAGS: Operation not possible due to RF-kill


The wifi card is an Intel PRO/Wireless 3945GBA

The laptop have wifi on-off button (SPST momentary), which on linux seems to do nothing.

Info about my system:

lspci: http://bpaste.net/raw/183016/
lspci -vv: http://bpaste.net/raw/183022/

uname -a:
Code:
Linux Ghostwheel 3.10.25-gentoo #8 SMP Wed Feb 26 19:18:57 UTC 2014 x86_64 Intel(R) Core(TM)2 Duo CPU T5270 @ 1.40GHz GenuineIntel GNU/Linux


zcat /proc/config.gz | grep -i fw_loader: http://bpaste.net/raw/183025/
zcat /proc/config.gz | grep -i iwl: http://bpaste.net/raw/183026/
zcat /proc/config.gz | grep -i mac802: http://bpaste.net/raw/183024/
zcat /proc/config.gz | grep -i rfkill: http://bpaste.net/raw/183027/

dmesg | grep -i iwl: http://bpaste.net/raw/183028/

ifconfig -a: http://bpaste.net/raw/183029/
iwconfig: http://bpaste.net/raw/183031/

ls /lib*/firmware/iwlwifi-3945*: http://bpaste.net/raw/183033/

Naturally, since wlan0 is down, iwlist wlan0 scan gives:
Code:
wlan0    Interface doesn't support scanning : Network is down



Edit:
After some hours of googling and trying different things I've noticed this:

output of lswh -c network suggests that firmware is not loading (and dmesg doesn't report anything about fw being loaded).
Strange thing is that when I've disabled RFKILL in kernel, the firmware was loading, but I still couldn't use wifi due to hard block.

It starts to look like I've read whole internet about this and nothing seems to help.
_________________
Using Gentoo since 2009


Last edited by s0ltys on Thu Feb 27, 2014 5:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu Feb 27, 2014 2:52 am    Post subject: Reply with quote

iwlist is part of wireless-tools, which uses the legacy wireless extensions and does not support some features of modern drivers. There is limited backwards compatibility available if you enable CONFIG_CFG80211_WEXT in your kernel (this is needed e.g. for wicd which parses iwconfig/iwlist output).

If possible, use iw instead:
Code:
# iw dev wlan0 scan

About rfkill, you can either emerge rfkill and use that to unblock the wifi, or directly bang on the sysfs controls in /sys/class/rfkill/ (requires CONFIG_RFKILL enabled).
Back to top
View user's profile Send private message
cova
n00b
n00b


Joined: 12 Apr 2010
Posts: 26

PostPosted: Thu Feb 27, 2014 7:31 am    Post subject: Reply with quote

You coluld try something like this in kernel parameters:

acpi_osi="!Windows 2012"

(place it in grub configuration or type it by hand).

On my laptop (quite different, 9470m) worked.
Back to top
View user's profile Send private message
s0ltys
n00b
n00b


Joined: 25 Mar 2009
Posts: 23

PostPosted: Thu Feb 27, 2014 11:53 am    Post subject: Reply with quote

chithanh wrote:
iwlist is part of wireless-tools, which uses the legacy wireless extensions and does not support some features of modern drivers. There is limited backwards compatibility available if you enable CONFIG_CFG80211_WEXT in your kernel (this is needed e.g. for wicd which parses iwconfig/iwlist output).


I have WEXT enabled in my kernel.

chithanh wrote:

If possible, use iw instead:
Code:
# iw dev wlan0 scan



Emerged. iw dev wlan0 scan throws
Code:
command failed: Network is down(-100)

When i try ifconfig wlan0 up i get:
Code:
SIOCSIFFLAGS: Operation not possible due to RF-kill


chithanh wrote:

About rfkill, you can either emerge rfkill and use that to unblock the wifi, or directly bang on the sysfs controls in /sys/class/rfkill/ (requires CONFIG_RFKILL enabled).


No matter what i try to echo into /sys/class/rfkill/rfkill0/state, it's content stays at "2".
Also, emerged rfkill. As I wrote before it's output is:
Code:
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: yes

And doing rfkill unblock all or rfkill unblock 0 doesn't change anything.

cova wrote:

You coluld try something like this in kernel parameters:

acpi_osi="!Windows 2012"

(place it in grub configuration or type it by hand).

On my laptop (quite different, 9470m) worked.

Tried it. Haven't changed anything.
_________________
Using Gentoo since 2009
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu Feb 27, 2014 12:34 pm    Post subject: Reply with quote

Code:
    Hard blocked: yes

That means the wifi is disabled by some hardware or BIOS switch. See if there is a wifi button or switch somewhere on the device, and try to toggle it.
Back to top
View user's profile Send private message
s0ltys
n00b
n00b


Joined: 25 Mar 2009
Posts: 23

PostPosted: Thu Feb 27, 2014 12:49 pm    Post subject: Reply with quote

chithanh wrote:
Code:
    Hard blocked: yes

That means the wifi is disabled by some hardware or BIOS switch. See if there is a wifi button or switch somewhere on the device, and try to toggle it.


I don't have anything in BIOS that would control this (only options that disables completely wifi adapter), and my wifi button isn't one that have on-off state. It's a momentary push button, which seem not to work on linux. (it does nothing when I press it. dmesg doesn't report anything).
_________________
Using Gentoo since 2009
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu Feb 27, 2014 1:35 pm    Post subject: Reply with quote

Does rfkill "hard blocked" state change when you press it?

You may need to enable the correct ACPI/WMI driver for your notebook first (CONFIG_HP_WMI?).
Back to top
View user's profile Send private message
s0ltys
n00b
n00b


Joined: 25 Mar 2009
Posts: 23

PostPosted: Thu Feb 27, 2014 5:16 pm    Post subject: Reply with quote

chithanh wrote:
Does rfkill "hard blocked" state change when you press it?

You may need to enable the correct ACPI/WMI driver for your notebook first (CONFIG_HP_WMI?).


I've enabled CONFIG_ACPI_WMI and CONFIG_HP_WMI in my kernel and now everything works like it should!.

Thanks for your help guys.
_________________
Using Gentoo since 2009
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum