ARM Development Board Load Realtek-8188cus USB wireless card (i)

Source: Internet
Author: User

Platform parameters: Kernel: Linux 3.6 file system: Busybox-1.20.2 hardware parameters: s3c2416
In the Arm-linux support and auto mount USB drive has been verified that the USB interface is completely normal, so do not worry about hardware failure.

First, the Primer

BZ uses a "Fast" USB interface wireless card, model fast FW150US, the story about this NIC 、、、

Real


The Linux LSUSB command allows you to view the Realtek 8188CUS chip that is used internally:



Second, the official opening

1, first download the corresponding driver source package on the Realtek official website:


By reading Document\quick_start_guide_for_driver_compilation_and_ Installation.pdf documentation We know that the driver source code in the driver directory, according to the hardware platform, modify the makefile:

A, platform selection:config_platform_i386_pc = n config_platform_arm_s3c2k4 = y

b, modify the compiled tool used, the corresponding kernel directory:

Ifeq ($ (config_platform_arm_s3c2k4), y) Extra_cflags + =-dconfig_little_endianarch: = armcross_compile: =/usr/local/ arm/4.2.2-eabi/usr/bin/arm-linux-# kver  : = 2.6.24.7_$ (ARCH) ksrc: =/home/uni/workspace/20141107_yisuo/linux_3_ 6/linux-3.6endif
C, PS: first the energy-saving function was canceled config_power_saving = n

Configure the above options and get the drive module after make:8192cu.ko


2. Module Loading:

Upload the file to the file system, in order to automatically load the module, add it to the Linux startup script:

/etc/init.d/rcs:insmod  /lib/modules/8192cu.ko
In this way, you can see the wireless network card recognition during system startup:

[9.040000] RTL8192CU driver version=v4.0.2_9000.20130911[9.040000] Build time:apr 7 2015 10:42:16[9.050000] [9.050000] Usb_endpoint_descriptor (0): [9.050000] blength=7[9.060000] bdescriptortype=5[9.060000] BEndpoint address=81[9.060000] wmaxpacketsize=40[9.070000] binterval=0[9.070000] rt_usb_endpoint_is_bulk_in = 1[9.07 0000] [9.070000] Usb_endpoint_descriptor (1): [9.080000] blength=7[9.080000] bdescriptortype=5[9.080000] BEn    dpointaddress=2[9.090000] wmaxpacketsize=40[9.090000] binterval=0[9.090000] Rt_usb_endpoint_is_bulk_out = 2[ 9.100000] [9.100000] Usb_endpoint_descriptor (2): [9.100000] blength=7[9.100000] bdescriptortype=5[9.11000 0] bendpointaddress=3[9.110000] wmaxpacketsize=40[9.110000] binterval=0[9.110000] Rt_usb_endpoint_is_bulk_out = 3[9.120000] [9.120000] Usb_endpoint_descriptor (3): [9.120000] blength=7[9.130000] bdescriptortype=5[9 .130000] Bendpointaddress=84[9.130000] wmaxpacketsize=40[9.130000] binterval=1[9.135000] rt_usb_endpoint_is_int_in = 4, Interval = 1[ 9.140000] nr_endpoint=4, in_num=2, out_num=2[9.140000] [9.145000] NON usb_speed_high[9.150000] CHIP type:r tl8188c_8192c[9.150000] Register rtw_netdev_ops to netdev_ops[9.160000] Chip Version id:version_normal_tsmc_chip_ 88C. [9.165000] Rf_type is 3!! [9.170000] EEPROM type is e-fuse[9.170000] ====> readadapterinfo8192c[9.175000] Boot from EFUSE, Autoload O K! [11.320000] Eepromvid = 0x0bda[11.320000] eeprompid = 0x8176[11.320000] eepromcustomerid:0x00[11.325000] EEP romsubcustomerid:0x00[11.325000] rt_customerid:0x00[11.330000] _readmacaddress MAC Address from EFUSE = 6c:e8:73:c 7:6f:92[11.335000] eepromregulatory = 0x0[11.340000] _readboardtype (0) [11.340000] BT coexistance = disable[11. 345000] Mlmepriv. Channelplan = 0x02[11.350000] _readpssetting...bhwpwrpindetect (0)-bhwpowerdown (0), BsupporTremotewakeup (0) [11.355000] # # PS params=> power_mgnt (0), usbss_enable (0) ###[11.360000] # # # antdivcfg (0) [11. 360000] READADAPTERINFO_8192CU (): replacement = 1[11.365000] <==== readadapterinfo8192c in 2195 ms[11.380000] Rtw _macaddr_cfg MAC Address = 6c:e8:73:c7:6f:92[11.380000] bdriverstopped:1, bsurpriseremoved:0, bup:0, hw_init_completed : 0[11.430000] _rtw_drv_register_netdev, MAC Address (IF1) = 6c:e8:73:c7:6f:92[11.460000] usbcore:registered new int Erface Driver RTL8192CU

ARM Development Board Load Realtek-8188cus USB wireless card (i)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.