From: Eric BOUXIROT <eric.bouxirot@azimut-monitoring.com>
To: ofono@ofono.org
Subject: Re: problem sim status
Date: Fri, 28 Mar 2014 18:31:11 +0100 [thread overview]
Message-ID: <lh4bkg$rrq$1@ger.gmane.org> (raw)
In-Reply-To: <lh4bcu$p02$1@ger.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2386 bytes --]
> hi Denis,
>
> is it normal that pre_sim function is called before ofono get modem
> manufacturer and model ?
>
> ofonod[406]: plugins/sierra.c:open_device() Modem /dev/ttyUSB2
> ofonod[406]: Modem: > ATE0 &C0\r
> ofonod[406]: Modem: < ATE0 &C0\r
> ofonod[406]: Modem: < \r\nOK\r\n
> ofonod[406]: Modem: > AT+CMEE=1\r
> ofonod[406]: Modem: < \r\n+CREG: 2\r\n
> ofonod[406]: Modem: < \r\n+CIEV: 2,1\r\n
> ofonod[406]: Modem: < \r\n+CIEV: 4,1\r\n
> ofonod[406]: Modem: < \r\nOK\r\n
> ofonod[406]: Modem: > AT+CFUN=4\r
> ofonod[406]: Modem: < \r\nOK\r\n
> ofonod[406]: plugins/sierra.c:cfun_enable()
> ofonod[406]: src/modem.c:get_modem_property() modem 0x12d290 property Model
> ofonod[406]: src/modem.c:modem_change_state() old state: 0, new state: 1
> ofonod[406]: plugins/sierra.c:sierra_pre_sim() 0x12d290
> ofonod[406]: src/modem.c:get_modem_property() modem 0x12d290 property Model
> ofonod[406]: plugins/sierra.c:sierra_pre_sim()
> ofonod[406]: Modem: > AT+GCAP\r
> ofonod[406]: src/sim.c:ofono_sim_add_state_watch() 0x12e628
> ofonod[406]: src/sim.c:ofono_sim_add_state_watch() 0x12e628
> ofonod[406]: src/sim.c:ofono_sim_add_state_watch() 0x12e628
> ofonod[406]: Modem: < \r\nERROR\r\n
> ofonod[406]: Modem: > AT+CRSM=192,12258,0,0,255\r
> ofonod[406]: Modem: < \r\n+CME ERROR: 3\r\n
> ofonod[406]: Modem: > AT+CGMI\r
> ofonod[406]: Modem: < \r\nSierra Wireless, Incorporated\r\n\r\nOK\r\n
> ofonod[406]: Modem: > AT+CGMM\r
> ofonod[406]: Modem: < \r\nSL8083\r\n\r\nOK\r\n
> ofonod[406]: Modem: > AT+CGMR\r
> ofonod[406]: Modem: < \r\nS4_0_0_7AP R1384 CNSZXD00000155 2012/09/29
> 10:26:17\r\n\r\nOK\r\n
> ofonod[406]: Modem: > AT+CGSN\r
> ofonod[406]: Modem: < \r\n355131041136262\r\n\r\nOK\r\n
> ofonod[406]: Modem: > AT+CRSM=192,28421,0,0,255\r
> ofonod[406]: Modem: < \r\n+CIEV: 2,0\r\n\r\n+CIEV: 4,0\r\n\r\n+CREG:
> 0\r\n\r\n+CME ERROR: 3\r\n
> ofonod[406]: Modem: > AT+CRSM=192,12037,0,0,255\r
> ofonod[406]: Modem: < \r\n+CME ERROR: 3\r\n
> ofonod[406]: Modem: > AT+CPIN?\r
> ofonod[406]: Modem: < \r\n+CME ERROR: 14\r\n
> ofonod[406]: Querying PIN authentication state failed
>
>
> i would like to get model in presim to make a better patch using modem model
> with a new enum in vendor list (like simcom)
> how i can make pre_sim to wait for theses information available ?
sorry mistake.. (like wavecom modem)
next prev parent reply other threads:[~2014-03-28 17:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 18:55 problem sim status Eric BOUXIROT
2014-03-27 20:05 ` Denis Kenzior
2014-03-27 20:21 ` Eric BOUXIROT
2014-03-27 20:30 ` Denis Kenzior
2014-03-27 21:34 ` Eric BOUXIROT
2014-03-27 22:14 ` Eric BOUXIROT
2014-03-28 17:27 ` Eric BOUXIROT
2014-03-28 17:31 ` Eric BOUXIROT [this message]
2014-03-28 20:54 ` Denis Kenzior
2014-03-29 13:35 ` Eric BOUXIROT
2014-03-31 15:30 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lh4bkg$rrq$1@ger.gmane.org' \
--to=eric.bouxirot@azimut-monitoring.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox