Hi Everyone
I have issues using a Gemalto Prox PU smart card reader with Docker
This Device uses a USB connection so i installed “usbipd-win_5.3.0_x64” USB over IP app on my Windows 11.
To manage USB port i created a privileged container :
docker run --rm -it --privileged --pid=host jonathanberi/devmgr
A ESP32 is attached as ttyACM0 so i can create a new container :
docker run --rm -it --device “/dev/ttyACM0” --name Ubuntu -p 8080:80 -v E:\docker\gemalto:/home/ubuntu/gemalto ubuntu/apache2
BINGO! Communication between container and ESP32 is OK.
After some researches i found my card reader uses the CCID specification so the device is not recognized as ttyACM* or ttyUSB*…
The strange thing is :
Using Windows Powershell i can bind and attach the card reader
If i create a container
~~docker run -d --privileged --pid=host --name Ubuntu -p 8080:80 -v E:\docker\gemalto:/home/ubuntu/gemalto ubuntu/apache2
and install the appropriate tools (libpcsclite-dev, pcscd, pcsc-tools, usbutils), start the pcscd daemon ant start pcsc_scan, the access is denied.
So my question is :
Is something wrong with my configuration or USB/IP does not implement the CCID specification ?
Thanks