Pandboard WiFi vanished - missing module?

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Pandboard WiFi vanished - missing module?

Postby gdkags » Thu Dec 13, 2012 6:29 pm

Since my last archlinux update hostapd failed to start correctly because wlan0 interface was gone.
The modules are not loaded and even after "modprobe wl12xx", "iw list" will come up empty.
http://omappedia.org/wiki/Panda_MAC80211_Connectivity says, there should be something loaded like wl12xx_sdio, and i faintly remember inserting the module whilst fiddling with hostapd.
$this->bbcode_second_pass_code('', 'Modules required for WL12xx on Panda are: ./compat/compat.ko ./net/wireless/cfg80211.ko ./net/mac80211/mac80211.ko ./drivers/net/wireless/wl12xx/wl12xx.ko ./drivers/net/wireless/wl12xx/wl12xx_sdio.ko')

lsmod after boot:
$this->bbcode_second_pass_code('', '[bone@bierkugel ~]$ lsmod
Module Size Used by
bridge 75471 0
stp 2019 1 bridge
llc 5540 2 stp,bridge
smsc95xx 12159 0
autofs4 22493 2 ')
bridge is loaded because I want to use hostapd again as soon as I get back to finding my wlan0 again.

I transitioned to systemd today, but the problem existed before that.
The one thing I had in mind was building the wl12xx_sdio module myself, but there is no linux-omap in abs.
I'm a bit stumped here, what could I try now?

edit: found the kernels PKGBUILD, trying that now.
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: Pandboard WiFi vanished - missing module?

Postby xenoxaos » Thu Dec 13, 2012 6:43 pm

Does modprobe wl12xx give any errors?
Is there anything in dmesg that might give hints at what's going on?
The kernel hasn't changed in a couple of months for the pandas.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Pandboard WiFi vanished - missing module?

Postby gdkags » Thu Dec 13, 2012 7:00 pm

nope. loads just fine. ti-connectivity is installed, too. That one changed recently, though. (edit: well, no, its from november)
dmesg says: cfg80211: Calling CRDA to update world regulatory domain
that is it.

edit2: It could be, that I missed some updates ti-connectivity came with my last update one week ago.
but I think I found the problem:
linux-omap 3.4.4-1 got CONFIG_WL12XX_SDIO=m in the config, all latter versions don't.
my kernel's still building, but I think that might fix the problem
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: Pandboard WiFi vanished - missing module?

Postby gdkags » Thu Dec 13, 2012 7:34 pm

hm. Well. that option is not there anymore,
make drivers/net/wireless/ti/wl12xx/wl12xx.ko works, but
make drivers/net/wireless/ti/wl12xx/wl12xx_sdio.ko does not.

but there is wlcore_sdio, which does nothing when modprobed. Maybe sdio does not matter after all.
Got some reading to do, I guess... off to kernel.org
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: Pandboard WiFi vanished - missing module?

Postby gdkags » Thu Dec 13, 2012 9:28 pm

If I get this right, then wl1271 was integrated into wlcore and wlcore_sdio.
at least sdio.c in the kernel sources does look that way.
But I give up for today. I hope somebody can help.

edit: not quite giving up, compiling new kernel with nl80211 testmode command enabled as stated in http://www.omappedia.com/wiki/Mac80211_ ... 3D_v3.5.29
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: Pandboard WiFi vanished - missing module?

Postby gdkags » Fri Dec 14, 2012 10:48 am

That did not do anything.
I'm trying a fresh installation now.
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: Pandboard WiFi vanished - missing module?

Postby gdkags » Fri Dec 14, 2012 4:27 pm

lsmod after fresh install
$this->bbcode_second_pass_code('', 'Module Size Used by
usbhid 34849 0
usbkbd 4314 0
binfmt_misc 6672 1
arc4 1229 2
wl12xx 144241 0
mac80211 449166 1 wl12xx
cfg80211 174681 2 mac80211,wl12xx
rfkill 17587 1 cfg80211
omapdrm 60378 1
fb_sys_fops 1463 1 omapdrm
syscopyarea 2774 1 omapdrm
sysfillrect 3040 1 omapdrm
sysimgblt 2074 1 omapdrm
smsc95xx 11696 0
drm_kms_helper 29412 1 omapdrm
drm 212538 2 drm_kms_helper,omapdrm
wl12xx_sdio 3303 0 ')

lsmod after pacman -Syu (with some pacman-key --init in between) and reboot
$this->bbcode_second_pass_code('', 'Module Size Used by
binfmt_misc 6660 1
smsc95xx 12159 0
')

can anybody else please reproduce? I am stumped.
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: Pandboard WiFi vanished - missing module?

Postby buri » Sun Dec 30, 2012 3:36 pm

Hi,

same here. Any success? I've seen that sdio moved to wlcore_sdio.
I think the wl12xx should load a firmware but it doesn't even look for a file...

I'm trying to recompile the kernel but I'm new to Arch Linux and therefore have to figure out how that works first...

I failed to install ti-connectvity. It complains, that the files are already there. They are provided by the package linux-firmware. I think that ti-connectivity was integrated into this package. But I guess I first have to get wl12xx to look for a firmware and then I can figure out if I'm missing the latest firmware...

The update also switched to systemd. Do you know how to load all the other modules (e.g. omapdrm etc.)? Or are these modules obsolete?
buri
 
Posts: 1
Joined: Sun Dec 30, 2012 3:27 pm

Re: Pandboard WiFi vanished - missing module?

Postby gdkags » Sun Dec 30, 2012 5:31 pm

Hi buri,

nope. Just gave up on it. But it makes me feel less stupid to know someone else with the same problem.
Recompiling the kernel was pointless, because the necessary drivers seem to be enabled but don't load on boot and they will not enable any functionality when loaded into the kernel.
If you'd still try to do so:
https://wiki.archlinux.org/index.php/Ke ... ild_System helps you get into the spirit of the process and https://github.com/archlinuxarm/PKGBUIL ... ster/core/ is where you get the necessary PKGBUILD for the arm platform.

I do not know why wl12xx_sdio will not look for any firmware, I guess it does not find the hardware, so it does not feel the need to actually do something.

I do not know if omapdrm is obsolete, I did not get an answer to that from anyone. I guess it is but I did not get anything accomplished with any other tools.

Sorry, but sadly I cannot help you anymore than that.

PS: If someone is reading this and feels to point out any seemingly obvious help, feel free to do so. I am still hoping to find an answer to it.
gdkags
 
Posts: 15
Joined: Sat Mar 03, 2012 4:01 pm

Re: Pandboard WiFi vanished - missing module?

Postby cyberp » Fri Jan 11, 2013 8:52 pm

I have the same problem on my Pandaboard after the lastest update to kernel 3.6.3-2

After fresh install, update with pacman -Syu no wlan0 interface is present.

$this->bbcode_second_pass_code('', '
[root@alarm ~]# lsmod
Module Size Used by
binfmt_misc 6660 1
smsc95xx 12159 0
')

After reinstalling ti-connectivity (i have to remove he firmware files manually before), installing crda and uncommenting crda configuration for my country in /etc/conf.d/wireless-regdom i can modprobe the wl12xx driver:

$this->bbcode_second_pass_code('', '
[root@alarm ~]# modprobe wl12xx
[root@alarm ~]# lsmod
Module Size Used by
wl12xx 43000 0
wlcore 129787 1 wl12xx
mac80211 479965 1 wlcore
cfg80211 183561 2 mac80211,wlcore
rfkill 17575 1 cfg80211
binfmt_misc 6660 1
smsc95xx 12159 0
')

But still no wlan is present. It seems that the wl12xx driver doesnt work.
CRDA is working(?), but not wl12xx

$this->bbcode_second_pass_code('', '
[root@alarm ~]# dmesg
...
8.569427] systemd-udevd[106]: starting version 196
[ 9.444915] smsc95xx v1.0.4
[ 9.516296] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-ehci-omap.0-1.1, smsc95xx USB 2.0 Ethernet, 4a:fc:0a:29:c0:ad
[ 9.516418] usbcore: registered new interface driver smsc95xx
[ 9.664215] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[ 11.048278] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 12.743408] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 12.744354] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 640.923248] cfg80211: Calling CRDA to update world regulatory domain
[ 641.007324] cfg80211: Pending regulatory request, waiting for it to be processed...
[ 641.042449] cfg80211: World regulatory domain updated:
[ 641.042480] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 641.042480] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 641.042480] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 641.042480] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 641.042510] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 641.042510] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 641.042572] cfg80211: Calling CRDA for country: DE
[ 641.053527] cfg80211: Regulatory domain changed to country: DE
[ 641.053558] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 641.053558] cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 641.053558] cfg80211: (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 641.053588] cfg80211: (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 641.053588] cfg80211: (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
')

Some idea what can i try next?
cyberp
 
Posts: 1
Joined: Fri Jan 11, 2013 8:38 pm

Next

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 2 guests