[oe-commits] org.oe.dev zaurusd: Disable handling of alsa state files

coredump2 commit openembedded-commits at lists.openembedded.org
Mon May 21 22:29:32 UTC 2007


zaurusd: Disable handling of alsa state files

Author: coredump2 at openembedded.org
Branch: org.openembedded.dev
Revision: 3c910b341ec25bb915b5c9b58a25cc787f51e471
ViewMTN: http://monotone.openembedded.org/revision.psp?id=3c910b341ec25bb915b5c9b58a25cc787f51e471
Files:
1
packages/zaurusd/files/alsa-cxx00-default.state.patch
packages/zaurusd/files/disable-alsa-handling.patch
packages/zaurusd/zaurusd_svn.bb
Diffs:

#
# mt diff -rd8f0d8d89116d77c5e382d179c906e88d148037e -r3c910b341ec25bb915b5c9b58a25cc787f51e471
#
# 
# 
# add_file "packages/zaurusd/files/alsa-cxx00-default.state.patch"
#  content [8639ceffa75b367727f4636524e4a663237a1b54]
# 
# add_file "packages/zaurusd/files/disable-alsa-handling.patch"
#  content [472f7fb912da7db8ab3faeecc209ca2b7d33ded7]
# 
# patch "packages/zaurusd/zaurusd_svn.bb"
#  from [6c12b71f582ea4a44e70010f46f549966ee4a37a]
#    to [8b451c1c4b8d4de40888cbc057c5d8461b30aea1]
# 
============================================================
--- packages/zaurusd/files/alsa-cxx00-default.state.patch	8639ceffa75b367727f4636524e4a663237a1b54
+++ packages/zaurusd/files/alsa-cxx00-default.state.patch	8639ceffa75b367727f4636524e4a663237a1b54
@@ -0,0 +1,163 @@
+--- zaurusd/config/alsa/cxx00-default.state.orig	2006-06-28 08:45:07.000000000 +0000
++++ zaurusd/config/alsa/cxx00-default.state	2007-05-21 21:40:50.000000000 +0000
+@@ -32,7 +32,7 @@
+ 		comment.type BOOLEAN
+ 		comment.count 2
+ 		iface MIXER
+-		name 'Out1 Playback ZC Switch'
++		name 'Headphone Playback ZC Switch'
+ 		value.0 false
+ 		value.1 false
+ 	}
+@@ -41,7 +41,7 @@
+ 		comment.type BOOLEAN
+ 		comment.count 2
+ 		iface MIXER
+-		name 'Out2 Playback ZC Switch'
++		name 'Speaker Playback ZC Switch'
+ 		value.0 false
+ 		value.1 false
+ 	}
+@@ -218,7 +218,7 @@
+ 		comment.item.3 Stereo
+ 		iface MIXER
+ 		name 'ALC Capture Function'
+-		value Left
++		value Off
+ 	}
+ 	control.24 {
+ 		comment.access 'read write'
+@@ -321,8 +321,8 @@
+ 		comment.type BOOLEAN
+ 		comment.count 1
+ 		iface MIXER
+-		name 'Right Out2 Playback Invert Switch'
+-		value true
++		name 'Right Speaker Playback Invert Switch'
++		value false
+ 	}
+ 	control.36 {
+ 		comment.access 'read write'
+@@ -331,8 +331,8 @@
+ 		comment.range '0 - 3'
+ 		iface MIXER
+ 		name 'Mic Boost'
+-		value.0 2
+-		value.1 2
++		value.0 0
++		value.1 0
+ 	}
+ 	control.37 {
+ 		comment.access 'read write'
+@@ -351,8 +351,8 @@
+ 		comment.range '0 - 7'
+ 		iface MIXER
+ 		name 'Bypass Right Playback Volume'
+-		value.0 0
+-		value.1 0
++		value.0 2
++		value.1 2
+ 	}
+ 	control.39 {
+ 		comment.access 'read write'
+@@ -378,9 +378,9 @@
+ 		comment.count 2
+ 		comment.range '0 - 127'
+ 		iface MIXER
+-		name 'Out1 Playback Volume'
+-		value.0 120
+-		value.1 120
++		name 'Headphone Playback Volume'
++		value.0 121
++		value.1 121
+ 	}
+ 	control.42 {
+ 		comment.access 'read write'
+@@ -388,9 +388,9 @@
+ 		comment.count 2
+ 		comment.range '0 - 127'
+ 		iface MIXER
+-		name 'Out2 Playback Volume'
+-		value.0 119
+-		value.1 119
++		name 'Speaker Playback Volume'
++		value.0 121
++		value.1 121
+ 	}
+ 	control.43 {
+ 		comment.access 'read write'
+@@ -411,7 +411,7 @@
+ 		comment.item.3 'Digital Mono'
+ 		iface MIXER
+ 		name 'Right ADC Mux'
+-		value 'Mono (Left)'
++		value Stereo
+ 	}
+ 	control.45 {
+ 		comment.access 'read write'
+@@ -423,7 +423,7 @@
+ 		comment.item.3 'Digital Mono'
+ 		iface MIXER
+ 		name 'Left ADC Mux'
+-		value 'Mono (Left)'
++		value Stereo
+ 	}
+ 	control.46 {
+ 		comment.access 'read write'
+@@ -458,7 +458,7 @@
+ 		comment.item.4 Differential
+ 		iface MIXER
+ 		name 'Right Line Mux'
+-		value Differential
++		value 'Line 1'
+ 	}
+ 	control.49 {
+ 		comment.access 'read write'
+@@ -471,7 +471,7 @@
+ 		comment.item.4 Differential
+ 		iface MIXER
+ 		name 'Left Line Mux'
+-		value PGA
++		value 'Line 1'
+ 	}
+ 	control.50 {
+ 		comment.access 'read write'
+@@ -483,7 +483,7 @@
+ 		comment.item.3 Differential
+ 		iface MIXER
+ 		name 'Right PGA Mux'
+-		value Differential
++		value 'Line 1'
+ 	}
+ 	control.51 {
+ 		comment.access 'read write'
+@@ -495,7 +495,7 @@
+ 		comment.item.3 Differential
+ 		iface MIXER
+ 		name 'Left PGA Mux'
+-		value Differential
++		value 'Line 1'
+ 	}
+ 	control.52 {
+ 		comment.access 'read write'
+@@ -535,7 +535,7 @@
+ 		comment.count 1
+ 		iface MIXER
+ 		name 'Right Mixer Left Playback Switc'
+-		value false
++		value true
+ 	}
+ 	control.57 {
+ 		comment.access 'read write'
+@@ -610,9 +610,8 @@
+ 		comment.access 'read write'
+ 		comment.type ENUMERATED
+ 		comment.count 1
+-		comment.item.0 Auto
+-		comment.item.1 On
+-		comment.item.2 Off
++		comment.item.0 On
++		comment.item.1 Off
+ 		iface MIXER
+ 		name 'Speaker Function'
+ 		value On
============================================================
--- packages/zaurusd/files/disable-alsa-handling.patch	472f7fb912da7db8ab3faeecc209ca2b7d33ded7
+++ packages/zaurusd/files/disable-alsa-handling.patch	472f7fb912da7db8ab3faeecc209ca2b7d33ded7
@@ -0,0 +1,16 @@
+--- zaurusd/config/config.in.orig	2007-05-21 21:58:14.000000000 +0000
++++ zaurusd/config/config.in	2007-05-21 22:10:26.000000000 +0000
+@@ -11,11 +11,5 @@
+ . @appconfdir@/mach-config-vars
+ . @appconfdir@/mach-config-funcs
+ 
+-if [ "x$HAVE_ALSA_MIXER" != "x" -a "x$ALSA_MIXER_INIT" != "x" ]; then
+-  if [ ! -e /etc/asound.state ]; then
+-    cp $ALSA_MIXER_INIT /etc/asound.state
+-    @sbindir@/alsactl restore
+-  fi
+-fi
+ 
+-export SWITCHEVD_EVENT_SCRIPT=@appconfdir@/scripts/switch-event
+\ No newline at end of file
++export SWITCHEVD_EVENT_SCRIPT=@appconfdir@/scripts/switch-event
============================================================
--- packages/zaurusd/zaurusd_svn.bb	6c12b71f582ea4a44e70010f46f549966ee4a37a
+++ packages/zaurusd/zaurusd_svn.bb	8b451c1c4b8d4de40888cbc057c5d8461b30aea1
@@ -1,15 +1,17 @@ PV = "0.0+svn${SRCDATE}"
 DESCRIPTION = "Daemon to handle device specifc features."
 SECTION = "base"
 LICENSE = "GPL"
 DEPENDS = "tslib"
 RDEPENDS = "procps"
 PV = "0.0+svn${SRCDATE}"
-PR = "r7"
+PR = "r8"
 
 SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http \
            file://zaurus-hinge.in \
 	   file://add-poodle.patch;patch=1 \
-	   file://zaurus-hinge.matchbox-portrait \
+	   file://alsa-cxx00-default.state.patch;patch=1 \
+	   file://disable-alsa-handling.patch;patch=1 \
+	   file://zaurus-hinge.matchbox-portrait \	   
 	   file://zaurus-hinge.matchbox-landscape"
 
 






More information about the Openembedded-commits mailing list