Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2021 18:00:19 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@freebsd.org>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        Pete Wright <pete@nomadlogic.org>,  "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: [iwlwifi] fail to load firmware
Message-ID:  <alpine.BSF.2.00.2112291757580.68830@ai.fobar.qr>
In-Reply-To: <CACNAnaE9pq8z0QjvOXD4igWye=OHNmRaO40ba6EJyEQenpbVcg@mail.gmail.com>
References:  <46c49e54-de1f-6cd0-0ba5-499e209a7e57@nomadlogic.org> <alpine.BSF.2.00.2112291711380.68830@ai.fobar.qr> <alpine.BSF.2.00.2112291729550.68830@ai.fobar.qr> <CACNAnaE9pq8z0QjvOXD4igWye=OHNmRaO40ba6EJyEQenpbVcg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Dec 2021, Kyle Evans wrote:

> On Wed, Dec 29, 2021 at 11:36 AM Bjoern A. Zeeb <bz@freebsd.org> wrote:
>>
>> On Wed, 29 Dec 2021, Bjoern A. Zeeb wrote:
>>
>>> On Wed, 29 Dec 2021, Pete Wright via freebsd-wireless wrote:
>>>
>>> Hi Pete,
>>>
>>>> hello - i've got an intel device currently working under iwm:
>>>>
>>>> iwm0: <Intel(R) Dual Band Wireless AC 9560> mem 0xdd338000-0xdd33bfff at
>>>> device 20.3 on pci0
>>>> iwm0: hw rev 0x310, fw ver 34.3125811985.0, address
>>>>
>>>> after building CURRENT on the 28th and attempting to load if_iwlwifi via
>>>> /boot/loader.conf i get these errors when the firmware tries to load:
>>
>> I am sorry; I hadn't fully realised;  if you load the driver from
>> loader you'd have to load the fimrware manually as well as otherwise
>> there's no file system yet to load it from.
>>
>> Problem is the loader.conf syntax doesn't allow you to say,
>> foo-bar-baz_load="YES".
>>
>
> FWIW you can work around this, but it's ugly. We offer ${module}_name
> to specify the actual name of a module, so:
>
> my_fw_with_dashes_load="YES"
> my_fw_with_dashes_name="my-fw-with-dashes"

Oh, cool.  Thank you!  I didn't know that worked generally :-)
A lot better than any crude exec hacks I'd have used old-school way.

/bz

-- 
Bjoern A. Zeeb                                                     r15:7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2112291757580.68830>