Re: A general (learning) query



Hi Dan.

Here is the output of "AT+CPIN?" (along with other commands, for brevity) ::



####################################################################################################################
Welcome to minicom 2.5

OPTIONS: I18n
Compiled on Feb 24 2011, 11:25:55.
Port /dev/ttyUSB0

Press CTRL-A Z for help on special keys                                                         
                                                                                                
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0                                                                
OK                                                                                              
AT&V                                                                                            
&C: 1; &D: 2; &F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1; X: 4; Z: 0; S0: 0;
S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6; S10: 14; S11: 95;
+FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0; +DS: 0,0,2048,6;
+WS46: 12; +CBST: 0,0,1;
+CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
+CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0; +CGREG: 0;
+CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0; +CMEE: 0; +CGDCONT: (1,"IP","","0.0.0.0",0,0),(2,"IP","Ceibal","0.0.0.0",0,0),(3,"IP","gprs.ancel1","0.0.0.0",0,0),()
; +CGDSCONT: ; +CGTFT: ; +CGEQREQ: (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(3,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0,0,0,0,2,0,"0E0",")
; +CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0; +CGCLASS: "A";
+CGSMS: 0; +CSMS: 0; +CMGF: 0; +CSCA: "",; +CSMP: ,,0,0; +CSDH: 0;
+CSCB: 0,"",""; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
+ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,;  +CMEC: 0,0,0;
+CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: "SM"; +CPMS: "SM","SM","SM";
+CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3; +FRH: 3; +FTM: 96;
+FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,""; +CUSD: 0; +CAOC: 1; +CCWA: 0;
+CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0; +CTZR: 0; +CLIP: 0;
+COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,; ^ATRECORD: 0;
^FREQLOCK: 10226476,12482272

OK
AT+CLAC
ERROR
AT+CPIN?
+CPIN: SIM PIN

OK
####################################################################################################################



Is it, in fact, an issue with the SIM?



Regards,
Ajay



On Fri, Jun 15, 2012 at 10:39 PM, Dan Williams <dcbw redhat com> wrote:
On Thu, 2012-06-14 at 08:07 -0400, Ajay Garg wrote:
> Hi Dan.
>
> The minicom output ::
>
> ##################################################################################################
> AT&V
> &C: 1; &D: 2; &F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1; X: 4; Z: 0; S0: 0;
> S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6; S10: 14; S11: 95;
> +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0; +DS:
> 0,0,2048,6;
> +WS46: 12; +CBST: 0,0,1;
> +CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
> +CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0; +CGREG: 0;
> +CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0; +CMEE: 0; +CGDCONT:
> (1,"IP","","0.0.0.0",0,0),(2,"IP","Ceibal","0.0.0.0",0,0),(3,"IP","gprs.ancel1)
> ; +CGDSCONT: ; +CGTFT: ; +CGEQREQ:
> (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(3,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0)
> ; +CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0; +CGCLASS: "A";
> +CGSMS: 0; +CSMS: 0; +CMGF: 0; +CSCA: "",; +CSMP: ,,0,0; +CSDH: 0;
> +CSCB: 0,"",""; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
> +ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,;  +CMEC: 0,0,0;
> +CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: "SM"; +CPMS: "SM","SM","SM";
> +CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3; +FRH: 3; +FTM:
> 96;
> +FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,""; +CUSD: 0; +CAOC: 1; +CCWA: 0;
> +CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0; +CTZR: 0; +CLIP: 0;
> +COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,; ^ATRECORD: 0;
> ^FREQLOCK: 10226476,12482272
>
> OK
> AT+CLAC
> ERROR
> AT+CPIN
> ERROR

You want "AT+CPIN?" here.  Also, what does "ATI" say?  For example, mine
says:

Manufacturer: huawei
Model: E226
Revision: 11.310.15.00.150
IMEI: xxxxxxxxxxxxxx
+GCAP: +CGSM,+FCLASS,+DS

But I also get a response for AT+CLAC, so...  The only thing I can think
of is that the modem doesn't like your SIM.  Any chance you can try
another SIM?

Dan

> ##################################################################################################
>
>
>
>
>
>
> From the modem's labels ::
>
> ##################################################################################################
> HUAWEI E226
> PIN:8518
> ##################################################################################################
>
>
>
>
> Regards,
> Ajay
>
>
>
>
> On Wed, Jun 13, 2012 at 5:44 PM, Dan Williams <dcbw redhat com> wrote:
>         On Wed, 2012-06-13 at 02:28 +0530, Ajay Garg wrote:
>         >
>         >         Two things to check:
>         >
>         >         1) is the SIM correctly inserted?
>         >
>         >
>         > I guess yes, since we do get the output of AT&V.
>
>
>         What does "AT+CPIN?" say?
>
>         > Anyways, I rebooted. Same result as follows ::
>         >
>         >
>         >
>         >
>         #####################################################################################
>         > Welcome to minicom 2.5
>         >
>         > OPTIONS: I18n
>         > Compiled on Feb 24 2011, 11:25:55.
>         > Port /dev/ttyUSB0
>         >
>         > Press CTRL-A Z for help on special
>         > keys
>         >
>         > AT S7=45 S0=0 L1 V1 X4 &c1 E1
>         > Q0
>         > OK
>         > AT&V
>         > &C: 1; &D: 2; &F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1; X: 4; Z:
>         0; S0: 0;
>         > S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6; S10: 14;
>         S11: 95;
>         > +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0; +DS:
>         > 0,0,2048,6;
>         > +WS46: 12; +CBST: 0,0,1;
>         > +CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
>         > +CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0;
>         +CGREG: 0;
>         > +CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0; +CMEE: 0;
>         +CGDCONT:
>         >
>         (1,"IP","","0.0.0.0",0,0),(2,"IP","Ceibal","0.0.0.0",0,0),(3,"IP","gprs.ancel1","0.0.0.0",0,0),()
>         > ; +CGDSCONT: ; +CGTFT: ; +CGEQREQ:
>         >
>         (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(3,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0,0,0,0,2,0,"0E0",")
>         > ; +CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0;
>         +CGCLASS: "A";
>         > +CGSMS: 0; +CSMS: 0; +CMGF: 0; +CSCA: "",; +CSMP: ,,0,0;
>         +CSDH: 0;
>         > +CSCB: 0,"",""; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0;
>         +ES: ,,;
>         > +ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,;  +CMEC:
>         0,0,0;
>         > +CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: "SM"; +CPMS:
>         "SM","SM","SM";
>         > +CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3; +FRH:
>         3; +FTM:
>         > 96;
>         > +FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,""; +CUSD: 0; +CAOC: 1;
>         +CCWA: 0;
>         > +CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0; +CTZR: 0;
>         +CLIP: 0;
>         > +COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,; ^ATRECORD: 0;
>         > ^FREQLOCK: 10226476,12482272
>         >
>         > OK
>         > AT+CLAC
>         > ERROR
>         > AT+CGDCONT=?
>         > ERROR
>         >
>         #####################################################################################
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         >         2) Is this really a GSM/UMTS modem?  What's the
>         brand and
>         >         model number?
>         >
>         >
>         > Again, I guess yes.
>
>
>         Unfortunately lsusb doesn't give us the actual model number,
>         since
>         Huawei uses the same USB IDs for multiple devices.  What's the
>         actual
>         model number from the sticker on the modem itself?
>
>         Dan
>
>         >
>         #####################################################################################
>         > -bash-4.1# lsusb
>         >
>         > Bus 002 Device 002: ID 12d1:1003 Huawei Technologies Co.,
>         Ltd. E220
>         > HSDPA Modem / E230/E270 HSDPA/HSUPA Modem
>         > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root
>         hub
>         > Bus 001 Device 002: ID 1286:2001 Marvell Semiconductor, Inc.
>         88W8388
>         > 802.11a/b/g WLAN
>         > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
>         hub
>         >
>         #####################################################################################
>         >
>         >
>         >
>         > Regards,
>         > Ajay
>         >
>         >
>         >
>         >         Dan
>         >
>         >
>         >
>         >
>
>
>
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]