summaryrefslogtreecommitdiff
path: root/packages/zaurusd/files
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-05-22 10:30:21 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-05-22 10:30:21 +0000
commit729c54400c5ed5b51fbdc579de768d45ce212c67 (patch)
tree400b621b1ae7cb4e642bd73fb2fe7b8714924c8e /packages/zaurusd/files
parentec786605012af55c4060164d1b076bdceb968c99 (diff)
parent69b2b0b5d684fe6c54ee87eb47bf4ec33ef2fce1 (diff)
merge of '1363ef74e5eef89aecd3b1cd42142546b27d3d6a'
and '37e29e33ed5a8bc07374cf9980746d5aba2c6a90'
Diffstat (limited to 'packages/zaurusd/files')
-rw-r--r--packages/zaurusd/files/alsa-cxx00-default.state.patch163
-rw-r--r--packages/zaurusd/files/disable-alsa-handling.patch16
2 files changed, 179 insertions, 0 deletions
diff --git a/packages/zaurusd/files/alsa-cxx00-default.state.patch b/packages/zaurusd/files/alsa-cxx00-default.state.patch
new file mode 100644
index 0000000000..c3e234b534
--- /dev/null
+++ b/packages/zaurusd/files/alsa-cxx00-default.state.patch
@@ -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
diff --git a/packages/zaurusd/files/disable-alsa-handling.patch b/packages/zaurusd/files/disable-alsa-handling.patch
new file mode 100644
index 0000000000..8f1879db60
--- /dev/null
+++ b/packages/zaurusd/files/disable-alsa-handling.patch
@@ -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