linux Intel a370/AC9560 driver

issue

when I install ubuntu 16.04 and in system setting can’t open wireless, no wireless network interface.

Enviroment

hardware: Lenovo Y7000
Network: Intel A370
os: ubuntu 16.04

HOWTO

First I switch to Windows System and search wireless hardware info and find it’s Intel AC 9560, but in linux world just call it is a370, just remember a370 is AC 9560 and a370 is product id.

Then I begin to detect computer info in linux with inix or lshw, lspci, here is inix:

$ inxi -Fxz
Network:  Card-1: Intel Device a370
           IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 07:00.0
           IF: enp7s0 state: down mac: <filter>
...

a370 is wireless NIC and rtl8111 is wired NIC, but a370 can’t probe any driver. then I go to intel’s driver web
https://www.intel.com/content/www/us/en/support/articles/000005511/network-and-i-o/wireless.html and download its firmware.
then unpack it and cp iwlwifi-9000-pu-b0-jf-b0-34.ucode /lib/firmware/,but it has been existed there across linux-firmware packge.
reboot and there is no difference.

Next I search iwlwifi info and go to https://cateee.net/lkddb/web-lkddb/IWLWIFI.html, I found it first merged in linux is 4.9,so my kernel must not contain this driver. Two choices:

  1. update to kernel 4.9+, it contains wireless card driver;
  2. backport driver to 4.4.

Thanks my god, intel has offical backport-iwlwifi, now I just need to download this repository and install it.

git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
cd backport-iwlwifi
make defconfig-iwlwifi-public
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
make -j4
sudo make install

Sometimes we use newer hardware, don’t forget match with new driver, this is for someone use newer kernel but not so stable, it support more hardware. And reverse is that when we use old hardware, maybe we need to use old kernel, like 2.6, 2.4…

reflink

Linux Mint Forum: https://forums.linuxmint.com/viewtopic.php?t=279545
collet from LKML and static driver info: https://cateee.net/lkddb/web-lkddb/IWLWIFI.html
linux firmware: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/

已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页