[Hardware] V20.2.1无线网卡不能使用
Tofloor
poster avatar
leonsun
deepin
2021-05-22 05:27
Author

原来使用的TPlink WDN7200H 无线网卡,在新内核上无法使用,安装驱动也失败,不能Make 成功。

无奈只好退回5.4.7内核版本。

Reply Favorite View the author
All Replies
kirin2020
deepin
2021-05-22 16:33
#1

5.10内核也不能用??

Reply View the author
deepin-mq
deepin
2021-05-22 17:27
#2

5.10不能用吗,我们排查下

Reply View the author
leonsun
deepin
2021-05-24 18:20
#3
deepin-mq

5.10不能用吗,我们排查下

感谢关注及回复

只要5.10的都不行。我刚实验了。

一个是5.10.28,一个是5.10.47.(好像这个两个,我记不得了)

出错信息如下:

./dkms-install.sh 

About to run dkms install steps...

Error! DKMS tree already contains: rtl8812au-5.6.4.2

You cannot add the same module/version combo more than once.

 

Kernel preparation unnecessary for this kernel.  Skipping...

 

Building module:

cleaning build area...

'make' -j8 KVER=5.10.18-amd64-desktop KSRC=/lib/modules/5.10.18-amd64-desktop/build...(bad exit status: 2)

Error! Bad return status for module build on kernel: 5.10.18-amd64-desktop (x86_64)

Consult /var/lib/dkms/rtl8812au/5.6.4.2/build/make.log for more information.

 

Kernel preparation unnecessary for this kernel.  Skipping...

 

Building module:

cleaning build area...

'make' -j8 KVER=5.10.18-amd64-desktop KSRC=/lib/modules/5.10.18-amd64-desktop/build...(bad exit status: 2)

Error! Bad return status for module build on kernel: 5.10.18-amd64-desktop (x86_64)

Consult /var/lib/dkms/rtl8812au/5.6.4.2/build/make.log for more information.

Finished running dkms install steps.

 

Reply View the author
leonsun
deepin
2021-05-24 18:21
#4
kirin2020

5.10内核也不能用??

请看后面出错信息

Reply View the author
kirin2020
deepin
2021-05-24 23:06
#5

你不能正确编译新内核??或者参考我以下的步骤重新操作一遍,看看是否行吧?

Deepin V20 编译使用最新版本内核方法

一、准备好编译需要的工具

automake、make、g++(包含gcc)、bison、flex、libelf-dev、libssl-dev、bc。

懒人模式三条命令:

sudo apt install -y automake make g++ bison flex libelf-dev libssl-dev bc

sudo apt install build-essential libncurses5-dev -y

sudo apt-get build-dep linux

二、步骤

1、先到清华大学镜像源:https://www.kernel.org/,下载自己喜欢的版本内核,如 linux-5.12.6.tar.xz文件,

2、解压 linux-5.12.6.tar.xz的解压命令:

tar xvJf linux-5.12.6.tar.xz

3、配置:

进入内核源码文件夹目录

cd linux-5.12.6 

make menuconfig

Tab 键选择 Save 即可。

4、编辑一下生成的隐藏文件 .config,把以下这行KEY的值改成空:

CONFIG_SYSTEM_TRUSTED_KEYS=""

5、然后,禁用签名验证,下面两条命令:

scripts/config --disable MODULE_SIG

scripts/config --disable DEBUG_INFO

6、最后,生成 deb 包:(注意参数 -j 后面的数字直接影响编译速度的,电脑硬件好的可用10或12,一般就用6或8吧

make deb-pkg -j 10

7、deb 包生成完了就安装:

先退出内核源码文件夹目录

cd .. 回车键

然后执行下面三步安装新内核

sudo dpkg -i linux-headers-*_amd64.deb

sudo dpkg -i linux-image-*_amd64.deb

sudo dpkg -i linux-libc-dev*.deb

8、重启 deepin V20,新版本5.12.6内核就可以用了。

Reply View the author
leonsun
deepin
2021-05-27 07:54
#6
kirin2020

你不能正确编译新内核??或者参考我以下的步骤重新操作一遍,看看是否行吧?

Deepin V20 编译使用最新版本内核方法

一、准备好编译需要的工具

automake、make、g++(包含gcc)、bison、flex、libelf-dev、libssl-dev、bc。

懒人模式三条命令:

sudo apt install -y automake make g++ bison flex libelf-dev libssl-dev bc

sudo apt install build-essential libncurses5-dev -y

sudo apt-get build-dep linux

二、步骤

1、先到清华大学镜像源:https://www.kernel.org/,下载自己喜欢的版本内核,如 linux-5.12.6.tar.xz文件,

2、解压 linux-5.12.6.tar.xz的解压命令:

tar xvJf linux-5.12.6.tar.xz

3、配置:

进入内核源码文件夹目录

cd linux-5.12.6 

make menuconfig

Tab 键选择 Save 即可。

4、编辑一下生成的隐藏文件 .config,把以下这行KEY的值改成空:

CONFIG_SYSTEM_TRUSTED_KEYS=""

5、然后,禁用签名验证,下面两条命令:

scripts/config --disable MODULE_SIG

scripts/config --disable DEBUG_INFO

6、最后,生成 deb 包:(注意参数 -j 后面的数字直接影响编译速度的,电脑硬件好的可用10或12,一般就用6或8吧

make deb-pkg -j 10

7、deb 包生成完了就安装:

先退出内核源码文件夹目录

cd .. 回车键

然后执行下面三步安装新内核

sudo dpkg -i linux-headers-*_amd64.deb

sudo dpkg -i linux-image-*_amd64.deb

sudo dpkg -i linux-libc-dev*.deb

8、重启 deepin V20,新版本5.12.6内核就可以用了。

这不是编译新内核的么?

是网卡的驱动装不上去,报错。显示的是以上错误,不是需要编译新内核

Reply View the author
leonsun
deepin
2021-10-10 16:18
#7

继续报告

社区版10.2.24中5.10.36支持这个无线网卡,5.10.50/60都不支持.

Reply View the author