Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Config_iwlwifi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Fri Feb 02, 2024 7:00 am    Post subject: Config_iwlwifi Reply with quote

I have an old Lenovo laptop with an Intel wireless interface.


Code:

tp490s /usr/src/linux # lspci -ks 00:14.3
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
        Subsystem: Intel Corporation Cannon Point-LP CNVi [Wireless-AC]


But in the latest kernel (6.6.13) I can't find the CONFIG_IWLWIFI option?

Code:

tp490s /usr/src/linux # grep CONFIG_IWLWIFI .config



The menuconfig contain only an Intel devices entry:

Code:


 --- Wireless LAN
 [ ]   ADMtek devices
 [ ]   Atheros/Qualcomm devices
 [ ]   Atmel devices
 [ ]   Broadcom devices
 [ ]   Cisco devices
 [*]   Intel devices
 [ ]   Intersil devices
 [*]   Marvell devices
 [ ]   MediaTek devices
 [ ]   Microchip devices
 [ ]   pureLiFi devices
 [ ]   Ralink devices
 [ ]   Realtek devices
 [ ]   Redpine Signals Inc devices
 [ ]   Silicon Laboratories devices
 [ ]   STMicroelectronics devices
 [ ]   Texas Instrument devices
 [ ]   ZyDAS devices
 [ ]   Quantenna wireless cards support
 < >   Aviator/Raytheon 2.4GHz wireless support


And as a result I'm not able to load the firmware either:

Code:

tp490s /usr/src/linux # grep CONFIG_EXTRA_FIRMWARE .config
CONFIG_EXTRA_FIRMWARE="i915/kbl_dmc_ver1_04.bin iwlwifi-9000-pu-b0-jf-b0-46.ucode"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
tp490s /usr/src/linux # ls -l /lib/firmware/iwlwifi-9000-pu-b0-jf-b0-46.ucode
-rw-r--r-- 1 root root 1518772 Feb  1 20:09 /lib/firmware/iwlwifi-9000-pu-b0-jf-b0-46.ucode



Code:

tp490s /usr/src/linux # dmesg |grep -i firmware
[    0.279660] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.556454] Loading firmware: i915/kbl_dmc_ver1_04.bin
[    0.557413] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[    3.003990] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    3.003994] Loading firmware: intel/ibt-17-16-1.sfi
[    3.006120] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi
[    3.006208] Bluetooth: hci0: Firmware Version: 155-35.23
[    4.618628] Bluetooth: hci0: Waiting for firmware download to complete
[    4.618909] Bluetooth: hci0: Firmware loaded in 1574985 usecs
[    4.633013] Loading firmware: intel/ibt-17-16-1.ddc
[    4.635998] Bluetooth: hci0: Firmware revision 0.1 build 155 week 35 2023



How can I configure the Intel wireless driver?
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1538

PostPosted: Fri Feb 02, 2024 7:33 am    Post subject: Reply with quote

Strange. This is my menuconfig screen for 6.6.13:

Code:
│ ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ 
  │ │                                                         --- Wireless LAN                                                                                                               │ │ 
  │ │                                                         [ ]   ADMtek devices                                                                                                           │ │ 
  │ │                                                         [ ]   Atheros/Qualcomm devices                                                                                                 │ │ 
  │ │                                                         [ ]   Atmel devices                                                                                                            │ │ 
  │ │                                                         [ ]   Broadcom devices                                                                                                         │ │ 
  │ │                                                         [ ]   Cisco devices                                                                                                            │ │ 
  │ │                                                         [*]   Intel devices                                                                                                            │ │ 
  │ │                                                         < >     Intel PRO/Wireless 2100 Network Connection                                                                             │ │ 
  │ │                                                         < >     Intel PRO/Wireless 2200BG and 2915ABG Network Connection                                                               │ │ 
  │ │                                                         < >     Intel Wireless WiFi 4965AGN (iwl4965)                                                                                  │ │ 
  │ │                                                         < >     Intel PRO/Wireless 3945ABG/BG Network Connection (iwl3945)                                                             │ │ 
  │ │                                                         <M>     Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)                                          │ │ 
  │ │                                                         < >       Intel Wireless WiFi DVM Firmware support                                                                             │ │ 
  │ │                                                         <M>       Intel Wireless WiFi MVM Firmware support                                                                             │ │ 
  │ │                                                                   Debugging Options  --->                                                                                              │ │ 


Do you have CONFIG_MODULES=y?

Best Regards,
Georgi
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Fri Feb 02, 2024 7:40 am    Post subject: Reply with quote

Yes I do have CONFIG_MODULES=y.

I suspect that my .config file must have got corrupted somehow...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54252
Location: 56N 3W

PostPosted: Fri Feb 02, 2024 8:14 am    Post subject: Reply with quote

pgu,

Go into
Code:
make munuconfig

Press the 'z' key to show hidden symbols.
Use the search to find IWLWIFI

Go to it and read the help. Its probably not selectable
In the help. look at Depends on:
That boolean expression must be true for the option to appear in the menu.
Fix that with the recursive application of the above.

In short, something that IWLWIFI depends on is off.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 721
Location: Oslo, Norway

PostPosted: Fri Feb 02, 2024 8:10 pm    Post subject: Reply with quote

Thank you, I was searching for IWLWIFI and I observed the expressions, but I was not able to select any of the parameters in the expression. I was not aware of the "z" toggle. Unfortunately I have already recreated the .config from scratch so I was not able to test it out. I'll keep it in the back of my head for next time I observe similar hidden options.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54252
Location: 56N 3W

PostPosted: Fri Feb 02, 2024 8:28 pm    Post subject: Reply with quote

pgu,

I don't use Wifi and i have

Code:
Symbol: IWLWIFI [=n]                                       
  │ Type  : tristate                                                         
  │ Defined at drivers/net/wireless/intel/iwlwifi/Kconfig:2     
  │   Prompt: Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi)
  │   Depends on: NETDEVICES [=y] && WLAN [=y] && WLAN_VENDOR_INTEL [=y] && PCI [=y] && HAS_IOMEM [=y] && CFG80211 [=y] && (IWLMEI [=n] || !IWLMEI [=n])         


If that expression is false, the option will be hidden.
You need to visit all the symbols in that list to make the expression true. When you go to them, they all have Depends on: which in turn must be satisfied, and so on.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum