boot sequence and alsa



Hi all,

I am having a problem with alsa modules during boot. The problem is
the following: after boot sound card does not work, when I do
/etc/init.d/alsa force-reload it works OK. I checked that after boot
all the required modules are loaded (via lsmod), so it not the
problem of loading the right modules. In order to make that card
working I had to add manually a parameter for the sound card module
(I use snd-hda-intel), and I added it into /etc/modprobe.d/sound. I
guess the problem is that at boot the modules are started without
that parameter.

So I decided to track down the problem and see how exactly the alsa
modules are started at boot. Now, here is a mess (at least for me).
There is no any one document that describes how the modules are
configured and started. For example, I have /etc/modutils/*,
/etc/modules.conf and /etc/modprobe.d/* (it is all installed
automatically by Etch in testing). How this all works? man
modules.conf tells me that I shouldn't edit it since it is generated
by update-modules, man update-modules tells me that it is
deprectated. So what files are really used /etc/modules.conf or
/etc/modprobe.d/*? If i edit /etc/modprobe.d/sound, how do I make
sure that this file is read during boot?

Now, let's assume this mess somehow works and let's find who calls
modprobe for snd-hda-intel. The main file that loads alsa dirver is
/etc/init.d/alsa. I don't have symlink to this script from /etc/rcS
nor from /etc/rc2.d. OK, probably the modprobe is called directly by
a hardware detector, I have "discovery" installed automatically. I
unload all sound modules and run "/etc/init.d/discover start" and I
find that it does *not* load any sound modules. I also checked that
file /etc/modules does not contain any sound modules either. Now I am
stuck. Which other sript can load the sound modules? How it might be
that a module parameter in /etc/modprobe.d/sound is not taken into
account during boot?

I would be greatful for any hint on the last question, in particular.


Denis


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • 2.6.3-rc?: ALSA - xmcd works, xmms & aplay dont.
    ... sound card besides the input from the CDROM. ... And I can control the sound volume without any problems using the ALSA ... # ACPI Support ...
    (Linux-Kernel)
  • RE: ipw2100: firmware problem
    ... It thing of Mute in ALSA is stupid. ... If you want Sound, you install the Sound ... just to be able to look for the boot param for the driver for it to ASSOC on ... associate then turn off the Radio. ...
    (Linux-Kernel)
  • ALSA Cannot find Sound Device
    ... There seems to be a problem with the ALSA driver not being able to find ... I can get sound if I use the OSS Driver in XMMS but not ... When I do a lspci this is my print out for my sound card: ...
    (Debian-User)
  • sound card problem on asus a6b
    ... I have a problem with sound card on Debian Sarge. ... I've built 2.6.14.4 kernel for many times, choosing different options in Sound section. ... When I chose all cards in section PCi devices (all sound cards in this subsection of section ALSA as a modules) the kernel was running only ATI IXP so I left only this driver in section PCI devices and built it in the kernel. ...
    (Debian-User)
  • Re: No sound on a Thinkpad T61 w/ ALSA and AS1984 sound card (redux)
    ... I was having trouble getting sound to work on my Thinkpad T61. ... My sound card is an Analog Devices 1984 sound card, ... running Debian Lenny with ALSA 1.0.16. ... Config options: 0 ...
    (Debian-User)