From: Matthias =?unknown-8bit?q?G=C3=BCnther?= <matgnt@gmail.com>
To: ofono@ofono.org
Subject: Re: How to start ofono-phonesim in ubuntu-10.04 -reg
Date: Mon, 10 May 2010 16:53:04 +0200 [thread overview]
Message-ID: <4BE81DD0.5090109@gmail.com> (raw)
In-Reply-To: <COL106-W65AFE01F9875AAF3ED3F84F6F90@phx.gbl>
[-- Attachment #1: Type: text/plain, Size: 4362 bytes --]
Hi Krishna.
Your modem.conf is a bit messed up because you've used a wrong one at
the beginning. According to one of your earlier emails you changed the
file /usr/share/alsa/pcm/modem.conf which has nothing to do with ofono.
After moving it to the right place in /etc/ofono/ the content of the
file is still wrong. So just copy a clean modem.conf out of your ofono
archive. You can find it there in plugins/modem.conf. Afterwards remove
the comments for the phonsim block and it should work. With the script
enable-modem the phonesim-gui should appear.
Regards,
Matthias
On 10.05.2010 15:31, krishna k wrote:
>
> Hi,
>
> After starting ofonod with command "sudo ofonod -n -d", I am getting below messages
>
> Reading of /etc/ofono/modem.conf failed: Key file contains line 'pcm.!phoneline {' which is not a key-value pair, group, or comment
>
> Does it mean that it is not able to recognize the modem presented in modem.conf file?
>
> if i try to execute ./list-modems then it is listing any thing. Please suggest me.
>
> modem.conf file contents
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> #
> # "raw" modem - phoneline
> #
>
> pcm.!phoneline {
> @args [ CARD DEV ]
> @args.CARD {
> type string
> default {
> @func getenv
> vars [
> ALSA_MODEM_CARD
> ALSA_PCM_CARD
> ALSA_CARD
> ]
> default {
> @func refer
> name defaults.pcm.modem.card
> }
> }
> }
> @args.DEV {
> type integer
> default {
> @func igetenv
> vars [
> ALSA_MODEM_DEVICE
> ]
> default {
> @func refer
> name defaults.pcm.modem.device
> }
> }
> }
> @func refer
> name {
> @func concat
> strings [
> "cards."
> {
> @func card_driver
> card $CARD
> }
> ".pcm.modem." $DEV ":CARD=" $CARD
> ]
> }
> hint.show off
> }
>
> #
> # "autohooked" modem
> #
>
> pcm.!modem {
> @args [ CARD DEV ]
> @args.CARD {
> type string
> default {
> @func getenv
> vars [
> ALSA_MODEM_CARD
> ALSA_PCM_CARD
> ALSA_CARD
> ]
> default {
> @func refer
> name defaults.pcm.modem.card
> }
> }
> }
> @args.DEV {
> type integer
> default {
> @func igetenv
> vars [
> ALSA_MODEM_DEVICE
> ]
> default {
> @func refer
> name defaults.pcm.modem.device
> }
> }
> }
> type hooks
> slave {
> pcm {
> @func concat
> strings [
> "cards.pcm.phoneline:CARD=" $CARD ",DEV=" $DEV
> ]
> }
> }
> hooks.0 {
> type ctl_elems
> hook_args [
> {
> name "Off-hook Switch"
> preserve true
> value "on"
> lock false
> optional true
> }
> ]
> }
> hint.show off
> }
>
> #
> #Sample for using phone simulator
> #
> [phonesim]
> Driver=phonesim
> Address=127.0.0.1
> port=12345
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Thanks and Regards,
> Krishna K Kandula
>
> _________________________________________________________________
> The amazing world in sharp snaps
> http://news.in.msn.com/gallery/archive.aspx
>
>
>
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
next prev parent reply other threads:[~2010-05-10 14:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-10 13:31 How to start ofono-phonesim in ubuntu-10.04 -reg krishna k
2010-05-10 14:53 ` Matthias =?unknown-8bit?q?G=C3=BCnther?= [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-01-19 5:06 Pranay
2012-01-19 6:03 ` Antti =?unknown-8bit?q?Kaijanm=C3=A4ki?=
2012-01-19 9:21 ` Pranay
2012-01-19 6:13 ` Denis Kenzior
2010-05-11 5:12 krishna k
2010-05-10 13:09 krishna k
2010-05-10 8:51 krishna k
2010-05-10 8:13 krishna k
2010-05-10 8:27 ` Zhang, Zhenhua
2010-05-10 6:42 krishna k
2010-05-10 6:55 ` Yoon, Youngsik
2010-05-10 6:55 ` Zhang, Zhenhua
2010-05-10 5:23 krishna k
2010-05-10 5:33 ` Zhang, Zhenhua
2010-05-07 13:06 FW: " krishna k
2010-05-10 1:37 ` Yoon, Youngsik
2010-05-07 10:22 krishna k
2010-05-07 10:31 ` Dario
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BE81DD0.5090109@gmail.com \
--to=matgnt@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.