From: Eliot Blennerhassett <linux@audioscience.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] Prefer kernel-versioned firmware directory.
Date: Fri, 19 Aug 2011 09:57:05 +1200 [thread overview]
Message-ID: <4E4D8AB1.9090406@audioscience.com> (raw)
In-Reply-To: <s5hy5yrt4dq.wl%tiwai@suse.de>
On 18/08/11 22:12, Takashi Iwai wrote:
>> From: Eliot Blennerhassett <eblennerhassett@audioscience.com>
>>
>> Different kernel versions may have different driver versions installed,
>> which in turn require different firmware versions.
>>
>> If /lib/firmware/$(uname -r) exists, use it in preference to the
>> generic /lib/firmware.
>
> It's no good idea. The installation of the firmware has nothing to
> do with the running kernel version.
But running version of the kernel module may depend on a particular
firmware version.
> The firmware in kernel-tree may
> be installed in the kernel-version specific directory, but it's
> basically not for external firmware.
External modules are not renamed, they are put in a kernel-versioned
directory, so why not the firmware that they need?
On this ubuntu installation, there is all sorts of firmware in
/lib/firmware/$(uname -r) and in /lib/firmare
Some files are duplicated in these locations, some aren't.
The former is searched before the latter when firmware is requested.
Now, if the system has installed firmware in a versioned directory, and
the someone 'updates' from alsa-firmware, they won't get the expected
result because the old firmware will be used in preference to the new.
>
> In principle, if a firmware is
not?
> compatible, you must rename it, e.g.
> with a version suffix, etc. Or, if a firmware is backward compatible,
> we may keep using the same name.
--
Eliot
--
Eliot Blennerhassett
AudioScience Inc.
next prev parent reply other threads:[~2011-08-18 21:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 3:19 [PATCH] Prefer kernel-versioned firmware directory linux
2011-08-18 10:12 ` Takashi Iwai
2011-08-18 21:57 ` Eliot Blennerhassett [this message]
2011-08-19 5:29 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E4D8AB1.9090406@audioscience.com \
--to=linux@audioscience.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.