Hi,

I've bought an Omnikey Cardman 4040 card reader and have some trouble to
get it work. Maybe somebody have some experiences with it. Actually it
is one of the recommended card readers for Linux.


I have compiled and loaded the driver cm4040_cs and following line
appeared in /proc/devices:

254 cmx


But there is no pcmcia-entry in /proc/devices like I have seen on other
systems. Another weird thing is that hotplug/udev doesn't create a
corresponding device file, automatically. So I invoke `mknod -m 666
/dev/cmx0 c 253 0` by myself.


But after invoking `gpg --card-status` I got following error message:

gpg: apdu_open_reader: failed to open driver `libpcsclite.so.1':
libpcsclite.so.1: cannot open shared object file: No such file or
directory
gpg: card reader not available
gpg: OpenPGP card not available: general error


Well, actually I would prefer the CCID driver over the PCSC driver, but
however I fixed this (probably) by `cd /usr/lib && ln -s
libpcsclite.so.0.0.1 libpcsclite.so.1`. But now I get following error
message when I invoke `gpg --card-status`:

gpg: pcsc_establish_context failed: internal error (0x80100001)
gpg: card reader not available
gpg: OpenPGP card not available: general error


Doesn't matter, let us see why ccid doesn't work. Btw if it would work
it wouldn't try pcsc. If I invoke `gpg --card-status --debug-ccid-drive`
the output above is extended by another line:

gpg: DBG: ccid-driver: no CCID reader with number 0


All at all it seems like there is no card reader plugged in, but it is
and evenwhen I plugged it in it shows the name of the card reader in the
system log. If anybody knows what I have to do to get this device work I
would be very thankful.


Kernel-Version: 2.6.17.7
GPG-Version: 1.4.5 1.9.20-r3


Regards
Sebastian Noack

-- 
gentoo-user@gentoo.org mailing list

Reply via email to