Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Hannu Kotipalo
26.11.2011 10:43, Martin Paljak kirjoitti: Hello, It can be compiled with OpenCT support, exclusively. But that's a corner case, I believe 95%+ of people have pcsc-lite/CCID compatible hardware. Key is to build pcsc-lite with support for openct. I guess you mean the opposite: build openct

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Niclas Hoyer
Hi Hannu, I just read the instructions at http://blog.deepreflect.net/2011/01/23/omikey-cardman-4040-linux-fc14/ and tried downloading the latest driver from http://www.hidglobal.com. Unfortunately, it seems that the tar file, that HID uploaded is not correct: $ tar xvf

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Martin Paljak
On Nov 26, 2011, at 3:01 , Niclas Hoyer wrote: Unfortunately, it seems that the tar file, that HID uploaded is not correct: $ tar xvf ifdok_cm4040_lnx_x64-2.0.0.tar.gz .gz requires z: tar xzvf ifdok_cm4040_lnx_x64-2.0.0.tar.gz -- @MartinPaljak.net +3725156495

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Niclas Hoyer
On 26.11.2011 15:17, Hannu Kotipalo wrote: 26.11.2011 15:01, Niclas Hoyer kirjoitti: Hi Hannu, I just read the instructions at http://blog.deepreflect.net/2011/01/23/omikey-cardman-4040-linux-fc14/ and tried downloading the latest driver from http://www.hidglobal.com. Unfortunately, it

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Hannu Kotipalo
26.11.2011 16:34, Niclas Hoyer kirjoitti: Silly me :-) Thanks for your suggestions, but the error still remains: $ tar -xzf ifdok_cm4040_lnx_x64-2.0.0.tar.gz tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Hannu Kotipalo
26.11.2011 12:04, Hannu Kotipalo kirjoitti: I fully agree. I'm using CardMan 4040 with pcsclite. Personally, I got pissed off with fighting with openct. pcsclite works much better. I also have a couple of usb readers, but the CardMan is very handy with my laptop (I got it free from my friend,

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Peter Stuge
Martin Paljak wrote: Key is to build pcsc-lite with support for openct. I guess you mean the opposite: build openct with pcsc-lite support. Yes, that's right. Sorry for the confusion. It would be nice if some OpenCT user would: - remove CCID support from OpenCT default build - make the

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Peter Stuge
Niclas Hoyer wrote: thanks for your help. I just copied your entries in /etc/reader.conf and it worked! Unfortunately, it just worked once really well. OpenCT crashed somehow and now just responses with ct_card_lock: err=-7 I haven't seen this on my system, but OK, let's solve that problem.

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Peter Stuge
Niclas Hoyer wrote: Unfortunately, it seems that the tar file, that HID uploaded is not correct: $ tar xvf ifdok_cm4040_lnx_x64-2.0.0.tar.gz tar: This does not look like a tar archive Their web server is configured to automatically gzip compress file names which end with .gz, so you get a tar

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Hannu Kotipalo
26.11.2011 19:01, Peter Stuge kirjoitti: Hannu Kotipalo wrote: Personally, I got pissed off with fighting with openct. pcsclite works much better. This is simply not true. As I already explained, OpenCT works perfectly, and it offers the rather significant advantage that hmm.. when I

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Niclas Hoyer
On 26.11.2011 18:06, Peter Stuge wrote: Um, ok, please let me know if I should spend time helping you to get the cm4040 working? Thanks for your help. I think I got it working now. I reinstalled openct and double checked /etc/reader.conf.d/reader.conf $ cat /etc/reader.conf.d/reader.conf

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Peter Stuge
Niclas Hoyer wrote: Um, ok, please let me know if I should spend time helping you to get the cm4040 working? Thanks for your help. I think I got it working now. I reinstalled openct and double checked /etc/reader.conf.d/reader.conf $ cat /etc/reader.conf.d/reader.conf FRIENDLYNAME

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Peter Stuge
Niclas Hoyer wrote: I have set up OpenCT and cm4040 on a up to date full x64 ArchLinux system. The only thing I had to do, after I installed openct from AUR and pcsclite from the repositories was to first comment out #reader cm4040 { #driver = ccid; #device =

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-26 Thread Hannu Kotipalo
26.11.2011 19:50, Peter Stuge kirjoitti: hmm.. when I tried openct some time ago, I couldnot get it to work. I was using ccid redaer with MyEID card on a 64 bit system. MaybeI should give it another try? Well, if you have a working setup which you are happy with then there's also no

[opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-25 Thread Niclas Hoyer
Hi, I'm running a recent ArchLinux on a Thinkpad x60t and installed a CardMan4040 pcmcia card reader. OpenCT works, at least I get an ATR: $ openct-tool list 0 CCID Compatible $ openct-tool atr Detected CCID Compatible Card present, status changed ATR: 3b ff 96 00 ff 81 31 ... But opensc does

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-25 Thread Andreas Jellinghaus
Am Freitag 25 November 2011, 19:39:43 schrieb Niclas Hoyer: Hi, I'm running a recent ArchLinux on a Thinkpad x60t and installed a CardMan4040 pcmcia card reader. OpenCT works, at least I get an ATR: Buy a real card reader, CardMan 4040 never worked right in all these years, as far as I

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-25 Thread Peter Stuge
Andreas Jellinghaus wrote: I'm running a recent ArchLinux on a Thinkpad x60t and installed a CardMan4040 pcmcia card reader. OpenCT works, at least I get an ATR: Buy a real card reader, CardMan 4040 never worked right in all these years, as far as I know. Not so. I'm using one with

Re: [opensc-devel] Problem with CardMan4040 and OpenSC

2011-11-25 Thread Peter Stuge
Niclas Hoyer wrote: $ openct-tool list 0 CCID Compatible $ openct-tool atr Detected CCID Compatible Card present, status changed ATR: 3b ff 96 00 ff 81 31 ... Good stuff. This means kernel driver and OpenCT are all in order. In order to work easily with OpenSC and other software that