Re: Huawei E173 USB dongle and SMS problems
Mübin İçyer <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAA9KBADqZviefjG=Sr3AiBGU-BCtKzAbk+LKmEVp4m0qQtQnVw@mail.gmail.com> |
And dmesg outputs: [ 2.898346] usb 4-1: New USB device found, idVendor=12d1, idProduct=1436 [ 2.920139] usb 4-1: New USB device strings: Mfr=4, Product=3, SerialNumber=0 [ 2.930393] usb 4-1: Product: HUAWEI Mobile [ 2.938476] usb 4-1: Manufacturer: HUAWEI Technology [ 2.946475] ====usb_stor_huawei_e220_init===> [ 2.949900] ====usb_stor_huawei_e220_init===> My USB stick is e173 not e220. I don't understand what usb_stor_huawei_e220_init means. 2016-07-05 22:37 GMT+02: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