Re: How to read & back up data of SIM Card using its Reader?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 May 2016, Susmita/Rajib Bandopadhyay wrote:

> Great, Sir!
> Here is the file.

This pattern repeats over and over in the file:

ffff88009ff42c00 2926401044 S Bo:1:003:2 -115 31 = 55534243 06000000 00000000 00000600 00000000 00000000 00000000 000000
ffff88009ff42c00 2926401182 C Bo:1:003:2 0 31 >
ffff88009ff42c00 2926401197 S Bi:1:003:1 -115 13 <
ffff88009ff42c00 2926401299 C Bi:1:003:1 0 13 = 55534253 06000000 00000000 01
ffff88009ff42c00 2926401308 S Bo:1:003:2 -115 31 = 55534243 07000000 12000000 80000603 00000012 00000000 00000000 000000
ffff88009ff42c00 2926401424 C Bo:1:003:2 0 31 >
ffff88009c4f7240 2926401437 S Bi:1:003:1 -115 18 <
ffff88009c4f7240 2926401673 C Bi:1:003:1 0 18 = 70000200 0000000a 00000000 3a000000 0000

This shows the computer asking the card reader for its status, and the 
card reader returning an error code that means "Medium Not Present".  
In other words, the reader thinks there is no memory card present.

The kernel uses a standard protocol (Bulk-Only Mass Storage) to 
communicate with the reader, because that's what the reader says it 
will accept, according to the lsusb output.  Probably the protocol 
would work fine with an SDHC card, but it doesn't work with a SIM card.

That leaves two possibilities:

	The reader doesn't work with SIM cards at all.  This may seem 
	unlikely, but it's possible -- the eBay information could
	simply be wrong.

	It does work with SIM cards, but it needs to use a non-standard
	protocol.

I guess that protocol is provided by the driver program in the software
that came with the reader.  In that case, to get it to work under Linux
you would have to learn what the protocol is and write a Linux driver
for it.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux