Hi @all,
I have an EdiMax USB Wlan adapter which is based on Realtek "RTL8192CU" Wlan chip module. I configured the efusA9 Kernel to include the driver for that chip "RTL8192CU" using yocto. However, I followed exactly the steps to build up "fus-image-std" in "FSiMX6_FirstSteps_eng.pdf"
Before I build up the image, I called the kernel menuconfig using "bitbake -c menuconfig linux-fus" to add the "RTL8192CU" driver. After sometime I obtained the configuration window.
Once the window opened, I chose "Device Driver"--> "Network device support" -->"Wireless LAN" -->"Realtek rtlwifi family of devices" --> "Realtek RTL8192CU/RTL8188CU USB ...." . I chose to build them statically in the kernel not as modules. I saved and built the image. Everything was smooth.
I plugged my USB Wlan stick but dmesg shows a problem with a certain firmware "rtl8192cufw_TMSC.bin" -->
- root@fsimx6:~# dmesg | grep rtl
- [ 1.714039] usbcore: registered new interface driver rtl8192cu
- [ 2.666642] rtl8192cu: Chip version 0x11
- [ 2.768411] rtl8192cu: MAC address: 74:da:38:f8:aa:b4
- [ 2.772179] rtl8192cu: Board Type 0
- [ 2.774644] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
- [ 2.779217] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
- [ 2.788271] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
- [ 2.789735] usb 1-1.1: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
The very strange is that when I perform:
I can get almost every wlan router in the round but I did not understand why I can not connect to my router.
any ideas please? Do i need to configure extra parameters in kernel to get the rtl8192cu driver correctly to work?
I attached the files (/etc/wpa_supplicant.conf) and (/etc/network/interfaces), knowing that I use the same configuration files to connect to my router on another RPI3 that has yocto system running.
When I perform "ifup wlan0" on the efusA9 module I get also this issue:
- root@fsimx6:~# ifup -v wlan0
- run-parts /etc/network/if-pre-up.d
- Successfully initialized wpa_supplicant
- rfkill: Cannot open RFKILL contrortl8192cu: MAC auto ON okay!
- l device
- rtl8192cu: Tx queue select: 0x05
- IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
- ioctl[SIOCSIWPMKSA]: Invalid argument
- ioctl[SIOCSIWMODE]: Invalid argument
- ioctl[SIOCGIWRANGE]: Invalid argument
- ioctl[SIOCGIWMODE]: Invalid argument
- ioctl[SIOCSIWAP]: Invalid argument
- ioctl[SIOCSIWESSID]: Invalid argument
- ioctl[SIOCSIWENCODEEXT]: Invalid argument
- ioctl[SIOCSIWENCODEEXT]: Invalid argument
- ioctl[SIOCSIWENCODEEXT]: Invalid argument
- ioctl[SIOCSIWENCODEEXT]: Invalid argument
- ioctl[SIOCSIWPMKSA]: Invalid argument
- ifconfig wlan0 up
- dhclient -pf /var/run/dhclient.wlan0.pid wlan0
- run-parts /etc/network/if-up.d
Thanks in advance
kind regards