[Pkg-alsa-devel] Bug#240125: The new broken world of 2.6, ALSA, and hotplug.
Marco d'Itri
Marco d'Itri <md@Linux.IT>, 240125@bugs.debian.org
Wed, 31 Mar 2004 10:17:04 +0200
--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mar 31, Scott Robinson <scott@tranzoa.com> wrote:
> Assuming hotplug doesn't load the OSS drivers first (#238694), it goes ah=
ead
Yes, in a future release the default configuration will blacklist all OSS
drivers and frame buffer devices, just to be sure.
(Unless somebody can come up with a better solution...)
> and loads all the appropriate ALSA drivers... but misses OSS emulation.
This is the result of traditionally using a stupid init script instead
of the generic system mechanisms for loading modules.
I had to add to /usr/share/doc/udev/README.Debian:
ALSA OSS devices
~~~~~~~~~~~~~~~~
You need to add something like this in /etc/modprobe.d/ to make modprobe
automatically load the OSS compatibility module.
(snd-mixer-oss is loaded anyway, does anybody know why?)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe s=
nd-pcm-oss
> #2) ALSA's init script is executed after hotplug. The mixer settings are
> then "restored."
Same issue: a init script is the wrong place to restore the mixer
settings. Two correct places are /etc/modprobe.d/ or a script in
/etc/dev.d/.
> Sounds like a hotplug problem, right? Well, not according to the package's
> maintainer. udev is the solution!
udev is the solution if you have more than one sound card and do not
like the order in which they get assigned to the /dev/ nodes (which IIRC
is the order in which they appear on the PCI bus).
I welcome the opinion of the ALSA packages maintainers about these
issues...
--=20
ciao, |
Marco | [5456 raakoPsAphOEA]
--vkogqOf2sHV7VnPd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAan6AFGfw2OHuP7ERAkMRAJwLyv28fyIlbKVZaelZombt3ImMBwCfWzn/
zAnn+LGi7s2PUsxGtVwVnZs=
=DQ02
-----END PGP SIGNATURE-----
--vkogqOf2sHV7VnPd--