Hi,
I have built a mp3-player using LRP (www.linuxrouter.org) as OS. First
I used the built-in driver from Kernel 2.2.19, but with this one I
wasn't able to change the settings of bass and treble.
So I downloaded alsa-driver 0.5.12a, alsa-lib 0.5.10b and alsa-utils 0.5.10,
cross-compiled them
(LRP uses glibc 2.0.7) and put them on my mp3-player.
The modules are loaded in this order:
snd
snd-timer
snd-rawmidi
snd-pcm
snd-pcm-plugin
snd-mixer
snd-mixer-oss
snd-pcm-oss
snd-ac97-encode
snd-ens1371
snd-card-ens1371
First I tried to create the devices with the snddevices-script, but
that didn't work, so I installed them by hand:
Device: Major: Minor:
sndstat 14 6
music 14 8
mixer0 14 0
dmmidi0 14 9
dmfm0 14 10
amixer0 14 11
adsp0 14 12
amidi0 14 13
admmidi0 14 14
sequencer 14 1
midi0 14 2
dsp0 14 3
audio0 14 4
.. then created the symlinks ....
ln -sf /dev/mixer0 /dev/mixer
ln -sf /dev/midi0 /dev/midi
ln -sf /dev/dsp0 /dev/dsp
ln -sf /dev/audio0 /dev/audio
ln -sf /dev/music /dev/sequencer2
ln -sf /dev/adsp0 /dev/adsp
ln -sf /dev/amidi0 /dev/amidi
.. then created /dev/snd and made these devices:
controlC0 116 0
seq 116 1
hwC0D0 116 34
mixerC0D0 116 38
pcmC0D0 116 48
midiC0D0 116 40
.. then made a symlink ....
ln -sf /proc/asound/dev /dev/snd
.. and created these devices:
aloadC0 116 32
aloadSEQC0 116 33
Now when I try to run amixer, it always says:
"amixer: Mixer 0/0 open error: operation not supported by device"
"cat /proc/asound/mixerD0" reports this:
Mixer 'AC97' 'SigmaTel STAC9721/23'
Elements 46
Groups 11
Switches 3
"cat /proc/asound/cards" reports this:
0[card 1] AudioPCI - Ensoniq AudioPCI
Ensoniq AudioPCI ES 1371
at 0x5000, irq 15
What's wrong ? Can somebody please help me ?
Greets from germany,
Marco Glatz
_______________________________________________________________
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