calypso SIM driver on c139 (also: l1ctl SIM APDU)

Gianni Tedesco gianni at
Wed May 11 00:39:18 UTC 2011

On Wed, 2011-05-11 at 01:12 +0100, Gianni Tedesco wrote:
> The SIM and the SIM reader in the phone and the mechanical contact
> between them are definitely working because the SIM can be accessed from
> the motorola firmware, from another phone and from a PC smartcard reader
> with no PIN or anything.
> However, under simtest firmware no data is received by the phone, even
> the ATR is zero bytes...
> Anybody had this problem?
> Also, is l1CTL SIM APDU command not implemented in the layer1 firmware?
> How are people making calls without a SIM? :P

On Mon May 9 12:12:49 CEST 2011, Nico Golde wrote
> If you wait a bit you will get code for the second 
> suggestion. We currently have a working version that 
> forwards the apdu to a local client transforming this into 
> SAP and speaking with a SAP server that uses pcsc to talk to 
> a SIM card in an external SIM reader. My goal though is to 
> transform this into a complete SAP client in 
> sap_interface.c, I will work on that now...

Actually, how far have you got with this? Turns out I had the same idea
as you except I was going to use a unix socket with no protocol (ie. no
SAP) to just communicate with my ccid-utils driver to talk to the SIM.


More information about the baseband-devel mailing list