说起compat-wrieless,他的本事可大呢,目前已经能把最新内核当中包含的wireless驱动和蓝牙驱动搬到2.6.24及以上的内核当中使用,对于想使用新的wifi和蓝牙设备又不能或者不想升级内核的兄弟来说,那无疑是个莫大的福音。
闲话少说,直切正题。要使用compat-wireless,首先得到compat-wireless的网站上下载个stable版本的compat-wireless,这里选了3.2.5-1的版本。接着解压,查看README文件,发现这个世界原来可以这么简单!对于FLX6410这个可以自己给自己原生编译内核的ARM11平台,要做的就是在compat-wireless的源码目录下执行make && make install 然后就是等着编译和安装完成。新的驱动程序会全部安装到/lib/modules/2.6.38.2/updates目录当中。然后重启系统,插入8787网卡,出现如下打印:
root@ArmCat:~# uname -a
Linux ArmCat 2.6.38.2 #203 PREEMPT Wed Apr 18 21:03:43 HKT 2012 armv6l GNU/Linux
root@ArmCat:~# mmc0: new high speed SDIO card at address 0001
bus: 'mmc': driver_probe_device: matched device mmc0:0001 with driver mmcblk
bus: 'sdio': add driver btmrvl_sdio
bus: 'sdio': driver_probe_device: matched device mmc0:0001:2 with driver btmrvlo
Bluetooth: vendor=0x2df, device=0x911a, class=255, fn=2
Registering platform device 'regulatory.0'. Parent at platform
Succeed!
cfg80211: Calling CRDA to update world regulatory domain
bus: 'sdio': add driver mwifiex_sdio
bus: 'sdio': driver_probe_device: matched device mmc0:0001:1 with driver mwifieo
mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW download
mwifiex_sdio mmc0:0001:1: WLAN FW is active
mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (14.57.5.p44)
用iwconfig 命令查看一下:
root@ArmCat:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
mlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry long limit:7 RTS thr:off Fragment thr:off