天嵌 ARM开发社区

 找回密码
 注册
查看: 4082|回复: 6

TQ2440板子用usb接口wifi3070模块驱动安装问题

[复制链接]
ccsoy 发表于 2012-4-18 13:22:39 | 显示全部楼层 |阅读模式
想在TQ2440上使用usb接口wifi3070模块 模块提供了驱动 但是不太清楚如何安装  希望知道的朋友告诉一下  以下是驱动说明(英文版的,小弟英文水平有限)


1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz
    go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.
   
2> In Makefile
  set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
  define the linux kernel source include file path LINUX_SRC
  modify to meet your need.

3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
    Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
    => #>cd wpa_supplicant-x.x
    => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
    Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
    => #>cd wpa_supplicant-0.5.7
    => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

4> $make
# compile driver source code
# To fix "error: too few arguments to function ˉiwe_stream_add_event"
   => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5> $cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat
   
6> load driver, go to "os/linux/" directory.
    #[kernel 2.4]
    #    $/sbin/insmod rt2870sta.o
    #    $/sbin/ifconfig ra0 inet YOUR_IP up
        
    #[kernel 2.6]
    #    $/sbin/insmod rt2870sta.ko
    #    $/sbin/ifconfig ra0 inet YOUR_IP up

7> unload driver   
    $/sbin/ifconfig ra0 down
$/sbin/rmmod rt2870sta


简单说一下 在TQ2440板子中如何安装驱动 谢谢了
王小二 发表于 2012-4-19 20:29:00 | 显示全部楼层
有邮箱吗,我把汉语的资料发给你。
 楼主| ccsoy 发表于 2012-4-20 13:11:28 | 显示全部楼层
王小二 发表于 2012-4-19 20:29
有邮箱吗,我把汉语的资料发给你。

501377376@qq.com 谢谢了 兄弟
 楼主| ccsoy 发表于 2012-4-20 13:12:41 | 显示全部楼层
{:2_33:}      
开山祖师 发表于 2012-7-7 10:26:37 | 显示全部楼层
ccsoy 发表于 2012-4-20 13:12

能不能把资料给我发一份
929143604@qq.com
开山祖师 发表于 2012-7-7 10:29:43 | 显示全部楼层
王小二 发表于 2012-4-19 20:29
有邮箱吗,我把汉语的资料发给你。

能不能把资料给我发一份
929143604@qq.com
王小二 发表于 2012-7-16 13:36:19 | 显示全部楼层
开山祖师 发表于 2012-7-7 10:29
能不能把资料给我发一份

3070模块我只是进行了驱动的移植,一些wpa等工具没有安装:L
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-3 07:05 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表