Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,418 Views

Intel Galileo add Atheros AR5B97 wifi module issue?

Hi Intel

I tried to test Atheros AR5B97 pci wifi module in intel Galileo board.

 

My bsp is 1.1 version.

 

When the wifi pci module in the galileo board and system boot, I check boot up message.

-------------------------------------------------------------------------------------------------------------------------------------

 

root@quark:~# dmesg | grep wlan0

[ 16.515708] systemd-udevd[189]: renamed network interface wlan0 to wlp1s0<4>[ 18.370321] enp0s20f6: device MAC address 98:4f:ee:00:aa:eb

-------------------------------------------------------------------------------------------------------------------------------------

root@quark:~# dmesg | grep ath

[ 9.024807] systemd[1]: Starting Paths.

[ 9.050523] systemd[1]: Reached target Paths.

[ 15.293234] ath9k 0000:01:00.0: enabling device (0000 -> 0002)

[ 15.299166] ath9k 0000:01:00.0: enabling bus mastering

[ 15.421645] ath: EEPROM regdomain: 0x65

[ 15.421683] ath: EEPROM indicates we should expect a direct regpair map

[ 15.421724] ath: Country alpha2 being used: 00

[ 15.421746] ath: Regpair used: 0x65

[ 15.568067] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'

-------------------------------------------------------------------------------------------------------------------------------------

lsmod

ath9k 95862 0

ath9k_common 13432 1 ath9k

ath9k_hw 364846 2 ath9k_common,ath9k

ath 18606 3 ath9k_common,ath9k,ath9k_hw

mac80211 234236 1 ath9k

--------------------------------------------------------------------------------------------------------------------------------

 

I send the 'ifconfig wlp1s0 up" command.

ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill

root@quark:~# rfkill list

0: phy0: wlan

Soft blocked: yes

Hard blocked: no

Why the soft blocked is yes, do you have any advice?

Thanks

 

 

9 Replies
Pedro_M_Intel
Employee
111 Views

Hello clayder,

I'm not sure, why it is set to blocked, however I've seen this behavior from rfkill, it is automatically set to soft block the device. Nevertheless, you should be able to unblock it with the command:

rfkill unblock wlan

Peter.

idata
Community Manager
111 Views

Hi Peter

Thanks from your reply.

I already tried the rfkill unblock command for wlan. But wlan still can not work after rfkill unblock.

Do you have any advice?

Pedro_M_Intel
Employee
111 Views

Well then, I guess it could be because of several reasons. I'm not familiar with the Atheros AR5B97, is its driver supported by the Galileo's kernel? And if so, did you make sure to install it on the board?

If the answers to all of those questions are yes, then probably you will need to build your custom image that includes the driver out of the box. Sometimes drivers can only function properly if you build them this way. If that's the case then I suggest you to read and understand the http://www.intel.com/support/processors/quark/sb/CS-035175.htm BSP Build Guide.

If, on the other hand, you created your custom image and it's now having this issue. Well, did you make sure to add and enable the recipes when trying to build the image? What steps did you take?

Peter.

idata
Community Manager
111 Views

I try to test the intel Wireless N-135 module. The result is fail.

//------------------------------------------------------------------------------------------------------------//

root@quark:~# iwconfig

enp0s20f7 no wireless extensions.

lo no wireless extensions.

wlp1s0 IEEE 802.11bgn ESSID:off/any

Mode:Managed Access Point: Not-Associated Tx-Power=off

Retry long limit:7 RTS thr:off Fragment thr:off

Encryption key:off

Power Management:off

enp0s20f6 no wireless extensions.

root@quark:~# ifconfig wlp1s0 up

ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill

root@quark:~# rfkill list

0: hci0: bluetooth

Soft blocked: yes

Hard blocked: no

1: phy0: wlan

Soft blocked: yes

Hard blocked: no

//------------------------------------------------------------------------------------------------------------//

Why the intel module is soft blocked? Do you have any advice?

Pedro_M_Intel
Employee
111 Views

Which image are you using? Is it a custom build image? If so, what changes did you make to it?

Peter.

idata
Community Manager
111 Views

Hi Peter

Our BSP is 1.1 version form intel web. We don't have any modify in Bsp 1.1.

I concern about the "wlan Soft blocked is yes "by default.

The board is Galilleo and WIFI module is intel N-135.

Why the wlan is soft blocked?

I check the code is setting wifi Enable is true in "repo-ext/meta-intel-iot-devkit/meta-eca/recipes-connectivity/connman/files/connman-init-s ettings.sh".

When the galileo boot up,the wifi Enable set is false in /var/lib/connman/settings.

Do you have any advice?

Pedro_M_Intel
Employee
111 Views

Could you show me a screenshot of the command "rfkill list" before you enter the command "rfkill unblock wlan0" and then another screenshot of the command "rfkill list" after the command 'rfkill unblock wlan0'.

Peter.

idata
Community Manager
111 Views

Hi Peter

I try to send command "rfkill unblock wlan" will be to fixed the issue.

But I don't know, we don't need to send "rfkill unblock wlan" command to unblock soft in BSP1.0.

I check the bsp 1.1.0 is enable "rfkill.cfg" in meta-iot-devkit/recipes-kernel/linux/linux-yocto-quark_3.8.bbappend.

I don't know If I disable "rfkill.cfg", I can fixed the issue.

Do you have any advice?

 

Cy

Pedro_M_Intel
Employee
111 Views

Hi clayder,

Have you tried the N-135 with the official (uClibc) image found in https://software.intel.com/en-us/iot/hardware/galileo/downloads IoT - Intel® Galileo Board Download | Intel® Developer Zone? Do the issues remain? I would like to see if the issues are related to the board, or the image, or something that might lead us to the root of this issue.

Peter.