doc: New file about using the calypso modem
PATCH 1/1 doc: New file about using the calypso modem
--- doc/calypso-modem.txt | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 doc/calypso-modem.txt
doc/calypso-modem.txt new file +22 -0
@@ -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.
Signature · 1 line
1.7.1
Hi Neil,
Quoted 10 lines
doc/calypso-modem.txt | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 doc/calypso-modem.txtdoc/calypso-modem.txt new file +0
-0
doc/calypso-modem.txt line 5
Quoted 5 lines
doc/calypso-modem.txt new file +5
-0@@ -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.
doc/calypso-modem.txt line 16
Quoted 11 lines
doc/calypso-modem.txt new file +11
-0+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.
doc/calypso-modem.txt line 22
Quoted 6 lines
doc/calypso-modem.txt new file +6
-0+ `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
Quoted 45 lines · Marcel Holtmann
Hi Neil,
Quoted 10 lines
doc/calypso-modem.txt | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 doc/calypso-modem.txtdoc/calypso-modem.txt new file +0
-0doc/calypso-modem.txt line 5
Quoted 5 lines
doc/calypso-modem.txt new file +5
-0@@ -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 toit is spelled oFono.
doc/calypso-modem.txt line 16
Quoted 11 lines
doc/calypso-modem.txt new file +11
-0+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 theSame here. It is oFono.
doc/calypso-modem.txt line 22
Quoted 6 lines
doc/calypso-modem.txt new file +6
-0+ `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?
Quoted 4 lines
Regards
Marcel
Approved!
Regards Frank
Quoted 1 line · Marcel Holtmann
Hi Neil,
Hi Marcel,
Quoted 1 line
it is spelled oFono.
Sorry, will fix in the next version of this patch. (All occurrences.)
Quoted 2 lines
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.
Quoted 2 lines
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