omnikey 5321 slow

View: New views
4 Messages — Rating Filter:   Alert me  

omnikey 5321 slow

by raghu . :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 I am using Omnikey cardman 5321 on pcsclite.
When i try to read mifare classic 4k card it takes almost 26 seconds.
where as the same is read in 3 secs if i use windows application provided by Omnikey. Can anybody help me in understanding this difference in speed.

Regards
Raghu

_______________________________________________
Muscle mailing list
Muscle@...
http://lists.drizzle.com/mailman/listinfo/muscle

Re: omnikey 5321 slow

by Sean-139 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What happens if you use pcsc_scan from pcsc-tools? What version of
pcsc-lite are you using, and how is it compiled? The omnikey 5321 needs
some special compile flags for pcsc-lite.

http://ludovic.rousseau.free.fr/softwares/pcsc-tools/

Below is an email I got from omnikey support.
------------------------------------------------------------

Hello,

the latest stable version of pcsc-lite the drivers were tested with
1.4.99, this is also the latest version that uses libusb support by default.

Additionally the drivers were tested on the following distributions
which are using several versions of pcsc-lite:

SuSE 10.2
Debian 4.0
Fedora Core 7


Best Regards,
Support
OMNIKEY
EMail: support@...
Web: www.omnikey.com





                        *Sean
                        *

                        25.06.2009 21:37

       

An
       
support@...

Kopie
       

Thema
       
Re: Antwort: Support Request

       


Thanks for the answers.
What I really wanted to ask is: What versions of pcsc-lite has the
ifdokrfid_lnx-2.6.0.tar.gz driver been tested with? I'm looking for the
most stable situation. If the answer is not immediately available, could
you ask the driver developers?

Sean

support@... wrote:
 >
 > Hello,
 >
 > the drivers should work with all versions > 1.3.2, depending on the
 > version you are using it could be that it will be necessary to disable
 > libhal support because the OMNIKEY drivers for CardMan 5321 still need
 > libusb.
 >
 > To do this you will need to uninstall the version of pcscd, shipped
 > with your distribution, including the libpcslite package (which could
 > be an extra package)
 >
 > download the sources of the version you prefer and run configure with
 > the following parameters:
 >
 > ./configure --disable-libhal --enable-libusb
 > --enable-usbdropdir=/usr/lib/pcsc/drivers/
 > --enable-ipcdir=/var/run/pcscd/ --prefix=/usr/
 > --enable-runpid=/var/run/pcscd/pcscd.pid
 >
 > afterwards install the drivers with the following command
 >
 > ./install -d /usr/lib/pcsc/drivers
 >
 > or specify another dropdir with the '-d' parameter (this is the one
 > specified in the command above, this can also be changed by yourself)
 >
 >
 >
 > Best Regards,
 > Support
 > OMNIKEY
 > EMail: support@...
 > Web: www.omnikey.com
 >
 >
 >
 > Inactive hide details for support@...@omnikey.com
 >
 >
 >                         *support@...*
 >
 >                         25.06.2009 10:56
 >                         Bitte antworten an
 >                         slazar@...
 >
 >
 >
 > An
 >
 > support@...
 >
 > Kopie
 >
 >
 > Thema
 >
 > Support Request
 >
 >
 >
 >
 > question: I am using the omnikey cardman 5321 on debian linux. Which
 > version of pcsc-lite is known to be most compatible?
 >
 >
 >
 > Thanks,
 >
 > Sean
 >
 >
 >
 >

raghu . wrote:

> Hi,
>  I am using Omnikey cardman 5321 on pcsclite.
> When i try to read mifare classic 4k card it takes almost 26 seconds.
> where as the same is read in 3 secs if i use windows application
> provided by Omnikey. Can anybody help me in understanding this
> difference in speed.
>
> Regards
> Raghu
> ------------------------------------------------------------------------
>
> _______________________________________________
> Muscle mailing list
> Muscle@...
> http://lists.drizzle.com/mailman/listinfo/muscle
>  
_______________________________________________
Muscle mailing list
Muscle@...
http://lists.drizzle.com/mailman/listinfo/muscle

Re: omnikey 5321 slow

by Ludovic Rousseau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/26 Sean <knife@...>:
> What happens if you use pcsc_scan from pcsc-tools? What version of pcsc-lite
> are you using, and how is it compiled? The omnikey 5321 needs some special
> compile flags for pcsc-lite.

Recompiling pcsc-lite should not be needed since version 1.5.4 of pcsc-lite:
- if RFAddReader() fails with the libhal scheme then we try with the
  (old) libusb scheme.  This patch should allow proprietary drivers to
  work even if pcsc-lite is compiled with libhal support.

>From http://pcsclite.alioth.debian.org/shouldwork.html#0x076B0x5321 I see:
"The RFID interface is not supported."
You should be happy to even read your mifare card. This is not
supposed to work at all on this reader.

Bye

--
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Muscle@...
http://lists.drizzle.com/mailman/listinfo/muscle

Parent Message unknown Re: omnikey 5321 slow

by raghu . :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using pcsc lite 1.5.5 along with suggested options (--enable-libusb, --disable-libhal etc). Also using ifdokrfid_lnx-2.6.0.tar.gz.
What is happening is the to read the first 32 sectors (4 blocks each sector) of the Mifare card it is taking 10 secs and remaining 8 sectors (16 blocks each) its is taking 13 seconds. where as windows tool (with direct API) takes only 3 secs to read the whole card (all the 40 sectors).

Following is the pcsc-scan dump
PC/SC device scanner
V 1.4.14 (c) 2001-2008, Ludovic Rousseau <ludovic.rousseau@...>
Compiled with PC/SC lite version: 1.5.5
Scanning present readers
0: OMNIKEY CardMan 5x21 00 00
1: OMNIKEY CardMan 5x21 00 01

Tue Oct 27 17:18:11 2009
 Reader 0: OMNIKEY CardMan 5x21 00 00
  Card state: Card removed, 

Tue Oct 27 17:18:11 2009
 Reader 1: OMNIKEY CardMan 5x21 00 01
  Card state: Card inserted, 
  ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 02 00 00 00 00 69

Can't locate Chipcard/PCSC/Card.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/bin/ATR_analysis line 47.
BEGIN failed--compilation aborted at /usr/local/bin/ATR_analysis line 47.
ATR_analysis '3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 02 00 00 00 00 69': Success


 Regards
Raghu

_______________________________________________
Muscle mailing list
Muscle@...
http://lists.drizzle.com/mailman/listinfo/muscle