From 70b31c2dd57cca1ba7440931dea0ed19393a70aa Mon Sep 17 00:00:00 2001 From: Abner Silva Date: Thu, 24 Apr 2008 15:43:17 -0300 Subject: mamona-sound-n770: Mamona sound package for nokia770. Signed-off-by: Rodrigo Vivi --- packages/mamona/mamona-sound-n770/asound.conf | 22 ++++++++++++++++++++++ packages/mamona/mamona-sound-n770/dsp-n800.rules | 6 ++++++ 2 files changed, 28 insertions(+) create mode 100644 packages/mamona/mamona-sound-n770/asound.conf create mode 100644 packages/mamona/mamona-sound-n770/dsp-n800.rules (limited to 'packages/mamona/mamona-sound-n770') diff --git a/packages/mamona/mamona-sound-n770/asound.conf b/packages/mamona/mamona-sound-n770/asound.conf new file mode 100644 index 0000000000..e7f73cec87 --- /dev/null +++ b/packages/mamona/mamona-sound-n770/asound.conf @@ -0,0 +1,22 @@ +# PCM +pcm.!default { + type alsa_dsp + playback_device_file ["/dev/dsptask/pcm1"] + recording_device_file ["/dev/dsptask/pcm_rec"] +} + +# Mixer +ctl.!master { + type hw + card 0 +} + +ctl.!default { + type dsp_ctl + playback_devices ["/dev/dsptask/pcm1"] + recording_devices ["/dev/dsptask/pcm_rec"] +} + +# OSS emulation +pcm.dsp0 pcm.default +ctl.mixer0 mixer.default diff --git a/packages/mamona/mamona-sound-n770/dsp-n800.rules b/packages/mamona/mamona-sound-n770/dsp-n800.rules new file mode 100644 index 0000000000..ae01361899 --- /dev/null +++ b/packages/mamona/mamona-sound-n770/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" -- cgit v1.2.3