Back with my original problem - the client connects to remsim-server, the bankd mapping is fine, but when the phone starts up, the bankd logs that it keeps resetting the reader and the client can't read data.
So, this is what the client outputs (quite aggressively): DST2 INFO user_simtrace2.c:180 SIMtrace IRQ STATUS: flags=0x0, fi=1, di=1, wi=10 wtime=9600 DST2 INFO user_simtrace2.c:193 SIMtrace IRQ 01 04 00 00 00 00 15 00 01 00 00 00 00 00 01 01 0a 80 25 00 00 DST2 INFO user_simtrace2.c:180 SIMtrace IRQ STATUS: flags=0x1, fi=1, di=1, wi=10 wtime=9600 DST2 INFO user_simtrace2.c:193 SIMtrace IRQ 01 04 00 00 00 00 15 00 03 00 00 00 00 00 01 01 0a 80 25 00 00 DST2 INFO user_simtrace2.c:180 SIMtrace IRQ STATUS: flags=0x3, fi=1, di=1, wi=10 wtime=9600 DST2 INFO user_simtrace2.c:193 SIMtrace IRQ 01 04 00 00 00 00 15 00 02 00 00 00 00 00 01 01 0a 80 25 00 00 DST2 INFO user_simtrace2.c:180 SIMtrace IRQ STATUS: flags=0x2, fi=1, di=1, wi=10 wtime=9600 DST2 INFO user_simtrace2.c:193 SIMtrace IRQ 01 04 00 00 00 00 15 00 00 00 00 00 00 00 01 01 0a 80 25 00 00 DST2 INFO user_simtrace2.c:180 SIMtrace IRQ STATUS: flags=0x0, fi=1, di=1, wi=10 wtime=9600 DST2 INFO user_simtrace2.c:193 SIMtrace IRQ 01 04 00 00 00 00 15 00 01 00 00 00 00 00 01 01 0a 80 25 00 00 and bankd keeps resetting the card reader (I used a different one this time): 002 CONN_CLIENT_MAPPED_CARD] Resetting card in 'OMNIKEY' (cold reset) Aug 01 13:44:04 rpi-cardem-1 osmo-remsim-bankd[1138]: 1142 DBANKDW INFO bankd_pcsc.c:288 [003 CONN_CLIENT_MAPPED_CARD] SCardReconnect: OK Aug 01 13:44:04 rpi-cardem-1 osmo-remsim-bankd[1138]: 1142 DBANKDW INFO bankd_pcsc.c:198 [003 CONN_CLIENT_MAPPED_CARD] SCardStatus: OK Aug 01 13:44:04 rpi-cardem-1 osmo-remsim-bankd[1138]: 1142 DBANKDW INFO bankd_pcsc.c:200 [003 CONN_CLIENT_MAPPED_CARD] Card ATR: 3b9f96801fc78031e073fe2113679807021001010154 Aug 01 13:44:04 rpi-cardem-1 osmo-remsim-bankd[1138]: 1142 DBANKDW INFO bankd_main.c:749 [003 CONN_CLIENT_MAPPED_CARD] Rx RSPRO clientSlotStatusInd(RST=INACTIVE, VCC=PRESENT, CLK=INACTIVE) Aug 01 13:44:04 rpi-cardem-1 osmo-remsim-bankd[1138]: 1142 DBANKDW INFO bankd_main.c:749 [003 CONN_CLIENT_MAPPED_CARD] Rx RSPRO clientSlotStatusInd(RST=INACTIVE, VCC=PRESENT, CLK=ACTIVE) Aug 01 13:44:04 rpi-cardem-1 osmo-remsim-bankd[1138]: 1142 DBANKDW INFO bankd_main.c:749 [003 CONN_CLIENT_MAPPED_CARD] Rx RSPRO clientSlotStatusInd(RST=INACTIVE, VCC=ABSENT, CLK=ACTIVE) Aug 01 13:44:04 rpi-cardem-1 osmo-remsim-bankd[1138]: 1142 DBANKDW INFO bankd_pcsc.c:284 [003 CONN_CLIENT_MAPPED_CARD] Resetting card in 'OMNIKEY' (cold reset) After a long wait, the phone seems to time out reading the SIM and starts displaying there is no SIM inserted. Any clue what could be going on? pcsc_scan reports the reader as: HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card Reader] Thanks On Wed, Jul 19, 2023 at 5:52 AM <gmail...@126.com> wrote: > > I also need your help, I git osmo-remsim to my linux computer. but i don't > know how to make > can you give me some help > root@debian:/home/debian/osmo-remsim# automake > configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found. > configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE, > configure.ac: that aclocal.m4 is present in the top-level directory, > configure.ac: and that aclocal.m4 was recently regenerated (using aclocal) > configure.ac:25: error: required file './install-sh' not found > configure.ac:25: 'automake --add-missing' can install 'install-sh' > contrib/systemd/Makefile.am:3: error: HAVE_SYSTEMD does not appear in > AM_CONDITIONAL > doc/manuals/Makefile.am:6: error: BUILD_MANUALS does not appear in > AM_CONDITIONAL > src/Makefile.am:2: error: BUILD_BANKD does not appear in AM_CONDITIONAL > src/Makefile.am:5: error: BUILD_SERVER does not appear in AM_CONDITIONAL > src/Makefile.am:15: error: Libtool library used but 'LIBTOOL' is undefined > src/Makefile.am:15: The usual way to define 'LIBTOOL' is to add 'LT_INIT' > src/Makefile.am:15: to 'configure.ac' and run 'aclocal' and 'autoconf' > again. > src/Makefile.am:15: If 'LT_INIT' is in 'configure.ac', make sure > src/Makefile.am:15: its definition is in aclocal's search path. > src/Makefile.am: error: required file './depcomp' not found > src/Makefile.am: 'automake --add-missing' can install 'depcomp' > /usr/share/automake-1.16/am/depend2.am: error: am__fastdepCC does not appear > in AM_CONDITIONAL > /usr/share/automake-1.16/am/depend2.am: The usual way to define > 'am__fastdepCC' is to add 'AC_PROG_CC' > /usr/share/automake-1.16/am/depend2.am: to 'configure.ac' and run 'aclocal' > and 'autoconf' again > /usr/share/automake-1.16/am/depend2.am: error: AMDEP does not appear in > AM_CONDITIONAL > /usr/share/automake-1.16/am/depend2.am: The usual way to define 'AMDEP' is > to add one of the compiler tests > /usr/share/automake-1.16/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, > AC_PROG_OBJC, AC_PROG_OBJCXX, > /usr/share/automake-1.16/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, > AM_PROG_UPC > /usr/share/automake-1.16/am/depend2.am: to 'configure.ac' and run 'aclocal' > and 'autoconf' again > src/bankd/Makefile.am:15: warning: source file '../slotmap.c' is in a > subdirectory, > src/bankd/Makefile.am:15: but option 'subdir-objects' is disabled > automake: warning: possible forward-incompatibility. > automake: At least a source file is in a subdirectory, but the > 'subdir-objects' > automake: automake option hasn't been enabled. For now, the corresponding > output > automake: object file(s) will be placed in the top-level directory. However, > automake: this behaviour will change in future Automake versions: they will > automake: unconditionally cause object files to be placed in the same > subdirectory > automake: of the corresponding sources. > automake: You are advised to start using 'subdir-objects' option throughout > your > automake: project, to avoid future incompatibilities. > src/bankd/Makefile.am:15: warning: source file '../rspro_client_fsm.c' is in > a subdirectory, > src/bankd/Makefile.am:15: but option 'subdir-objects' is disabled > src/bankd/Makefile.am:15: warning: source file '../debug.c' is in a > subdirectory, > src/bankd/Makefile.am:15: but option 'subdir-objects' is disabled > src/client/Makefile.am:15: error: BUILD_CLIENT_IFDHANDLER does not appear in > AM_CONDITIONAL > src/client/Makefile.am:31: error: BUILD_CLIENT_ST2 does not appear in > AM_CONDITIONAL > src/client/Makefile.am:21: error: Libtool library used but 'LIBTOOL' is > undefined > src/client/Makefile.am:21: The usual way to define 'LIBTOOL' is to add > 'LT_INIT' > src/client/Makefile.am:21: to 'configure.ac' and run 'aclocal' and > 'autoconf' again. > src/client/Makefile.am:21: If 'LT_INIT' is in 'configure.ac', make sure > src/client/Makefile.am:21: its definition is in aclocal's search path. > src/client/Makefile.am:22: warning: source file '../rspro_client_fsm.c' is in > a subdirectory, > src/client/Makefile.am:22: but option 'subdir-objects' is disabled > src/client/Makefile.am:22: warning: source file '../debug.c' is in a > subdirectory, > src/client/Makefile.am:22: but option 'subdir-objects' is disabled > src/client/Makefile.am:9: warning: source file '../rspro_client_fsm.c' is in > a subdirectory, > src/client/Makefile.am:9: but option 'subdir-objects' is disabled > src/client/Makefile.am:9: warning: source file '../debug.c' is in a > subdirectory, > src/client/Makefile.am:9: but option 'subdir-objects' is disabled > src/client/Makefile.am:33: warning: source file '../rspro_client_fsm.c' is in > a subdirectory, > src/client/Makefile.am:33: but option 'subdir-objects' is disabled > src/client/Makefile.am:33: warning: source file '../debug.c' is in a > subdirectory, > src/client/Makefile.am:33: but option 'subdir-objects' is disabled > src/rspro/Makefile.am:150: error: Libtool library used but 'LIBTOOL' is > undefined > src/rspro/Makefile.am:150: The usual way to define 'LIBTOOL' is to add > 'LT_INIT' > src/rspro/Makefile.am:150: to 'configure.ac' and run 'aclocal' and > 'autoconf' again. > src/rspro/Makefile.am:150: If 'LT_INIT' is in 'configure.ac', make sure > src/rspro/Makefile.am:150: its definition is in aclocal's search path. > src/server/Makefile.am:11: warning: source file '../rspro_util.c' is in a > subdirectory, > src/server/Makefile.am:11: but option 'subdir-objects' is disabled > src/server/Makefile.am:11: warning: source file '../slotmap.c' is in a > subdirectory, > src/server/Makefile.am:11: but option 'subdir-objects' is disabled > src/server/Makefile.am:11: warning: source file '../debug.c' is in a > subdirectory, > src/server/Makefile.am:11: but option 'subdir-objects' is disabled > root@debian:/home/debian/osmo-remsim# make > root@debian:/home/debian/osmo-remsim# autoconf > configure.ac:10: error: possibly undefined macro: AM_INIT_AUTOMAKE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:48: error: possibly undefined macro: AM_CONDITIONAL