[Problem feedback] 大佬帮忙看看无线网卡安装失败帮忙看看什么原因
Tofloor
poster avatar
151******82
deepin
2025-09-04 16:47
Author

/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.c:5730:30: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def , u32, int)’ {aka ‘int ()(struct wiphy *, struct net_device *, struct cfg80211_chan_def , unsigned int, int)’} from incompatible pointer type ‘int ()(struct wiphy *, struct net_device *, struct cfg80211_chan_def , u32)’ {aka ‘int ()(struct wiphy *, struct net_device *, struct cfg80211_chan_def *, unsigned int)’} [-Werror=incompatible-pointer-types]
5730 | .start_radar_detection = rwnx_cfg80211_start_radar_detection,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

上边是出错的红字的地方

make[3]: *** [scripts/Makefile.build:478:/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv] 错误 2
make[2]: *** [/usr/src/linux-headers-6.12.33-amd64-desktop-rolling/Makefile:1953:/usr/src/AIC8800/drivers/aic8800] 错误 2
make[1]: *** [Makefile:224:__sub-make] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-6.12.33-amd64-desktop-rolling”
make: *** [Makefile:64:modules] 错误 2
make failed, install aic8800 wifi drvier failed
dpkg: 处理软件包 aic8800d80fdrvpackage (--install)时出错:
已安装 aic8800d80fdrvpackage 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
aic8800d80fdrvpackage

官网下载的 FAX900UH(免驱版) V1.0 Linux系统驱动程序20250319 无线网卡驱动

Reply Favorite View the author
All Replies
deepin-流云
Moderator
Community OP
2025-09-04 17:01
#1

用的系统内核版本以及官网的驱动下载链接麻烦提供下,找研发同事看看。

Reply View the author
151******82
deepin
2025-09-04 17:09
#2
deepin-流云

用的系统内核版本以及官网的驱动下载链接麻烦提供下,找研发同事看看。

https://service.fastcom.com.cn/search/detailNoVersion/341

网站上的驱动适用于低内核版本的Linux 我们Linux兼容性有这么差吗😂

我的系统社区版25 64位 6.12.33 刚安装的

Reply View the author
deepin-流云
Moderator
Community OP
2025-09-04 17:13
#3
151******82

https://service.fastcom.com.cn/search/detailNoVersion/341

网站上的驱动适用于低内核版本的Linux 我们Linux兼容性有这么差吗😂

我的系统社区版25 64位 6.12.33 刚安装的

这种都需要专门去打patch,如果标明了是针对低版本内核的,那在6.X的内核上大概率是用不了的,你换Ubuntu、Debian也一样。

Reply View the author
151******82
deepin
2025-09-04 17:30
#4
deepin-流云

这种都需要专门去打patch,如果标明了是针对低版本内核的,那在6.X的内核上大概率是用不了的,你换Ubuntu、Debian也一样。

哎 国产系统可能会越来越难,大家实力都差不多生态都一样的烂,还谁也不服谁,软件厂商不会去主动适配的

Reply View the author
zeno
deepin
2025-09-04 17:40
#5
151******82

哎 国产系统可能会越来越难,大家实力都差不多生态都一样的烂,还谁也不服谁,软件厂商不会去主动适配的

https://github.com/Zeno-sole/aic8800d80fdrvpackage/releases/download/0.0.4/aic8800d80fdrvpackage.deb

测了一下6.12上面编译ok了 其他的就没条件测试了

Reply View the author
151******82
deepin
2025-09-04 18:48
#6
zeno

https://github.com/Zeno-sole/aic8800d80fdrvpackage/releases/download/0.0.4/aic8800d80fdrvpackage.deb

测了一下6.12上面编译ok了 其他的就没条件测试了

兄弟 太谢谢您了

Reply View the author
字甲达宾
deepin
2025-09-04 19:54
#7

fast, tplink, mercury 这三家,其实是一个总集团公司。这几家的 aic8800 ax300, ax900, 2025年3月 提供的驱动源码,只支持到 6.8 的内核。你的 6.12 内核,确实是不支持的。

楼下 兄弟提供的 github 驱动,包括 tenda腾达, ugreen 绿联,如果是 2025年 6月,或者之后 发布的驱动,应该是可以支持到 6.14 版本的内核。

友情提示:

如果有朋友想在 6.12 内核版本上,买 aic8800 300M/900M 的无线网卡,强烈推荐 购买 tenda 和 ugreen 这两个牌子。其它厂家牌子,官方提供驱动,可能只能在 6.8 及以下内核下才能使用。

Reply View the author
151******82
deepin
2025-09-04 19:59
#8
字甲达宾

fast, tplink, mercury 这三家,其实是一个总集团公司。这几家的 aic8800 ax300, ax900, 2025年3月 提供的驱动源码,只支持到 6.8 的内核。你的 6.12 内核,确实是不支持的。

楼下 兄弟提供的 github 驱动,包括 tenda腾达, ugreen 绿联,如果是 2025年 6月,或者之后 发布的驱动,应该是可以支持到 6.14 版本的内核。

友情提示:

如果有朋友想在 6.12 内核版本上,买 aic8800 300M/900M 的无线网卡,强烈推荐 购买 tenda 和 ugreen 这两个牌子。其它厂家牌子,官方提供驱动,可能只能在 6.8 及以下内核下才能使用。

下载了上边的安卓包解决了

Reply View the author
字甲达宾
deepin
2025-09-04 22:34
#9
zeno

https://github.com/Zeno-sole/aic8800d80fdrvpackage/releases/download/0.0.4/aic8800d80fdrvpackage.deb

测了一下6.12上面编译ok了 其他的就没条件测试了

顺手在 openKylin 2.0 sp2, 6.6.0-17-generic 上编译了一下 你 2025-9-04 为 tp-link 7000 打过 kernel 6.12 补丁的源码。

make 编译失败。主要错误输出:

 CC [M]  aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_mesh.o
aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.c: In function ‘rwnx_csa_finish’:
aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.c:1060:24: error: ‘struct rwnx_vif’ has no member named ‘wdev_mutex’
 1060 |         mutex_lock(&vif->wdev_mutex);
      |                        ^~
aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.c:1080:26: error: ‘struct rwnx_vif’ has no member named ‘wdev_mutex’
 1080 |         mutex_unlock(&vif->wdev_mutex);
      |                          ^~
make[4]: *** [scripts/Makefile.build:243:aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.o] 错误 1
make[4]: *** 正在等待未完成的任务....
make[3]: *** [scripts/Makefile.build:480:aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv] 错误 2
make[2]: *** [/usr/src/linux-headers-6.6.0-17-generic/Makefile:1952:aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800] 错误 2
make[1]: *** [Makefile:236:__sub-make] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-6.6.0-17-generic”
make: *** [Makefile:59:modules] 错误 2
Reply View the author
waittingsummer
deepin
2025-09-05 08:44
#10

我在深度商店买的适用deepin的免驱无线网卡,这块网卡到了windows下反而需要打驱动。

Reply View the author
字甲达宾
deepin
2025-09-05 15:39
#11
waittingsummer

我在深度商店买的适用deepin的免驱无线网卡,这块网卡到了windows下反而需要打驱动。

不知道你的芯片是 rtl8188gu, 还是 8188fu ?

Reply View the author
waittingsummer
deepin
2025-09-05 16:01
#12
字甲达宾

不知道你的芯片是 rtl8188gu, 还是 8188fu ?

都不是,是rtw_8821cu
image.png

Reply View the author
字甲达宾
deepin
2025-09-05 21:01
#13
waittingsummer

都不是,是rtw_8821cu
image.png

有一说一,deepin和 UOS 的 hwe 内核,确实额外加了不少 无线网卡的驱动进去。有时用起来,比 windows 系统还要方便。

Reply View the author
zeno
deepin
2025-09-06 13:48
#14
字甲达宾

顺手在 openKylin 2.0 sp2, 6.6.0-17-generic 上编译了一下 你 2025-9-04 为 tp-link 7000 打过 kernel 6.12 补丁的源码。

make 编译失败。主要错误输出:

 CC [M]  aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_mesh.o
aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.c: In function ‘rwnx_csa_finish’:
aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.c:1060:24: error: ‘struct rwnx_vif’ has no member named ‘wdev_mutex’
 1060 |         mutex_lock(&vif->wdev_mutex);
      |                        ^~
aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.c:1080:26: error: ‘struct rwnx_vif’ has no member named ‘wdev_mutex’
 1080 |         mutex_unlock(&vif->wdev_mutex);
      |                          ^~
make[4]: *** [scripts/Makefile.build:243:aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_main.o] 错误 1
make[4]: *** 正在等待未完成的任务....
make[3]: *** [scripts/Makefile.build:480:aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv] 错误 2
make[2]: *** [/usr/src/linux-headers-6.6.0-17-generic/Makefile:1952:aic8800d80fdrvpackage/usr/src/AIC8800/drivers/aic8800] 错误 2
make[1]: *** [Makefile:236:__sub-make] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-6.6.0-17-generic”
make: *** [Makefile:59:modules] 错误 2

内核接口变更导致的问题,有源码其实蛮好解决的,就是需要花点时间

Reply View the author
字甲达宾
deepin
2025-09-06 15:04
#15
zeno

内核接口变更导致的问题,有源码其实蛮好解决的,就是需要花点时间

其实,用tplink 官方旧的原厂驱动,也能正常编译 openKylin 2.0 sp2的 6.6.0-17的驱动。

linux 世界里,内核版本变化,升级太频繁了,编译驱动就是个 没完没了 的事。这对推广来说,是很不友好的

Reply View the author
字甲达宾
deepin
2025-09-07 21:40
#16
zeno

内核接口变更导致的问题,有源码其实蛮好解决的,就是需要花点时间

用你 github 2025-09-04 提供的 deb,

在 debian 13.1 amd64, 6.12.43+deb13-amd64, mercury 水星 ax900 迷你型:

驱动编译通过、能正常联网。


顺便提一个:

tp-link 官方提供的 XDN7000 / XDN7000H (ax900) 驱动,有点忽悠人:

发布日期显示 2025-09-05, 实际驱动包是 2025-1 的,疑似也只支持到内核 6.8

Reply View the author