I have a Centos virtual-machine with a smart card reader connected, or which is supposed to be connected.
How can I list on which usb port is connected and if the OS recognize it correctly?
I don't know the smart reader brand, Thanks for the help.
Here is the log of my Java application trying to use the device
16:33:45,394 DEBUG http-bio-9090-exec-9 DeviceSelector:readModule:162 - libbit4xpki.so: slots count = 0 Jul 02, 2019 4:33:45 PM com.sun.xml.ws.server.sei.TieHandler createResponse SEVERE: Smartcard device not found it.comped.jdigitalsign.utils.LocalizedException: Smartcard device not found at it.comped.jdigitalsign.crypt2.signers.sunp11.DeviceSelector.selectModule(DeviceSelector.java:120)
The problem is resolved, they changed VM settings. By the way I can say now
usb-devices commands correctly list the devices properties so they are correct to show if the device is connected or not.