Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded
- To: 973733@bugs.debian.org
- Subject: Bug#973733: RTW88_8821ce module fails to find firmware during install and must be reloaded
- From: Ben Hutchings <ben@decadent.org.uk>
- Date: Thu, 05 Nov 2020 22:10:10 +0000
- Message-id: <[🔎] 76e133cfcc1cda832c482ddb95f57e963939e933.camel@decadent.org.uk>
- Reply-to: Ben Hutchings <ben@decadent.org.uk>, 973733@bugs.debian.org
- In-reply-to: <c4e2e996b822e5ce41060d8f542b955fcad474e4.camel@decadent.org.uk>
- References: <ee6484f3-095f-4a8b-92f9-60b7658c4ec6@www.fastmail.com> <58ea4804-4212-4b1f-a65b-199cc724bf53@www.fastmail.com> <ee6484f3-095f-4a8b-92f9-60b7658c4ec6@www.fastmail.com> <f2c85f69-9f0c-485a-8146-adeadf8251b0@www.fastmail.com> <c4e2e996b822e5ce41060d8f542b955fcad474e4.camel@decadent.org.uk> <ee6484f3-095f-4a8b-92f9-60b7658c4ec6@www.fastmail.com>
On Wed, 2020-11-04 at 15:34 +0000, Ben Hutchings wrote:
[...]
> I don't know this part of the installer. But I think it would be a
> mistake to use a mapping table; instead the installer should look at
> metadata provided by the kernel. All drivers in a loaded module should
> be listed under /sys/module/<module-name>/drivers, and the installer
> could use that to map a driver name to its module name.
Alternately:
module="$(basename "$(readlink /sys/bus/*/drivers/$driver/module)")"
Some error-checking would be needed.
Ben.
--
Ben Hutchings
Humans are not rational beings; they are rationalising beings.
Attachment:
signature.asc
Description: This is a digitally signed message part
Reply to: