First use opensc-tools to query some information about your CAC; the following command will list driver information available to OpenSC and if OpenSC can interact with the middleware. This is ...