For Realtek USB WLAN Family Controller. The driver released on the website only supports the following products: RTL8812AU/RTL8811AU/RTL8192EU/RTL8812BU/RTL8811CU/RTL8814AU: WLAN-only solutions, install WLAN driver
Rtl8192cu Linux Driver For Mac
Before linux-wireless release 20201118, the provided firmware was version 80.0, which is known to hang on the GARDENA smart gateway as long-term tests have shown (and on other machines too - Google knows). Only a cold reset resolved the problem, which is easy to do for an USB WLAN stick but problematic (human intervention needed) on a embedded device that has no hardware reset capabilities for the USB device.
I got errors like I do not have file or folder etc. Can someone tell me where I can download compiled driver and where I need to put it? Or some other advice. I don't want downgrade kernel when it is not necessary.
Generally speaking, any Linux driver on a vendor CD would be outdated, and, in most cases, would not be worth bothering with. The RTL8192cu module has been part of the Linux kernel since version 2.6.38, so that, ideally, you'd only need to plug the device in, and it would work. Unfortunately, that particular module hasn't ever worked, and, IMHO, a fix has been long overdue (bug report).
So, what should you do? Plug in the device. Verify that the network manager 'sees' the wireless networks around (may also verify that the correct module is loaded by running lsmod grep 8192). Try connecting to your network. If that doesn't work, try connecting to any network. If that doesn't work, you are affected by the bug, and will have to try the driver from
Can you provide details of what commands you used to setup the drivers or be specific about the errors when you tried ? I also found : installing Edimax EW7811, to install the drivers sequentially if the manual wasn't clear enough also try using the search bar too, many have reported errors on Edimax drivers as well.
First of all: yes, I'd read phelums "Compiling RTL8189es driver" thread. If where was a solution for his thread, I didn't get it.I'm using a BPi M1, installed downloaded image (Armbian_21.05.1_Bananapi_buster_current_5.10.34.img) switched 5.10.43, updated "Firmware" and boot loader.
root@bananapi:# lsusbBus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 003 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 004 Device 002: ID 046d:c52b Logitech, Inc. Unifying ReceiverBus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubnoticed having a RTL8188CUS, so the I should be fine with RTL8192C driver.
[ 12.071053] usbcore: registered new interface driver rtl8192cu[ 12.114133] systemd[1]: Starting Load/Save RF Kill Switch Status...[ 12.118443] rtl8192cu 3-1:1.0 wlx74da387ed9f9: renamed from wlan0[ 12.188176] input: Logitech K330 as /devices/platform/soc/1c14400.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:4016.0005/input/input22[ 12.194284] logitech-hidpp-device 0003:046D:4016.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech K330] on usb-1c14400.usb-1/input2:2[ 12.203607] systemd[1]: Started Load/Save RF Kill Switch Status.
[ 12.228655] input: Logitech M215 2nd Gen as /devices/platform/soc/1c14400.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:401B.0006/input/input23[ 12.232484] logitech-hidpp-device 0003:046D:401B.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech M215 2nd Gen] on usb-1c14400.usb-1/input2:3[ 14.138414] systemd[1]: Started Armbian ZRAM config.[ 14.319923] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard[ 14.319989] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)[ 17.212735] systemd[1]: systemd-rfkill.service: Succeeded.[ 18.926637] systemd[1]: Started Armbian memory supported logging.[ 18.949826] systemd[1]: Starting Journal Service...[ 19.349752] systemd[1]: Started Journal Service.[ 19.480825] systemd-journald[539]: Received request to flush runtime journal from PID 1[ 20.554084] random: crng init done[ 20.554099] random: 7 urandom warning(s) missed due to ratelimiting[ 27.031269] sun7i-dwmac 1c50000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL)[ 27.035080] sun7i-dwmac 1c50000.ethernet eth0: No Safety Features support found[ 27.035112] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled[ 27.035128] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available[ 27.035140] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW[ 27.042235] sun7i-dwmac 1c50000.ethernet eth0: configuring for phy/rgmii-id link mode[ 27.350402] rtl8192cu: MAC auto ON okay![ 27.389895] rtl8192cu: Tx queue select: 0x05[ 28.594389] rtl8192c_common: Polling FW ready fail! REG_MCUFWDL:0x00030006.[ 28.594406] rtl8192c_common: Firmware is not ready to run![ 33.770751] vcc3v0: disabling[ 33.770778] vcc5v0: disabling[ 33.770907] usb0-vbus: disabling
At this point, as a newbie, I have to give up and ask the community what I've done wrong and how to fix the mess. I attach the original Linux driver source, found the driver cd, which came along with the adapter.
[ 15.322158] rtl8192cu: Chip version 0x10[ 15.527019] rtl8192cu: Board Type 0[ 15.527231] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1[ 15.527336] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin[ 15.527599] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'[ 15.534999] usbcore: registered new interface driver rtl8192cu
[ 195.894507] usb 3-1: USB disconnect, device number 2[ 195.911928] rtl_usb: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x83040000[ 195.927650] rtl_usb: reg 0x422, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x0[ 195.942754] rtl_usb: reg 0x542, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x4d5[ 195.958170] rtl_usb: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x390282a[ 198.811368] usb 4-1: USB disconnect, device number 2[ 213.225127] usb 2-1: new high-speed USB device number 3 using ehci-platform[ 213.462247] usb 2-1: New USB device found, idVendor=7392, idProduct=7811, bcdDevice= 2.00[ 213.462261] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3[ 213.462270] usb 2-1: Product: 802.11n WLAN Adapter[ 213.462277] usb 2-1: Manufacturer: Realtek[ 213.462285] usb 2-1: SerialNumber: 00e04c000001[ 213.463805] rtl8192cu: Chip version 0x10[ 213.562136] rtl8192cu: Board Type 0[ 213.562352] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1[ 213.562472] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin[ 213.562570] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'[ 213.657825] rtl8192cu 2-1:1.0 wlx74da387ed9f9: renamed from wlan0[ 213.874987] rtl8192cu: MAC auto ON okay![ 213.910881] rtl8192cu: Tx queue select: 0x05
On this point in "Buster" image, I decided to compile wlan driver, following the given advice in the HOW-TO. Even the example driver is the one I need....I hope this answers your question, WHY I recompiled the driver. I'm a newbie, but not such a newbie, that "wlx74da387ed9f9" could be a valid network name.
Also for other reason. We keep well known and those a bit less known wireless drivers in best possible shape and bundled with kernels we provide. In theory - users should not need to compile exotic drivers that Linux doesn't support (well enough) on their own, but all dependencies are ready (kernel headers, compilers) - so you can. For things we don't cover, can't bundle (zfs) or for experimenting ...
Hi Purzel,I've got the exact same model and had trouble getting it working to start with. It would work for a couple of seconds or minutes and the disconnect. In the end, I blacklisted the rtl8192cu module and installed the dkms-8192cu package from the AUR which installs the latest Realtek driver. It's now rock solid. I've been keeping an eye on the kernel.org changelogs, hoping that the in-kernel module is updated,but although a few improvements have occurred over the last few months, the AUR package still works better for me.
I'm currently using rtl8192cu wireless drivers from proprietary firmware-realtek_20161130-4_all.deb and I'm having an unusual bandwidth (speed benchmarks giving me a 250kbps download speed and a 5mps upload speed while a Windows installation on the same machine gets 25mps downloads). I also tried the newer firmware-realtek_20180825+dfsg-1bpo9+1_all.deb and download speeds were even slower.
I read that falling back to rtl8xxxu can help with this problem and I believe I'd be better off with that as I didn't provide the proprietary drivers for the net install of Debian and the download speed was normal at that time.
I can't find the generic driver listed in the output of lsmod grep rtl and I lose all internet connections if I blacklist the proprietary ones. The only place where I can find a download for rtl8xxxu are the linux github and a fork that includes an hard-coded reference to drivers for a different device.
On a desktop PC you can expect that a device will be detected and have its driver loaded as soon as it is plugged in. On embedded devices this is less likely and you may need to do a reboot to pick up the new hardware and load any drivers.
arch/arm/configs/imx_v7_android_defconfig:148:warning: override: reassigning to symbol NF_NAT_IPV4arch/arm/configs/imx_v7_android_defconfig:167:warning: override: reassigning to symbol NF_NAT_IPV6arch/arm/configs/imx_v7_android_defconfig:348:warning: override: reassigning to symbol SENSORS_FXOS8700arch/arm/configs/imx_v7_android_defconfig:349:warning: override: reassigning to symbol SENSORS_FXAS2100Xarch/arm/configs/imx_v7_android_defconfig:350:warning: override: reassigning to symbol INPUT_MPL3115arch/arm/configs/imx_v7_android_defconfig:688:warning: override: reassigning to symbol CFG80211arch/arm/configs/imx_v7_android_defconfig:691:warning: override: reassigning to symbol MAC80211arch/arm/configs/imx_v7_android_defconfig:698:warning: override: reassigning to symbol USB_USBNET## configuration written to .config#make[1]: Leaving directory `/home/jcxmej/Desktop/Tevatron/imx6.0.1/kernel_imx'install -D kernel_imx/.config out/target/product/sabresd_6dq/.configmake -C kernel_imx -j4 uImage modules ARCH=arm CROSS_COMPILE=`pwd`/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi- LOADADDR=0x10008000 KCFLAGS=-mno-androidmake[1]: Entering directory `/home/jcxmej/Desktop/Tevatron/imx6.0.1/kernel_imx'scripts/kconfig/conf --silentoldconfig Kconfigmake[1]: Leaving directory `/home/jcxmej/Desktop/Tevatron/imx6.0.1/kernel_imx'make[1]: Entering directory `/home/jcxmej/Desktop/Tevatron/imx6.0.1/kernel_imx' CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.hmake[2]: `include/generated/mach-types.h' is up to date. CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h LINK vmlinux LD vmlinux.o MODPOST vmlinux.oWARNING: modpost: Found 4 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y' GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 8 of arch/arm/crypto/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 18 of arch/arm/mach-imx/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 311 of mm/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 556 of fs/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 31 of crypto/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 286 of block/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 243 of lib/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 26 of drivers/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section/home/jcxmej/Desktop/Tevatron/imx6.0.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 524 of net/built-in.o is not in EXIDX output sectiondrivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_disconnect: error: undefined reference to 'cfg80211_disconnected'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_disconnect: error: undefined reference to 'cfg80211_disconnected'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_connect: error: undefined reference to 'ieee80211_frequency_to_channel'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_connect: error: undefined reference to 'ieee80211_frequency_to_channel'drivers/built-in.o:wl_cfg80211.c:function wl_notify_pfn_status: error: undefined reference to 'cfg80211_disconnected'drivers/built-in.o:wl_cfg80211.c:function wl_tdls_event_handler: error: undefined reference to 'cfg80211_rx_mgmt'drivers/built-in.o:wl_cfg80211.c:function wl_notify_mic_status: error: undefined reference to 'cfg80211_michael_mic_failure'drivers/built-in.o:wl_cfg80211.c:function wl_free_wdev: error: undefined reference to 'wiphy_unregister'drivers/built-in.o:wl_cfg80211.c:function wl_free_wdev: error: undefined reference to 'wiphy_free'drivers/built-in.o:wl_cfg80211.c:function wl_run_escan.constprop.17: error: undefined reference to 'ieee80211_frequency_to_channel'drivers/built-in.o:wl_cfg80211.c:function wl_run_escan.constprop.17: error: undefined reference to 'ieee80211_frequency_to_channel'drivers/built-in.o:wl_cfg80211.c:function wl_inform_single_bss: error: undefined reference to 'cfg80211_find_ie'drivers/built-in.o:wl_cfg80211.c:function wl_inform_single_bss: error: undefined reference to 'ieee80211_channel_to_frequency'drivers/built-in.o:wl_cfg80211.c:function wl_inform_single_bss: error: undefined reference to '__ieee80211_get_channel'drivers/built-in.o:wl_cfg80211.c:function wl_inform_single_bss: error: undefined reference to 'cfg80211_inform_bss_width_frame'drivers/built-in.o:wl_cfg80211.c:function wl_inform_single_bss: error: undefined reference to 'cfg80211_put_bss'drivers/built-in.o:wl_cfg80211.c:function wl_update_bss_info: error: undefined reference to 'cfg80211_get_bss'drivers/built-in.o:wl_cfg80211.c:function wl_update_bss_info: error: undefined reference to 'cfg80211_put_bss'drivers/built-in.o:wl_cfg80211.c:function wl_notify_escan_complete: error: undefined reference to 'cfg80211_scan_done'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_mgmt_tx: error: undefined reference to 'cfg80211_mgmt_tx_status'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_mgmt_tx: error: undefined reference to 'cfg80211_mgmt_tx_status'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_mgmt_tx: error: undefined reference to 'cfg80211_mgmt_tx_status'drivers/built-in.o:wl_cfg80211.c:function wl_bss_connect_done: error: undefined reference to 'cfg80211_connect_result'drivers/built-in.o:wl_cfg80211.c:function wl_bss_connect_done: error: undefined reference to 'cfg80211_connect_result'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_join_ibss: error: undefined reference to 'cfg80211_get_bss'drivers/built-in.o:binder.c:function wl_cfg80211_attach: error: undefined reference to 'wiphy_new_nm'drivers/built-in.o:binder.c:function wl_cfg80211_attach: error: undefined reference to 'wiphy_apply_custom_regulatory'drivers/built-in.o:binder.c:function wl_cfg80211_attach: error: undefined reference to 'wiphy_register'drivers/built-in.o:binder.c:function wl_cfg80211_attach: error: undefined reference to 'wiphy_free'drivers/built-in.o:wl_cfg80211.c:function wl_notify_roaming_status: error: undefined reference to 'ieee80211_channel_to_frequency'drivers/built-in.o:wl_cfg80211.c:function wl_notify_roaming_status: error: undefined reference to '__ieee80211_get_channel'drivers/built-in.o:wl_cfg80211.c:function wl_notify_roaming_status: error: undefined reference to 'cfg80211_roamed'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_get_station: error: undefined reference to 'cfg80211_disconnected'drivers/built-in.o:wl_cfg80211.c:function wl_notify_connect_status_ap: error: undefined reference to 'cfg80211_new_sta'drivers/built-in.o:wl_cfg80211.c:function wl_notify_connect_status_ap: error: undefined reference to 'cfg80211_del_sta_sinfo'drivers/built-in.o:wl_cfg80211.c:function wl_notify_connect_status: error: undefined reference to 'ieee80211_channel_to_frequency'drivers/built-in.o:wl_cfg80211.c:function wl_notify_connect_status: error: undefined reference to '__ieee80211_get_channel'drivers/built-in.o:wl_cfg80211.c:function wl_notify_connect_status: error: undefined reference to 'cfg80211_ibss_joined'drivers/built-in.o:wl_cfg80211.c:function wl_notify_connect_status: error: undefined reference to 'cfg80211_get_bss'drivers/built-in.o:wl_cfg80211.c:function wl_notify_connect_status: error: undefined reference to 'cfg80211_unlink_bss'drivers/built-in.o:wl_cfg80211.c:function wl_notify_connect_status: error: undefined reference to 'cfg80211_ibss_joined'drivers/built-in.o:binder.c:function wl_update_wiphybands: error: undefined reference to 'wiphy_apply_custom_regulatory'drivers/built-in.o:binder.c:function wl_update_wiphybands: error: undefined reference to 'ieee80211_channel_to_frequency'drivers/built-in.o:binder.c:function wl_cfg80211_down: error: undefined reference to 'cfg80211_scan_done'drivers/built-in.o:wl_cfg80211.c:function wl_cfg80211_remain_on_channel: error: undefined reference to 'cfg80211_ready_on_channel'drivers/built-in.o:binder.c:function wl_cfg80211_scan_stop: error: undefined reference to 'cfg80211_scan_done'drivers/built-in.o:wl_cfg80211.c:function wl_notify_rx_mgmt_frame: error: undefined reference to 'cfg80211_rx_mgmt'drivers/built-in.o:wl_cfg80211.c:function wl_notify_rx_mgmt_frame: error: undefined reference to 'cfg80211_rx_mgmt'drivers/built-in.o:binder.c:function wl_chspec_chandef: error: undefined reference to '__ieee80211_get_channel'drivers/built-in.o:binder.c:function wl_chspec_chandef: error: undefined reference to 'cfg80211_chandef_create'drivers/built-in.o:binder.c:function wl_cfg80211_ch_switch_notify: error: undefined reference to 'cfg80211_ch_switch_notify'drivers/built-in.o:binder.c:function wl_cfgp2p_listen_complete: error: undefined reference to 'cfg80211_remain_on_channel_expired'drivers/built-in.o:binder.c:function wl_cfgp2p_down: error: undefined reference to 'cfg80211_remain_on_channel_expired'drivers/built-in.o:binder.c:function wl_cfgp2p_del_p2p_disc_if: error: undefined reference to 'cfg80211_unregister_wdev'drivers/built-in.o:binder.c:function wl_cfgp2p_del_p2p_disc_if: error: undefined reference to 'cfg80211_unregister_wdev'drivers/built-in.o:wl_cfgvendor.c:function wl_cfgvendor_priv_string_handler: error: undefined reference to '__cfg80211_alloc_reply_skb'drivers/built-in.o:wl_cfgvendor.c:function wl_cfgvendor_priv_string_handler: error: undefined reference to 'cfg80211_vendor_cmd_reply'drivers/built-in.o:binder.c:function wl_cfgvendor_send_async_event: error: undefined reference to '__cfg80211_alloc_event_skb'drivers/built-in.o:binder.c:function wl_cfgvendor_send_async_event: error: undefined reference to '__cfg80211_send_event_skb'make[1]: *** [vmlinux] Error 1make[1]: Leaving directory `/home/jcxmej/Desktop/Tevatron/imx6.0.1/kernel_imx'make: *** [out/target/product/sabresd_6dq/kernel] Error 2 2ff7e9595c
Commentaires