Gentoo Archives: gentoo-user

From: Ashley Dixon <ash@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No wifi
Date: Tue, 14 Jul 2020 17:31:50
Message-Id: 20200714173043.tfydi2awjyprpepi@ad-gentoo-main
In Reply to: Re: [gentoo-user] No wifi by Walter Dnes
1 On Tue, Jul 14, 2020 at 01:20:39PM -0400, Walter Dnes wrote:
2 > Still no wireless, but one bit of progress. It seems that the kernel
3 > does *NOT* like using subdirectories below /lib/firmware. I copied the
4 > ucode file to /lib/firmware and changed the path appropriately before
5 > building the kernel.
6
7 I can't imagine why that would be the case. My /lib/firmware structure looks a
8 bit like this, for my video card:
9
10 /lib/firmware/
11 ├── amdgpu
12 │   ├── polaris10_ce_2.bin
13 │   ├── polaris10_ce.bin
14 │   ├── polaris10_k2_smc.bin
15 │   ├── polaris10_k_mc.bin
16 │   ├── polaris10_k_smc.bin
17 │   ├── polaris10_mc.bin
18 │   ├── polaris10_me_2.bin
19 │   ├── polaris10_me.bin
20 │   ├── polaris10_mec2_2.bin
21 │   ├── polaris10_mec_2.bin
22 │   ├── polaris10_mec2.bin
23 │   ├── polaris10_mec.bin
24 │   ├── polaris10_pfp_2.bin
25 │   ├── polaris10_pfp.bin
26 │   ├── polaris10_rlc.bin
27 │   ├── polaris10_sdma1.bin
28 │   ├── polaris10_sdma.bin
29 │   ├── polaris10_smc.bin
30 │   ├── polaris10_smc_sk.bin
31 │   ├── polaris10_uvd.bin
32 │   ├── polaris10_vce.bin
33 │   ├── TAHITI_uvd.bin
34 │   └── TAHITI_vce.bin
35 ├── regulatory.db
36 └── regulatory.db.p7s
37
38 1 directory, 25 files
39
40 ... And the kernel .config:
41
42 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
43 CONFIG_EXTRA_FIRMWARE="amdgpu/polaris10_ce.bin amdgpu/polaris10_ce_2.bin
44 amdgpu/polaris10_k_smc.bin amdgpu/polaris10_k2_smc.bin
45 amdgpu/polaris10_k_mc.bin amdgpu/polaris10_mc.bin
46 amdgpu/polaris10_me.bin amdgpu/polaris10_me_2.bin
47 amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec2_2.bin
48 amdgpu/polaris10_mec.bin amdgpu/polaris10_mec_2.bin
49 amdgpu/polaris10_pfp.bin amdgpu/polaris10_pfp_2.bin
50 amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin
51 amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin
52 amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin
53 amdgpu/polaris10_vce.bin"
54
55 It's tedious, but there's no reason that the kernel shouldn't find firmware in
56 subdirectories. Perhaps you needed to add a trailing oblique ('/') to your
57 CONFIG_EXTRA_FIRMWARE_DIR, such that the concatenated path is correct ?
58
59 --
60
61 Ashley Dixon
62 suugaku.co.uk
63
64 2A9A 4117
65 DA96 D18A
66 8A7B B0D2
67 A30E BF25
68 F290 A8AA

Attachments

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