[Pkg-alsa-devel] Bug#245783: /etc/init.d/alsa-base doesn't wait for udev to populate /dev

Hugo Haas Hugo Haas <hugo@larve.net>, 245783@bugs.debian.org
Sun, 25 Apr 2004 14:18:44 +0200


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

Package: alsa-base
Version: 1.0.4-1
Severity: normal

Hi.

Right after alsa modules are inserted, /etc/init.d/alsa attempts to
restore the mixer settings.

This usually doesn't leave enough time for udev to create the relevant
entries under /dev, which results in an error:

  Starting ALSA (version 1.0.4rc2): intel8x0.
  Restoring ALSA mixer settings ... failed:
	 You may want to run 'alsactl restore' manually to view any errors.

I would suggest pausing for 1 second before restoring the mixer
settings.

Regards,

Hugo

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=3Den_US, LC_CTYPE=3Dfr_FR.UTF-8

Versions of packages alsa-base depends on:
ii  alsa-utils                   1.0.3-1     Advanced Linux Sound Architect=
ure=20
ii  debconf                      1.4.22      Debian configuration managemen=
t sy
ii  debianutils                  2.8.1       Miscellaneous utilities specif=
ic t
ii  lsof                         4.71-1      List open files.
ii  module-init-tools            3.0-pre10-2 tools for managing Linux kerne=
l mo
ii  modutils                     2.4.26-1    Linux module utilities
ii  procps                       1:3.2.1-2   The /proc file system utilities
ii  psmisc                       21.4-1      Utilities that use the proc fi=
lesy

-- debconf information:
  alsa-common/card-list:=20
* alsa-base/current_card: done
* alsa-base/force_stop_alsa_before_suspend: forcibly-unload-driver
* alsa-base/alsactl_store_on_shutdown: true
  alsa-base/card_list: intel8x0 done

--=20
Hugo Haas - http://larve.net/people/hugo/

--2oS5YaxWCcQjTEyO
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)

iQCVAwUBQIuso6N/9WeKWvkNAQGvYwP8DO4qfIb3CGBxTyMyVgj97voOlIkkvaRl
UEUgnJhiN5FI78ceTAqeDiPLVrXrBJZurj01wVMNWELbKQDvxwJDdQVedrJjxCpi
y5dc9VYP9HhztDyvVAkeHN+Lssfz43h1VkPWWzXCYZafK2P2L2LDdbU2i8ZMjDx7
6y4cwJ3wnbk=
=f/wO
-----END PGP SIGNATURE-----

--2oS5YaxWCcQjTEyO--