![sim card reader drivers sim card reader drivers](https://image.dhgate.com/0x0s/f2-albu-g9-M01-19-E9-rBVaVV2a1i2ATST-AAHqd5KddOo138.jpg)
PIN enabled on card 3 attempts remainingĭo you want to send PIN 1234 to the card? y This was run on an Orange France SIM card: Sample build/demo sg3 -p 1234 Here is some output from the demonstration program (with sanitized numbers). ID 0420:1307 Chips and Technologies Celly SIM Card Reader Sample output Pull requests welcome.įor the record, here is what lsusb reports for the "APM UR-200" USB SIM card reader:
#Sim card reader drivers code
If you come across another SCSI-based SIM device, you should be able to add the device-specific code to device.h and get things working relatively quickly. I have yet to see another SIM card reader that uses SCSI, so the scsisim library is necessarily based on a sample size of one device (and over a dozen different SIM cards). Now I can read and edit SIM cards using the device on Linux, as well as view and edit additional "hidden" SIM files and data that the Windows application does not. I reverse-engineered the device's initialization packets and SIM commands, and the result is the scsisim library. It turns out that the device uses standard GSM commands embedded in SCSI commands to read from and write to the SIM card. I did some USB packet sniffing on Windows to see what was going back and forth between the application and the USB device. Linux and Mac users are completely out of luck, with no end-user application available. It includes a basic "SimCardRead.exe" Windows application that allows you to view and edit SIM card contacts and SMS messages, but nothing else. However, I purchased an inexpensive "APM UR-200" USB SIM card reader in France awhile back. There are many serial-based and PC/SC-based USB SIM card readers available, and Linux support for them generally isn't an issue. It is a user-space "driver" that calls into the Linux SCSI generic kernel driver. The scsisim (SCSI SIM) library provides an API for accessing USB SIM card readers that use the SCSI protocol.