如何为Realtek 8188 can USB适配器安装驱动程序?
但什么也没起作用。
有解决办法吗?
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:444:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_rx_signal;
^
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:446:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("ampdu_enable", S_IFREG | S_IRUGO,
^
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:452:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_ampdu_enable;
^
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:454:8: warning: assignment makes pointer from integer without a cast [enabled by default]
entry = create_proc_read_entry("rssi_disp", S_IFREG | S_IRUGO,
^
/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.c:460:7: error: dereferencing pointer to incomplete type
entry->write_proc = proc_set_rssi_disp;
^
cc1: some warnings being treated as errors
make[1]: ** [/var/lib/dkms/rtl8192cu-tjp/1.6/build/os_dep/linux/os_intfs.o] Erro 1
make: ** [_module_/var/lib/dkms/rtl8192cu-tjp/1.6/build] Erro 2
make: Saindo do diretório `/usr/src/linux-headers-3.13.0-63-generic'发布于 2015-09-13 18:34:48
在我看来,你似乎错过了几件基本的事情:
lsusb、lsmod或lspci。搜索设备ID。如果您从源代码构建驱动程序,并且它没有使用实际的内核版本构建,请尝试使用另一个内核版本进行构建。在linux下,在启动时切换内核版本是非常容易的。如果需要帮助安装旧版本的内核,请遵循这篇文章将安装旧版本的内核。。
试试这是谷歌代码。这是来自realtek的补丁司机。
但是您必须将本地驱动程序列入黑名单:将一个文件放入/etc/modprobe.d/,其中包含以下内容:
# Blacklist native RealTek 8188CUs drivers
blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifihttps://askubuntu.com/questions/673727
复制相似问题