[Pcsclite-cvs-commit] r6623 - /trunk/Drivers/ccid/src/92_pcscd_ccid.rules
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue May 7 09:11:26 UTC 2013
Author: rousseau
Date: Tue May 7 09:11:26 2013
New Revision: 6623
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6623
Log:
udev rule file: remove support of Linux kernel < 2.6.35
USB power management is now only working on Linux kernel >= 2.6.35
Older kernels will just not suspend the smart card reader.
Modified:
trunk/Drivers/ccid/src/92_pcscd_ccid.rules
Modified: trunk/Drivers/ccid/src/92_pcscd_ccid.rules
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/92_pcscd_ccid.rules?rev=6623&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/92_pcscd_ccid.rules (original)
+++ trunk/Drivers/ccid/src/92_pcscd_ccid.rules Tue May 7 09:11:26 2013
@@ -1,5 +1,4 @@
-# udev rules to set the access rights of CCID smart card readers
-# so they can be used by pcscd
+# udev rules for CCID devices
# $Id$
@@ -14,9 +13,8 @@
# Kobil mIDentity
ATTRS{idVendor}=="0d46", ATTRS{idProduct}=="4081", RUN+="/usr/sbin/Kobil_mIDentity_switch"
-# set USB power management to auto. "power/level" has been deprecated in
-# Linux 2.6.35 and replaced by "power/control"
-ENV{ID_USB_INTERFACES}==":0b0000:", RUN+="/bin/sh -c 'echo auto > /sys/$devpath/power/level ; echo auto > /sys/$devpath/power/control'"
+# set USB power management to auto.
+ENV{ID_USB_INTERFACES}==":0b0000:", RUN+="/bin/sh -c 'echo auto > /sys/$devpath/power/control'"
# All done
LABEL="pcscd_ccid_rules_end"
More information about the Pcsclite-cvs-commit
mailing list