OMNIKEY CardMan 5321 reader shown twice

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

OMNIKEY CardMan 5321 reader shown twice

Florent Deybach
Hello,

I am using a OMNIKEY CardMan 5321 contact-less reader on an Ubuntu 14.04 64bits with the following software versions:
- libpcsclite and pcscd 1.8.10
- libccid 1.4.20

I have only one reader connected as shown by lsusb:

root@host:~/# lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 022: ID 076b:5321 OmniKey AG
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When I use opensc to list the readers:

root@host:~/# opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    No              OMNIKEY CardMan (076B:5321) 5321 00 00
1    Yes              OMNIKEY CardMan (076B:5321) 5321 00 01

I am using the Omnikey/HID driver from http://www.hidglobal.com/drivers?field_brand_tid=24&product_id=All&os=All

When I read a card, the reader 1 is used.

Anyone has an idea why the reader appears twice?
FYI I don't have the reader in the default /etc/libccid_Info.plist file.
The driver adds another plist file in /usr/lib/pcsc/drivers/.

Below the output of pcscd:

Thanks in advance!

root@host:~/F# pcscd-bin -f -a -d
00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000078 configfile.l:254:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000012 configfile.l:266:DBGetReaderListDir() Skipping non regular file: ..
00000002 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .
00000003 configfile.l:307:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000031 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready.
00000601 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000041 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000039 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52F, path: /dev/bus/usb/001/006
00000036 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52F, path: /dev/bus/usb/001/006
00000035 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000037 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0409, PID: 0x005A, path: /dev/bus/usb/001/020
00000039 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0898, PID: 0x0047, path: /dev/bus/usb/001/021
00000035 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0409, PID: 0x005A, path: /dev/bus/usb/001/020
00000039 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x076B, PID: 0x5321, path: /dev/bus/usb/001/022
00000010 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x076B, PID: 0x5321, path: /dev/bus/usb/001/022
00000003 hotplug_libudev.c:321:HPAddDevice() Adding USB device: OMNIKEY CardMan (076B:5321) 5321
00000014 readerfactory.c:989:RFInitializeReader() Attempting startup of OMNIKEY CardMan (076B:5321) 5321 00 00 using /usr/lib/pcsc/drivers/ifdokccid_linux_x86_64-v4.1.7.bundle/Contents/Linux/ifdokccid.so
00000114 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
HID HID Global OMNIKEY CCID driver x86_64 v4.1.7 [hidden email]
00275681 readerfactory.c:332:RFAddReader() Using the reader polling thread
00000478 readerfactory.c:989:RFInitializeReader() Attempting startup of OMNIKEY CardMan (076B:5321) 5321 00 01 using /usr/lib/pcsc/drivers/ifdokccid_linux_x86_64-v4.1.7.bundle/Contents/Linux/ifdokccid.so
00000009 readerfactory.c:788:RFLoadReader() Reusing already loaded driver for /usr/lib/pcsc/drivers/ifdokccid_linux_x86_64-v4.1.7.bundle/Contents/Linux/ifdokccid.so
00000012 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0
HID HID Global OMNIKEY CCID driver x86_64 v4.1.7 [hidden email]
00352603 readerfactory.c:498:RFAddReader() Using the reader polling thread
00556940 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0409, PID: 0x005A, path: /dev/bus/usb/001/020
00000067 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000049 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x079B, PID: 0x0024, path: /dev/bus/usb/001/016
00000045 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x079B, PID: 0x0024, path: /dev/bus/usb/001/016
00000046 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000047 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x0951, PID: 0x1642, path: /dev/bus/usb/001/027
00000071 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/002/001
00000086 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
00000055 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
00000049 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8008, path: /dev/bus/usb/003/002
00000066 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/004/001
00000043 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/004/001
00000048 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/004/002


_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: OMNIKEY CardMan 5321 reader shown twice

Ludovic Rousseau
015-08-18 15:02 GMT+02:00 Florent <[hidden email]>:

> Hello,
>
> I am using a OMNIKEY CardMan 5321 contact-less reader on an Ubuntu 14.04
> 64bits with the following software versions:
> - libpcsclite and pcscd 1.8.10
> - libccid 1.4.20
>
> I have only one reader connected as shown by lsusb:
>
> root@host:~/# lsusb
> Bus 004 Device 002: ID 8087:8000 Intel Corp.
> Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 002: ID 8087:8008 Intel Corp.
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 022: ID 076b:5321 OmniKey AG
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> When I use opensc to list the readers:
>
> root@host:~/# opensc-tool -l
> # Detected readers (pcsc)
> Nr.  Card  Features  Name
> 0    No              OMNIKEY CardMan (076B:5321) 5321 00 00
> 1    Yes              OMNIKEY CardMan (076B:5321) 5321 00 01
>
> I am using the Omnikey/HID driver from
> http://www.hidglobal.com/drivers?field_brand_tid=24&product_id=All&os=All
>
> When I read a card, the reader 1 is used.
>
> Anyone has an idea why the reader appears twice?
> FYI I don't have the reader in the default /etc/libccid_Info.plist file.
> The driver adds another plist file in /usr/lib/pcsc/drivers/.

According to https://www.hidglobal.com/products/readers/omnikey/5321
the reader is a dual interface.
You see two PC/SC readers because the reader has 2 interfaces.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: OMNIKEY CardMan 5321 reader shown twice

Florent Deybach
You're absolutely right... I never encountered dual interface readers, I always thought I would see two USB devices and not one through which I would have access to two readers.
For my defense, I only had the USB informations, so the reader name and model were a guess because I simply don't see the reader as it is embedded into a larger non-transparent device (a passport reader).

Thanks for the hint!

Bye

2015-08-18 18:38 GMT+02:00 Ludovic Rousseau <[hidden email]>:
015-08-18 15:02 GMT+02:00 Florent <[hidden email]>:
> Hello,
>
> I am using a OMNIKEY CardMan 5321 contact-less reader on an Ubuntu 14.04
> 64bits with the following software versions:
> - libpcsclite and pcscd 1.8.10
> - libccid 1.4.20
>
> I have only one reader connected as shown by lsusb:
>
> root@host:~/# lsusb
> Bus 004 Device 002: ID 8087:8000 Intel Corp.
> Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 002: ID 8087:8008 Intel Corp.
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 022: ID 076b:5321 OmniKey AG
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> When I use opensc to list the readers:
>
> root@host:~/# opensc-tool -l
> # Detected readers (pcsc)
> Nr.  Card  Features  Name
> 0    No              OMNIKEY CardMan (076B:5321) 5321 00 00
> 1    Yes              OMNIKEY CardMan (076B:5321) 5321 00 01
>
> I am using the Omnikey/HID driver from
> http://www.hidglobal.com/drivers?field_brand_tid=24&product_id=All&os=All
>
> When I read a card, the reader 1 is used.
>
> Anyone has an idea why the reader appears twice?
> FYI I don't have the reader in the default /etc/libccid_Info.plist file.
> The driver adds another plist file in /usr/lib/pcsc/drivers/.

According to https://www.hidglobal.com/products/readers/omnikey/5321
the reader is a dual interface.
You see two PC/SC readers because the reader has 2 interfaces.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle


_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle