Hi,
on booting my machine alsa doesn't start properly. I tracked down the
problem to the point, that the script /etc/init.d/alsa exits in line 107
(see below).
$ cat -n /etc/init.d/alsa
[...]
94 case $found_driver in
95 detect)
96 echo "."
97 ;;
98 false)
99 if [ $alsa_version = "none" ]; then
100 echo " no driver installed."; exit 1
101 else
102 echo " no sound cards defined."; exit 1
103 fi
104 ;;
105 found)
106 echo
107 exit 1
108 ;;
109 esac
[...]
$
As a consequence the modules are not loaded and the mixer settings are
not restored. If I do this manually everything works perfectly.
So my only problem is: How do I get sound after booting without manually
inserting modules and raising the levels with a mixer?
Here my config:
$ cat /etc/modutils/alsa
alias char-major-116 snd
alias snd-card-0 snd-card-via8233
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660
snd_device_gid=29 snd_device_uid=0
options snd-card-via8233 snd_index=0 snd_id=CARD_0 snd_mpu_port=0x300
snd_joystick=0x300
$
So when it's running these are the stats:
$ cat /proc/asound/sndstat
Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta12 emulation code)
Kernel: Linux julian 2.4.18 #1 Thu May 2 12:31:10 CEST 2002 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
VIA 8233 at 0x1000, irq 5
Audio devices:
0: VIA 8233 (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
0: mixer00
$
One minor problem: How do I enable Synth and Midi devices? (Is midi for
playing midi with the soundchip of for control of external midi devices
- which I don't have...)
Regards,
Elmar
--
[EMAIL PROTECTED]
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user