Hello,
I'm having weird problems with this PCI card. Its driver is compiled
into the kernel, and on boottime I get the following in sys.log:
kernel: ALSA device list:
kernel: #0: Yamaha DS-XG (YMF724) at 0xe3000000, irq 11
So everything should be ok on the kernel side. Obviously I have the
following in .config:
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=y
But now... I tried run alsaconf, it replied with "modinfo: could not
find module snd" and did not detect any sound cards. I then had a look
under /dev/snd, and found only the following:
crw-rw---- 1 root audio 116, 0 2005-09-23 22:03 controlC0
crw-rw---- 1 root audio 116, 24 2005-09-23 22:07 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2005-09-23 22:07 pcmC0D0p
crw-rw---- 1 root audio 116, 17 2005-09-23 22:07 pcmC0D1p
crw-rw---- 1 root audio 116, 18 2005-09-23 22:07 pcmC0D2p
crw-rw---- 1 root audio 116, 27 2005-09-23 22:07 pcmC0D3c
crw-rw---- 1 root audio 116, 1 2005-09-23 22:03 seq
crw-rw---- 1 root audio 116, 33 2005-09-23 22:03 timer
Basically, hw[CD0-9] does not get created for some peculiar reason. As
for my udev rule set, I've got both the basic LFS core:
[code]
KERNEL="controlC[0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL="hw[CD0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL="pcm[CD0-9cp]*", NAME="snd/%k", GROUP="audio"
KERNEL="midiC[D0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL="timer", NAME="snd/%k", GROUP="audio"
KERNEL="seq", NAME="snd/%k", GROUP="audio"
KERNEL="admmidi*", GROUP="audio"
KERNEL="adsp*", GROUP="audio"
KERNEL="aload*", GROUP="audio"
KERNEL="amidi*", GROUP="audio"
KERNEL="amixer*", GROUP="audio"
KERNEL="audio*", GROUP="audio"
KERNEL="dmfm*", GROUP="audio"
KERNEL="dmmidi*", GROUP="audio"
KERNEL="dsp*", GROUP="audio"
KERNEL="midi*", GROUP="audio"
KERNEL="mixer*", GROUP="audio"
KERNEL="music", GROUP="audio"
KERNEL="sequencer*", GROUP="audio"
[/code]
As well as the additional 15-alsa.rules:
[code]
SUBSYSTEM=="sound", GROUP="audio"
SUBSYSTEM=="snd", GROUP="audio"
KERNEL=="controlC[0-9]*", ACTION=="add", NAME="snd/%k",
RUN="/etc/udev/scripts/alsa-restore %n"
KERNEL="hw[CD0-9]*", NAME="snd/%k"
KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
KERNEL="midiC[D0-9]*", NAME="snd/%k"
KERNEL="timer", NAME="snd/%k"
KERNEL="seq", NAME="snd/%k"
[/code]
alsamixer runs happily, detecting the sound card. But speaker-test
produces only loud noise. To be honest, I haven't got the slightest idea
what could be the source of the problem. Any clues..? Tips much appreciated!
Kind regards.
--
David Ciecierski
Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page