Meego Wiki
Views

ARM/N900/Features/CallAudio

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "This feature provides working call audio (incoming, outgoing), SMS sending on the Nokia N900. The modifications are hosted in the OBS project [https://build.meego.com/project/pa…")
Line 29: Line 29:
ofono-config-phonesim
ofono-config-phonesim
</pre>
</pre>
 +
 +
=== Modified packages ===
 +
 +
==== nokia-n900-configs ===
 +
 +
Package maintainer: Carsten Munk <carsten@maemo.org>
 +
 +
Patch diff location: https://build.meego.com/package/files?package=nokia-n900-configs&project=home%3Ajouni.peltonen
 +
 +
Package is N900 specific.
 +
 +
What is changed:
 +
 +
* Modem powerup d-bus script is started in system startup (rc.d)
 +
** RISK: Slower startup or stall if modem not answering (dbus timeouts would happen, I presume?)
 +
** POSSIBLE CHANGE: Backgrounding modem powerup script at startup
 +
* ALSA mixer changes for N900 and pulseaudio configuration changes
 +
** RISK: Non-modem sound in general might not work (need QA)
 +
 +
==== udev-rules-nokia-n900 ====
 +
 +
Package maintainer: Carsten Munk <carsten@maemo.org>
 +
 +
Patch diff location: https://build.meego.com/package/files?package=udev-rules-nokia-n900&project=home%3Ajouni.peltonen
 +
 +
Package is N900 specific
 +
 +
What is changed:
 +
 +
* Added new udev rule file, 10-cmt_speech.rules, with permissions 0777 (rwxrwxrwx). To allow user to talk to CMT speech interface in kernel.
 +
** RISK: Very wide permissions.
 +
** POSSIBLE CHANGE: Should be for meego user instead?
 +
 +
==== ofono ====
 +
 +
Package maintainer: Martin Xu <martin.xu@intel.com>
 +
 +
Package diff location: https://build.meego.com/package/files?package=ofono&project=devel%3Adevices%3An900%3Afeature11_modem
 +
 +
What is changed:
 +
 +
* Added N900 modem power on patch [http://bugs.meego.com/show_bug.cgi?id=5662 BMC#5662)
 +
** UPSTREAM STATUS: in progress, changes to be made before integration. Current patch used not accepted by upstream.
 +
** RISK: Does not affect other components than including a new n900modem driver.
 +
* /etc/ofono/modem.conf is seperated out into ofono-config-* packages. This is because there might be non-n900modem phonet0 configurations.
 +
** RISK: ofono-config-phonesim will be needed to be included on anywhere phonesim is used (Aava, etc). QA needed after this change.
 +
 +
Package is global.
 +
 +
 +
==== pulseaudio ====
 +
 +
Package maintainer: Vivian Zhang <vivian.zhang@intel.com> ?
 +
 +
Package diff location: https://build.meego.com/package/files?package=pulseaudio&project=devel%3Adevices%3An900%3Afeature11_modem
 +
 +
What is changed:
 +
 +
* Added [https://build.meego.com/package/view_file?file=old-sink.patch&package=pulseaudio&project=devel%3Adevices%3An900%3Afeature11_modem alsa 'old sink' patch]. This is needed for the Nokia voice pulseaudio modules. This patch is a composite of patches, described in top of patch.
 +
** UPSTREAM STATUS: Uncertain and unclear if it would be suitable for upstream. Opinion of patch writers needed.
 +
** RISK:
 +
<pre>
 +
# From 46b1ae641bbfe209ce1837c7795177b7d604949b Mon Sep 17 00:00:00 2001 
 +
# From: Jyri Sarha <jyri.sarha@nokia.com> 
 +
# Date: Wed, 22 Jul 2009 12:00:59 +0300 
 +
# Subject: [PATCH 037/115] core: Add infrastructure for delayed HW volume setting 
 +
 +
# To make concurrent use of SW and HW volume glitchles their application 
 +
# needs to be syncronized. For accurate syncronization the HW volume 
 +
# needs to be applied in IO thread. This patch adds infrastructure to 
 +
# delay the applying of HW volume to match with SW volume. For this patch 
 +
# to have any effect it needs to be taken into use by sink implementor. 
 +
 +
# From 6c573b1a03cfe2f6e5b649371f002be60ea3cf01 Mon Sep 17 00:00:00 2001 
 +
# From: Tanu Kaskinen <ext-tanu.kaskinen@nokia.com> 
 +
# Date: Mon, 21 Dec 2009 14:11:31 +0200 
 +
# Subject: [PATCH 072/115] alsa-mixer: Add DecibelFix section to the profile set config file format. 
 +
 +
# This commit only implements the parser, the decibel fix data is not yet used 
 +
# for anything. 
 +
 +
# From 91fe0803afe864016e446cb1535cac5e5826fe5c Mon Sep 17 00:00:00 2001 
 +
# From: Tanu Kaskinen <ext-tanu.kaskinen@nokia.com> 
 +
# Date: Tue, 29 Dec 2009 14:51:09 +0200 
 +
# Subject: [PATCH 073/115] alsa-mixer: Use decibel fixes when getting and setting decibel volumes. 
 +
</pre>
 +
 +
** RISK CONTINUED: These patches touch core pulseaudio things and may affect other devices. QA on other devices needed to confirm they don't.
 +
 +
 +
 +
=== Added packages ===
 +
 +
==== libcmtspeech ====

Revision as of 10:47, 3 September 2010

This feature provides working call audio (incoming, outgoing), SMS sending on the Nokia N900.

The modifications are hosted in the OBS project devel:devices:n900:feature11_modem

All the packages in question are built for ARMv7 and X86 and can downloaded at http://download.meego.com/live/devel:/devices:/n900:/feature11_modem/testing/ . The packages are built against testing repository (download.meego.com/testing/)

Contents

Prjconf changes

Add:

Prefer: ofono-config-phonesim

Kickstart changes

For N900, add repository and in %packages:

# Feature modem
pulseaudio-meego-voice
pulseaudio-meego-cmtspeech
pulseaudio-meego-common
ofono-config-n900

In all other configurations using phonesim, add in %packages:

ofono-config-phonesim

Modified packages

= nokia-n900-configs

Package maintainer: Carsten Munk <carsten@maemo.org>

Patch diff location: https://build.meego.com/package/files?package=nokia-n900-configs&project=home%3Ajouni.peltonen

Package is N900 specific.

What is changed:

  • Modem powerup d-bus script is started in system startup (rc.d)
    • RISK: Slower startup or stall if modem not answering (dbus timeouts would happen, I presume?)
    • POSSIBLE CHANGE: Backgrounding modem powerup script at startup
  • ALSA mixer changes for N900 and pulseaudio configuration changes
    • RISK: Non-modem sound in general might not work (need QA)

udev-rules-nokia-n900

Package maintainer: Carsten Munk <carsten@maemo.org>

Patch diff location: https://build.meego.com/package/files?package=udev-rules-nokia-n900&project=home%3Ajouni.peltonen

Package is N900 specific

What is changed:

  • Added new udev rule file, 10-cmt_speech.rules, with permissions 0777 (rwxrwxrwx). To allow user to talk to CMT speech interface in kernel.
    • RISK: Very wide permissions.
    • POSSIBLE CHANGE: Should be for meego user instead?

ofono

Package maintainer: Martin Xu <martin.xu@intel.com>

Package diff location: https://build.meego.com/package/files?package=ofono&project=devel%3Adevices%3An900%3Afeature11_modem

What is changed:

  • Added N900 modem power on patch [http://bugs.meego.com/show_bug.cgi?id=5662 BMC#5662)
    • UPSTREAM STATUS: in progress, changes to be made before integration. Current patch used not accepted by upstream.
    • RISK: Does not affect other components than including a new n900modem driver.
  • /etc/ofono/modem.conf is seperated out into ofono-config-* packages. This is because there might be non-n900modem phonet0 configurations.
    • RISK: ofono-config-phonesim will be needed to be included on anywhere phonesim is used (Aava, etc). QA needed after this change.

Package is global.


pulseaudio

Package maintainer: Vivian Zhang <vivian.zhang@intel.com> ?

Package diff location: https://build.meego.com/package/files?package=pulseaudio&project=devel%3Adevices%3An900%3Afeature11_modem

What is changed:

  • Added alsa 'old sink' patch. This is needed for the Nokia voice pulseaudio modules. This patch is a composite of patches, described in top of patch.
    • UPSTREAM STATUS: Uncertain and unclear if it would be suitable for upstream. Opinion of patch writers needed.
    • RISK:
# From 46b1ae641bbfe209ce1837c7795177b7d604949b Mon Sep 17 00:00:00 2001  
# From: Jyri Sarha <jyri.sarha@nokia.com>  
# Date: Wed, 22 Jul 2009 12:00:59 +0300  
# Subject: [PATCH 037/115] core: Add infrastructure for delayed HW volume setting  
#   
# To make concurrent use of SW and HW volume glitchles their application  
# needs to be syncronized. For accurate syncronization the HW volume  
# needs to be applied in IO thread. This patch adds infrastructure to  
# delay the applying of HW volume to match with SW volume. For this patch  
# to have any effect it needs to be taken into use by sink implementor.  
#  
# From 6c573b1a03cfe2f6e5b649371f002be60ea3cf01 Mon Sep 17 00:00:00 2001  
# From: Tanu Kaskinen <ext-tanu.kaskinen@nokia.com>  
# Date: Mon, 21 Dec 2009 14:11:31 +0200  
# Subject: [PATCH 072/115] alsa-mixer: Add DecibelFix section to the profile set config file format.  
#   
# This commit only implements the parser, the decibel fix data is not yet used  
# for anything.  
#  
# From 91fe0803afe864016e446cb1535cac5e5826fe5c Mon Sep 17 00:00:00 2001  
# From: Tanu Kaskinen <ext-tanu.kaskinen@nokia.com>  
# Date: Tue, 29 Dec 2009 14:51:09 +0200  
# Subject: [PATCH 073/115] alsa-mixer: Use decibel fixes when getting and setting decibel volumes.  
    • RISK CONTINUED: These patches touch core pulseaudio things and may affect other devices. QA on other devices needed to confirm they don't.


Added packages

libcmtspeech

Personal tools