There are basically two ways of getting the Omnikey CardMan 4000 to work: You can either use the original driver from HID (without CT-API support) or the free version from OpenCT

1. Installing pcsc

Well, this is the easiest part. Just pull the packages from with yum:

yum install pcsc-lite

For other distros (openSuse, debian, Ubuntu etc.) ymmv here.

2. Using the omnikey driver

The driver is available at HID’s download archive. Download cm4000_installer_v2_4_0_src.tar.gz, extract the tar archive, and copy the shared object libcm4000.so to an appropiate place (probably /usr/lib/pcsc/drivers/libcm4000.so)

Don’t put the configuration directly into /etc/reader.conf since the pcscd init script automatically merges all files in /etc/reader.conf.d/* into /etc/reader.conf

After restarting pcscd you’re done

$ service pcscd restart

3. Using OpenCT driver

It may be a good idea, to user the OpenCT driver instead of the original one. You don’t have to compromise your file tree (because everything can be pulled via yum) and theoretically OpenCT also provides a CT-API interface (although I did not get this to work).

So once again, we pull the necessary packages with yum:

$ yum install openct pcsc-lite-openct

3.1 Configuring pcsc for use with OpenCT

Instead of cm4000.conf (so make sure, it is renamed to cm4000.conf.bak or similar) we use use openct.conf which is already part of pcsc-lite-openct. So all we have to do is uncomment the lines in /etc/readers.conf.d/openct.conf: