接入usb wifi rtl8192cu,系统输出和查看系统log如下:
usb 1-1.1: USB disconnect, device number 3
usb 1-1.1: new high-speed USB device number 4 using musb-hdrc
usb 1-1.1: New USB device found, idVendor=0bda, idProduct=8176
usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.1: Product: 802.11n WLAN Adapter
usb 1-1.1: Manufacturer: Realtek
usb 1-1.1: SerialNumber: 00e04c000001
rtl8192cu: MAC address: 00:1d:43:e0:20:8c
rtl8192cu: Board Type 0
xw li:
dmesg 查看消息如下
rtl8192cu:rtl92cu_init_sw_vars():<0-0> Failed to request firmware! rtlwifi:rtl_usb_probe():<0-0> Can't init_sw_vars. root@am335x-evm:/etc# ifconfig wlan0 up ifconfig: SIOCGIFFLAGS: No such device
lsusb :Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
zhiqiang wang5:
回复 xw li:
我是从官网下载的驱动的,但是我插入设备后打印的信息是:
[ 854.331229] usb 1-1.2: USB disconnect, device number 5
[ 857.387702] usb 1-1.2: new high-speed USB device number 7 using musb-hdrc
[ 857.498862] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=0179
[ 857.506239] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 857.514059] usb 1-1.2: Product: 802.11n NIC [ 857.518537] usb 1-1.2: Manufacturer: Realtek
加载驱动8192cu.ko的驱动时,打印的信息是:
|root@android:/storage/usb1 # insmod 8192cu.ko ifname=wlan0 if2name=p2p0
[ 340.570187] rtl8192cu driver version=v4.0.2_9000.20130911
[ 340.575968] build time: Jul 15 2016 01:16:26 [ 340.581004] usbcore: registered new interface driver rtl8192cu
感觉驱动根本没找设备,请问下你驱动如何修改的啊?
我驱动只是修改了Makefile文件,其他的没动。