vsmartcard icon indicating copy to clipboard operation
vsmartcard copied to clipboard

How to install/compile vpcd on Raspberry Pi4 os: Ubuntu 24.04 LTS ARM64

Open crisnc15 opened this issue 8 months ago • 4 comments

Hi there, How to install/compile vpcd on Raspberry Pi4 os: Ubuntu 24.04 LTS ARM64

I followed the installation steps according to the documentation but I was unable to install vpcd.

in the which vpcd command nothing appears

Thanks in advance for your help

crisnc15 avatar Aug 19 '25 06:08 crisnc15

sorry, I don't understand your problem. please share your steps for reproducing the problem.

frankmorgner avatar Aug 27 '25 18:08 frankmorgner

@frankmorgner thank you for your answer.

I want to install virtualsmartcard on Raspberry pi4 model B with Ubuntu operating system.

I followed the installation steps:

  1. sudo apt update
  2. sudo apt install build-essential autoconf automake libtool pkg-config
    libpcsclite-dev libssl-dev pcscd pcsc-tools help2man gengetopt
  3. git clone https://github.com/frankmorgner/vsmartcard.git
  4. cd vsmartcard
  5. git submodule update --init --recursive
  6. cd virtualsmartcard
  7. autoreconf --verbose --install
  8. ./configure --sysconfdir=/etc
  9. make -j4
  10. sudo make install
  11. sudo systemctl enable pcscd --now

After installation I did the checks: command: which vicc gives me the answer /usr/local/bin/vicc

command: which vpcd gives me no answer.

In the directory vsmartcard/virtualsmartcard/src/vpcd are the following:

libvpcd.la, lock.c, lock.h, lock.lo Makefile, Makefile.am, Makefile.in, vpcd.c, vpcd.h, vpcd,lo, vpcd.o

After issuing the command pcsc_scan Virtual PCD are displayed.

I'm stuck and I need some guidance.

Thanks in advance.

crisnc15 avatar Aug 28 '25 10:08 crisnc15

Your installation seems to be working as intended. vpcd is not a command line program, it is a smart card driver, which according to your pcsc_scan output is loaded correctly by pcscd. For example, when pcsc_scan is running you can connect vicc to the locally running pcscd (vpcd).

What were your expectations? What do you actually want to do?

frankmorgner avatar Aug 28 '25 20:08 frankmorgner

@frankmorgner Sorry for the late response, I want to relay between Remote Reader and ACardEmulator.

crisnc15 avatar Aug 30 '25 15:08 crisnc15