Keith Layne wrote:
Thanks for the replies to my question...

I realized after I sent that message that I might get pointed towards
the Fedora bugzilla.  I am tied to Fedora only by the fact that it is
the distro that I'm using on all my machines.  I am much more interested
in the operability of this hardware with pcsc-lite/openct/whatever will
work in a linux environment (specifically on platform x86_64).  I was
hoping to find someone who had success with this type of setup who could
guide me.  Also, to be clear, this is not for a DoD machine, but a
personal laptop.
These packages I'm using from the Fedora extras repo:
openct (actually I compiled this from source, the extras version doesn't
work with my hardware)
opensc
pcsc-lite-openct

I've also got ccid, coolkey, and anything else installed that I could
think of.

My next course of action was going to be to build all of the
aforementioned packages from source.  That doesn't scare me a bit, but
is less than convenient.
Also, to be clear, the Omnikey Cardman 4000 is a pcmcia device, so (as I
understand it) will not be usable with ccid.

Ok, this makes sense now. Though I don't think being PCMCIA necessarily prevents it from being ccid.

 It is supported by an ifd
handler driver in openct (cm4000).

The following lines are I think the important ones from your first email now.

"
Apr 23 01:38:16 buford pcscd: ifdwrapper.c:735:IFDTransmit() Card not
transacted: 612
Apr 23 01:38:16 buford pcscd: winscard.c:1491:SCardTransmit() Card not
transacted: 0x80100016

Any attempt to use opensc-tool ultimately results in the following
(after a bunch of other errors):

card.c:226:sc_connect_card: returning with: Card is invalid or cannot be
handled
"

you should probably detail "after a bunch of other errors" some, i.e. just repeats of the SCardTransmit and IFDTransmit, other subsystems falling apart or other errors that may help in figuring out the problem.

Unfortunately I don't know why you would be getting these and if it is openct or pcsc-lite that is having the problem.

one thing you may want to be aware of is that RedHat/Fedora often patch the packages they have, in ways that require both packages to be patched, so you should probably look at the srpm for fedora's openct and see if those same patches should be applied to the svn from upstream, or you have uninstall all the related FC stuff and install from scratch.

And like I said in the first email, it is probably a good idea (though painful) to reload on a small partition/USB drive enough of the 32bit only FC6 to try out the same software. If it works in 32 bit you know it is a 32->64 bit problem and can help the developers look in the right direction. Or at least verify that the developers on each of the lists _believe_ their code to be 64bit clean. I am not saying to abandon 64bit, just figure out if the problem is shown only on 64bit, so it can be fixed.

 I think a bugfix patch didn't make
it into the current FC6 package.  Also I should mention that there is a
kernel module that loaded automagically when I plugged in the device and
rebooted (udev handles this, I think).

Does that module get in the way of openct? does the device work at all if you move the module to module.ko.dontfind and reboot?
Does openct come with a kernel module you need to install?
Be aware that the offending module may be in the initrd and you may need to rebuild the initrd to get rid of it.

taking a look at
http://www.opensc-project.org/openct/
http://www.opensc-project.org/openct/wiki/cardman
CardMan devices look to be a bad bet, though at under Debian unstable someone claimed to get a CardMan 4000 working with x86_64, so it should not be impossible, but you will need kernel drivers according to the page(which may be that module which loaded automagically). Also listed on the page is a trick to get the 4040 working with FC5, perhaps that would help with the 4000 on FC6.

and the last comments about anything working with this driver look to have been made before July last year.
http://www.opensc-project.org/openct/wiki/cardman?action=history


The combination of the openct driver for pcsc, the cm4000 openct driver,
and coolkey should work with firefox to make all of those DoD websites
accessible via my CAC if I'm not mistaken.  Hopefully I've clarified
enough for someone to give me some help, which is very much appreciated.

Thank you,
Keith

Good luck, I don't envy working with your reader.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to