I'm trying to install and configure alsa support for an embedded device, from scratch (no distro).
My config is as follow :
- kernel 2.6.13 , sound support selected as module, but no ALSA nor OSS support
- ALSA 1.0.13
- snd-intel8x0 compatible sound chipset
After a system boot, i get the following things :
~ # lsmod | grep snd
snd_pcm_oss 47008 0 - Live 0xe0110000
snd_mixer_oss 18560 1 snd_pcm_oss, Live 0xe00c8000
snd_intel8x0 33564 0 - Live 0xe00a8000
snd_ac97_codec 96292 1 snd_intel8x0, Live 0xe006d000
snd_ac97_bus 2304 1 snd_ac97_codec, Live 0xe002d000
snd_pcm 84360 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec, Live 0xe0086000
snd_timer 25220 1 snd_pcm, Live 0xe0053000
snd_page_alloc 10888 2 snd_intel8x0,snd_pcm, Live 0xe0032000
snd 58212 7 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_page_alloc, Live 0xe005d000
soundcore 9952 1 snd, Live 0xe0013000
~ # dmesg
.....
ALSA /root/alsa-driver-1.0.13/pci/ac97/ac97_codec.c:2104: AC'97 0 analog subsections not ready
intel8x0_measure_ac97_clock: measured 50054 usecs
intel8x0: clocking to 48000
.....
~ # cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1985 at 0xe0100c00, irq 177
~ # cat /proc/asound/card0/oss_mixer
VOLUME "Master" 0
BASS "" 0
TREBLE "" 0
SYNTH "" 0
PCM "PCM" 0
SPEAKER "PC Speaker" 0
LINE "Line" 0
MIC "Mic" 0
CD "CD" 0
IMIX "" 0
ALTPCM "" 0
RECLEV "" 0
IGAIN "Capture" 0
OGAIN "" 0
LINE1 "Aux" 0
LINE2 "" 0
LINE3 "" 0
DIGITAL1 "IEC958" 0
DIGITAL2 "" 0
DIGITAL3 "" 0
PHONEIN "Phone" 0
PHONEOUT "Master Mono" 0
VIDEO "Video" 0
RADIO "" 0
MONITOR "" 0
~ # ls -al /dev | grep 14,
crw-rw-rw- 1 root root 14, 14 Jan 29 20:24 admmidi0
crw-rw-rw- 1 root root 14, 30 Jan 29 20:24 admmidi1
crw-rw-rw- 1 root root 14, 46 Jan 29 20:24 admmidi2
crw-rw-rw- 1 root root 14, 62 Jan 29 20:24 admmidi3
crw-rw-rw- 1 root root 14, 12 Jan 29 20:24 adsp0
crw-rw-rw- 1 root root 14, 28 Jan 29 20:24 adsp1
crw-rw-rw- 1 root root 14, 44 Jan 29 20:24 adsp2
crw-rw-rw- 1 root root 14, 60 Jan 29 20:24 adsp3
crw-rw-rw- 1 root root 14, 13 Jan 29 20:24 amidi0
crw-rw-rw- 1 root root 14, 29 Jan 29 20:24 amidi1
crw-rw-rw- 1 root root 14, 45 Jan 29 20:24 amidi2
crw-rw-rw- 1 root root 14, 61 Jan 29 20:24 amidi3
crw-rw-rw- 1 root root 14, 11 Jan 29 20:24 amixer0
crw-rw-rw- 1 root root 14, 27 Jan 29 20:24 amixer1
crw-rw-rw- 1 root root 14, 43 Jan 29 20:24 amixer2
crw-rw-rw- 1 root root 14, 59 Jan 29 20:24 amixer3
crw-rw-rw- 1 root root 14, 4 Jan 29 20:24 audio0
crw-rw-rw- 1 root root 14, 20 Jan 29 20:24 audio1
crw-rw-rw- 1 root root 14, 36 Jan 29 20:24 audio2
crw-rw-rw- 1 root root 14, 52 Jan 29 20:24 audio3
crw-rw-rw- 1 root root 14, 10 Jan 29 20:24 dmfm0
crw-rw-rw- 1 root root 14, 26 Jan 29 20:24 dmfm1
crw-rw-rw- 1 root root 14, 42 Jan 29 20:24 dmfm2
crw-rw-rw- 1 root root 14, 58 Jan 29 20:24 dmfm3
crw-rw-rw- 1 root root 14, 9 Jan 29 20:24 dmmidi0
crw-rw-rw- 1 root root 14, 25 Jan 29 20:24 dmmidi1
crw-rw-rw- 1 root root 14, 41 Jan 29 20:24 dmmidi2
crw-rw-rw- 1 root root 14, 57 Jan 29 20:24 dmmidi3
crw-rw-rw- 1 root root 14, 3 Jan 29 20:24 dsp0
crw-rw-rw- 1 root root 14, 19 Jan 29 20:24 dsp1
crw-rw-rw- 1 root root 14, 35 Jan 29 20:24 dsp2
crw-rw-rw- 1 root root 14, 51 Jan 29 20:24 dsp3
crw-rw-rw- 1 root root 14, 2 Jan 29 20:24 midi00
crw-rw-rw- 1 root root 14, 18 Jan 29 20:24 midi01
crw-rw-rw- 1 root root 14, 34 Jan 29 20:24 midi02
crw-rw-rw- 1 root root 14, 50 Jan 29 20:24 midi03
crw-rw-rw- 1 root root 14, 0 Jan 29 20:24 mixer0
crw-rw-rw- 1 root root 14, 16 Jan 29 20:24 mixer1
crw-rw-rw- 1 root root 14, 32 Jan 29 20:24 mixer2
crw-rw-rw- 1 root root 14, 48 Jan 29 20:24 mixer3
crw-rw-rw- 1 root root 14, 8 Jan 29 20:24 music
crw-rw-rw- 1 root root 14, 1 Jan 29 20:24 sequencer
crw-rw-rw- 1 root root 14, 6 Jan 29 20:24 sndstat
~ # ll /dev/mixer
lrwxrwxrwx 1 root root 6 Jan 29 20:24 /dev/mixer -> mixer0
~ # ls -al /dev/snd
drwxr-xr-x 2 root root 2048 Jan 29 20:24 .
drwxr-xr-x 3 essais users 16384 Jan 30 21:16 ..
crw-rw-rw- 1 root root 116, 0 Jan 29 20:24 controlC0
crw-rw-rw- 1 root root 116, 32 Jan 29 20:24 controlC1
crw-rw-rw- 1 root root 116, 64 Jan 29 20:24 controlC2
crw-rw-rw- 1 root root 116, 96 Jan 29 20:24 controlC3
crw-rw-rw- 1 root root 116, 4 Jan 29 20:24 hwC0D0
crw-rw-rw- 1 root root 116, 5 Jan 29 20:24 hwC0D1
crw-rw-rw- 1 root root 116, 6 Jan 29 20:24 hwC0D2
crw-rw-rw- 1 root root 116, 7 Jan 29 20:24 hwC0D3
crw-rw-rw- 1 root root 116, 36 Jan 29 20:24 hwC1D0
crw-rw-rw- 1 root root 116, 37 Jan 29 20:24 hwC1D1
crw-rw-rw- 1 root root 116, 38 Jan 29 20:24 hwC1D2
crw-rw-rw- 1 root root 116, 39 Jan 29 20:24 hwC1D3
crw-rw-rw- 1 root root 116, 68 Jan 29 20:24 hwC2D0
crw-rw-rw- 1 root root 116, 69 Jan 29 20:24 hwC2D1
crw-rw-rw- 1 root root 116, 70 Jan 29 20:24 hwC2D2
crw-rw-rw- 1 root root 116, 71 Jan 29 20:24 hwC2D3
crw-rw-rw- 1 root root 116, 100 Jan 29 20:24 hwC3D0
crw-rw-rw- 1 root root 116, 101 Jan 29 20:24 hwC3D1
crw-rw-rw- 1 root root 116, 102 Jan 29 20:24 hwC3D2
crw-rw-rw- 1 root root 116, 103 Jan 29 20:24 hwC3D3
crw-rw-rw- 1 root root 116, 8 Jan 29 20:24 midiC0D0
crw-rw-rw- 1 root root 116, 9 Jan 29 20:24 midiC0D1
crw-rw-rw- 1 root root 116, 10 Jan 29 20:24 midiC0D2
crw-rw-rw- 1 root root 116, 11 Jan 29 20:24 midiC0D3
crw-rw-rw- 1 root root 116, 12 Jan 29 20:24 midiC0D4
crw-rw-rw- 1 root root 116, 13 Jan 29 20:24 midiC0D5
crw-rw-rw- 1 root root 116, 14 Jan 29 20:24 midiC0D6
crw-rw-rw- 1 root root 116, 15 Jan 29 20:24 midiC0D7
crw-rw-rw- 1 root root 116, 40 Jan 29 20:24 midiC1D0
crw-rw-rw- 1 root root 116, 41 Jan 29 20:24 midiC1D1
crw-rw-rw- 1 root root 116, 42 Jan 29 20:24 midiC1D2
crw-rw-rw- 1 root root 116, 43 Jan 29 20:24 midiC1D3
crw-rw-rw- 1 root root 116, 44 Jan 29 20:24 midiC1D4
crw-rw-rw- 1 root root 116, 45 Jan 29 20:24 midiC1D5
crw-rw-rw- 1 root root 116, 46 Jan 29 20:24 midiC1D6
crw-rw-rw- 1 root root 116, 47 Jan 29 20:24 midiC1D7
crw-rw-rw- 1 root root 116, 72 Jan 29 20:24 midiC2D0
crw-rw-rw- 1 root root 116, 73 Jan 29 20:24 midiC2D1
crw-rw-rw- 1 root root 116, 74 Jan 29 20:24 midiC2D2
crw-rw-rw- 1 root root 116, 75 Jan 29 20:24 midiC2D3
crw-rw-rw- 1 root root 116, 76 Jan 29 20:24 midiC2D4
crw-rw-rw- 1 root root 116, 77 Jan 29 20:24 midiC2D5
crw-rw-rw- 1 root root 116, 78 Jan 29 20:24 midiC2D6
crw-rw-rw- 1 root root 116, 79 Jan 29 20:24 midiC2D7
crw-rw-rw- 1 root root 116, 104 Jan 29 20:24 midiC3D0
crw-rw-rw- 1 root root 116, 105 Jan 29 20:24 midiC3D1
crw-rw-rw- 1 root root 116, 106 Jan 29 20:24 midiC3D2
crw-rw-rw- 1 root root 116, 107 Jan 29 20:24 midiC3D3
crw-rw-rw- 1 root root 116, 108 Jan 29 20:24 midiC3D4
crw-rw-rw- 1 root root 116, 109 Jan 29 20:24 midiC3D5
crw-rw-rw- 1 root root 116, 110 Jan 29 20:24 midiC3D6
crw-rw-rw- 1 root root 116, 111 Jan 29 20:24 midiC3D7
crw-rw-rw- 1 root root 116, 24 Jan 29 20:24 pcmC0D0c
crw-rw-rw- 1 root root 116, 16 Jan 29 20:24 pcmC0D0p
crw-rw-rw- 1 root root 116, 25 Jan 29 20:24 pcmC0D1c
crw-rw-rw- 1 root root 116, 17 Jan 29 20:24 pcmC0D1p
crw-rw-rw- 1 root root 116, 26 Jan 29 20:24 pcmC0D2c
crw-rw-rw- 1 root root 116, 18 Jan 29 20:24 pcmC0D2p
crw-rw-rw- 1 root root 116, 27 Jan 29 20:24 pcmC0D3c
crw-rw-rw- 1 root root 116, 19 Jan 29 20:24 pcmC0D3p
crw-rw-rw- 1 root root 116, 28 Jan 29 20:24 pcmC0D4c
crw-rw-rw- 1 root root 116, 20 Jan 29 20:24 pcmC0D4p
crw-rw-rw- 1 root root 116, 29 Jan 29 20:24 pcmC0D5c
crw-rw-rw- 1 root root 116, 21 Jan 29 20:24 pcmC0D5p
crw-rw-rw- 1 root root 116, 30 Jan 29 20:24 pcmC0D6c
crw-rw-rw- 1 root root 116, 22 Jan 29 20:24 pcmC0D6p
crw-rw-rw- 1 root root 116, 31 Jan 29 20:24 pcmC0D7c
crw-rw-rw- 1 root root 116, 23 Jan 29 20:24 pcmC0D7p
crw-rw-rw- 1 root root 116, 56 Jan 29 20:24 pcmC1D0c
crw-rw-rw- 1 root root 116, 48 Jan 29 20:24 pcmC1D0p
crw-rw-rw- 1 root root 116, 57 Jan 29 20:24 pcmC1D1c
crw-rw-rw- 1 root root 116, 49 Jan 29 20:24 pcmC1D1p
crw-rw-rw- 1 root root 116, 58 Jan 29 20:24 pcmC1D2c
crw-rw-rw- 1 root root 116, 50 Jan 29 20:24 pcmC1D2p
crw-rw-rw- 1 root root 116, 59 Jan 29 20:24 pcmC1D3c
crw-rw-rw- 1 root root 116, 51 Jan 29 20:24 pcmC1D3p
crw-rw-rw- 1 root root 116, 60 Jan 29 20:24 pcmC1D4c
crw-rw-rw- 1 root root 116, 52 Jan 29 20:24 pcmC1D4p
crw-rw-rw- 1 root root 116, 61 Jan 29 20:24 pcmC1D5c
crw-rw-rw- 1 root root 116, 53 Jan 29 20:24 pcmC1D5p
crw-rw-rw- 1 root root 116, 62 Jan 29 20:24 pcmC1D6c
crw-rw-rw- 1 root root 116, 54 Jan 29 20:24 pcmC1D6p
crw-rw-rw- 1 root root 116, 63 Jan 29 20:24 pcmC1D7c
crw-rw-rw- 1 root root 116, 55 Jan 29 20:24 pcmC1D7p
crw-rw-rw- 1 root root 116, 88 Jan 29 20:24 pcmC2D0c
crw-rw-rw- 1 root root 116, 80 Jan 29 20:24 pcmC2D0p
crw-rw-rw- 1 root root 116, 89 Jan 29 20:24 pcmC2D1c
crw-rw-rw- 1 root root 116, 81 Jan 29 20:24 pcmC2D1p
crw-rw-rw- 1 root root 116, 90 Jan 29 20:24 pcmC2D2c
crw-rw-rw- 1 root root 116, 82 Jan 29 20:24 pcmC2D2p
crw-rw-rw- 1 root root 116, 91 Jan 29 20:24 pcmC2D3c
crw-rw-rw- 1 root root 116, 83 Jan 29 20:24 pcmC2D3p
crw-rw-rw- 1 root root 116, 92 Jan 29 20:24 pcmC2D4c
crw-rw-rw- 1 root root 116, 84 Jan 29 20:24 pcmC2D4p
crw-rw-rw- 1 root root 116, 93 Jan 29 20:24 pcmC2D5c
crw-rw-rw- 1 root root 116, 85 Jan 29 20:24 pcmC2D5p
crw-rw-rw- 1 root root 116, 94 Jan 29 20:24 pcmC2D6c
crw-rw-rw- 1 root root 116, 86 Jan 29 20:24 pcmC2D6p
crw-rw-rw- 1 root root 116, 95 Jan 29 20:24 pcmC2D7c
crw-rw-rw- 1 root root 116, 87 Jan 29 20:24 pcmC2D7p
crw-rw-rw- 1 root root 116, 120 Jan 29 20:24 pcmC3D0c
crw-rw-rw- 1 root root 116, 112 Jan 29 20:24 pcmC3D0p
crw-rw-rw- 1 root root 116, 121 Jan 29 20:24 pcmC3D1c
crw-rw-rw- 1 root root 116, 113 Jan 29 20:24 pcmC3D1p
crw-rw-rw- 1 root root 116, 122 Jan 29 20:24 pcmC3D2c
crw-rw-rw- 1 root root 116, 114 Jan 29 20:24 pcmC3D2p
crw-rw-rw- 1 root root 116, 123 Jan 29 20:24 pcmC3D3c
crw-rw-rw- 1 root root 116, 115 Jan 29 20:24 pcmC3D3p
crw-rw-rw- 1 root root 116, 124 Jan 29 20:24 pcmC3D4c
crw-rw-rw- 1 root root 116, 116 Jan 29 20:24 pcmC3D4p
crw-rw-rw- 1 root root 116, 125 Jan 29 20:24 pcmC3D5c
crw-rw-rw- 1 root root 116, 117 Jan 29 20:24 pcmC3D5p
crw-rw-rw- 1 root root 116, 126 Jan 29 20:24 pcmC3D6c
crw-rw-rw- 1 root root 116, 118 Jan 29 20:24 pcmC3D6p
crw-rw-rw- 1 root root 116, 127 Jan 29 20:24 pcmC3D7c
crw-rw-rw- 1 root root 116, 119 Jan 29 20:24 pcmC3D7p
crw-rw-rw- 1 root root 116, 1 Jan 29 20:24 seq
crw-rw-rw- 1 root root 116, 33 Jan 29 20:24 timer
BUT WHEN I RUN AMIXER AS ROOT :
~ # amixer -v
amixer version 1.0.13
~ # amixer
ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL default
amixer: Mixer attach default error: No such file or directory
Please give me a help. I really don't understand what happens.
Nicolas
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user