Rostock, 01-12-05
Hello,
I've managed to compile the alsa drivers libs and the utils right now.
I use:
alsa-driver-0.5.12a
alsa-lib-0.5.10b
alsa-utils-0.5.10
Everyting loads fine and a lsmod gives the following result
snd-pcm-oss 18688 1
snd-pcm-plugin 14896 0 [snd-pcm-oss]
snd-mixer-oss 4992 1 [snd-pcm-oss]
snd-card-ens1371 1984 2
snd-ens1371 9600 0 [snd-card-ens1371]
snd-pcm 30720 0 [snd-pcm-oss snd-pcm-plugin
snd-ens1371]
snd-timer 9008 0 [snd-pcm]
snd-rawmidi 10272 0 [snd-ens1371]
snd-seq-device 3808 0 [snd-rawmidi]
snd-ac97-codec 23584 0 [snd-ens1371]
snd-mixer 27616 0 [snd-mixer-oss snd-ens1371
snd-ac97-codec]
snd 33456 2 (autoclean) [...]
soundcore 3696 5 (autoclean) [snd]
So everything looks fine, but if I try to run amixer I get the following
message:
"The ALSA sound driver was not detected in this system."
aplay test.wav gives the following error:
Aplay: version 0.5.10 by Jaroslav Kysela <[EMAIL PROTECTED]>
Error: unable to obtain longname: No such file or directory
With a non alsa mixer I can change the volume (wich is 0 by default),
after I've modprobed snd-pcm-oss.
Some of my progs play sound in this state (eg. kscd (CD-Player) and
noatun (mp3 player)). But some doesn't work.
e.g "gmplayer -ao oss test.avi" gives
Can't open audio device /dev/dsp -> nosound
couldn't open/init audio device -> NOSOUND
"gmplayer -ao alsa5 test.avi" gives
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit
(Little-Endian)
alsa-init: playback open error: No such file or directory
couldn't open/init audio device -> NOSOUND
Kernel version is 2.4.12.
I've attached some more Information at the end (e.g. /proc/asound)
Hope anyone can help
Greetings Ben
"benjamin:/home/ben # cat /proc/asound/*"
0 [card1 ]: AudioPCI - Ensoniq AudioPCI
Ensoniq AudioPCI ES1371 at 0xdc00, irq 5
0: [0] : control
6: [0- 0]: mixer
8: [0- 0]: raw midi
16: [0- 0]: digital audio playback
17: [0- 1]: digital audio playback
24: [0- 0]: digital audio capture
33: : timer
0: [0- 0]: mixer
2: [0- 2]: raw midi
3: [0- 3]: digital audio
4: [0- 4]: digital audio
5: [0- 5]: digital audio
9: [0- 9]: raw midi
12: [0-12]: digital audio
00-00: ES1371/1 : ES1371 DAC2/ADC : playback 1 : capture 1
00-01: ES1371/2 : ES1371 DAC1 : playback 1
Sound Driver:3.8.2-980706 (ALSA v0.5.12a emulation code)
Kernel: Linux benjamin 2.4.12 #2 Tue Dec 4 12:04:04 CET 2001 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
Ensoniq AudioPCI ES1371 at 0xdc00, irq 5
Audio devices:
0: ES1371 DAC2/ADC (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices:
0: ES1371
Timers:
7: system timer
Mixers:
0: SigmaTel STAC9721/23
G0: system timer : 10000.0us (10000000 ticks)
Advanced Linux Sound Architecture Driver Version 0.5.12a.
Compiled on Dec 4 2001 for kernel 2.4.12 with versioned symbols.
benjamin:/proc/asound/card1 # cat *
SigmaTel STAC9721/23
Capabilities :
DAC resolution : 18-bit
ADC resolution : 18-bit
3D enhancement : SigmaTel 3D Enhancement
Current setup
MIC gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
MIC select : MIC1
ADC/DAC loopback : off
Extended ID : codec=0 AMAP
Extended status : SDAC
...snip snap...
Ensoniq AudioPCI ES1371
Joystick enable : off
Joystick port : 0x200
ES1371
Output
Tx bytes : 0
Input
Rx bytes : 0
Mixer 'AC97' 'SigmaTel STAC9721/23'
Elements 46
Groups 11
Switches 3
benjamin:/proc/asound/seq # cat *
snd-seq-midi,empty,1
Here is a part from my /etc/modules.conf
alias sound on
alias midi on
# ALSA Options
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0666
snd_device_gid=17 snd_device_uid=0
#
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.5.10 ---
alias char-major-116 snd
alias snd-card-0 snd-card-ens1371
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-card-ens1371 snd_id=card1 snd_index=0
# --- END: Generated by ALSACONF, do not edit. ---
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user