Re: Huawei E173 USB dongle and SMS problems
gilberto dos santos alves <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAP9G-NJeT_fxOD15G4wyEGmd4Ce2wXcs90PSbG6T9kMWRKsFXA@mail.gmail.com> |
yes for log you could use log options inside your /etc/gammu-smsdrc section [gammu] or using parameter -d /your-dir/your-file.log with command gammu. try some basic operations like send sms, receive sms, list inbox, list outbox, list all files. if all these commands works great chance that your running gammu-smsd daemon will run smooth. after running for 5 min look at your smsd log file (yes it is big, but you will need loglevel 255) for see all things. after you could use loglevel you want. 2016-07-05 17:37 GMT-03:00 Mübin İçyer <[email protected]>: > Hello, > > I stopped gammu-smsd daemon and deleted log file, because there were lots > of errors. > > The command gammu -c /etc/gammu-smsdrc identify results: > > Device : /dev/phone2 > Manufacturer : Huawei > Model : E173 (E173) > Firmware : 11.126.83.00.47 > IMEI : [xxxxxxxxxxxxxxx] > SIM IMSI : [xxxxxxxxxxxxxxx] > > The log file doesn't exist. I think above command doesn't generate a log > file. > > > 2016-07-05 3:38 GMT+02:00 gilberto dos santos alves <[email protected]>: > >> hi. >> first of all stop daemon gammu smsd. >> after that use gammu command identify >> >> verify what are response and what is logged (log mode more detailed is >> textalldate). >> >> look few lines before your msg 500 there you will find what is going on. >> IMHO your device is ok but there are some timeout and we need find what >> cause this. >> regards. >> >> 2016-07-04 7:47 GMT-03:00 Mübin İçyer <[email protected]>: >> >>> Hello, >>> >>> I have a Huawei E173 USB dongle and SIM card inside. I want only to >>> receive SMS. I don't want to connect to internet over dongle. I receive >>> always error messages in log file: >>> >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: CMS Error 500: >>> "unknown error" >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: GSM_GetSMSStatus >>> failed with error UNKNOWN[27]: Unknown error. >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: Leaving GSM_GetSMSStatus >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: Error getting SMS status: >>> Unknown error. (UNKNOWN[27]) >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: Entering >>> GSM_GetSecurityStatus >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: Getting security code >>> status >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: SENDING frametype >>> 0x00/length 0x09/9 >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: >>> 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D AT+CPIN?. >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: 1 "AT+CPIN?" >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: 2 "+CPIN: READY" >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: 3 "OK" >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: Checking line: OK >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: AT reply state: 1 >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: RECEIVED frametype >>> 0x00/length 0x1F/31 >>> Mon 2016/07/04 12:21:58 gammu-smsd[2570]: gammu: >>> 41A|54T|2B+|43C|50P|49I|4EN|3F?|0D |0D |0A |2B+|43C|50P|49I|4EN >>> AT+CPIN?...+CPIN >>> >>> It seems that the dongle replies to command AT+CPIN? >>> >>> >>> Configuration file /etc/gammu-smsdrc: >>> # Configuration file for Gammu SMS Daemon >>> >>> # Gammu library configuration, see gammurc(5) >>> [gammu] >>> # Please configure this! >>> port = /dev/phone2 >>> # Device = 0x12d1:0x1001 >>> Connection = at >>> # Debugging >>> #logformat = textall >>> >>> # SMSD configuration, see gammu-smsdrc(5) >>> [smsd] >>> service = files >>> logfile = /var/log/gammu_smsd.log >>> # Increase for debugging information >>> debuglevel = 2 >>> RunOnReceive=sudo /home/bananapi/Projects/sms/sms_parse.py >>> >>> # Paths where messages are stored >>> inboxpath = /var/spool/gammu/inbox/ >>> outboxpath = /var/spool/gammu/outbox/ >>> sentsmspath = /var/spool/gammu/sent/ >>> errorsmspath = /var/spool/gammu/error/ >>> >>> What is the Problem? What can I do? >>> And second question >>> Thanks. >>> >>> >>> ------------------------------------------------------------------------------ >>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >>> present their vision of the future. This family event has something for >>> everyone, including kids. Get more information and register today. >>> http://sdm.link/attshape >>> _______________________________________________ >>> Gammu-users mailing list - >>> https://lists.sourceforge.net/lists/listinfo/gammu-users >>> >>> >> >> >> -- >> gilberto dos santos alves >> +55(11)9-8646-5049 >> sao paulo - sp - brasil >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> _______________________________________________ >> Gammu-users mailing list - >> https://lists.sourceforge.net/lists/listinfo/gammu-users >> >> > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gammu-users mailing list - > https://lists.sourceforge.net/lists/listinfo/gammu-users > > -- gilberto dos santos alves +55(11)9-8646-5049 sao paulo - sp - brasil ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users