PC/SC Omnikey Handler is missing the hotplug script

Bug #590128 reported by Lachezar Dobrev
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pcsc-omnikey (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: pcsc-omnikey

The original drivers from the manufacturer's site contain among other things a script that is called from the udev rules file.
Namely the inappropriately named ok_pcscd_hotplug.sh.
According to the driver's installation procedure this file is to be copied into the /lib/udev directory.
The /etc/udev/rules.d/z98_omnikey.rules contains request to run this script upon detecting any of the supported usb readers.
SUBSYSTEM=="usb", ... ACTION=="add", RUN+="ok_pcscd_hotplug.sh"

Without this file the USB reader is not detected when inserted, and a manual reload/restart of the pcscd is required, that requires administrative privileges.

Looking at the script it seems to make some effort to call pcscd --hotplug, that forces detection of the newly inserted reader.

Please either add this file to the package, or rework the rules file to call pcscd --hotplug.

Ubuntu Lucid x64.
pcsc-omnikey version 1:3-2ubuntu1

Revision history for this message
PhobosK (phobosk) wrote :

It also affects Maverick.
I've made a patch to fix this on Maverick and I've put the fixed package in my PPA. (https://launchpad.net/~phobosk/+archive/phobosk-ppa).
I'm not sure if it will work on older Ubuntu versions but one can try the package (https://launchpad.net/~phobosk/+archive/phobosk-ppa/+packages).

tags: added: patch
Revision history for this message
PhobosK (phobosk) wrote :

This bug still exists in Natty!!!?
I've made a patch to fix this on Natty too and I've put the fixed package in my PPA. (https://launchpad.net/~phobosk/+archive/phobosk-ppa).

Please take appropriate actions to add it to main repos... It's a shame it is still not done till now!

Revision history for this message
PhobosK (phobosk) wrote :

BTW the old drivers packed in pcsc-omnikey-3 do not work with the new pcscd implementation.
Debian has dumped the support for this package now, but the general ccid drivers that come with Natty in libccid do not work properly (tested with CardMan 6121) so this package is still needed here.
There are new binary drivers on the HID's site : http://www.hidglobal.com/technology.php?tech_cat=19&subcat_id=10&headerType=1
So i have updated these drivers and created pcsc-omnikey-3.1 source package.
The diff/debs etc of the new pcsc-omnikey version are in my PPA: https://launchpad.net/~phobosk/+archive/phobosk-ppa

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.