请问有没有USB网卡RTL8821CU的驱动?
Tofloor
poster avatar
striver
deepin
2019-08-01 20:32
Author
在网上找了一个驱动,但是只驱动了无线网卡,蓝牙无法识别。
Reply Favorite View the author
All Replies
aida
deepin
2019-08-01 21:07
#1
你好 网卡尝试安装一下这个包firmware-realtek

sudo apt install  firmware-realtek


蓝牙问题
sudo dmesg |grep -i blue
将命令输出的内容反馈一下~
Reply View the author
striver
deepin
2019-08-01 22:13
#2
https://bbs.deepin.org/post/181459
你好 网卡尝试安装一下这个包firmware-realtek

sudo apt install  firmware-realtek

[   19.780345] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.780347] Bluetooth: BNEP filters: protocol multicast
[   19.780352] Bluetooth: BNEP socket layer initialized
[   21.020206] Bluetooth: hci0: command 0x1001 tx timeout
[   22.588386] Modules linked in: bnep btusb btrtl btbcm 8821cu(OE) btintel bluetooth ecdh_generic input_leds cfg80211 nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel k10temp snd_hda_codec snd_hda_core snd_hwdep ccp shpchp edac_mce_amd snd_pcm snd_timer snd kvm_amd mac_hid kvm irqbypass soundcore wmi_bmof pcspkr mincores(OE) parport_pc ppdev lp parport binfmt_misc vfs_monitor(OE) ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid amdkfd amd_iommu_v2 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc amdgpu aesni_intel chash i2c_algo_bit aes_x86_64 ttm crypto_simd glue_helper cryptd drm_kms_helper syscopyarea sysfillrect
[   24.892405] Modules linked in: bnep btusb btrtl btbcm 8821cu(OE) btintel bluetooth ecdh_generic input_leds cfg80211 nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel k10temp snd_hda_codec snd_hda_core snd_hwdep ccp shpchp edac_mce_amd snd_pcm snd_timer snd kvm_amd mac_hid kvm irqbypass soundcore wmi_bmof pcspkr mincores(OE) parport_pc ppdev lp parport binfmt_misc vfs_monitor(OE) ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid amdkfd amd_iommu_v2 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc amdgpu aesni_intel chash i2c_algo_bit aes_x86_64 ttm crypto_simd glue_helper cryptd drm_kms_helper syscopyarea sysfillrect
[   25.404345] Modules linked in: bnep btusb btrtl btbcm 8821cu(OE) btintel bluetooth ecdh_generic input_leds cfg80211 nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel k10temp snd_hda_codec snd_hda_core snd_hwdep ccp shpchp edac_mce_amd snd_pcm snd_timer snd kvm_amd mac_hid kvm irqbypass soundcore wmi_bmof pcspkr mincores(OE) parport_pc ppdev lp parport binfmt_misc vfs_monitor(OE) ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid amdkfd amd_iommu_v2 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc amdgpu aesni_intel chash i2c_algo_bit aes_x86_64 ttm crypto_simd glue_helper cryptd drm_kms_helper syscopyarea sysfillrect
[   29.148060] Bluetooth: hci0: HCI_OP_READ_LOCAL_VERSION failed (-110)
Reply View the author
aida
deepin
2019-08-02 04:12
#3
dmesg看不出蓝牙型号。。


蓝牙型号是什么?是RTL8821CU网卡集成的蓝牙吗?

lspci -v

或者

lsusb

能看到蓝牙吗?
Reply View the author
hanshuiusl
deepin
2019-08-02 04:47
#4
https://bbs.deepin.org/post/181459
你好 网卡尝试安装一下这个包firmware-realtek

sudo apt install  firmware-realtek

RTL8723BE网卡集成的蓝牙,dmesg | grep bluetooth显示:
[    5.642479] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2


无法安装firmware-realtek软件包,显示:
123@abc:~$ sudo apt install firmware-realtek
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
下列【新】软件包将被安装:
  firmware-realtek
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 494 kB 的归档。
解压缩后会消耗 1,576 kB 的额外空间。
获取:1 https://mirrors.tuna.tsinghua.edu.cn/deepin lion/non-free amd64 firmware-realtek all 20180518-1 [494 kB]
已下载 494 kB,耗时 1秒 (251 kB/s)        
(正在读取数据库 ... 系统当前共安装有 222033 个文件和目录。)
正准备解包 .../firmware-realtek_20180518-1_all.deb  ...
正在解包 firmware-realtek (20180518-1) ...
dpkg: 处理归档 /var/cache/apt/archives/firmware-realtek_20180518-1_all.deb (--unpack)时出错:
正试图覆盖 /lib/firmware/RTL8192E/boot.img,它同时被包含于软件包 linux-firmware 1.173.2
dpkg-deb: 错误: 子进程 粘贴 被信号(断开的管道) 终止了
在处理时有错误发生:
/var/cache/apt/archives/firmware-realtek_20180518-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply View the author
aida
deepin
2019-08-02 19:22
#5
https://bbs.deepin.org/post/181459
RTL8723BE网卡集成的蓝牙,dmesg | grep bluetooth显示:

下载这个文件 https://github.com/armbian/firmw ... config.bin?raw=true

然后放到

sudo  mkdir -p /lib/firmware/rtl_bt

sudo cp  rtl8723b_config.bin  /lib/firmware/rtl_bt

然后重启

还不行的话再发一下dmesg | grep bluetooth
Reply View the author
wukong_android
deepin
2019-08-02 21:05
#6
试试这个
https://github.com/rainbow-cnay/rtl8821cu-nvidia-jetson-nano
Reply View the author
striver
deepin
2019-08-05 19:22
#7
https://bbs.deepin.org/post/181459
dmesg看不出蓝牙型号。。

是的,是RTL8821CU集成的蓝牙,win10下可用。linux下始终不能驱动。
Reply View the author
hanshuiusl
deepin
2019-08-06 23:02
#8
https://bbs.deepin.org/post/181459
下载这个文件 https://github.com/armbian/firmware/blob/master/rtl_bt/rtl8723b_config.bin?raw=true

...

蓝牙可以用了,谢谢!
Reply View the author
uos_lcc
deepin
2021-04-09 23:42
#9

8821cu目前有这个问题,已经debug。
目前是换个驱动和固件:
1.驱动用的:https://github.com/rainbow-cnay/rtl8821cu-nvidia-jetson-nano
2.固件下载这个:
cd /lib/firmware/rtl_bt
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_bt/rtl8821c_config.bin
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_bt/rtl8821c_fw.bin
sudo update-initramfs -u
reboot
驱动和固件不匹配导致的。测试Pass

Reply View the author