From: Clemens Ladisch <clemens@ladisch.de>
To: Kay Sievers <kay.sievers@vrfy.org>
Cc: tiwai@suse.de,
ALSA Development Mailing List <alsa-devel@alsa-project.org>,
jkysela@redhat.com
Subject: Re: [PATCH] alsa: support module on-demand loading for seq and timer
Date: Tue, 23 Nov 2010 16:45:53 +0100 [thread overview]
Message-ID: <4CEBE1B1.4070906@ladisch.de> (raw)
In-Reply-To: <1290508964.1164.3.camel@yio>
Kay Sievers wrote:
> If CONFIG_SND_DYNAMIC_MINORS is used, assign /dev/snd/seq and
> /dev/snd/timer the usual static minors, and export specific
> module aliases to generate udev module on-demand loading
> instructions: ...
> As soon as userspace accesses any of these nodes, the in-kernel
> module-loader will load the module, and the device can be used.
Is this another mechanism than sound/core/sound.c::autoload_device()?
Because in this case, that function can go away.
> +++ b/sound/core/seq/seq.c
> +MODULE_ALIAS_CHARDEV(CONFIG_SND_MAJOR, SNDRV_MINOR_SEQUENCER);
> +MODULE_ALIAS("devname:snd/seq");
The device name that alsa-lib tries to use for autoloading is actually
/dev/aloadSEQ.
> This is part of systemd's effort to get rid of unconditional
> module load instructions and needless init scripts.
So you're going to add the entries for card driver autoloading
(/dev/aloadC*), too?
Regards,
Clemens
next prev parent reply other threads:[~2010-11-23 15:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 10:42 [PATCH] alsa: support module on-demand loading for seq and timer Kay Sievers
2010-11-23 15:45 ` Clemens Ladisch [this message]
2010-11-23 15:56 ` Kay Sievers
2010-11-23 16:56 ` Clemens Ladisch
2010-11-23 17:13 ` Kay Sievers
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=4CEBE1B1.4070906@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=jkysela@redhat.com \
--cc=kay.sievers@vrfy.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.