SDR-Technologies / NanoSDR

GNU General Public License v3.0
21 stars 2 forks source link

Intel 8265/8275 WiFi/BT extension module not working #1

Closed SDR-Technologies closed 3 years ago

SDR-Technologies commented 3 years ago

This issue was reported by email from Edward KD5M

Symptoms :

wlan0 interface is missing running ifconfig command, however module kernel (iwlwifi.ko) is correctly loaded :

sudo insmod $(locate iwlwifi.ko)
[sudo] password for ubuntu:
insmod: ERROR: could not insert module /lib/modules/4.9.140-tegra/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko: File exists

The "Files exists" message means the kernel module is YET loaded on memory and so the interface is correctly detected. From other logfiles we can get more details:

lspci :

01:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
.....
Kernel modules: iwlwifi

lsmod :

Module                  Size  Used by
iwlwifi               167043  0
cfg80211              589351  1 iwlwifi

dmesg command shows only firmware files for the device are missing :

[    3.727254] Intel(R) Wireless WiFi driver for Linux
[    3.727258] Copyright(c) 2003- 2015 Intel Corporation
[    3.727481] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[    3.740894] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-26.ucode failed with error -2
[    3.762070] iwlwifi 0000:01:00.0: Falling back to user helper
[    3.950938] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-25.ucode failed with error -2
[    3.961112] iwlwifi 0000:01:00.0: Falling back to user helper
[    3.970190] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-24.ucode failed with error -2
[    3.979625] iwlwifi 0000:01:00.0: Falling back to user helper
[    3.986408] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-23.ucode failed with error -2
[    3.995743] iwlwifi 0000:01:00.0: Falling back to user helper
[    4.003111] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-8265-22.ucode failed with error -2
[    4.012347] iwlwifi 0000:01:00.0: Falling back to user helper
[    4.020144] iwlwifi 0000:01:00.0: no suitable firmware found!
SDR-Technologies commented 3 years ago

WIFI

The quick fix :

Download : https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-8265-ucode-22.361476.0.tgz From this archive, copy iwlwifi-8265-22.ucode file to /lib/firmware directory on the jetson (using sudo), then reboot.

The clean fix :

sudo apt-get install linux-firmware

"This command will install all the firmware description files into /lib/firmware - including many versions of iwlwifi-8265-xx.ucode. It appears that is the direct way to set up the WiFi module rather than cutting and pasting individual files."

Bluetooth

WIP