Bluetooth/Wifi problem with minimal filesystem

105 views
Skip to first unread message

Sandipan Patra

unread,
Jul 19, 2011, 1:08:07 PM7/19/11
to panda...@googlegroups.com
Hello,

I am trying to make bluetooth/wifi up on pandaoard with Kernel-3.0-rc2

Still I am not getting any of these up.
Can you please help me??

Here below are the output with the respective commands.




Kernel-3.0-rc2
-----------------------
/ # lsmod
Module                  Size  Used by    Not tainted
nls_iso8859_1           3643  1
nls_cp437               5309  1
vfat                    9525  1
fat                    50251  1 vfat
rtc_twl                 5030  0
leds_gpio               2427  0
/ #





/ # insmod /lib/modules/3.0.0-rc2/kernel/
net/wireless/cfg80211.ko
[  439.865844] cfg80211: Calling CRDA to update world regulatory domain
/ #

/ # insmod /lib/modules/3.0.0-rc2/kernel/net/mac80211/mac80211.ko
/ #

/ # insmod /lib/modules/3.0.0-rc2/kernel/drivers/net/wireless/wl12xx/wl12xx.ko
/ #


/ # insmod /lib/modules/3.0.0-rc2/kernel/drivers/net/wireless/wl12xx/wl12xx_sdio
.ko
/ #







/ # lsmod
Module                  Size  Used by    Not tainted
wl12xx_sdio             4379  0
wl12xx                132770  1 wl12xx_sdio
mac80211              275455  1 wl12xx
cfg80211              178183  2 wl12xx,mac80211
nls_iso8859_1           3643  1
nls_cp437               5309  1
vfat                    9525  1
fat                    50251  1 vfat
rtc_twl                 5030  0
leds_gpio               2427  0
/ #






/ # ifconfig


/ # ifconfig -a
lo        Link encap:Local Loopback 
          LOOPBACK  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

/ # ifconfig wlan0 hw ether 00:22:33:44:55:66
ifconfig: SIOCSIFHWADDR: No such device


/ # ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device

/ # tail -1 /var/log/kern.log
tail: can't open '/var/log/kern.log': No such file or directory
tail: no files
/ #



/ # iwlist wlan0 scan
/sbin/iwlist: line 1: �������������������������������������������������������������������������������������������������������������������������������������������������g
/ #




Kernel-3.0-rc7
---------------------

/ # lsmod
Module                  Size  Used by    Not tainted
nls_iso8859_1           3635  1
nls_cp437               5301  1
vfat                    9517  1
fat                    50243  1 vfat
rtc_twl                 5022  0
leds_gpio               2419  0
/ #

/ # insmod /lib/modules/3.0.0-rc7/kernel/net/wireless/cfg80211.ko
[  219.511535] cfg80211: Calling CRDA to update world regulatory domain
/ #

/ # insmod /lib/modules/3.0.0-rc7/kernel/net/mac80211/mac80211.ko
/ #

/ # insmod /lib/modules/3.0.0-rc7/kernel/drivers/net/wireless/wl12xx/wl12xx.ko
/ #

/ # insmod /lib/modules/3.0.0-rc7/kernel/drivers/net/wireless/wl12xx/wl12xx_sdio
.ko
/ #

/ # lsmod
Module                  Size  Used by    Not tainted
wl12xx_sdio             4371  0
wl12xx                132762  1 wl12xx_sdio
mac80211              275443  1 wl12xx
cfg80211              178183  2 wl12xx,mac80211
nls_iso8859_1           3635  1
nls_cp437               5301  1
vfat                    9517  1
fat                    50243  1 vfat
rtc_twl                 5022  0
leds_gpio               2419  0
/ #

/ # ifup wlan0
/etc/network/if-pre-up.d/wireless-tools: line 1: ����������������������������������������������������������������������������������������������������������������������g
run-parts: /etc/network/if-pre-up.d/wireless-tools exited with code 127
/etc/network/if-pre-up.d/zzz-wireless: line 1: ������������������������������������������������������������������������������������������������������������������������g
run-parts: /etc/network/if-pre-up.d/zzz-wireless exited with code 127

/ # ls /sys/devices/platform/
Fixed MDIO bus.0     omap-mcbsp-dai.1     reg-fixed-voltage.1
alarmtimer           omap-mcbsp-dai.2     regulatory.0
kim                  omap-mcbsp-dai.3     serial8250
leds-gpio            omap-pcm-audio       uevent
omap                 power
omap-mcbsp-dai.0     reg-dummy

/ # dmesg | grep wl1271
[    0.360382] machine_constraints_voltage: vwl1271: override min_uV, 1 -> 1800000
[    0.360412] machine_constraints_voltage: vwl1271: override max_uV, 2147483647 -> 1800000
[    0.360412] print_constraints: vwl1271: 1800 mV
[    0.360473] reg-fixed-voltage reg-fixed-voltage.1: vwl1271 supplying 1800000uV
/ #


Basically I am doing with kernel-3.0-rc2.



CONFIG FILE:
--------------------------------
#
# Bluetooth device drivers
#
CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_ATH3K is not set
CONFIG_BT_HCIUART_LL=y
CONFIG_BT_HCIVHCI=m
CONFIG_BT_MRVL=m
CONFIG_BT_MRVL_SDIO=m
# CONFIG_BT_WILINK is not set
CONFIG_AF_RXRPC=m
# CONFIG_AF_RXRPC_DEBUG is not set
CONFIG_RXKAD=m
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WIRELESS_EXT=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_SPY=y
CONFIG_WEXT_PRIV=y
CONFIG_CFG80211=m
CONFIG_NL80211_TESTMODE=y
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
CONFIG_CFG80211_REG_DEBUG=y
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEBUGFS=y
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_LIB80211=m
CONFIG_LIB80211_CRYPT_WEP=m
CONFIG_LIB80211_CRYPT_CCMP=m
CONFIG_LIB80211_CRYPT_TKIP=m
# CONFIG_LIB80211_DEBUG is not set
CONFIG_MAC80211=m
CONFIG_MAC80211_HAS_RC=y
# CONFIG_MAC80211_RC_PID is not set
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_MINSTREL_HT=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
CONFIG_MAC80211_LEDS=y
CONFIG_MAC80211_DEBUGFS=y
# CONFIG_MAC80211_DEBUG_MENU is not set
CONFIG_WIMAX=m
CONFIG_WIMAX_DEBUG_LEVEL=8
CONFIG_RFKILL=y
CONFIG_RFKILL_LEDS=y
# CONFIG_RFKILL_INPUT is not set
# CONFIG_RFKILL_REGULATOR is not set
# CONFIG_RFKILL_GPIO is not set
CONFIG_NET_9P=m
# CONFIG_NET_9P_DEBUG is not set
CONFIG_CAIF=m
# CONFIG_CAIF_DEBUG is not set
CONFIG_CAIF_NETDEV=m
CONFIG_CEPH_LIB=m
# CONFIG_CEPH_LIB_PRETTYDEBUG is not set

#
# Texas Instruments shared transport line discipline
#
CONFIG_TI_ST=m
# CONFIG_SENSORS_LIS3_SPI is not set
# CONFIG_SENSORS_LIS3_I2C is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set



Waiting for your valuable suggestion.

--
Thanks and Regards,
Sandipan Patra

sunil kumar

unread,
Jul 20, 2011, 5:16:06 AM7/20/11
to pandaboard
Hello ,

can you pls tell me , if are you using any wireless patch for kernel.

Thanks
--sunil

On Jul 19, 10:08 pm, Sandipan Patra <challenger.sa...@gmail.com>
wrote:
> Hello,
>
> I am trying to make bluetooth/wifi up on pandaoard with Kernel-3.0-rc2
>
> Still I am not getting any of these up.
> Can you please help me??
>
> Here below are the output with the respective commands.
>
> *Kernel-3.0-rc2
> -----------------------
> */ # lsmod
> *Kernel-3.0-rc7
> ---------------------*
> *CONFIG FILE:*

Sandipan Patra

unread,
Jul 20, 2011, 12:30:40 PM7/20/11
to panda...@googlegroups.com
No I dont have applied any patch.
Just using the raw kernel (Kernel-3.0-rc2)

Do I need to apply any patch for that??

Also I found from the blog, your bluetooth is working fine and detecting the devices properly.
Can you please tell me how to bring those up ??

I am pasting the details here below and attached the config file too.
Please have a look.

Kernel-3.0-rc2
-----------------------
/ # lsmod
Module                  Size  Used by    Not tainted
nls_iso8859_1           3643  1 


Thanks for your time.
Waiting for your suggestion.
config file.txt
Reply all
Reply to author
Forward
0 new messages