:: Re: [maemo-leste] Nokia N900 voice …
Top Page
Delete this message
Reply to this message
Author: Arno ll
To: maemo-leste@lists.dyne.org
Subject: Re: [maemo-leste] Nokia N900 voice calls
Hi Maemo-Leste Community,

Calls are working both ways on n900 with an acceptable sound quality.

Here is how it works:


- Nokia n900 with Leste last image installed.

- libcmtspeechdata installed

- nokia-modem kernel module NOT loaded on startup.

- /dev/cmtspeech chmod'ed to 777

- check if Nokia rules are correctly set in /udev/rules.d/10-nokia-modem.rules (see bugtracker issue #77)

- omap_ssi and cmt_speech kernel modules loaded on boot

- set "autospawn = no" in /etc/pulse/client.conf

- set "avoid-resampling = true" and "alternate-sample-rate = 4000" in /etc/pulse/daemon.conf (very important)

- edit: /etc/dbus-1/system.d/pulseaudio-system.conf like this :


<policy user="pulse">
<allow own="org.pulseaudio.Server"/>
<allow send_destination="org.ofono"/>

<policy user="root">
<allow own="org.pulseaudio.Server"/>
<allow send_destination="org.ofono"/>


(additional details: /var/lib/alsa/asound.state must be modify to use correct mixers settings)

- reboot


1- after rebooting: sudo modprobe nokia-modem pm=1 and enter PIN.

2- pkill sphone and restart it.

3- cd /usr/bin

DISPLAY=:0.0 sudo nice -n -10 ./cmt_pulse -a -v -v

That's it. N900 with Leste is ready to send/receive calls using Sphone. (ATM it's necessary to keep keyboard opened to avoid crashes)

Why it was not working in both ways ?

Audio recording through cmt_speech is not working with sample rates > 4000 Hz
(8000 Hz is possible but needs some work)

Forcing pulseaudio to allow 4000 Hz frequency with no resampling solves the main issue.

Don't hesitate to ask questions if something is unclear.

Hope it helps Leste community.