diff options
Diffstat (limited to 'recipes/mamona/mamona-sound-n800')
-rw-r--r-- | recipes/mamona/mamona-sound-n800/asound.conf | 22 | ||||
-rw-r--r-- | recipes/mamona/mamona-sound-n800/dsp-n800.rules | 6 |
2 files changed, 28 insertions, 0 deletions
diff --git a/recipes/mamona/mamona-sound-n800/asound.conf b/recipes/mamona/mamona-sound-n800/asound.conf new file mode 100644 index 0000000000..b105912443 --- /dev/null +++ b/recipes/mamona/mamona-sound-n800/asound.conf @@ -0,0 +1,22 @@ +# PCM +pcm.!default { + type alsa_dsp + playback_device_file ["/dev/dsptask/pcm3"] + recording_device_file ["/dev/dsptask/pcm_rec1"] +} + +# Mixer +ctl.!master { + type hw + card 0 +} + +ctl.!default { + type dsp_ctl + playback_devices ["/dev/dsptask/pcm3"] + recording_devices ["/dev/dsptask/pcm_rec1"] +} + +# OSS emulation +pcm.dsp0 pcm.default +ctl.mixer0 mixer.default diff --git a/recipes/mamona/mamona-sound-n800/dsp-n800.rules b/recipes/mamona/mamona-sound-n800/dsp-n800.rules new file mode 100644 index 0000000000..ae01361899 --- /dev/null +++ b/recipes/mamona/mamona-sound-n800/dsp-n800.rules @@ -0,0 +1,6 @@ +# dsp dev +KERNEL=="dspctl", NAME="dspctl/ctl" +KERNEL=="dspmem", NAME="dspctl/mem", MODE="0640", GROUP="kmem" +KERNEL=="dsptwch", NAME="dspctl/twch", MODE="0640" +KERNEL=="dsperr", NAME="dspctl/err", MODE="0440" +KERNEL=="dsptask[0-9]*", MODE="0666" |