[RFC PATCH 2/2] network-registration.c: implement CIND for Telit UC864-G

2011-05-19 Thread Bernhard . Guillon
From: Bernhard Guillon *UC864 has a incompatible CIND *use specific constants for a KISS callback function *add a Telit specific check for "not measurable" strength Co-authored-by: Christopher Vogl Signed-off-by: Bernhard Guillon --- drivers/atmodem/network-registratio

[RFC PATCH 1/2] Add basic Telit UC864-G support:

2011-05-19 Thread Bernhard . Guillon
From: Bernhard Guillon *add a basic plugin based on different ofono plugins *use Telit specific QSS for SIM-state *add verry basic GPS support (usable with gypsy) *add udev support and rules *update Makefile Co-authored-by: Christopher Vogl Signed-off-by: Bernhard Guillon --- Makefile.am

Re: [RFC PATCH 1/2] Add basic Telit UC864-G support:

2011-05-25 Thread Bernhard Guillon
1-05-25 14:33 ttyUSB0 -> ../../../devices/pci:00/:00:1d.2/usb8/8-2/8-2:1.0/ttyUSB0 lrwxrwxrwx 1 root root 0 2011-05-25 14:33 ttyUSB1 -> ../../../devices/pci:00/:00:1d.2/usb8/8-2/8-2:1.1/ttyUSB1 lrwxrwxrwx 1 root root 0 2011-05-25 14:33 ttyUSB2 -> ../../../devices/pci:00/:00:1d.2/usb8/8-2/8-2:1.2/ttyUSB2 lrwxrwxrwx 1 root root 0 2011-05-25 14:33 ttyUSB3 -> ../../../devices/pci:00/:00:1d.2/usb8/8-2/8-2:1.3/ttyUSB3 Best regards, Bernhard Guillon -- Scanned by MailScanner. ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono

[PATCH v2 2/3] network-registration.c: implement CIND forTelit UC864-G

2011-05-25 Thread Bernhard . Guillon
From: Bernhard Guillon *UC864 has an incompatible CIND *add a Telit specific check for "not measurable" strength Co-authored-by: Christopher Vogl --- drivers/atmodem/network-registration.c | 40 +-- 1 files changed, 37 insertions(+), 3 deletions(-) di

[PATCH v2 3/3] udev: add Telit UC864-G and update udev rules

2011-05-25 Thread Bernhard . Guillon
From: Bernhard Guillon *for now only check for Modem, add GPS later Co-authored-by: Christopher Vogl --- plugins/ofono.rules |8 plugins/udev.c | 31 +++ 2 files changed, 39 insertions(+), 0 deletions(-) diff --git a/plugins/ofono.rules b

[PATCH v2 1/3] Add basic Telit UC864-G support:

2011-05-25 Thread Bernhard . Guillon
From: Bernhard Guillon *add a basic plugin based on different ofono plugins *use Telit specific QSS for SIM-state *add Telit to atmodem/vendors *update Makefile Co-authored-by: Christopher Vogl --- Makefile.am |3 + drivers/atmodem/vendor.h |1 + plugins/telit.c

Re: [PATCH v2 2/3] network-registration.c: implement CIND forTelitUC864-G

2011-06-07 Thread Bernhard Guillon
On Tue, 24 May 2011, Denis Kenzior wrote: However, I really don't like this patch hardcoding the signal index/min/max inside at_creg_set_cb. Telit is a nicely compliant modem, we should be able to trust what it reports. Bernhard, a question for you: what does the UC864-G return when issuing:

[PATCH] network-registration.c: enhance CIND=? support

2011-06-07 Thread Bernhard . Guillon
From: Bernhard Guillon *add support for CIND=? tokens like ("signal",(0-7,99)) *add support for token encapsulation e.g. (("one",(0-7,99)),("two",(0-7,99))) --- drivers/atmodem/network-registration.c | 51 --- 1 files changed,

Re: [PATCH] network-registration.c: enhance CIND=? support

2011-06-07 Thread Bernhard Guillon
On Tue, 7 Jun 2011, bernhard.guil...@hale.at wrote: From: Bernhard Guillon *add support for CIND=? tokens like ("signal",(0-7,99)) *add support for token encapsulation e.g. (("one",(0-7,99)),("two",(0-7,99))) --- drivers/atmodem

[PATCH v3] Add basic Telit UC864-G support:

2011-06-07 Thread Bernhard . Guillon
From: Bernhard Guillon *add a basic plugin based on different ofono plugins *use Telit specific QSS for SIM-state *update Makefile --- Makefile.am |3 + plugins/telit.c | 385 +++ 2 files changed, 388 insertions(+), 0 deletions

[PATCH v4 3/4] atmodem/vendor.h: add OFONO_VENDOR_TELIT

2011-06-08 Thread Bernhard . Guillon
From: Bernhard Guillon --- drivers/atmodem/vendor.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/atmodem/vendor.h b/drivers/atmodem/vendor.h index 3898fa8..412bc76 100644 --- a/drivers/atmodem/vendor.h +++ b/drivers/atmodem/vendor.h @@ -35,4 +35,5 @@ enum

[PATCH v4 1/4] network-registration.c: add telit support

2011-06-08 Thread Bernhard . Guillon
From: Bernhard Guillon *add support for CIND=? tokens like ("signal",(0-7,99)) *add telit quirk for token encapsulation e.g. (("one",(0-7,99)),("two",(0-7,99))) --- drivers/atmodem/network-registration.c | 41 1 files changed,

[PATCH v4 4/4] udev: add Telit UC864-G and update udev rules

2011-06-08 Thread Bernhard . Guillon
From: Bernhard Guillon *add Modem and GPS check for telit *make GPS yes/no configurable with udev rules settings **this is necessary because telit has different interface numbers on different modems e.g. GPS and UART --- plugins/ofono.rules |8 + plugins/udev.c | 72

[PATCH v4 2/4] Add basic Telit UC864-G support:

2011-06-08 Thread Bernhard . Guillon
From: Bernhard Guillon *add a basic plugin based on different ofono plugins *use Telit specific QSS for SIM-state *update Makefile --- Makefile.am |3 + plugins/telit.c | 379 +++ 2 files changed, 382 insertions(+), 0 deletions

Re: [PATCH v4 4/4] udev: add Telit UC864-G and update udev rules

2011-06-08 Thread Bernhard Guillon
On Wed, 8 Jun 2011, bernhard.guil...@hale.at wrote: From: Bernhard Guillon *add Modem and GPS check for telit *make GPS yes/no configurable with udev rules settings **this is necessary because telit has different interface numbers on different modems e.g. GPS and UART Hi, I did not know

Re: [PATCH v3] Add basic Telit UC864-G support:

2011-06-08 Thread Bernhard Guillon
On Tue, 7 Jun 2011, Marcel Holtmann wrote: + switch (status) { + case 0: + DBG("SIM not inserted"); + ofono_sim_inserted_notify(data->sim, FALSE); + break; + case 1: + DBG("SIM inserted"); + /* We need to s

Re: [PATCH v4 4/4] udev: add Telit UC864-G and update udev rules

2011-06-10 Thread Bernhard Guillon
On Mon, 6 Jun 2011, Denis Kenzior wrote: I was not able to hard code the interface number as novatel does it because the interfaces change on different telit modems. I used the huawai code as base. So let me understand what you're trying to achieve, you want to set an environment variable te

Re: [PATCH v4 4/4] udev: add Telit UC864-G and update udev rules

2011-06-14 Thread Bernhard Guillon
On Wed, 8 Jun 2011, Denis Kenzior wrote: Hi Bernhard, From what I remember of the Telit modems, all ports are fully functional, so the GPS port can be on any tty. If this is the case, then the way this can be accomplished is by querying the model / revision of the modem during the enable()

Re: [PATCH v4 2/4] Add basic Telit UC864-G support:

2011-06-14 Thread Bernhard Guillon
On Wed, 8 Jun 2011, Denis Kenzior wrote: Patch has been applied, thanks. I did modify the commit message somewhat and added 3 simple commits afterwards. Please check these starting with commit 025fe0a74d1aa34a3c72054029d23ef4425abc6d and make sure you're OK with these. Hi, I just tried th

[PATCH v5] udev: add initial telit udev support

2011-06-14 Thread Bernhard . Guillon
From: Bernhard Guillon --- plugins/ofono.rules |8 plugins/udev.c | 48 2 files changed, 56 insertions(+), 0 deletions(-) diff --git a/plugins/ofono.rules b/plugins/ofono.rules index 268b327..7124143 100644 --- a/plugins

[PATCH v6] udev: add initial Telit support

2011-06-15 Thread Bernhard . Guillon
From: Bernhard Guillon --- plugins/ofono.rules |8 plugins/udev.c | 49 + 2 files changed, 57 insertions(+), 0 deletions(-) diff --git a/plugins/ofono.rules b/plugins/ofono.rules index 268b327..7124143 100644 --- a/plugins

Re: [PATCH v4 4/4] udev: add Telit UC864-G and update udev rules

2011-06-15 Thread Bernhard Guillon
On Mon, 13 Jun 2011, Denis Kenzior wrote: Patch has been reviewed, however we might have to examine whether we need to tweak the udev rules for this serial number / modem path stuff to work properly. Marcel will have to take a look as I'm lost in that part of the udev plugin. Thanks, I do n