sidsatx102 / javaemvreader

Automatically exported from code.google.com/p/javaemvreader
Apache License 2.0
0 stars 0 forks source link

Chip and RFID cards default to RFID #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a dual interface(contact + contactless) smart card reader
2. Insert smart card (contact)

What is the expected output? What do you see instead?
I expect javaemvreader to read from the chip instead of RFID. However, it will 
always choose RFID if available.

What version of the product are you using? On what operating system?
Tested on Windows and Linux using an Omnikey 5321 v2 dual interface

Perhaps sleeping will solve the issue? RFID initializes faster than chip most 
of the time. Or if(chip && rfid) readfrom(chip)?

Original issue reported on code.google.com by booger...@gmail.com on 9 Jul 2014 at 8:51

GoogleCodeExporter commented 9 years ago
I have fixed it here. http://pastebin.com/ZzQea5wQ

Original comment by booger...@gmail.com on 10 Jul 2014 at 3:28

GoogleCodeExporter commented 9 years ago
This is reader specific. Possible workarounds is to implement suggested patch 
(for 5321), use a different reader, or disable the RFID interface in device 
manager.

Original comment by sasc...@gmail.com on 29 Dec 2014 at 10:51