From ec91fb2370007b3ada6347f144d258756eb04212 Mon Sep 17 00:00:00 2001 From: Aloisio Almeida Jr Date: Tue, 29 Apr 2008 20:46:39 -0300 Subject: mamona-sound: moving nokia800 asound.state from mamona-sound-n800 to alsa-state --- packages/alsa/alsa-state/nokia800/asound.state | 105 +++++++++++++++++++++++++ packages/mamona/mamona-sound-n800/asound.state | 105 ------------------------- packages/mamona/mamona-sound-n800_0.1.0.bb | 7 +- 3 files changed, 106 insertions(+), 111 deletions(-) create mode 100644 packages/alsa/alsa-state/nokia800/asound.state delete mode 100644 packages/mamona/mamona-sound-n800/asound.state (limited to 'packages') diff --git a/packages/alsa/alsa-state/nokia800/asound.state b/packages/alsa/alsa-state/nokia800/asound.state new file mode 100644 index 0000000000..6ae874c2e2 --- /dev/null +++ b/packages/alsa/alsa-state/nokia800/asound.state @@ -0,0 +1,105 @@ +state.EAC { + control.1 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 2 + iface MIXER + name 'Capture Switch' + value.0 false + value.1 false + } + control.2 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '6 - 127' + iface MIXER + name 'Capture Volume' + value.0 87 + value.1 87 + } + control.3 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 2 + iface MIXER + name 'PCM Playback Switch' + value.0 true + value.1 true + } + control.4 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '0 - 127' + iface MIXER + name 'PCM Playback Volume' + value.0 103 + value.1 103 + } + control.5 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 2 + iface MIXER + name 'Line Playback Switch' + value.0 false + value.1 false + } + control.6 { + comment.access 'read write' + comment.type INTEGER + comment.count 2 + comment.range '31 - 127' + iface MIXER + name 'Line Playback Volume' + value.0 103 + value.1 103 + } + control.7 { + comment.access 'read write' + comment.type INTEGER + comment.count 1 + comment.range '1 - 3' + iface MIXER + name 'Mic Boost' + value 0 + } + control.8 { + comment.access 'read write' + comment.type ENUMERATED + comment.count 2 + comment.item.0 Mic + comment.item.1 Line + comment.item.2 'Line swapped' + comment.item.3 'Line mono' + iface MIXER + name 'Capture Source' + value.0 Mic + value.1 Mic + } + control.9 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Headset Amplifier' + value false + } + control.10 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Speaker Amplifier' + value true + } + control.11 { + comment.access 'read write' + comment.type BOOLEAN + comment.count 1 + iface MIXER + name 'Headset Mic Select' + value false + } +} diff --git a/packages/mamona/mamona-sound-n800/asound.state b/packages/mamona/mamona-sound-n800/asound.state deleted file mode 100644 index 6ae874c2e2..0000000000 --- a/packages/mamona/mamona-sound-n800/asound.state +++ /dev/null @@ -1,105 +0,0 @@ -state.EAC { - control.1 { - comment.access 'read write' - comment.type BOOLEAN - comment.count 2 - iface MIXER - name 'Capture Switch' - value.0 false - value.1 false - } - control.2 { - comment.access 'read write' - comment.type INTEGER - comment.count 2 - comment.range '6 - 127' - iface MIXER - name 'Capture Volume' - value.0 87 - value.1 87 - } - control.3 { - comment.access 'read write' - comment.type BOOLEAN - comment.count 2 - iface MIXER - name 'PCM Playback Switch' - value.0 true - value.1 true - } - control.4 { - comment.access 'read write' - comment.type INTEGER - comment.count 2 - comment.range '0 - 127' - iface MIXER - name 'PCM Playback Volume' - value.0 103 - value.1 103 - } - control.5 { - comment.access 'read write' - comment.type BOOLEAN - comment.count 2 - iface MIXER - name 'Line Playback Switch' - value.0 false - value.1 false - } - control.6 { - comment.access 'read write' - comment.type INTEGER - comment.count 2 - comment.range '31 - 127' - iface MIXER - name 'Line Playback Volume' - value.0 103 - value.1 103 - } - control.7 { - comment.access 'read write' - comment.type INTEGER - comment.count 1 - comment.range '1 - 3' - iface MIXER - name 'Mic Boost' - value 0 - } - control.8 { - comment.access 'read write' - comment.type ENUMERATED - comment.count 2 - comment.item.0 Mic - comment.item.1 Line - comment.item.2 'Line swapped' - comment.item.3 'Line mono' - iface MIXER - name 'Capture Source' - value.0 Mic - value.1 Mic - } - control.9 { - comment.access 'read write' - comment.type BOOLEAN - comment.count 1 - iface MIXER - name 'Headset Amplifier' - value false - } - control.10 { - comment.access 'read write' - comment.type BOOLEAN - comment.count 1 - iface MIXER - name 'Speaker Amplifier' - value true - } - control.11 { - comment.access 'read write' - comment.type BOOLEAN - comment.count 1 - iface MIXER - name 'Headset Mic Select' - value false - } -} diff --git a/packages/mamona/mamona-sound-n800_0.1.0.bb b/packages/mamona/mamona-sound-n800_0.1.0.bb index c1c66720bc..00507345c9 100644 --- a/packages/mamona/mamona-sound-n800_0.1.0.bb +++ b/packages/mamona/mamona-sound-n800_0.1.0.bb @@ -1,15 +1,13 @@ DESCRIPTION = "Mamona's sound configuration for Nokia N800" HOMEPAGE = "http://dev.openbossa.org/trac/mamona/" -#SECTION = "console/utils" LICENSE = "GPL" -RDEPENDS = "dspgw-utils udev alsa-lib alsa-utils-alsactl alsa-state" +RDEPENDS = "dspgw-utils udev alsa-lib alsa-utils-alsactl" PR = "r1" PACKAGES = "${PN}" SRC_URI = "file://dsp-n800.rules \ file://asound.conf \ - file://asound.state \ " # Skipping... @@ -30,7 +28,4 @@ do_install () { install -d ${D}${sysconfdir} install -m 0644 ${WORKDIR}/asound.conf ${D}${sysconfdir}/ - - install -d ${D}${sysconfdir} - install -m 0644 ${WORKDIR}/asound.state ${D}${sysconfdir}/ } -- cgit v1.2.3