How to get Intel 9260 (RE-WFKIT-9260NVP) WiFi/BT working on Ubuntu 20.04?

Options
r0h
r0h New Member Posts: 19

I installed Ubuntu 20.04 on my Up Squared, according to the instructions here: https://github.com/up-board/up-community/wiki/Ubuntu_20.04

While in the installer I selected the option to allow 3rd party wireless firmware (and the installer could see nearby wifi networks.)

After I finished updating the kernel and I rebooted, I proceeded to the next instructions and accidentally ran sudo apt install firmware-ampak, even though I realized later I didn't need to. I have subsequently removed that package.

However, when I run the commands listed below it to test wifi and bluetooth, both of them do not indicate they are working:

user@user-UP-APL01:~$ sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning.
hcitool scan
Scanning ...
^C

(there is never anything found, even though I know I have discoverable bluetooth TV in range, which I can see from a different linux machine.)

It seems like the firmware for the wifi was found...

dmesg | grep iwlwifi
[    4.967123] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[    4.996111] iwlwifi 0000:04:00.0: loaded firmware version 46.4d093a30.0 op_mode iwlmvm
[    5.049884] iwlwifi 0000:04:00.0: Detected Intel(R) Wireless-AC 9260 160MHz, REV=0x324
[    5.102601] iwlwifi 0000:04:00.0: base HW address: 00:91:9e:f4:3f:10
[    5.508127] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0

But in the GUI it just shows the wifi as disabled (and like I say, no BT devices are found.)

Another forum post said I needed to edit BIOS settings like is mentioned here: https://github.com/up-board/up-community/wiki/Wireless. But when I went to check them, my PCI Express Root Port 6 was set correctly (presumably there's been a BIOS update since that was written, so that that's not needed anymore on newer systems?)

I'm at a loss. How can I debug the issue from here and get my wifi/BT working?

Answers

  • Wilbert
    Wilbert New Member Posts: 168 ✭✭✭
    Options

    Hi Sir,

    I tested UP Squared here, and I didn't find your problem.
    I use Ubuntu 20.04, Kernel 5.15.0-46.
    I also saw WiFi during the installation process. After the installation was complete, I updated the WiFi Firmware (provided by Intel), and then restarted. Both WiFi and Bluetooth can be used normally.
    You can try to update it.
    https://www.intel.com.tw/content/www/tw/zh/support/articles/000005511/wireless.html

    Best Regards,
    Wilbert Lee

  • r0h
    r0h New Member Posts: 19
    edited May 2023
    Options

    ok, so
    1) I shouldn't be downgrading to the specific kernel version currently listed as supported in the UP documentation here https://github.com/up-board/up-community/wiki/Ubuntu_20.04 ?
    2) Did you update your firmware by manually copying the file, as mentioned on that page, or by using fwupd? If manually copying, was wifi not working after the install was done, but before the firmware was updated?

    Also I'm experiencing the same issue on a second device that I freshly installed on. I would note that it seems to me like the version of firmware available on Intel's website (US version: https://www.intel.com/content/www/us/en/support/articles/000005511/wireless.html) is older than what's available from Ubuntu itself. I.e. when I download it, it seems to be version 34, whereas Ubuntu already has, and is using, version 46:

    user@user-UP-APL02:~/Downloads/iwlwifi-9260-th-b0-jf-b0-34.618819$ ls -la /lib/firmware/iwlwifi-9260-th-b0-jf-b0-*
    -rw-r--r-- 1 root root 2637216 Mar 22 05:16 /lib/firmware/iwlwifi-9260-th-b0-jf-b0-33.ucode
    -rw-r--r-- 1 root root 2678092 Mar 22 05:16 /lib/firmware/iwlwifi-9260-th-b0-jf-b0-34.ucode
    -rw-r--r-- 1 root root 2521412 Mar 22 05:16 /lib/firmware/iwlwifi-9260-th-b0-jf-b0-38.ucode
    -rw-r--r-- 1 root root 2620656 Mar 22 05:16 /lib/firmware/iwlwifi-9260-th-b0-jf-b0-41.ucode
    -rw-r--r-- 1 root root 2558176 Mar 22 05:16 /lib/firmware/iwlwifi-9260-th-b0-jf-b0-43.ucode
    -rw-r--r-- 1 root root 1483116 Mar 22 05:16 /lib/firmware/iwlwifi-9260-th-b0-jf-b0-46.ucode
    (failed reverse-i-search)`': sudo fwup^Cgr refresh --force
    user@user-UP-APL02:~/Downloads/iwlwifi-9260-th-b0-jf-b0-34.618819$ dmesg | grep iwlwifi
    [    4.100422] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
    [    4.123624] iwlwifi 0000:04:00.0: WRT: Overriding region id 0
    [    4.123635] iwlwifi 0000:04:00.0: WRT: Overriding region id 1
    [    4.123638] iwlwifi 0000:04:00.0: WRT: Overriding region id 2
    [    4.123641] iwlwifi 0000:04:00.0: WRT: Overriding region id 3
    [    4.123643] iwlwifi 0000:04:00.0: WRT: Overriding region id 4
    [    4.123645] iwlwifi 0000:04:00.0: WRT: Overriding region id 6
    [    4.123647] iwlwifi 0000:04:00.0: WRT: Overriding region id 8
    [    4.123649] iwlwifi 0000:04:00.0: WRT: Overriding region id 9
    [    4.123651] iwlwifi 0000:04:00.0: WRT: Overriding region id 10
    [    4.123654] iwlwifi 0000:04:00.0: WRT: Overriding region id 11
    [    4.123656] iwlwifi 0000:04:00.0: WRT: Overriding region id 15
    [    4.123658] iwlwifi 0000:04:00.0: WRT: Overriding region id 16
    [    4.123660] iwlwifi 0000:04:00.0: WRT: Overriding region id 18
    [    4.123662] iwlwifi 0000:04:00.0: WRT: Overriding region id 19
    [    4.123665] iwlwifi 0000:04:00.0: WRT: Overriding region id 20
    [    4.123667] iwlwifi 0000:04:00.0: WRT: Overriding region id 21
    [    4.123669] iwlwifi 0000:04:00.0: WRT: Overriding region id 28
    [    4.124645] iwlwifi 0000:04:00.0: loaded firmware version 46.4d093a30.0 9260-th-b0-jf-b0-46.ucode op_mode iwlmvm
    [    4.231430] iwlwifi 0000:04:00.0: Detected Intel(R) Wireless-AC 9260 160MHz, REV=0x324
    [    4.279845] iwlwifi 0000:04:00.0: base HW address: 00:91:9e:f3:22:79
    [    5.075212] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
    
    
  • r0h
    r0h New Member Posts: 19
    Options

    So I think I might have been misled by those wifi and bluetooth confirmation commands. It turns out that if I use "bluetoothctl" and then after it's launched, "scan on", I can see bluetooth devices (though not any bluetooth classic ones, only LE. So I'm trying an upgrade to 22.04 to get a newer version of bluez), and I also can connect to wifi networks if I go to the confirmation. So I guess it seems like everything's working, and just the documentation needs an update. Thank you @Wilbert

  • Janphr
    Janphr New Member Posts: 3
    Options

    @r0h could you tell me what bandwidth you achieve with your wifi? I'm using the 9260 wifi module in an UP Xtreme I7-8565U with the official 5.4-upboard kernel, but the connection is slow (<<12MB/s) and unstable.
    Any advice?