Re: AT!ICCID before PIN-entry fails

2013-07-18 Thread Andrew Bird
> On Thursday 18 July 2013 11:54:51 Andreas Schigold wrote: > > Andrew Bird , 16.07.2013 10:45: > > > > Hi Andreas, > Have you tried reading the files directly from the SIM using AT+CRSM ? I > believe the SIM should have the ICC file available before unlock, probably

Re: AT!ICCID before PIN-entry fails

2013-07-16 Thread Andrew Bird
On Tuesday 16 July 2013 08:53:24 Andreas Schigold wrote: > -> ATZ<- ATZ<- OK -> AT!ICCID?<- AT!ICCID?<- ERROR -> AT!SPN?<- > AT!SPN?<- +CME ERROR: unknown -> AT+CPIN=<- AT+CPIN=<- OK -> > AT!ICCID?<- AT!ICCID?<- !ICCID: 8949020863940628<- <- OK -> > AT!SPN?<- AT!SPN?<- !SPN: 0, "

Re: Sierra Wireless 330u modem does not register

2013-02-18 Thread Andrew Bird
On Monday 18 February 2013 06:05:05 Shawn J. Goff wrote: > > It shouldn't need an external antenna if it connects with no problem on > the laptop. > > +COPS=0 returns OK and it still never registers. > +COPS=? gives back just a list of forbidden operators as follows; I > don't see any available o

Re: A general (learning) query

2012-06-18 Thread Andrew Bird (Sphere Systems)
On Monday 18 June 2012, Ajay Garg wrote: > Sorry, > > forgot ATI. > > > > ### > ### Welcome to minicom 2.5 > > OPTIONS: I18n > Compiled on Feb 24 2011, 11:25:55. > Port /dev/ttyUSB0 > > Press

Re: A general (learning) query

2012-06-18 Thread Andrew Bird (Sphere Systems)
,0,0 > AT+CGDCONT=1,"IP","gprs.ancel","0.0.0.0",0,0 > ERROR > --> Bad init string. > --> Cannot get information for serial port. > --> Initializing modem. > -->

Re: [PATCH] gsm: pass the PPP auth preferences for STATIC and DHCP device use

2012-03-16 Thread Andrew Bird (Sphere Systems)
On Thursday 15 March 2012, Dan Williams wrote: > On Mon, 2012-03-12 at 20:01 +0000, Andrew Bird wrote: > > When using the either DHCP or STATIC IpMethods the modem manager > > or device itself negotiates the PPP session so we need to pass > > the authentication pref

[PATCH] gsm: define the PPP auth preferences for STATIC and DHCP device use

2012-03-16 Thread Andrew Bird
When using the either DHCP or STATIC IpMethods the modem manager or device itself negotiates / establishes the PPP session so NM passes the authentication preferences through. Signed-off-by: Andrew Bird --- .../org.freedesktop.ModemManager.Modem.Gsm.xml | 30

Re: [PATCH] gsm: pass the PPP auth preferences for STATIC and DHCP device use

2012-03-12 Thread Andrew Bird (Sphere Systems)
Hi Dan, On Monday 12 March 2012, Dan Williams wrote: > On Wed, 2012-03-07 at 12:37 +0000, Andrew Bird wrote: > > When using the either DHCP or STATIC IpMethods the modem manager > > or device itself negotiates the PPP session, so we need to pass > > the authentication pref

[PATCH] gsm: pass the PPP auth preferences for STATIC and DHCP device use

2012-03-12 Thread Andrew Bird
CHAP with AT$QCPDPP) then MM picks the appropriate one from the dict if only one of PAP or CHAP was given, otherwise we default to PAP. Signed-off-by: Andrew Bird --- src/modem-manager/nm-modem-gsm.c | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a

[PATCH] gsm: pass the PPP auth preferences for STATIC and DHCP device use

2012-03-07 Thread Andrew Bird (Sphere Systems)
Hi all, Currently when GSM devices are connected using Simple.Connect() they have no idea of the user's PPP auth preferences, but either Modem Manager or the device itself has to negotiate the PPP session. The patch just sent does nothing more than pass through those values in the prefe

[PATCH] gsm: pass the PPP auth preferences for STATIC and DHCP device use

2012-03-07 Thread Andrew Bird
When using the either DHCP or STATIC IpMethods the modem manager or device itself negotiates the PPP session, so we need to pass the authentication preferences through to MM. Signed-off-by: Andrew Bird --- src/modem-manager/nm-modem-gsm.c | 12 1 files changed, 12 insertions

Re: ModemManager port grabbing rework

2012-02-14 Thread Andrew Bird (Sphere Systems)
On Tuesday 14 February 2012, Dan Williams wrote: > On Tue, 2012-02-14 at 13:02 +0100, Aleksander Morgado wrote: > > On 02/13/2012 09:33 PM, Andrew Bird (Sphere Systems) wrote: > > >Will this redesign allow you to change the udev rule assigned names

Re: ModemManager port grabbing rework

2012-02-13 Thread Andrew Bird (Sphere Systems)
On Monday 13 February 2012, Aleksander Morgado wrote: > Hey Dan, > > I really do like the new approach, and I would even include it for > 0.5.x. Some comments below. > > > The core problem was that some devices need to specify a PPP port that's > > *not* the primary port. In these cases the prim

Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number

2012-01-23 Thread Andrew Bird (Sphere Systems)
On Monday 23 January 2012, Dan Williams wrote: > On Sat, 2012-01-21 at 21:28 +0100, Aleksander Morgado wrote: > > >>> On Thu, 2011-06-30 at 18:18 -0400, Eric Shienbrood wrote: > > I can look at doing that. What should we call it? I think MSISDN is > > a GSM term. How does GetPhoneNumber()

Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number

2012-01-21 Thread Andrew Bird (Sphere Systems)
On Saturday 21 January 2012, Aleksander Morgado wrote: > On 07/31/2011 12:52 AM, Dan Williams wrote: > > On Thu, 2011-06-30 at 18:18 -0400, Eric Shienbrood wrote: > >> I can look at doing that. What should we call it? I think MSISDN is a > >> GSM term. How does GetPhoneNumber() sound? > > > > Hm,

Re: Persistent 3G connection fails, not sure why

2011-10-20 Thread Andrew Bird (Sphere Systems)
te: > > The hard disk complaint actually only occurs at the same time as a > > network drop. I assumed they were somehow related to the 3G issue, > > because this occurs on several machines, each with identical hardware > > and disk image. > > > > > > O

Re: Persistent 3G connection fails, not sure why

2011-10-20 Thread Andrew Bird (Sphere Systems)
Hi David, I'd be looking at why the hard disk is complaining first, the connection problem may be an unlikely consequence of failing hardware. Best regards, Andrew On Thursday 20 October 2011, David Pfeffer wrote: > >> Oct 13 22:25:26 tracker kernel: [12441.840088] ata1.00: exception

Re: PATCH] sms_decode_text(): Sanitize 8-bit data so that it is UTF8-clean.

2011-09-27 Thread Andrew Bird (Sphere Systems)
On Tuesday 27 September 2011, Dan Williams wrote: > On Mon, 2011-09-26 at 18:29 -0400, Nathan Williams wrote: > > This keeps ModemManager from crashing deep in the DBus libraries when > > a SMS Get() or List() DBus operation finds a message that isn't valid > > UTF-8 and/or has embedded NUL charact

Re: New USB 3G modem

2011-09-11 Thread Andrew Bird (Sphere Systems)
On Sunday 11 September 2011, pera...@portugalmail.pt wrote: > I don't see the option module load first. Just to make sure do a reboot, > then > > su - > > modprobe -a option > echo "0685 7000" > /sys/bus/usb-serial/drivers/option1/new_id > ls -l /dev/ttyUSB* # see if you have tty devices > > ==

Re: New USB 3G modem

2011-09-11 Thread Andrew Bird (Sphere Systems)
On Sunday 11 September 2011, pera...@portugalmail.pt wrote: > Last part of dmesg: > > [369755.015037] usb 5-1: new full speed USB device using uhci_hcd and > address 9 > [369755.168183] usb 5-1: New USB device found, idVendor=0685, > idProduct=7000 [369755.168189] usb 5-1: New USB device strings:

Re: New USB 3G modem

2011-09-11 Thread Andrew Bird (Sphere Systems)
On Sunday 11 September 2011, pera...@portugalmail.pt wrote: > Yes a typo. Here it is again: > > [root@server yossi]# echo "0685 7000" > > /sys/bus/usb-serial/drivers/option1/new_id > [root@server yossi]# ls -l /dev/ttyUSB* > ls: cannot access /dev/ttyUSB*: No such file or directory Not sure why th

Re: New USB 3G modem

2011-09-11 Thread Andrew Bird (Sphere Systems)
Hi Perazim, See below. On Sunday 11 September 2011, pera...@portugalmail.pt wrote: > Here are the results: > > On Thu, 2011-09-08 at 21:40 +0100, Andrew Bird (Sphere Systems) wrote: > Hi Perazim, > > > There's a few things you can do to get started: >

Re: New USB 3G modem

2011-09-08 Thread Andrew Bird (Sphere Systems)
Hi Perazim, There's a few things you can do to get started: try doing: lsusb -v -d 0685:7000 # paste the log here sudo su - # to become root, then modprobe -a option echo "0685 7000" > /sys/bus/usb-serial/drivers/option1/new_id ls -l /dev/ttyUSB* # see if you have tty devices if you have

Re: Main event loop in networkmanager.

2011-08-03 Thread Andrew Bird (Sphere Systems)
On Wednesday 03 August 2011, Anders Gnistrup wrote: > Hi > > FIrst post to this maillist. > > My problem is that I need to receive signal from the networkmanager. > This is done using connect_to_signal and it seems quite easy. > But when testing I get the error message -> create a glib event loop

Re: The meaning of Enable in MM/NM world of mobile broadband?

2011-08-02 Thread Andrew Bird (Sphere Systems)
On Monday 01 August 2011, Dan Williams wrote: > On Mon, 2011-08-01 at 09:26 +0100, Andrew Bird (Sphere Systems) wrote: > > Hi all, > > > > I'm trying to understand the meaning of 'Enable Mobile Broadband' from > > > > the NM applet menu. I

The meaning of Enable in MM/NM world of mobile broadband?

2011-08-01 Thread Andrew Bird (Sphere Systems)
Hi all, I'm trying to understand the meaning of 'Enable Mobile Broadband' from the NM applet menu. I have a few questions: Is the NM applet Enable item just a direct control of the WWAN devices's radio function? a) if so, what happens at startup, is the modem's radio functionalit

[PATCH] Add new LTE constant to the MM_ACCESS_TECHs

2011-07-29 Thread Andrew Bird
6 UTRAN w/HSDPA and HSUPA 7 E-UTRAN All but the LTE (E-UTRAN) value can be represented in MM 0.5, this patch adds a new constant to correct that, until the MM API is redesigned later for 0.6. Signed-off-by: Andrew Bird --- .../org.freedesktop.ModemManager.Modem.Gsm.xml |3

[PATCH] Add new LTE constant to the MM_ACCESS_TECHs

2011-07-28 Thread Andrew Bird
6 UTRAN w/HSDPA and HSUPA 7 E-UTRAN All but the LTE (E-UTRAN) value can be represented in MM 0.5, this patch adds a new constant to correct that, until the MM API is redesigned later for 0.6. Signed-off-by: Andrew Bird --- .../org.freedesktop.ModemManager.Modem.Gsm.xml |3

The +COPS? values in TS27007 have been enhanced, new MM ACCESS TECH constant needed?

2011-07-28 Thread Andrew Bird (Sphere Systems)
Hi all, I saw that some mobile broadband modems are starting to support the latest version of TS27.007 with regard to AT+COPS?. So five more values for bearer type are now possible and the MM spec 0.5 covers all but LTE. I know there is work in progress to redesign the MM spec for 0.6, b

Re: [PATCH 1/4] DTD changes for mms, prepaid, wap

2011-07-22 Thread Andrew Bird (Sphere Systems)
Hi Marcel, On Friday 22 July 2011, Marcel Holtmann wrote: > Hi Andrew, > > > > > diff --git a/serviceproviders.2.dtd b/serviceproviders.2.dtd > > > > index d150a99..a0c5a31 100644 > > > > --- a/serviceproviders.2.dtd > > > > +++ b/serviceproviders.2.dtd > > > > @@ -18,6 +18,7 @@ > > > > > > > >

Re: [PATCH 1/4] DTD changes for mms, prepaid, wap

2011-07-22 Thread Andrew Bird (Sphere Systems)
Hi Marcel, On Friday 22 July 2011, Marcel Holtmann wrote: > Hi Oleg, > > > diff --git a/serviceproviders.2.dtd b/serviceproviders.2.dtd > > index d150a99..a0c5a31 100644 > > --- a/serviceproviders.2.dtd > > +++ b/serviceproviders.2.dtd > > @@ -18,6 +18,7 @@ > > > > password?, > >

Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number

2011-06-30 Thread Andrew Bird (Sphere Systems)
emManager doesn't (and > shouldn't) have knowledge of operator-specific information. > > Eric > > On Wed, Jun 29, 2011 at 12:00 PM, Andrew Bird (Sphere Systems) < > > a...@spheresystems.co.uk> wrote: > > On Wednes

Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number

2011-06-29 Thread Andrew Bird (Sphere Systems)
Hi Marcel, On Wednesday 29 June 2011, Marcel Holtmann wrote: > Hi Andrew, > > > > Adds a GetMsIsdn method on the > > > org.freedesktop.ModemManager.Modem.Gsm.Card interface. > > > > > > Eric > > > > I like the look of this, but what methods will you use to derive the > > value? As far as I know

Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number

2011-06-29 Thread Andrew Bird (Sphere Systems)
On Wednesday 29 June 2011, Eric Shienbrood wrote: > Adds a GetMsIsdn method on the org.freedesktop.ModemManager.Modem.Gsm.Card > interface. > > Eric I like the look of this, but what methods will you use to derive the value? As far as I know the SIM might have the value stored (retrieved via +CN

[PATCH] cdma: add registration status notification (V2)

2011-06-16 Thread Andrew Bird
, possibly incurring expensive roaming tariffs in the mean time. So to prevent silent registration changes, alert the user with a notification when the CDMA registration status changes to home or to roaming. Signed-off-by: Andrew Bird --- src/applet-device-cdma.c | 34

[PATCH 2/2] cdma: add registration status notification

2011-06-15 Thread Andrew Bird
, possibly incurring expensive roaming tariffs in the mean time. So to prevent silent registration changes, alert the user with a notification when the CDMA registration status changes to home or to roaming. Signed-off-by: Andrew Bird --- src/applet-device-cdma.c | 26 ++ 1

[PATCH 1/2] gsm: remove Ubuntu specific icon references

2011-06-15 Thread Andrew Bird
Signed-off-by: Andrew Bird --- src/applet-device-gsm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applet-device-gsm.c b/src/applet-device-gsm.c index 206bb0b..e8865f0 100644 --- a/src/applet-device-gsm.c +++ b/src/applet-device-gsm.c @@ -1092,13 +1092,13

Re: [PATCH] Add GSM registration status notification (V3)

2011-06-15 Thread Andrew Bird (Sphere Systems)
Hi Dan, Yep can do but I have no CDMA network here and know little about it, so I'll need someone to look over the registration states to check. Is that reasonable? Thanks, Andrew On Wednesday 15 June 2011, Dan Williams wrote: > On Fri, 2011-06-10 at 16:13 +0100, Andrew Bi

[PATCH] Add GSM registration status notification (V3)

2011-06-10 Thread Andrew Bird
ure we preserve the meaning of info->reg_state. Use the gsm_state_to_mb_state mapping function. Also handle the reply of GetRegistrationInfo(). Signed-off-by: Andrew Bird --- src/applet-device-gsm.c | 34 +++--- 1 files ch

Re: Diskless clients and NetworkManager

2009-05-01 Thread Andrew Bird (Sphere Systems)
Hi Pablo, Speaking as a developer of VMC, I find NM's position of being the well known place for applications to find out if they have network connectivity logical, but also frustrating. Not providing an interface for 3rd party connection managers to publish their status means we have t