Simpler udev rules for SCM USB and Cardman 4040 smartcard readers
lfittl
|
Dienstag, 22.August 2006
|
At the moment I am trying to get the necessary udev rules (originally written by various people here) for the SCM USB and the Cardman 4040 PCMCIA card readers integrated into Ubuntu. Which means, if the patch gets accepted, at least the USB card readers will work out-of-the-box with Ubuntu 6.10. The cm4040 needs a patch for gnupg, and this one won't get accepted as it rewrites the whole ccid code of gnupg, therefore you will have to use the gnupg2 package.
To get all this done I need your help, as I simplified the cm4040 rules, and also used the simpler rules for the SCM USB readers by Andrea Borgia. To make sure it works, testers are needed.
Please copy the following into /etc/udev/rules.d/45-gnupg-ccid.rules (assuming you are using Ubuntu), and reply back with your results and the card reader you used. Make sure you have removed the old rules before testing.
ACTION!="add", GOTO="gnupg-ccid_rules_end"
SUBSYSTEM=="cardman_4040", GROUP="scard", MODE="0660"
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="04e6", SYSFS{idProduct}=="e003", GROUP="scard", MODE="0660"
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="04e6", SYSFS{idProduct}=="5115", GROUP="scard", MODE="0660"
LABEL="gnupg-ccid_rules_end"
Any feedback is welcome, also it would be great if people with other readers could provide their udev rules :)
This document is in public domain