[Pkg-alsa-devel] Bug#240125: The new broken world of 2.6, ALSA, and hotplug.

Scott Robinson Scott Robinson <scott@tranzoa.com>, 240125@bugs.debian.org
Tue, 30 Mar 2004 16:44:43 -0800


--i0/AhcQY5QxfSsSZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

package alsa-base
severity 238278 grave
merge 240125 238278
thanks

To condense, the problem is as such:

Any user with hotplug and and an alsa enabled kernel will run in to multiple
problems.

#1) Hotplug has recently started automatically loading drivers via PCI
enumeration in its init script. This alone has caused a variety of problems.

Assuming hotplug doesn't load the OSS drivers first (#238694), it goes ahead
and loads all the appropriate ALSA drivers... but misses OSS emulation.

The module dependencies are generated by alsa-base.

#2) ALSA's init script is executed after hotplug. The mixer settings are
then "restored."

The wrong settings will be applied if your card order changes due to
hotplug.

#3) ALSA's init script then detects that the drivers are already loaded, and
assumes this is because ALSA was compiled statically in to the kernel.

Any and all settings choosing which cards are to be loaded, or what order
they are to be loaded in, is ignored.

Is summary:

All ALSA settings are potentially broken or ignored because of hotplug on
2.6 kernels.

Sounds like a hotplug problem, right? Well, not according to the package's
maintainer. udev is the solution!

I would happily submit patches solving these problems, but for the fact that
other useful patches are weeks in the waiting.

I am subscribing to debian-devel so I can be more easily swatted down.

Scott.

--=20
http://quadhome.com/            - Personal webpage
http://tranzoa.net/             - Corporate webpage

--i0/AhcQY5QxfSsSZ
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)

iEYEARECAAYFAkBqFHsACgkQfOrjFoFaMKL96ACcCoCWHnSy50NEFUqd59wDDcRm
WqcAn1Wqf65S30ScFT/EVWYJYmUsicl7
=4oBN
-----END PGP SIGNATURE-----

--i0/AhcQY5QxfSsSZ--