解决宏基笔记本没有Qualcomm_Atheros_QCA9377无线驱动
Tofloor
poster avatar
Iczelion
deepin
2016-07-10 06:10
Author
本帖最后由 Iczelion 于 2016-7-9 22:12 编辑

硬件:宏基笔记本Acer K50-10-53TR
系统:Deepin GNU/Linux 2015版

今天帮同学在他的笔记本上安装了Win10专业版和Deepin GNU/Linux 2015版双系统,安装后选择进入Deepin GNU/Linux发现只有有线链接,
没有无线网卡驱动。以下是在网上找到的解决方案。

1.首先进入Win10,打开"设备管理器” -> "网络适配器", 可以看到宏基笔记本Acer K50的无线网卡驱动名为Qualcomm Atheros QCA9377。
(开始没有找到Qualcomm Atheros QCA9377在Linux上的驱动名,其实应该是属于ath10k模块)

2.然后进入Deepin Linux,打开终端,查看网卡信息,目前还没有装好,所以只能显示部分信息。输入:
$ lspci | grep Network
03:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)

3.安装git,用来获取github上的软件包。
$ sudo apt-get install git

4.安装一些必备的基础工具以及内核头文件。
$ sudo apt-get install build-essential linux-headers-$(uname -r) git

5.增加无线网卡的驱动模块配置文件。
$ echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf

6.下载backport(推荐使用浏览器下载,网速能或许快点儿)。
$ wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/11/20/backports-20151120.tar.gz

7.解压backport文件。
$ tar zxvf backports-20151120.tar.gz

8.进入backport文件夹,首先配置wifi编译文件,然后make && make install编译安装,可能需要很长一段时间(视机器性能)。
$ cd backports-20151120
$ make defconfig-wifi
$ make
$ sudo make install

9.下载无线网卡Qualcomm Atheros QCA9377的固件。
$ git clone https://github.com/kvalo/ath10k-firmware.git

10.将无线网卡Qualcomm Atheros QCA9377的固件复制到相应适合的位置。
$ sudo cp -r ath10k-firmware/QCA9377 /lib/firmware/ath10k/
$ sudo cp /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin

11.好啦,重启你的电脑,点击控制中心就可以看到无线网卡控制模块了!

原文链接:
http://askubuntu.com/questions/701350/qualcomm-atheros-qca9377-wireless-not-working-on-lenovo-with-14-04-3



Reply Favorite View the author
All Replies
avatar
xliang9550
deepin
2016-07-10 06:27
#1
是的,高通收购Atheros之后,QCA10k的卡也需要私有固件了。并且现在ac的卡都还没有自由实现。
Reply View the author
avatar
jingle
deepin
2016-07-11 01:51
#2
楼主的精神值得鼓励。。
Reply View the author
avatar
xliang9550
deepin
2016-07-11 05:36
#3
即使如此(依赖私有固件),QCA的卡总还是比瑞昱、联发科(雷凌)强多了。
如果由于主板固件限制(Boot Guard)的原因而不能使用Atheros内置网卡,我一般会考虑在GNU/Linux下面使用一块Atheros芯片(有自由固件)的USB网卡。
Reply View the author
avatar
Iczelion
deepin
2016-07-11 06:56
#4
https://bbs.deepin.org/post/41353
是的,高通收购Atheros之后,QCA10k的卡也需要私有固件了。并且现在ac的卡都还没有自由实现。 ...

收购的事儿咱不是很了解,不过控制中心没有无线驱动模块对于新接触的童鞋很崩溃,按照这个教程一操作,重启以后就有了无线驱动模块,很惊喜啊^_^
Reply View the author
avatar
Iczelion
deepin
2016-07-11 06:57
#5
https://bbs.deepin.org/post/41353
楼主的精神值得鼓励。。

谢谢!希望对有需要的朋友有帮助!
Reply View the author
avatar
Iczelion
deepin
2016-07-11 07:00
#6
https://bbs.deepin.org/post/41353
即使如此(依赖私有固件),QCA的卡总还是比瑞昱、联发科(雷凌)强多了。
如果由于主板固件限制(Boot Gua ...

对于常常使用笔记本电脑的我们来说,还是能解决内部无线网卡驱动比较靠谱点儿,否则很有可能直接弃用Deepin, 投ubuntu而去了
Reply View the author
avatar
ttyy
deepin
2016-07-14 01:29
#7
我是个小白不太懂,请问下我用WIFI共享精灵开启WIFI失败,上面显示说无线网卡的驱动不支持WIN10也是这个原因吗,怎么解决呢,而且我发现我的宏碁笔记本连WIFI好像上不了网,前段时间一直用有线网所以没发现。
Reply View the author
avatar
Iczelion
deepin
2016-07-16 20:11
#8
https://bbs.deepin.org/post/41353
我是个小白不太懂,请问下我用WIFI共享精灵开启WIFI失败,上面显示说无线网卡的驱动不支持WIN10也是这个原 ...

Windows上的wifi驱动推荐使用“驱动精灵”下载安装,大多驱动都能找到,不管是不是在win10,Wifi共享精灵没用过,所以不是很清楚呢。如果在Deepin Linux系统上,打开控制中心,如果没有看到无线网络的信号列表,那肯定是wifi的驱动没有装好,首先你得看看自己电脑的无线网卡驱动叫啥名字,然后搜索下Linux系统上相应的名称吧,在百度看看有没有方法安装吧,一般这类情况在国内网站很少找得到答案的(除非很常见的驱动),很有可能在国外网站可能找得到答案
Reply View the author
avatar
qq1650741844
deepin
2016-08-11 23:26
#9
make报错啊,/usr/src/linux-headers-4.4.0-2-deepin-common/scripts/Makefile.build:269: recipe for target '/home/zhangxiaoyu/backports-20151120/drivers/net/wireless/mac80211_hwsim.o' failed
make[7]: *** [/home/zhangxiaoyu/backports-20151120/drivers/net/wireless/mac80211_hwsim.o] Error 1
/usr/src/linux-headers-4.4.0-2-deepin-common/scripts/Makefile.build:408: recipe for target '/home/zhangxiaoyu/backports-20151120/drivers/net/wireless' failed
make[6]: *** [/home/zhangxiaoyu/backports-20151120/drivers/net/wireless] Error 2
/usr/src/linux-headers-4.4.0-2-deepin-common/Makefile:1401: recipe for target '_module_/home/zhangxiaoyu/backports-20151120' failed
make[5]: *** [_module_/home/zhangxiaoyu/backports-20151120] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[4]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile.build:6: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile.real:88: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
Makefile:40: recipe for target 'install' failed
make: *** [install] Error 2
Reply View the author
avatar
189******84
deepin
2016-08-12 03:36
#10
多谢楼主
Reply View the author
avatar
Iczelion
deepin
2016-08-12 06:33
#11
https://bbs.deepin.org/post/41353
make报错啊,/usr/src/linux-headers-4.4.0-2-deepin-common/scripts/Makefile.build:269: recipe for targ ...

之前我那同学自己尝试编译的时候貌似也遇到过这样的问题,首先你的电脑的wifi驱动得确实是Qualcomm_Atheros_QCA9377这个型号,其次请检查下是否安装的了内核头文件(也就是运行下sudo apt-get install build-essential linux-headers-$(uname -r) git),还有请严格按照步骤一步步操作,这个过程我测试过,是可以安装的
Reply View the author
avatar
qq1650741844
deepin
2016-08-14 00:37
#12
https://bbs.deepin.org/post/41353
之前我那同学自己尝试编译的时候貌似也遇到过这样的问题,首先你的电脑的wifi驱动得确实是Qualcomm_Ather ...

我驱动确实是这个型号,我也确实出错了,但是驱动安装成功了,也能用了
Reply View the author
avatar
Iczelion
deepin
2016-08-15 00:09
#13

不用谢,我也曾被硬件驱动问题所困扰,很乐意可以帮助到大家。
Reply View the author