Yes, the SIM works on other phones, even on the same phone with the original firmware, so I suspect it's a driver problem.<br><br><div class="gmail_quote">On Tue, Dec 20, 2011 at 7:00 AM, <span dir="ltr"><<a href="mailto:baseband-devel-request@lists.osmocom.org">baseband-devel-request@lists.osmocom.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send baseband-devel mailing list submissions to<br>
<a href="mailto:baseband-devel@lists.osmocom.org">baseband-devel@lists.osmocom.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.osmocom.org/mailman/listinfo/baseband-devel" target="_blank">https://lists.osmocom.org/mailman/listinfo/baseband-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:baseband-devel-request@lists.osmocom.org">baseband-devel-request@lists.osmocom.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:baseband-devel-owner@lists.osmocom.org">baseband-devel-owner@lists.osmocom.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of baseband-devel digest..."<br>
<br>Today's Topics:<br>
<br>
1. Re: Fwd: SIM_JOB_RUN_GSM_ALGO fails (Sebastien Lorquet)<br>
<br><br>---------- Forwarded message ----------<br>From: Sebastien Lorquet <<a href="mailto:sebastien@lorquet.fr">sebastien@lorquet.fr</a>><br>To: <a href="mailto:baseband-devel@lists.osmocom.org">baseband-devel@lists.osmocom.org</a><br>
Cc: <br>Date: Mon, 19 Dec 2011 17:01:53 +0100<br>Subject: Re: Fwd: SIM_JOB_RUN_GSM_ALGO fails<br>
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
SW1SW2 = 0000 let me think that the command was not actually sent to
the card, or the card was mute, or the error is very low level.<br>
<br>
is the failing sim OK in a real phone?<br>
<br>
Regards,<br>
Sebastien<br>
<br>
PS: A very minor point, I don't know how the debug function is
supposed to work, but the "data=" field is not the data, but the
whole command.<br>
<br>
Le 19/12/2011 16:36, Ethan Brown a écrit :
<blockquote type="cite">
<div class="gmail_quote">Hello,<br>
<br>
The command SIM_JOB_RUN_GSM_ALGO fails on one of my sim cards.
Here is the log from mobile app:<br>
<br>
<div style="margin-left:40px"><0005> gsm48_mm.c:1637
AUTHENTICATION REQUEST (seq
0)
<br>
<0005> subscriber.c:957 Generating KEY at
SIM
<br>
<000f> sim.c:209 got new job: SIM_JOB_RUN_GSM_ALGO
(handle=00000006)
<br>
<000f> sim.c:539 RUN GSM
ALGORITHM
<br>
<000f> sim.c:187 sending APDU (class 0xa0, ins 0x88,
data=a0 88 00 00 10 92 15 a4 00 40 78 f7 7e b0 8c 31 19 99 56
01 93 ) <br>
<000f> sim.c:877 received APDU (len=0 sw1=0x00
sw2=0x00)
<br>
<000f> sim.c:953 command
failed
<br>
<000f> sim.c:151 sending result to callback function
(type=1)
<br>
<0005> subscriber.c:991 key generation on SIM failed
(cause 2) <br>
</div>
<br>
<br>
And this is the log from L1:<br>
<br>
<div style="margin-left:40px">SIM Request (21): a0 88 00 00 10
92 15 a4 00 40 78 f7 7e b0 8c 31 19 99 56 01 93 <br>
Triggering SIM transmission Character underflow!Triggering SIM
reception Max characters received!SIM: ACK does not match
request, response[0]=60, sim_data[1]=88<br>
SIM Response (2): 00 00 <br>
</div>
<br>
<br>
The SIM I used for that test is somewhat different than other
SIMs I have tested and worked before. I attached a picture of
two SIMs I used. The green SIM is the one that fails running
SIM_JOB_RUN_GSM_ALGO. The white one works perfectly.<br>
<br>
</div>
<br>
</blockquote>
</div>
<br>_______________________________________________<br>
baseband-devel mailing list<br>
<a href="mailto:baseband-devel@lists.osmocom.org">baseband-devel@lists.osmocom.org</a><br>
<a href="https://lists.osmocom.org/mailman/listinfo/baseband-devel" target="_blank">https://lists.osmocom.org/mailman/listinfo/baseband-devel</a><br>
<br></blockquote></div><br>