On Tuesday, 14 July 2020 18:20:39 BST Walter Dnes wrote:
> On Tue, Jul 14, 2020 at 10:05:52AM +0100, Michael wrote

> > Does dmesg reveal anything untoward in the kernel failing to find
> > or load this firmware?
> 
>   Still no wireless, but one bit of progress.  It seems that the kernel
> does *NOT* like using subdirectories below /lib/firmware.  I copied the
> ucode file to /lib/firmware and changed the path appropriately before
> building the kernel.  Now dmesg at bootup shows...

That's OK, up to a point ...


> [    0.757370] Intel(R) Wireless WiFi driver for Linux
> [    0.757372] Copyright(c) 2003- 2015 Intel Corporation
> [    0.757478] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have
> ASPM control [    0.757877] iwlwifi 0000:03:00.0: loaded firmware version
> 8.83.5.1 build 33692 op_mode iwldvm [    0.757963] iwlwifi 0000:03:00.0:
> CONFIG_IWLWIFI_DEBUG disabled [    0.757967] iwlwifi 0000:03:00.0:
> CONFIG_IWLWIFI_DEBUGFS disabled [    0.757970] iwlwifi 0000:03:00.0:
> CONFIG_IWLWIFI_DEVICE_TRACING disabled [    0.757973] iwlwifi 0000:03:00.0:
> Detected Intel(R) WiFi Link 5100 AGN, REV=0x54 [    0.761128] [drm] HPD
> interrupt storm detected on connector DP-3: switching from hotplug
> detection to polling [    0.762028] fbcon: i915drmfb (fb0) is primary
> device
> [    0.795312] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'

Normally you should see something like this following the above entries:

[   16.017699] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
[   16.167105] EXT4-fs (sda4): mounted filesystem with ordered data mode. 
Opts: (null)
[   18.384509] iwlwifi 0000:04:00.0: Radio type=0x1-0x2-0x0
[   18.500644] iwlwifi 0000:04:00.0: Radio type=0x1-0x2-0x0


> > Also, make sure the wireless NIC is enabled in the BIOS and powered
> > up by toggling the appropriate Fn key combo, e.g. Fn+F5 or whatever
> > it is on your laptop.
> 
>   It's enabled in BIOS and the Gentoo minimal install usb stick brings
> up wlan0 just fine.  In my first post, I listed what kernel settings I
> had set.  Is there anything else required that I'm missing?  After all
> these years of hard-wired, I'm still a newbie at wireless, so I could be
> missing something glaringly obvious.

In addition to your kernel selections I also have:

CONFIG_RFKILL=y
CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
CONFIG_RFKILL_GPIO=y
...

CONFIG_WLAN=y
# CONFIG_WLAN_VENDOR_ADMTEK is not set
# CONFIG_WLAN_VENDOR_ATH is not set
# CONFIG_WLAN_VENDOR_ATMEL is not set
# CONFIG_WLAN_VENDOR_BROADCOM is not set
# CONFIG_WLAN_VENDOR_CISCO is not set
CONFIG_WLAN_VENDOR_INTEL=y
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_IWL4965 is not set
# CONFIG_IWL3945 is not set
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLDVM=m
# CONFIG_IWLMVM is not set
CONFIG_IWLWIFI_OPMODE_MODULAR=y

As you can see I'm using modules and the kernel loads the firmware without me 
including it in the kernel config.  Not sure if there is a difference between 
built-in and module configuration for the Wireless devices, but you could try 
it.  If you have not built RFKILL in your kernel I suggest you do so and 
reboot.  Finally, may be worth checking the troubleshooting section here:

https://wiki.gentoo.org/wiki/Iwlwifi

HTH.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to