Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No wifi
Date: Tue, 14 Jul 2020 18:14:06
Message-Id: 1628593.QkHrqEjB74@lenovo.localdomain
In Reply to: Re: [gentoo-user] No wifi by Walter Dnes
1 On Tuesday, 14 July 2020 18:20:39 BST Walter Dnes wrote:
2 > On Tue, Jul 14, 2020 at 10:05:52AM +0100, Michael wrote
3
4 > > Does dmesg reveal anything untoward in the kernel failing to find
5 > > or load this firmware?
6 >
7 > Still no wireless, but one bit of progress. It seems that the kernel
8 > does *NOT* like using subdirectories below /lib/firmware. I copied the
9 > ucode file to /lib/firmware and changed the path appropriately before
10 > building the kernel. Now dmesg at bootup shows...
11
12 That's OK, up to a point ...
13
14
15 > [ 0.757370] Intel(R) Wireless WiFi driver for Linux
16 > [ 0.757372] Copyright(c) 2003- 2015 Intel Corporation
17 > [ 0.757478] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have
18 > ASPM control [ 0.757877] iwlwifi 0000:03:00.0: loaded firmware version
19 > 8.83.5.1 build 33692 op_mode iwldvm [ 0.757963] iwlwifi 0000:03:00.0:
20 > CONFIG_IWLWIFI_DEBUG disabled [ 0.757967] iwlwifi 0000:03:00.0:
21 > CONFIG_IWLWIFI_DEBUGFS disabled [ 0.757970] iwlwifi 0000:03:00.0:
22 > CONFIG_IWLWIFI_DEVICE_TRACING disabled [ 0.757973] iwlwifi 0000:03:00.0:
23 > Detected Intel(R) WiFi Link 5100 AGN, REV=0x54 [ 0.761128] [drm] HPD
24 > interrupt storm detected on connector DP-3: switching from hotplug
25 > detection to polling [ 0.762028] fbcon: i915drmfb (fb0) is primary
26 > device
27 > [ 0.795312] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
28
29 Normally you should see something like this following the above entries:
30
31 [ 16.017699] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
32 [ 16.167105] EXT4-fs (sda4): mounted filesystem with ordered data mode.
33 Opts: (null)
34 [ 18.384509] iwlwifi 0000:04:00.0: Radio type=0x1-0x2-0x0
35 [ 18.500644] iwlwifi 0000:04:00.0: Radio type=0x1-0x2-0x0
36
37
38 > > Also, make sure the wireless NIC is enabled in the BIOS and powered
39 > > up by toggling the appropriate Fn key combo, e.g. Fn+F5 or whatever
40 > > it is on your laptop.
41 >
42 > It's enabled in BIOS and the Gentoo minimal install usb stick brings
43 > up wlan0 just fine. In my first post, I listed what kernel settings I
44 > had set. Is there anything else required that I'm missing? After all
45 > these years of hard-wired, I'm still a newbie at wireless, so I could be
46 > missing something glaringly obvious.
47
48 In addition to your kernel selections I also have:
49
50 CONFIG_RFKILL=y
51 CONFIG_RFKILL_LEDS=y
52 CONFIG_RFKILL_INPUT=y
53 CONFIG_RFKILL_GPIO=y
54 ...
55
56 CONFIG_WLAN=y
57 # CONFIG_WLAN_VENDOR_ADMTEK is not set
58 # CONFIG_WLAN_VENDOR_ATH is not set
59 # CONFIG_WLAN_VENDOR_ATMEL is not set
60 # CONFIG_WLAN_VENDOR_BROADCOM is not set
61 # CONFIG_WLAN_VENDOR_CISCO is not set
62 CONFIG_WLAN_VENDOR_INTEL=y
63 # CONFIG_IPW2100 is not set
64 # CONFIG_IPW2200 is not set
65 # CONFIG_IWL4965 is not set
66 # CONFIG_IWL3945 is not set
67 CONFIG_IWLWIFI=m
68 CONFIG_IWLWIFI_LEDS=y
69 CONFIG_IWLDVM=m
70 # CONFIG_IWLMVM is not set
71 CONFIG_IWLWIFI_OPMODE_MODULAR=y
72
73 As you can see I'm using modules and the kernel loads the firmware without me
74 including it in the kernel config. Not sure if there is a difference between
75 built-in and module configuration for the Wireless devices, but you could try
76 it. If you have not built RFKILL in your kernel I suggest you do so and
77 reboot. Finally, may be worth checking the troubleshooting section here:
78
79 https://wiki.gentoo.org/wiki/Iwlwifi
80
81 HTH.

Attachments

File name MIME type
signature.asc application/pgp-signature