All of lore.kernel.org
 help / color / mirror / Atom feed
* basic connection howto
@ 2015-09-01 19:34 Bo
  2015-09-01 21:03 ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Bo @ 2015-09-01 19:34 UTC (permalink / raw)
  To: ofono

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

Hi,
Seems that there takes some fiddling to connect 
my cellular dongle to the ofono framework.

My issue is i quickly looked at the man pages 
to see how to create the link between 
ofono my device.

The man pages mention that: 

"oFono is controlled through D-Bus; 
for example, one can tell ofonod to send 
AT commands over /dev/rfcomm0 by calling 
the D-Bus method org.ofono.at.Manager.Create"

So as any developer would do, I built my dbus command:
dbus-send --system --print-reply 
--dest=org.ofono / org.ofono.at.Manager.Create
string:"dev:/dev/ttyUSB0" string:"at"

I had already done my typical marshalling of  my device like so:
usb_modeswitch -v 1199 -p 0025
rmmod usbserial
modprobe usbserial vendor=0x1199 product=0x0025
which correspond to the sierra-wireless 598u

HOWEVER, there is no command called org.ofono.at.Manager.Create. 
I quickly see that the man page was created in 2009...
Quickly peeking through the test scripts 
I don't find anything that sounds familiar, 
took a peek in list-modems and enable-modem.... 
Also there is no examples to find in the docs to follow.

I also have conman installed, but not really sure who does what here. 
Who is controlling the device? 
Where do i give someone my 
golden /dev/ttyUSB0 string so it all magically works?

Thanks all!
Bo


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

end of thread, other threads:[~2015-09-08 21:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 19:34 basic connection howto Bo
2015-09-01 21:03 ` Denis Kenzior
2015-09-08 16:57   ` Bo
2015-09-08 21:32   ` Bo

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.