Without that fix we have no sound during phone calls.

Note that playing medias still need to be fixed in
  fsodeviced: the correct states files for stereoout
  must be added otherwis we would have:
    ALSA lib pcm_direct.c:1052:(snd1_pcm_direct_initialize_slave) unable to 
start PCM stream
    ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
    aplay: main:660: audio open error: Connection timed out

Thanks a lot to larsc on #openmoko-cdevel on Freeenode's irc server
  for telling me which modules were needed.

Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]>
---
 meta-openmoko/conf/machine/om-gta02.conf           |   10 +++++++---
 .../recipes-kernel/linux/linux-openmoko_2.6.39.bb  |    2 +-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/meta-openmoko/conf/machine/om-gta02.conf 
b/meta-openmoko/conf/machine/om-gta02.conf
index ebab4b8..9627d4f 100644
--- a/meta-openmoko/conf/machine/om-gta02.conf
+++ b/meta-openmoko/conf/machine/om-gta02.conf
@@ -37,7 +37,9 @@ READER_UI         = "gtk"
 MACHINE_EXTRA_RRECOMMENDS = "\
   kernel-module-s3cmci \
   kernel-module-snd-soc-neo1973-wm8753 \
-  kernel-module-snd-soc-neo1973-gta02-wm8753 \
+  kernel-module-snd-soc-dfbmcs320 \
+  kernel-module-snd-soc-wm8753 \
+  kernel-module-snd-soc-s3c24xx \
   kernel-module-g-ether \
   kernel-module-ar6000 \
   kernel-module-leds-s3c24xx \
@@ -83,8 +85,10 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
 # build / upload tools
 EXTRA_IMAGEDEPENDS += "sjf2410-linux-native dfu-util-native qi qi-ubi"
 
-module_autoload_snd_soc_neo1973_gta02_wm8753 = "snd-soc-neo1973-gta02-wm8753"
-#2.6.31 is using the same name as it was in gta01
+# sound modules autoload
+module_autoload_snd_soc_s3c24xx = "snd-soc-s3c24xx"
+module_autoload_snd_soc_wm8753 = "snd-soc-wm8753"
+module_autoload_snd_soc_dfbmcs320 = "snd-soc-dfbmcs320"
 module_autoload_snd_soc_neo1973_wm8753 = "snd-soc-neo1973-wm8753"
 
 module_autoload_ar6000 = "ar6000"
diff --git a/meta-openmoko/recipes-kernel/linux/linux-openmoko_2.6.39.bb 
b/meta-openmoko/recipes-kernel/linux/linux-openmoko_2.6.39.bb
index 25d4fe3..afb7079 100644
--- a/meta-openmoko/recipes-kernel/linux/linux-openmoko_2.6.39.bb
+++ b/meta-openmoko/recipes-kernel/linux/linux-openmoko_2.6.39.bb
@@ -1,3 +1,3 @@
 require linux_${PV}.bb
 require linux-openmoko.inc
-OM-PR = "8"
+OM-PR = "9"
-- 
1.7.1

_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to