Thanks to the experimental qtmoko state files I've been able to get working audio also in SHR with a 2.6.34 kernel... I've attached here the patch against fosdeviced.
To convert the alsa scenario files I've written a small python tool called alsa-scenarios-to-fsodeviced [1] which allows to convert an alsa state file to a scenario file for fsodeviced. This is can be useful not only for converting .state files coming from other distros, but also for adjusting them, you can in fact set-up your phone using alsamixer, then saving the current state with alsactl -f file store, and then convert it to an fsodeviced format with this tool. Bye [1] http://dev.3v1n0.net/gitweb/alsa-scenarios-to-fsodeviced.git
From b5aa53666712e671bb34f3ea81898631c05ccd15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20(Trevi=C3=B1o)?= <[email protected]> Date: Mon, 27 Sep 2010 00:00:23 +0200 Subject: [PATCH] fsodeviced: added alsa scenarios for openmoko 2.6.34 kernels --- .../conf/openmoko_gta/alsa-2.6.34/capturehandset | 93 +++++++++++++++++++ .../conf/openmoko_gta/alsa-2.6.34/gsmbluetooth | 93 +++++++++++++++++++ .../conf/openmoko_gta/alsa-2.6.34/gsmhandset | 94 ++++++++++++++++++++ .../conf/openmoko_gta/alsa-2.6.34/gsmheadset | 93 +++++++++++++++++++ .../conf/openmoko_gta/alsa-2.6.34/gsmspeaker | 93 +++++++++++++++++++ fsodeviced/conf/openmoko_gta/alsa-2.6.34/headset | 93 +++++++++++++++++++ fsodeviced/conf/openmoko_gta/alsa-2.6.34/stereoout | 93 +++++++++++++++++++ .../conf/openmoko_gta/alsa-2.6.34/voip-handset | 93 +++++++++++++++++++ .../conf/openmoko_gta/alsa-2.6.34/voiphandset | 93 +++++++++++++++++++ 9 files changed, 838 insertions(+), 0 deletions(-) create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/capturehandset create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmbluetooth create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmhandset create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmheadset create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmspeaker create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/headset create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/stereoout create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/voip-handset create mode 100644 fsodeviced/conf/openmoko_gta/alsa-2.6.34/voiphandset diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/capturehandset b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/capturehandset new file mode 100644 index 0000000..1095f77 --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/capturehandset @@ -0,0 +1,93 @@ +1:'PCM Volume':2:235,235 +2:'ADC Capture Volume':2:195,195 +3:'Headphone Playback Volume':2:127,127 +4:'Speaker Playback Volume':2:0,0 +5:'Mono Playback Volume':1:121 +6:'Bypass Playback Volume':2:2,2 +7:'Sidetone Playback Volume':2:2,2 +8:'Voice Playback Volume':2:2,2 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:2 +12:'Mono Sidetone Playback Volume':1:2 +13:'Mono Voice Playback Volume':1:2 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:0 +18:'Treble Volume':1:0 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:2,2 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:47,47 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:1,1 +25:'Capture Filter Select':1:0 +26:'Capture Filter Cut-off':1:0 +27:'Capture Filter Switch':1:1 +28:'ALC Capture Target Volume':1:3 +29:'ALC Capture Max Volume':1:7 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:15 +33:'ALC Capture Decay Time':1:12 +34:'ALC Capture Attack Time':1:2 +35:'ALC Capture NG Threshold':1:0 +36:'ALC Capture NG Type':1:0 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:0 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:'De-emphasis':1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:2 +49:'Mic1 Capture Volume':1:0 +50:'DAI Mode':1:2 +51:'ADC Data Select':1:0 +52:'ROUT2 Phase':1:1 +53:'Mic Selection Mux':1:0 +54:'Rx Mixer':1:0 +55:'Line Mixer':1:0 +56:'Line Mono Mux':1:0 +57:'Line Right Mux':1:1 +58:'Line Left Mux':1:1 +59:'ALC Mixer Line Capture Switch':1:0 +60:'ALC Mixer Mic2 Capture Switch':1:0 +61:'ALC Mixer Mic1 Capture Switch':1:0 +62:'ALC Mixer Rx Capture Switch':1:0 +63:'Mic Sidetone Mux':1:0 +64:'Capture Right Mux':1:0 +65:'Capture Left Mux':1:0 +66:'Capture Right Mixer':1:2 +67:'Capture Left Mixer':1:2 +68:'Playback Mixer Voice Capture Switch':1:0 +69:'Playback Mixer Left Capture Switch':1:0 +70:'Playback Mixer Right Capture Switch':1:0 +71:'Out4 Mux':1:0 +72:'Out3 Mux':1:0 +73:'Mono 2 Mux':1:0 +74:'Mono Mixer Left Playback Switch':1:0 +75:'Mono Mixer Right Playback Switch':1:0 +76:'Mono Mixer Voice Playback Switch':1:0 +77:'Mono Mixer Sidetone Playback Switch':1:0 +78:'Mono Mixer Bypass Playback Switch':1:0 +79:'Right Mixer Voice Playback Switch':1:0 +80:'Right Mixer Sidetone Playback Switch':1:0 +81:'Right Mixer Right Playback Switch':1:1 +82:'Right Mixer Bypass Playback Switch':1:0 +83:'Left Mixer Voice Playback Switch':1:0 +84:'Left Mixer Sidetone Playback Switch':1:0 +85:'Left Mixer Left Playback Switch':1:1 +86:'Left Mixer Bypass Playback Switch':1:0 +87:'Stereo Out Switch':1:0 +88:'GSM Line Out Switch':1:0 +89:'GSM Line In Switch':1:0 +90:'Headset Mic Switch':1:0 +91:'Handset Mic Switch':1:1 +92:'Handset Spk Switch':1:1 +93:'Amp Spk Switch':1:1 diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmbluetooth b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmbluetooth new file mode 100644 index 0000000..6c110e1 --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmbluetooth @@ -0,0 +1,93 @@ +1:'PCM Volume':2:235,235 +2:'ADC Capture Volume':2:195,195 +3:'Headphone Playback Volume':2:0,0 +4:'Speaker Playback Volume':2:0,0 +5:'Mono Playback Volume':1:79 +6:'Bypass Playback Volume':2:6,6 +7:'Sidetone Playback Volume':2:6,6 +8:'Voice Playback Volume':2:7,7 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:5 +12:'Mono Sidetone Playback Volume':1:5 +13:'Mono Voice Playback Volume':1:4 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:8 +18:'Treble Volume':1:8 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:0,0 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:48,48 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:1,1 +25:'Capture Filter Select':1:2 +26:'Capture Filter Cut-off':1:1 +27:'Capture Filter Switch':1:1 +28:'ALC Capture Target Volume':1:4 +29:'ALC Capture Max Volume':1:5 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:4 +33:'ALC Capture Decay Time':1:8 +34:'ALC Capture Attack Time':1:2 +35:'ALC Capture NG Threshold':1:7 +36:'ALC Capture NG Type':1:0 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:8 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:'De-emphasis':1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:3 +49:'Mic1 Capture Volume':1:3 +50:'DAI Mode':1:0 +51:'ADC Data Select':1:1 +52:'ROUT2 Phase':1:1 +53:'Mic Selection Mux':1:0 +54:'Rx Mixer':1:0 +55:'Line Mixer':1:1 +56:'Line Mono Mux':1:1 +57:'Line Right Mux':1:1 +58:'Line Left Mux':1:1 +59:'ALC Mixer Line Capture Switch':1:0 +60:'ALC Mixer Mic2 Capture Switch':1:0 +61:'ALC Mixer Mic1 Capture Switch':1:0 +62:'ALC Mixer Rx Capture Switch':1:1 +63:'Mic Sidetone Mux':1:0 +64:'Capture Right Mux':1:2 +65:'Capture Left Mux':1:0 +66:'Capture Right Mixer':1:1 +67:'Capture Left Mixer':1:1 +68:'Playback Mixer Voice Capture Switch':1:1 +69:'Playback Mixer Left Capture Switch':1:1 +70:'Playback Mixer Right Capture Switch':1:1 +71:'Out4 Mux':1:0 +72:'Out3 Mux':1:0 +73:'Mono 2 Mux':1:0 +74:'Mono Mixer Left Playback Switch':1:0 +75:'Mono Mixer Right Playback Switch':1:0 +76:'Mono Mixer Voice Playback Switch':1:1 +77:'Mono Mixer Sidetone Playback Switch':1:0 +78:'Mono Mixer Bypass Playback Switch':1:0 +79:'Right Mixer Voice Playback Switch':1:0 +80:'Right Mixer Sidetone Playback Switch':1:0 +81:'Right Mixer Right Playback Switch':1:0 +82:'Right Mixer Bypass Playback Switch':1:0 +83:'Left Mixer Voice Playback Switch':1:0 +84:'Left Mixer Sidetone Playback Switch':1:0 +85:'Left Mixer Left Playback Switch':1:0 +86:'Left Mixer Bypass Playback Switch':1:0 +87:'Stereo Out Switch':1:0 +88:'GSM Line Out Switch':1:1 +89:'GSM Line In Switch':1:1 +90:'Headset Mic Switch':1:0 +91:'Handset Mic Switch':1:0 +92:'Handset Spk Switch':1:1 +93:'Amp Spk Switch':1:0 diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmhandset b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmhandset new file mode 100644 index 0000000..1fbaed3 --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmhandset @@ -0,0 +1,94 @@ +1:'PCM Volume':2:0,0 +2:'ADC Capture Volume':2:0,0 +3:'Headphone Playback Volume':2:0,0 +4:'Speaker Playback Volume':2:126,126 +5:'Mono Playback Volume':1:97 +6:'Bypass Playback Volume':2:7,7 +7:'Sidetone Playback Volume':2:0,0 +8:'Voice Playback Volume':2:0,0 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:0 +12:'Mono Sidetone Playback Volume':1:6 +13:'Mono Voice Playback Volume':1:0 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:0 +18:'Treble Volume':1:0 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:0,0 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:0,0 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:1,1 +25:'Capture Filter Select':1:0 +26:'Capture Filter Cut-off':1:0 +27:'Capture Filter Switch':1:0 +28:'ALC Capture Target Volume':1:0 +29:'ALC Capture Max Volume':1:0 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:0 +33:'ALC Capture Decay Time':1:0 +34:'ALC Capture Attack Time':1:0 +35:'ALC Capture NG Threshold':1:0 +36:'ALC Capture NG Type':1:1 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:0 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:'De-emphasis':1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:2 +49:'Mic1 Capture Volume':1:0 +50:'DAI Mode':1:0 +51:'ADC Data Select':1:0 +52:'ROUT2 Phase':1:1 +53:'Stereo Out Switch':1:0 +54:'GSM Line Out Switch':1:1 +55:'GSM Line In Switch':1:1 +56:'Headset Mic Switch':1:1 +57:'Handset Mic Switch':1:1 +58:'Handset Spk Switch':1:1 +59:'Amp Spk Switch':1:0 +60:'Mic Selection Mux':1:0 +61:'Rx Mixer':1:0 +62:'Line Mixer':1:0 +63:'Line Mono Mux':1:0 +64:'Line Right Mux':1:1 +65:'Line Left Mux':1:1 +66:'ALC Mixer Line Capture Switch':1:0 +67:'ALC Mixer Mic2 Capture Switch':1:1 +68:'ALC Mixer Mic1 Capture Switch':1:0 +69:'ALC Mixer Rx Capture Switch':1:0 +70:'Mic Sidetone Mux':1:2 +71:'Capture Right Mux':1:0 +72:'Capture Left Mux':1:0 +73:'Capture Right Mixer':1:0 +74:'Capture Left Mixer':1:0 +75:'Playback Mixer Voice Capture Switch':1:0 +76:'Playback Mixer Left Capture Switch':1:0 +77:'Playback Mixer Right Capture Switch':1:0 +78:'Out4 Mux':1:0 +79:'Out3 Mux':1:0 +80:'Mono 2 Mux':1:0 +81:'Mono Mixer Left Playback Switch':1:0 +82:'Mono Mixer Right Playback Switch':1:0 +83:'Mono Mixer Voice Playback Switch':1:0 +84:'Mono Mixer Sidetone Playback Switch':1:1 +85:'Mono Mixer Bypass Playback Switch':1:0 +86:'Right Mixer Voice Playback Switch':1:0 +87:'Right Mixer Sidetone Playback Switch':1:0 +88:'Right Mixer Right Playback Switch':1:0 +89:'Right Mixer Bypass Playback Switch':1:1 +90:'Left Mixer Voice Playback Switch':1:0 +91:'Left Mixer Sidetone Playback Switch':1:0 +92:'Left Mixer Left Playback Switch':1:0 +93:'Left Mixer Bypass Playback Switch':1:1 + diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmheadset b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmheadset new file mode 100644 index 0000000..e95c84b --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmheadset @@ -0,0 +1,93 @@ +1:'PCM Volume':2:0,0 +2:'ADC Capture Volume':2:0,0 +3:'Headphone Playback Volume':2:96,96 +4:'Speaker Playback Volume':2:0,0 +5:'Mono Playback Volume':1:103 +6:'Bypass Playback Volume':2:7,7 +7:'Sidetone Playback Volume':2:0,0 +8:'Voice Playback Volume':2:0,0 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:0 +12:'Mono Sidetone Playback Volume':1:5 +13:'Mono Voice Playback Volume':1:0 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:0 +18:'Treble Volume':1:0 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:0,0 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:0,0 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:1,1 +25:'Capture Filter Select':1:0 +26:'Capture Filter Cut-off':1:0 +27:'Capture Filter Switch':1:0 +28:'ALC Capture Target Volume':1:0 +29:'ALC Capture Max Volume':1:0 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:0 +33:'ALC Capture Decay Time':1:0 +34:'ALC Capture Attack Time':1:0 +35:'ALC Capture NG Threshold':1:0 +36:'ALC Capture NG Type':1:1 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:0 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:'De-emphasis':1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:0 +49:'Mic1 Capture Volume':1:0 +50:'DAI Mode':1:0 +51:'ADC Data Select':1:0 +52:'ROUT2 Phase':1:1 +53:'Mic Selection Mux':1:0 +54:'Rx Mixer':1:0 +55:'Line Mixer':1:0 +56:'Line Mono Mux':1:0 +57:'Line Right Mux':1:1 +58:'Line Left Mux':1:1 +59:'ALC Mixer Line Capture Switch':1:0 +60:'ALC Mixer Mic2 Capture Switch':1:1 +61:'ALC Mixer Mic1 Capture Switch':1:0 +62:'ALC Mixer Rx Capture Switch':1:0 +63:'Mic Sidetone Mux':1:1 +64:'Capture Right Mux':1:0 +65:'Capture Left Mux':1:0 +66:'Capture Right Mixer':1:0 +67:'Capture Left Mixer':1:0 +68:'Playback Mixer Voice Capture Switch':1:0 +69:'Playback Mixer Left Capture Switch':1:0 +70:'Playback Mixer Right Capture Switch':1:0 +71:'Out4 Mux':1:0 +72:'Out3 Mux':1:0 +73:'Mono 2 Mux':1:0 +74:'Mono Mixer Left Playback Switch':1:0 +75:'Mono Mixer Right Playback Switch':1:0 +76:'Mono Mixer Voice Playback Switch':1:0 +77:'Mono Mixer Sidetone Playback Switch':1:1 +78:'Mono Mixer Bypass Playback Switch':1:0 +79:'Right Mixer Voice Playback Switch':1:0 +80:'Right Mixer Sidetone Playback Switch':1:0 +81:'Right Mixer Right Playback Switch':1:0 +82:'Right Mixer Bypass Playback Switch':1:1 +83:'Left Mixer Voice Playback Switch':1:0 +84:'Left Mixer Sidetone Playback Switch':1:0 +85:'Left Mixer Left Playback Switch':1:0 +86:'Left Mixer Bypass Playback Switch':1:1 +87:'Stereo Out Switch':1:1 +88:'GSM Line Out Switch':1:1 +89:'GSM Line In Switch':1:1 +90:'Headset Mic Switch':1:1 +91:'Handset Mic Switch':1:1 +92:'Handset Spk Switch':1:0 +93:'Amp Spk Switch':1:0 diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmspeaker b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmspeaker new file mode 100644 index 0000000..b0adb05 --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/gsmspeaker @@ -0,0 +1,93 @@ +1:'PCM Volume':2:0,0 +2:'ADC Capture Volume':2:0,0 +3:'Headphone Playback Volume':2:127,127 +4:'Speaker Playback Volume':2:0,0 +5:'Mono Playback Volume':1:103 +6:'Bypass Playback Volume':2:7,7 +7:'Sidetone Playback Volume':2:0,0 +8:'Voice Playback Volume':2:0,0 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:0 +12:'Mono Sidetone Playback Volume':1:6 +13:'Mono Voice Playback Volume':1:0 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:0 +18:'Treble Volume':1:0 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:0,0 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:0,0 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:1,1 +25:'Capture Filter Select':1:0 +26:'Capture Filter Cut-off':1:0 +27:'Capture Filter Switch':1:0 +28:'ALC Capture Target Volume':1:0 +29:'ALC Capture Max Volume':1:0 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:0 +33:'ALC Capture Decay Time':1:0 +34:'ALC Capture Attack Time':1:0 +35:'ALC Capture NG Threshold':1:0 +36:'ALC Capture NG Type':1:1 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:0 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:'De-emphasis':1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:0 +49:'Mic1 Capture Volume':1:0 +50:'DAI Mode':1:0 +51:'ADC Data Select':1:0 +52:'ROUT2 Phase':1:1 +53:'Mic Selection Mux':1:0 +54:'Rx Mixer':1:0 +55:'Line Mixer':1:0 +56:'Line Mono Mux':1:0 +57:'Line Right Mux':1:1 +58:'Line Left Mux':1:1 +59:'ALC Mixer Line Capture Switch':1:0 +60:'ALC Mixer Mic2 Capture Switch':1:1 +61:'ALC Mixer Mic1 Capture Switch':1:0 +62:'ALC Mixer Rx Capture Switch':1:0 +63:'Mic Sidetone Mux':1:2 +64:'Capture Right Mux':1:0 +65:'Capture Left Mux':1:0 +66:'Capture Right Mixer':1:0 +67:'Capture Left Mixer':1:0 +68:'Playback Mixer Voice Capture Switch':1:0 +69:'Playback Mixer Left Capture Switch':1:0 +70:'Playback Mixer Right Capture Switch':1:0 +71:'Out4 Mux':1:0 +72:'Out3 Mux':1:0 +73:'Mono 2 Mux':1:0 +74:'Mono Mixer Left Playback Switch':1:0 +75:'Mono Mixer Right Playback Switch':1:0 +76:'Mono Mixer Voice Playback Switch':1:0 +77:'Mono Mixer Sidetone Playback Switch':1:1 +78:'Mono Mixer Bypass Playback Switch':1:0 +79:'Right Mixer Voice Playback Switch':1:0 +80:'Right Mixer Sidetone Playback Switch':1:0 +81:'Right Mixer Right Playback Switch':1:0 +82:'Right Mixer Bypass Playback Switch':1:1 +83:'Left Mixer Voice Playback Switch':1:0 +84:'Left Mixer Sidetone Playback Switch':1:0 +85:'Left Mixer Left Playback Switch':1:0 +86:'Left Mixer Bypass Playback Switch':1:1 +87:'Stereo Out Switch':1:1 +88:'GSM Line Out Switch':1:1 +89:'GSM Line In Switch':1:1 +90:'Headset Mic Switch':1:1 +91:'Handset Mic Switch':1:1 +92:'Handset Spk Switch':1:1 +93:'Amp Spk Switch':1:1 diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/headset b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/headset new file mode 100644 index 0000000..c260d5d --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/headset @@ -0,0 +1,93 @@ +1:'PCM Volume':2:235,235 +2:'ADC Capture Volume':2:195,195 +3:'Headphone Playback Volume':2:127,127 +4:'Speaker Playback Volume':2:0,0 +5:'Mono Playback Volume':1:121 +6:'Bypass Playback Volume':2:2,2 +7:'Sidetone Playback Volume':2:2,2 +8:'Voice Playback Volume':2:2,2 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:2 +12:'Mono Sidetone Playback Volume':1:2 +13:'Mono Voice Playback Volume':1:2 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:0 +18:'Treble Volume':1:0 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:2,2 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:23,23 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:0,0 +25:'Capture Filter Select':1:0 +26:'Capture Filter Cut-off':1:0 +27:'Capture Filter Switch':1:1 +28:'ALC Capture Target Volume':1:3 +29:'ALC Capture Max Volume':1:7 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:15 +33:'ALC Capture Decay Time':1:12 +34:'ALC Capture Attack Time':1:2 +35:'ALC Capture NG Threshold':1:0 +36:'ALC Capture NG Type':1:0 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:0 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:'De-emphasis':1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:0 +49:'Mic1 Capture Volume':1:0 +50:'DAI Mode':1:0 +51:'ADC Data Select':1:0 +52:'ROUT2 Phase':1:1 +53:'Mic Selection Mux':1:0 +54:'Rx Mixer':1:0 +55:'Line Mixer':1:0 +56:'Line Mono Mux':1:0 +57:'Line Right Mux':1:1 +58:'Line Left Mux':1:1 +59:'ALC Mixer Line Capture Switch':1:0 +60:'ALC Mixer Mic2 Capture Switch':1:0 +61:'ALC Mixer Mic1 Capture Switch':1:0 +62:'ALC Mixer Rx Capture Switch':1:0 +63:'Mic Sidetone Mux':1:0 +64:'Capture Right Mux':1:0 +65:'Capture Left Mux':1:0 +66:'Capture Right Mixer':1:0 +67:'Capture Left Mixer':1:0 +68:'Playback Mixer Voice Capture Switch':1:0 +69:'Playback Mixer Left Capture Switch':1:0 +70:'Playback Mixer Right Capture Switch':1:0 +71:'Out4 Mux':1:0 +72:'Out3 Mux':1:0 +73:'Mono 2 Mux':1:0 +74:'Mono Mixer Left Playback Switch':1:0 +75:'Mono Mixer Right Playback Switch':1:0 +76:'Mono Mixer Voice Playback Switch':1:0 +77:'Mono Mixer Sidetone Playback Switch':1:0 +78:'Mono Mixer Bypass Playback Switch':1:0 +79:'Right Mixer Voice Playback Switch':1:0 +80:'Right Mixer Sidetone Playback Switch':1:0 +81:'Right Mixer Right Playback Switch':1:1 +82:'Right Mixer Bypass Playback Switch':1:0 +83:'Left Mixer Voice Playback Switch':1:0 +84:'Left Mixer Sidetone Playback Switch':1:0 +85:'Left Mixer Left Playback Switch':1:1 +86:'Left Mixer Bypass Playback Switch':1:0 +87:'Stereo Out Switch':1:1 +88:'GSM Line Out Switch':1:0 +89:'GSM Line In Switch':1:0 +90:'Headset Mic Switch':1:0 +91:'Handset Mic Switch':1:0 +92:'Handset Spk Switch':1:0 +93:'Amp Spk Switch':1:0 diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/stereoout b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/stereoout new file mode 100644 index 0000000..841d70a --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/stereoout @@ -0,0 +1,93 @@ +1:'PCM Volume':2:255,255 +2:'ADC Capture Volume':2:195,195 +3:'Headphone Playback Volume':2:127,127 +4:'Speaker Playback Volume':2:0,0 +5:'Mono Playback Volume':1:121 +6:'Bypass Playback Volume':2:2,2 +7:'Sidetone Playback Volume':2:2,2 +8:'Voice Playback Volume':2:2,2 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:2 +12:'Mono Sidetone Playback Volume':1:2 +13:'Mono Voice Playback Volume':1:2 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:0 +18:'Treble Volume':1:0 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:2,2 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:23,23 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:0,0 +25:'Capture Filter Select':1:0 +26:'Capture Filter Cut-off':1:0 +27:'Capture Filter Switch':1:1 +28:'ALC Capture Target Volume':1:3 +29:'ALC Capture Max Volume':1:7 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:15 +33:'ALC Capture Decay Time':1:12 +34:'ALC Capture Attack Time':1:2 +35:'ALC Capture NG Threshold':1:0 +36:'ALC Capture NG Type':1:0 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:0 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:'De-emphasis':1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:0 +49:'Mic1 Capture Volume':1:0 +50:'DAI Mode':1:0 +51:'ADC Data Select':1:0 +52:'ROUT2 Phase':1:1 +53:'Stereo Out Switch':1:1 +54:'GSM Line Out Switch':1:0 +55:'GSM Line In Switch':1:0 +56:'Headset Mic Switch':1:0 +57:'Handset Mic Switch':1:0 +58:'Handset Spk Switch':1:0 +59:'Amp Spk Switch':1:1 +60:'Mic Selection Mux':1:0 +61:'Rx Mixer':1:0 +62:'Line Mixer':1:0 +63:'Line Mono Mux':1:0 +64:'Line Right Mux':1:1 +65:'Line Left Mux':1:1 +66:'ALC Mixer Line Capture Switch':1:0 +67:'ALC Mixer Mic2 Capture Switch':1:0 +68:'ALC Mixer Mic1 Capture Switch':1:0 +69:'ALC Mixer Rx Capture Switch':1:0 +70:'Mic Sidetone Mux':1:0 +71:'Capture Right Mux':1:0 +72:'Capture Left Mux':1:0 +73:'Capture Right Mixer':1:0 +74:'Capture Left Mixer':1:0 +75:'Playback Mixer Voice Capture Switch':1:0 +76:'Playback Mixer Left Capture Switch':1:0 +77:'Playback Mixer Right Capture Switch':1:0 +78:'Out4 Mux':1:0 +79:'Out3 Mux':1:0 +80:'Mono 2 Mux':1:0 +81:'Mono Mixer Left Playback Switch':1:0 +82:'Mono Mixer Right Playback Switch':1:0 +83:'Mono Mixer Voice Playback Switch':1:0 +84:'Mono Mixer Sidetone Playback Switch':1:0 +85:'Mono Mixer Bypass Playback Switch':1:0 +86:'Right Mixer Voice Playback Switch':1:0 +87:'Right Mixer Sidetone Playback Switch':1:0 +88:'Right Mixer Right Playback Switch':1:1 +89:'Right Mixer Bypass Playback Switch':1:0 +90:'Left Mixer Voice Playback Switch':1:0 +91:'Left Mixer Sidetone Playback Switch':1:0 +92:'Left Mixer Left Playback Switch':1:1 +93:'Left Mixer Bypass Playback Switch':1:0 diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/voip-handset b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/voip-handset new file mode 100644 index 0000000..11894e4 --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/voip-handset @@ -0,0 +1,93 @@ +1:'PCM Volume':2:235,235 +2:'ADC Capture Volume':2:195,195 +3:'Headphone Playback Volume':2:127,127 +4:'Speaker Playback Volume':2:121,121 +5:'Mono Playback Volume':1:121 +6:'Bypass Playback Volume':2:2,2 +7:'Sidetone Playback Volume':2:2,2 +8:'Voice Playback Volume':2:2,2 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:2 +12:'Mono Sidetone Playback Volume':1:2 +13:'Mono Voice Playback Volume':1:2 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:0 +18:'Treble Volume':1:0 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:2,2 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:47,47 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:1,1 +25:'Capture Filter Select':1:0 +26:'Capture Filter Cut-off':1:0 +27:'Capture Filter Switch':1:1 +28:'ALC Capture Target Volume':1:3 +29:'ALC Capture Max Volume':1:7 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:15 +33:'ALC Capture Decay Time':1:12 +34:'ALC Capture Attack Time':1:2 +35:'ALC Capture NG Threshold':1:0 +36:'ALC Capture NG Type':1:0 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:0 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:'De-emphasis':1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:2 +49:'Mic1 Capture Volume':1:0 +50:'DAI Mode':1:2 +51:'ADC Data Select':1:0 +52:'ROUT2 Phase':1:1 +53:'Mic Selection Mux':1:0 +54:'Rx Mixer':1:0 +55:'Line Mixer':1:0 +56:'Line Mono Mux':1:0 +57:'Line Right Mux':1:1 +58:'Line Left Mux':1:1 +59:'ALC Mixer Line Capture Switch':1:0 +60:'ALC Mixer Mic2 Capture Switch':1:0 +61:'ALC Mixer Mic1 Capture Switch':1:0 +62:'ALC Mixer Rx Capture Switch':1:0 +63:'Mic Sidetone Mux':1:0 +64:'Capture Right Mux':1:0 +65:'Capture Left Mux':1:0 +66:'Capture Right Mixer':1:2 +67:'Capture Left Mixer':1:2 +68:'Playback Mixer Voice Capture Switch':1:0 +69:'Playback Mixer Left Capture Switch':1:0 +70:'Playback Mixer Right Capture Switch':1:0 +71:'Out4 Mux':1:0 +72:'Out3 Mux':1:0 +73:'Mono 2 Mux':1:0 +74:'Mono Mixer Left Playback Switch':1:0 +75:'Mono Mixer Right Playback Switch':1:0 +76:'Mono Mixer Voice Playback Switch':1:0 +77:'Mono Mixer Sidetone Playback Switch':1:0 +78:'Mono Mixer Bypass Playback Switch':1:0 +79:'Right Mixer Voice Playback Switch':1:0 +80:'Right Mixer Sidetone Playback Switch':1:0 +81:'Right Mixer Right Playback Switch':1:1 +82:'Right Mixer Bypass Playback Switch':1:0 +83:'Left Mixer Voice Playback Switch':1:0 +84:'Left Mixer Sidetone Playback Switch':1:0 +85:'Left Mixer Left Playback Switch':1:1 +86:'Left Mixer Bypass Playback Switch':1:0 +87:'Stereo Out Switch':1:0 +88:'GSM Line Out Switch':1:0 +89:'GSM Line In Switch':1:0 +90:'Headset Mic Switch':1:0 +91:'Handset Mic Switch':1:1 +92:'Handset Spk Switch':1:1 +93:'Amp Spk Switch':1:1 diff --git a/fsodeviced/conf/openmoko_gta/alsa-2.6.34/voiphandset b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/voiphandset new file mode 100644 index 0000000..fe18a4b --- /dev/null +++ b/fsodeviced/conf/openmoko_gta/alsa-2.6.34/voiphandset @@ -0,0 +1,93 @@ +1:'PCM Volume':2:235,235 +2:'ADC Capture Volume':2:195,195 +3:'Headphone Playback Volume':2:127,127 +4:'Speaker Playback Volume':2:0,0 +5:'Mono Playback Volume':1:121 +6:'Bypass Playback Volume':2:2,2 +7:'Sidetone Playback Volume':2:2,2 +8:'Voice Playback Volume':2:2,2 +9:'Headphone Playback ZC Switch':2:0,0 +10:'Speaker Playback ZC Switch':2:0,0 +11:'Mono Bypass Playback Volume':1:2 +12:'Mono Sidetone Playback Volume':1:2 +13:'Mono Voice Playback Volume':1:2 +14:'Mono Playback ZC Switch':1:0 +15:'Bass Boost':1:0 +16:'Bass Filter':1:0 +17:'Bass Volume':1:0 +18:'Treble Volume':1:0 +19:'Treble Cut-off':1:0 +20:'Sidetone Capture Volume':2:2,2 +21:'Voice Sidetone Capture Volume':1:2 +22:'Capture Volume':2:47,47 +23:'Capture ZC Switch':2:0,0 +24:'Capture Switch':2:1,1 +25:'Capture Filter Select':1:0 +26:'Capture Filter Cut-off':1:0 +27:'Capture Filter Switch':1:1 +28:'ALC Capture Target Volume':1:3 +29:'ALC Capture Max Volume':1:7 +30:'ALC Capture Function':1:0 +31:'ALC Capture ZC Switch':1:0 +32:'ALC Capture Hold Time':1:15 +33:'ALC Capture Decay Time':1:12 +34:'ALC Capture Attack Time':1:2 +35:'ALC Capture NG Threshold':1:0 +36:'ALC Capture NG Type':1:0 +37:'ALC Capture NG Switch':1:0 +38:'3D Function':1:0 +39:'3D Upper Cut-off':1:0 +40:'3D Lower Cut-off':1:0 +41:'3D Volume':1:0 +42:'3D Switch':1:0 +43:'Capture 6dB Attenuate':1:0 +44:'Playback 6dB Attenuate':1:0 +45:De-emphasis:1:0 +46:'Playback Mono Mix':1:0 +47:'Playback Phase':1:0 +48:'Mic2 Capture Volume':1:2 +49:'Mic1 Capture Volume':1:0 +50:'DAI Mode':1:2 +51:'ADC Data Select':1:0 +52:'ROUT2 Phase':1:1 +53:'Mic Selection Mux':1:0 +54:'Rx Mixer':1:0 +55:'Line Mixer':1:0 +56:'Line Mono Mux':1:0 +57:'Line Right Mux':1:1 +58:'Line Left Mux':1:1 +59:'ALC Mixer Line Capture Switch':1:0 +60:'ALC Mixer Mic2 Capture Switch':1:0 +61:'ALC Mixer Mic1 Capture Switch':1:0 +62:'ALC Mixer Rx Capture Switch':1:0 +63:'Mic Sidetone Mux':1:0 +64:'Capture Right Mux':1:0 +65:'Capture Left Mux':1:0 +66:'Capture Right Mixer':1:2 +67:'Capture Left Mixer':1:2 +68:'Playback Mixer Voice Capture Switch':1:0 +69:'Playback Mixer Left Capture Switch':1:0 +70:'Playback Mixer Right Capture Switch':1:0 +71:'Out4 Mux':1:0 +72:'Out3 Mux':1:0 +73:'Mono 2 Mux':1:0 +74:'Mono Mixer Left Playback Switch':1:0 +75:'Mono Mixer Right Playback Switch':1:0 +76:'Mono Mixer Voice Playback Switch':1:0 +77:'Mono Mixer Sidetone Playback Switch':1:0 +78:'Mono Mixer Bypass Playback Switch':1:0 +79:'Right Mixer Voice Playback Switch':1:0 +80:'Right Mixer Sidetone Playback Switch':1:0 +81:'Right Mixer Right Playback Switch':1:1 +82:'Right Mixer Bypass Playback Switch':1:0 +83:'Left Mixer Voice Playback Switch':1:0 +84:'Left Mixer Sidetone Playback Switch':1:0 +85:'Left Mixer Left Playback Switch':1:1 +86:'Left Mixer Bypass Playback Switch':1:0 +87:'Stereo Out Switch':1:0 +88:'GSM Line Out Switch':1:0 +89:'GSM Line In Switch':1:0 +90:'Headset Mic Switch':1:0 +91:'Handset Mic Switch':1:1 +92:'Handset Spk Switch':1:1 +93:'Amp Spk Switch':1:1 -- 1.7.0.4
_______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
