All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: New file about using the calypso modem
@ 2010-12-28 12:25 Neil Jerram
  2010-12-28 17:01 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Jerram @ 2010-12-28 12:25 UTC (permalink / raw)
  To: ofono

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

---
 doc/calypso-modem.txt |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 doc/calypso-modem.txt

diff --git a/doc/calypso-modem.txt b/doc/calypso-modem.txt
new file mode 100644
index 0000000..ea3e0bb
--- /dev/null
+++ b/doc/calypso-modem.txt
@@ -0,0 +1,22 @@
+Calypso modem usage
+===================
+
+On the Openmoko Freerunner phone, the Calypso modem is presented by
+the kernel as serial device /dev/ttySAC0.  To allow Ofono to
+autodetect and use this, a simple udev rule is needed:
+
+KERNEL=="ttySAC0", ENV{OFONO_DRIVER}="calypso"
+
+You can put this in any file in /lib/udev/rules.d.  A logical choice
+is the "55-openmoko-gta01-gta02.rules" file, if it exists in your
+Freerunner distribution.
+
+With this rule in place:
+
+- ofono will detect the Calypso modem when it starts up, and the
+  `list-modems' test script will show this, but will not power it up
+
+- the `enable-modem' test script can be used to power it up
+
+- a subsequent `list-modems' will show lots of information, including
+  network registration.
-- 
1.7.1


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

* Re: [PATCH] doc: New file about using the calypso modem
  2010-12-28 12:25 [PATCH] doc: New file about using the calypso modem Neil Jerram
@ 2010-12-28 17:01 ` Marcel Holtmann
  2010-12-28 17:32   ` Frank Gau
  2010-12-28 20:29   ` Neil Jerram
  0 siblings, 2 replies; 7+ messages in thread
From: Marcel Holtmann @ 2010-12-28 17:01 UTC (permalink / raw)
  To: ofono

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

Hi Neil,

>  doc/calypso-modem.txt |   22 ++++++++++++++++++++++
>  1 files changed, 22 insertions(+), 0 deletions(-)
>  create mode 100644 doc/calypso-modem.txt
> 
> diff --git a/doc/calypso-modem.txt b/doc/calypso-modem.txt
> new file mode 100644
> index 0000000..ea3e0bb
> --- /dev/null
> +++ b/doc/calypso-modem.txt
> @@ -0,0 +1,22 @@
> +Calypso modem usage
> +===================
> +
> +On the Openmoko Freerunner phone, the Calypso modem is presented by
> +the kernel as serial device /dev/ttySAC0.  To allow Ofono to

it is spelled oFono.

> +autodetect and use this, a simple udev rule is needed:
> +
> +KERNEL=="ttySAC0", ENV{OFONO_DRIVER}="calypso"
> +
> +You can put this in any file in /lib/udev/rules.d.  A logical choice
> +is the "55-openmoko-gta01-gta02.rules" file, if it exists in your
> +Freerunner distribution.
> +
> +With this rule in place:
> +
> +- ofono will detect the Calypso modem when it starts up, and the

Same here. It is oFono.

> +  `list-modems' test script will show this, but will not power it up
> +
> +- the `enable-modem' test script can be used to power it up
> +
> +- a subsequent `list-modems' will show lots of information, including
> +  network registration.

Since we had this discussion on IRC. Has this rule been proven to do the
right thing? Even in case of the weird renaming of the original serial
port?

Regards

Marcel



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

* Re: [PATCH] doc: New file about using the calypso modem
  2010-12-28 17:01 ` Marcel Holtmann
@ 2010-12-28 17:32   ` Frank Gau
  2010-12-28 20:29   ` Neil Jerram
  1 sibling, 0 replies; 7+ messages in thread
From: Frank Gau @ 2010-12-28 17:32 UTC (permalink / raw)
  To: ofono

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

On Di, Dez 28, 2010 at 09:01:20 -0800, Marcel Holtmann wrote:
> Hi Neil,
> 
> >  doc/calypso-modem.txt |   22 ++++++++++++++++++++++
> >  1 files changed, 22 insertions(+), 0 deletions(-)
> >  create mode 100644 doc/calypso-modem.txt
> > 
> > diff --git a/doc/calypso-modem.txt b/doc/calypso-modem.txt
> > new file mode 100644
> > index 0000000..ea3e0bb
> > --- /dev/null
> > +++ b/doc/calypso-modem.txt
> > @@ -0,0 +1,22 @@
> > +Calypso modem usage
> > +===================
> > +
> > +On the Openmoko Freerunner phone, the Calypso modem is presented by
> > +the kernel as serial device /dev/ttySAC0.  To allow Ofono to
> 
> it is spelled oFono.
> 
> > +autodetect and use this, a simple udev rule is needed:
> > +
> > +KERNEL=="ttySAC0", ENV{OFONO_DRIVER}="calypso"
> > +
> > +You can put this in any file in /lib/udev/rules.d.  A logical choice
> > +is the "55-openmoko-gta01-gta02.rules" file, if it exists in your
> > +Freerunner distribution.
> > +
> > +With this rule in place:
> > +
> > +- ofono will detect the Calypso modem when it starts up, and the
> 
> Same here. It is oFono.
> 
> > +  `list-modems' test script will show this, but will not power it up
> > +
> > +- the `enable-modem' test script can be used to power it up
> > +
> > +- a subsequent `list-modems' will show lots of information, including
> > +  network registration.
> 
> Since we had this discussion on IRC. Has this rule been proven to do the
> right thing? Even in case of the weird renaming of the original serial
> port?
> 
> Regards
> 
> Marcel
>
Approved!

Regards Frank 


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

* Re: [PATCH] doc: New file about using the calypso modem
  2010-12-28 17:01 ` Marcel Holtmann
  2010-12-28 17:32   ` Frank Gau
@ 2010-12-28 20:29   ` Neil Jerram
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Jerram @ 2010-12-28 20:29 UTC (permalink / raw)
  To: ofono

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

Marcel Holtmann <marcel@holtmann.org> writes:

> Hi Neil,

Hi Marcel,

> it is spelled oFono.

Sorry, will fix in the next version of this patch.  (All occurrences.)

> Since we had this discussion on IRC. Has this rule been proven to do the
> right thing?

Well I've certainly tested that it works for me, yes - on the 2.6.34
kernel, which is the newest working kernel for the Freerunner.

> Even in case of the weird renaming of the original serial
> port?

I'm not sure what you mean here.  If you're thinking of the difference
between "/devices/platform/s3c2440-uart.0/tty/ttySAC0" and
"/dev/ttySAC0": my understanding is that the 2.6.34 kernel decides on
the ttySAC0 name itself, and hence this name isn't a result of any udev
renaming.  Does that help at all>?

     Neil


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

* [PATCH] doc: New file about using the calypso modem
@ 2010-12-31 10:50 Neil Jerram
  2010-12-31 18:18 ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Jerram @ 2010-12-31 10:50 UTC (permalink / raw)
  To: ofono

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

---
 doc/calypso-modem.txt |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 doc/calypso-modem.txt

diff --git a/doc/calypso-modem.txt b/doc/calypso-modem.txt
new file mode 100644
index 0000000..8e1eb22
--- /dev/null
+++ b/doc/calypso-modem.txt
@@ -0,0 +1,22 @@
+Calypso modem usage
+===================
+
+On the Openmoko Freerunner phone, the Calypso modem is presented by
+the kernel as serial device /dev/ttySAC0.  To allow oFono to
+autodetect and use this, a simple udev rule is needed:
+
+KERNEL=="ttySAC0", ENV{OFONO_DRIVER}="calypso"
+
+You can put this in any file in /lib/udev/rules.d.  A logical choice
+is the "55-openmoko-gta01-gta02.rules" file, if it exists in your
+Freerunner distribution.
+
+With this rule in place:
+
+- oFono will detect the Calypso modem when it starts up, and the
+  `list-modems' test script will show this, but will not power it up
+
+- the `enable-modem' test script can be used to power it up
+
+- a subsequent `list-modems' will show lots of information, including
+  network registration.
-- 
1.7.1


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

* Re: [PATCH] doc: New file about using the calypso modem
  2010-12-31 10:50 Neil Jerram
@ 2010-12-31 18:18 ` Marcel Holtmann
  2010-12-31 19:53   ` Neil Jerram
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2010-12-31 18:18 UTC (permalink / raw)
  To: ofono

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

Hi Neil,

>  doc/calypso-modem.txt |   22 ++++++++++++++++++++++
>  1 files changed, 22 insertions(+), 0 deletions(-)
>  create mode 100644 doc/calypso-modem.txt

patch has been applied, but you might also wanna add this to Makefile.am
so it becomes part of the tarballs.

Regards

Marcel



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

* Re: [PATCH] doc: New file about using the calypso modem
  2010-12-31 18:18 ` Marcel Holtmann
@ 2010-12-31 19:53   ` Neil Jerram
  0 siblings, 0 replies; 7+ messages in thread
From: Neil Jerram @ 2010-12-31 19:53 UTC (permalink / raw)
  To: ofono

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

Marcel Holtmann <marcel@holtmann.org> writes:

> Hi Neil,
>
>>  doc/calypso-modem.txt |   22 ++++++++++++++++++++++
>>  1 files changed, 22 insertions(+), 0 deletions(-)
>>  create mode 100644 doc/calypso-modem.txt
>
> patch has been applied, but you might also wanna add this to Makefile.am
> so it becomes part of the tarballs.

Thanks, good point, I've sent another patch to do that.

      Neil

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

end of thread, other threads:[~2010-12-31 19:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 12:25 [PATCH] doc: New file about using the calypso modem Neil Jerram
2010-12-28 17:01 ` Marcel Holtmann
2010-12-28 17:32   ` Frank Gau
2010-12-28 20:29   ` Neil Jerram
  -- strict thread matches above, loose matches on Subject: below --
2010-12-31 10:50 Neil Jerram
2010-12-31 18:18 ` Marcel Holtmann
2010-12-31 19:53   ` Neil Jerram

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.