[Pkg-alsa-devel] Bug#524027: Bug#524027: alsa-utils: no more sound detected

Ritesh Raj Sarraf rrs at researchut.com
Tue Apr 14 12:17:18 UTC 2009


On Tuesday 14 Apr 2009 16:39:48 Elimar Riesebieter wrote:
> Hmm, reboot?

Just did one more. So the total number of reboots must be more than 50 now.
Nothing is shown as failed during boot, so not sure what is causing the 
problem.

Question:
* As was explained in the NEWS, udev is supposed to take care of creating the 
device entries.

This is what the rule is:
rrs at champaran:/etc/udev$ cat alsa-utils.rules
KERNEL=="controlC[0-7]", ACTION=="add", RUN+="/lib/udev/alsa-utils"

And this is what the alsa-utils file is:
#!/bin/sh -e
#
# udev script for alsa-utils

(
        . /lib/udev/hotplug.functions
        wait_for_file /usr/sbin/alsactl
        DEV_BASENAME="${DEVNAME##*/}"
        N="${DEV_BASENAME#controlC}"
        exec /etc/init.d/alsa-utils start $N
) &


Looks good till now.

In my fresh boot state, I see no sound modules loaded.
Theoretically, udev will apply the rule when the event is trapped. The event 
will be trapped when a relevant device is detected. And the device will be 
detected only when the driver is loaded.
Question: Who loads the driver and how ? hotplug ?
Why doesn't the driver get autoloaded now?

Here's my lspci output:
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW 
(ICH6 Family) AC'97 Audio Controller (rev 03)

I really don't know what all modules need to be loaded. I loaded a bunch of 
them manually, but still not much help.

alsamixer fails. strace says:
open("/dev/snd/controlC0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/dev/aloadC0", O_RDONLY)          = -1 ENOENT (No such file or directory)

Any ideas ?

Ritesh
-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20090414/17223fb8/attachment.pgp>


More information about the Pkg-alsa-devel mailing list