problems with pysim-prog

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Pablo Neira Ayuso pablo at gnumonks.org
Tue Apr 5 10:16:29 UTC 2011


Hi!

I'm experiencing problems with pysim-prog. Using the example available
in the README file.

# ./pySim-prog.py -n 26C3 -c 49 -x 262 -y 42 -z lila -j 0
Insert card now (or CTRL-C to cancel)

I get stuck here forever. The same message shows if I remove the
supersim card from the reader.

Running pysim inside strace shows:

write(1, "Insert card now (or CTRL-C to cancel)\n", 38) = 38
ioctl(3, TIOCMBIS, [TIOCM_RTS])         = 0
select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)
ioctl(3, TCFLSH, 0)                     = 0
ioctl(3, TIOCMBIC, [TIOCM_RTS])         = 0
select(4, [3], [], [], {1, 0})          = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 500000}) = 0 (Timeout)
ioctl(3, TIOCMBIS, [TIOCM_RTS])         = 0
select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)
ioctl(3, TCFLSH, 0)                     = 0
ioctl(3, TIOCMBIC, [TIOCM_RTS])         = 0
... [and so on]

The pl2303 module is loaded correctly, and I have used it before to
access some embedded devices via serial line:

pl2303 2-2:1.0: pl2303 converter detected
usb 2-2: pl2303 converter now attached to ttyUSB0
usb 2-2: USB disconnect, device number 11
pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0

Any clue on what's wrong?
Thanks!




More information about the OpenBSC mailing list