All of lore.kernel.org
 help / color / mirror / Atom feed
* FW: How to start ofono-phonesim in ubuntu-10.04 -reg
@ 2010-05-07 10:53 krishna k
  2010-05-07 11:00 ` Dario
  2010-05-07 11:27 ` andrzej zaborowski
  0 siblings, 2 replies; 7+ messages in thread
From: krishna k @ 2010-05-07 10:53 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 2959 bytes --]



Hi Dario,

Thank you for your quick reply. I didn't power on the modem. Can you suggest me whether we can use NOKIA E71 as modem?

Please see the following output ...

==============================================================================
51: USB 00.a: 10200 Modem                                       
  [Created at usb.122]
  UDI: /org/freedesktop/Hal/devices/usb_device_421_ab_noserial_if0_4_serial_unknown_0
  Unique ID: UuWO.XzI_Vd3lIbF
  Parent ID: 7eqy.v+N+B0xY+P6
  SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.10
  SysFS BusID: 6-1:1.10
  Hardware Class: modem
  Model: "Nokia Mobile Phones Nokia E71"
  Hotplug: USB
  Vendor: usb 0x0421 "Nokia Mobile Phones"
  Device: usb 0x00ab "Nokia E71"
  Revision: "1.00"
  Driver: "cdc_acm"
  Driver Modules: "cdc_acm"
  Device File: /dev/ttyACM0
  Device Files: /dev/ttyACM0, /dev/char/166:0, /dev/serial/by-path/pci-0000:00:1d.0-usb-0:1:1.10, /dev/serial/by-id/usb-Nokia_Nokia_E71-if0a
  Speed: 12 Mbps
  Init1: ATZ
  Init2: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
  Module Alias: "usb:v0421p00ABd0100dc02dsc00dp00ic02isc02ip01"
  Driver Info #0:
    Driver Status: cdc_acm is active
    Driver Activation Cmd: "modprobe cdc_acm"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #36 (Hub)
==============================================================================

Is it necessary that we need to power-on the modem before launching the emulator?

Thanks in advance.

Regards,
Krishna K Kandula.

From: id_kishore(a)live.in
To: ofono(a)ofono.org
Subject: How to start ofono-phonesim in ubuntu-10.04 -reg
Date: Fri, 7 May 2010 15:52:24 +0530








Hi All,

Any body who is working ofono-phonesim suggest how to start ofono-phonesim simulator?

I installed ofono-phonesim from synaptic package manager in ubuntu lucid (10.04) and i am trying start the simulator with the following ...

1. I modified modem.conf file with following content...
==================================
[phonesim]
Driver=phonesim
Address=127.0.0.1
Port=12345
==================================

2. phonesim -p 12345  -gui ~/data/moblin.xml (i created data file in user home directory and placed moblin.xml file inside data)

But it is not displaying anything on the screen. But if i check with "ps ax | grep phonesim" I am getting below o/p.

 5822 pts/1    S+     0:00 phonesim -p 12345 -gui /home/kandukis/data/moblin.xml
 5842 pts/2    S+     0:00 grep --color=auto phonesim

What is the problem and why simulator is not visible?

Please correct me if i am doing wrong...

Thanks and Regards,
Krishna.

Have you tried powering on the modem? ;)
Bye, Dario.

 		 	   		  
The latest auto launches and test drives Drag n' drop 		 	   		  
_________________________________________________________________
Climate, controversies and the changing signatures of nature
http://green.in.msn.com/

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 4038 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FW: How to start ofono-phonesim in ubuntu-10.04 -reg
  2010-05-07 10:53 FW: How to start ofono-phonesim in ubuntu-10.04 -reg krishna k
@ 2010-05-07 11:00 ` Dario
  2010-05-07 11:27 ` andrzej zaborowski
  1 sibling, 0 replies; 7+ messages in thread
From: Dario @ 2010-05-07 11:00 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

Hi Krishna k;
>
> Hi Dario,
>
> Thank you for your quick reply. I didn't power on the modem. Can you 
> suggest me whether we can use NOKIA E71 as modem?
>
> Please see the following output ...
> [snip]
> Is it necessary that we need to power-on the modem before launching 
> the emulator?
>
> Thanks in advance.
>
> Regards,
> Krishna K Kandula.
I'm sorry but I only used oFono on my Freerunner (Calypso modem) and on 
my desktop to develop on (using phonesim) so I can't help you.
Bye,
Dario.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FW: How to start ofono-phonesim in ubuntu-10.04 -reg
  2010-05-07 10:53 FW: How to start ofono-phonesim in ubuntu-10.04 -reg krishna k
  2010-05-07 11:00 ` Dario
@ 2010-05-07 11:27 ` andrzej zaborowski
  2010-05-07 11:53   ` Dave Joubert
  1 sibling, 1 reply; 7+ messages in thread
From: andrzej zaborowski @ 2010-05-07 11:27 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

On 7 May 2010 12:53, krishna k <id_kishore@live.in> wrote:
>
> Hi Dario,
>
> Thank you for your quick reply. I didn't power on the modem. Can you suggest

So phonesim emulates a modem, ofono connects to this modem and first
thing it needs to do is power it up.  Only then the phonesim window
should appear.

To power up the modem you can use the test/modem-enable python script
from ofono.

Cheers

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FW: How to start ofono-phonesim in ubuntu-10.04 -reg
  2010-05-07 11:27 ` andrzej zaborowski
@ 2010-05-07 11:53   ` Dave Joubert
  0 siblings, 0 replies; 7+ messages in thread
From: Dave Joubert @ 2010-05-07 11:53 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

On 7 May 2010 12:27, andrzej zaborowski <balrogg@gmail.com> wrote:
>
> So phonesim emulates a modem, ofono connects to this modem and first
> thing it needs to do is power it up.  Only then the phonesim window
> should appear.
>
> To power up the modem you can use the test/modem-enable python script
> from ofono.

Are there any hardware modems (preferably USB based (with voice
capability)) that we can use on a ordinary Linux based PC ?
Any that the developers can recommend ?

Dave

^ permalink raw reply	[flat|nested] 7+ messages in thread

* FW: How to start ofono-phonesim in ubuntu-10.04 -reg
@ 2010-05-07 12:45 krishna k
  2010-05-07 12:51 ` andrzej zaborowski
  0 siblings, 1 reply; 7+ messages in thread
From: krishna k @ 2010-05-07 12:45 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1731 bytes --]


Hi,

Dario, Thanks for your valuable inputs.

Hi andrzej zaborowski,

I am using NOKIA E71 phone as a modem through usb cable...

I enabled modem using test/modem_enable script....

I tried with test/list_modem to check whether it is able to detect the modem
or not. ..

it got detected and i got the following output...
-------------------------------------------------------------------
[ /isimodem0 ]
    Powered = 1
    Interfaces = org.ofono.NetworkRegistration org.ofono.Phonebook org.ofono.VoiceCallManager org.ofono.SimManager 
    Model = Nokia E71
    Manufacturer = Nokia
    Serial = xxxxxxxx
    Revision = V ICPR71_09w22
29-05-09
RM-346
(c) Nokia
    [ org.ofono.NetworkRegistration ]
        Status = unknown
        Operator = 
        AvailableOperators = dbus.Array([], signature=dbus.Signature('o'), variant_level=1)
        Mode = auto
    [ org.ofono.Phonebook ]
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 112 911 000 08 110 999 118 119 
        MultipartyCalls = 
        Calls = 
    [ org.ofono.SimManager ]
        SubscriberNumbers = 
        LockedPins = 
        PinRequired = none
        SubscriberIdentity = xxxxxx

-----------------------------------------------------------------------
still i am not getting the gui...

I used following process...

ofono-phonesim -p 12345 -gui ~/data/moblin.xml
sudo ofonod -nd --> ofono deamon is up and running... I am getting debug messages on console...



any suggestions?

Thanks in advance.

Regards,
Krishna K Kandula. 		 	   		  
_________________________________________________________________
The amazing world in sharp snaps
http://news.in.msn.com/gallery/archive.aspx

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 2560 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FW: How to start ofono-phonesim in ubuntu-10.04 -reg
  2010-05-07 12:45 krishna k
@ 2010-05-07 12:51 ` andrzej zaborowski
  0 siblings, 0 replies; 7+ messages in thread
From: andrzej zaborowski @ 2010-05-07 12:51 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

Hi Krishna,

On 7 May 2010 14:45, krishna k <id_kishore@live.in> wrote:
> I am using NOKIA E71 phone as a modem through usb cable...
...
> still i am not getting the gui...

You're talking about two things here: using a real modem, and using
phonesim.  Phonesim emulates a modem, so you don't need the E71.  Or
you can use the E71 (like you did) and then you don't need phonesim
and no gui.

Best regards,
Andrew

^ permalink raw reply	[flat|nested] 7+ messages in thread

* FW: How to start ofono-phonesim in ubuntu-10.04 -reg
@ 2010-05-07 13:06 krishna k
  0 siblings, 0 replies; 7+ messages in thread
From: krishna k @ 2010-05-07 13:06 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]


Hi Andrew,

Thank you very much. I am not using real modem. I am using E71. If i want to use 
Phonesim emulator with gui (With out connecting E71). Can you please suggest
how to proceed? Am I need to connect with Real Modem? If it is the case can
you please suggest what are the modem types supported by ofono-phonesim emulator.


Thanks and Regards,
Krishna K Kandula.

You're talking about two things here: using a real modem, and using
phonesim.  Phonesim emulates a modem, so you don't need the E71.  Or
you can use the E71 (like you did) and then you don't need phonesim
and no gui.
 
Best regards,
Andrew
  		 	   		  
_________________________________________________________________
The amazing world in sharp snaps
http://news.in.msn.com/gallery/archive.aspx

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1004 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-07 13:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 10:53 FW: How to start ofono-phonesim in ubuntu-10.04 -reg krishna k
2010-05-07 11:00 ` Dario
2010-05-07 11:27 ` andrzej zaborowski
2010-05-07 11:53   ` Dave Joubert
  -- strict thread matches above, loose matches on Subject: below --
2010-05-07 12:45 krishna k
2010-05-07 12:51 ` andrzej zaborowski
2010-05-07 13:06 krishna k

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.