I have a Biostar system with Athlon board, VT8237 southbridge
(includes audio) and C-Media  CMI9739A AC97 Codec. The system
has SuSE 8.1, but with custom 2.6.2 kernel. I compiled the kernel with
soundcore and snd_via82xx as modules,  updated /etc/modprobe.conf,
and the modules seem to load correctly, see below.

But, no sound. I understand ALSA starts muted, so I tried alsamixer.
When invoked, it just hangs. Curiously, when I do strace alsamixer,
it "sort of" gets to the mixer display - the display is somewhat garbled,
and totally unuseable. So:

-Any ideas on how to get alsamixer to work?
-is there an alternative to alsamixer to unmute?

Lastly, if I have a kernel compiled as indicated above, I'm unclear if I
*need* to install alsa-driver, alsa-liband alsa-utils ..... but in any case I
tried to install alsa-lib-1.0.2, and the make fails with:
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -MT hcontrol.lo -MD -MP -MF .deps/hcontrol.Tpo -c hcontrol.c -fPIC -DPIC -o hcontrol.lo
hcontrol.c:51:21: pthread.h: No such file or directory
hcontrol.c: In function `snd_hctl_sort':
hcontrol.c:422: `PTHREAD_MUTEX_INITIALIZER' undeclared (first use in this function)
hcontrol.c:422: (Each undeclared identifier is reported only once
hcontrol.c:422: for each function it appears in.)
make[2]: *** [hcontrol.lo] Error 1



# cat /etc/modprobe.conf (partial)


# ALSA portion
alias char-major-116* snd
alias snd-card-0 snd-via82xx
options snd-via82xx dxs_support=4

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

install snd-card-0 /sbin/modprobe --ignore-install snd-card-0 && { /usr/sbin/alsactl restore >/dev/null 2>&1 || :; }
remove snd-card-0 { /usr/sbin/alsactl store >/dev/null 2>&1 || :; }; /sbin/modprobe -r --ignore-remove


install sound-slot-0 /sbin/modprobe --ignore-install sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; }
remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >>/dev/null 2>&1 || :; }; /sbin/modprobe -r --ignore-remove


# OSS/Free portion
# alias char-major-14* soundcore
# alias sound-slot-0 snd-card-0
# install sound-slot-0 /sbin/modprobe --first-time --ignore-install sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; }
# remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 ||:; } ; /sbin/modprobe -r --first-time --ignore-remove sound-slot-0


# lsmod (partial)
Module Size Used by
snd_pcm_oss 52356 0
snd_mixer_oss 18752 1 snd_pcm_oss
snd_via82xx 23584 0
snd_pcm 99392 2 snd_pcm_oss,snd_via82xx
snd_timer 24576 1 snd_pcm
snd_ac97_codec 62852 1 snd_via82xx
snd_page_alloc 10820 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7232 1 snd_via82xx
snd_rawmidi 24192 1 snd_mpu401_uart
snd_seq_device 7812 1 snd_rawmidi
snd 53252 9 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 9888 1 snd





------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to