Hi,

if it gets detected you should use the right option of pysim to interact with a tty based reader instead of the pcscd based reader.


from the help output (pysim-read.ph -h):


Serial Reader:
  -d DEV, --device DEV  Serial Device for SIM access (default: /dev/ttyUSB0)
  -b BAUD, --baud BAUD  Baud rate used for SIM access (default: 9600)

PC/SC Reader:
  -p PCSC, --pcsc-device PCSC
                        PC/SC reader number to use for SIM access (default: None)

Cheers

Bjoern


Von: bhogendra.rao@gmail.com <bhogendra.rao@gmail.com>
Gesendet: Freitag, 10. Februar 2023 12:20:23
An: openbsc@lists.osmocom.org
Betreff: Re: Card initialization failed with exception
 
Thank you for your query. I could see in the dmesg output that the device is mounted at /dev/ttyUSB0. So I assume that the device is recognized by the OS