Package: libchipcard-tools
Version: 4.2.8-1
Severity: normal
File: /etc/udev/rules.d/z60_libchipcard-tools.rules


The udev rule for the Omnikey Cardman 4000 (PCMCIA card reader) does not seem to match, preventing libchipcard from recognizing and using it:

sascha.si...@caravan:~$ ls -l /dev/cmm0 crw-rw---- 1 root root 250, 0 2009-07-17 18:56 /dev/cmm0
sascha.si...@caravan:~$ grep -r cmm /etc/udev/
/etc/udev/rules.d/z60_libchipcard-tools.rules:KERNEL=="cmm0", SUBSYSTEM=="cardman_4000", GROUP="chipcard", RUN+="/usr/lib/chipcard/trigger_chipcardreader_scan.sh"


By manually invoking the actions specified by the rule I can get the reader to work (using the manufacturer-supplied binary userspace driver):

sascha.si...@caravan:~$ sudo chgrp chipcard /dev/cmm0 sascha.si...@caravan:~$ sudo /usr/lib/chipcard/trigger_chipcardreader_scan.sh
sascha.si...@caravan:~$ chipcard-tool atr
Waiting for card to be inserted: Started.
Waiting for card to be inserted: 5000 of 30000
Waiting for card to be inserted: 10000 of 30000
Waiting for card to be inserted: Finished.
INFO: We got this card:
   Card
===========================================================================
   Card id       : 00000001
   Card type     : PROCESSOR
   Driver type   : cm_4000_ifd
   Reader type   : omnikey_cm4000
   Card types    : ddv1 geldkarte ProcessorCard
   Reader flags  : auto
   ATR
---------------------------------------------------------------------------
     String size is 25:
0000: 3b ff 18 00 ff 81 31 fe 45 65 63 11 08 43 02 50 ;.....1.Eec..C.P
     0010: 00 10 49 10 01 08 05 30 68                      ..I....0h
===========================================================================



-- Package-specific info:
Available chipcard readers (output of "chipcard-tool list"):
   Readers:
   - auto2-omnikey_cm4000 (omnikey_cm4000, port 0)

-- System Information:
Debian Release: squeeze/sid
   APT prefers testing
   APT policy: (600, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libchipcard-tools depends on:
ii adduser 3.110 add and remove users and groups ii libc6 2.9-12 GNU C Library: Shared libraries ii libchipcard- 4.2.8-1 configuration files for libchipcar ii libchipcardc 4.2.8-1 library for accessing smartcards ii libdbus-1-3 1.2.14-3 simple interprocess messaging syst
ii  libgcc1      1:4.4.0-5                   GCC support library
ii  libgwenhywfa 3.9.0-1                     OS abstraction layer
ii libhal1 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share ii libpcsclite1 1.5.4-1 Middleware to access a smart card ii libstdc++6 4.4.0-5 The GNU Standard C++ Library v3
ii  procps       1:3.2.8-1                   /proc file system utilities
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages libchipcard-tools recommends:
ii  hal          0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer

Versions of packages libchipcard-tools suggests:
pn  libccid                       <none>     (no description available)
pn  libtowitoko2                  <none>     (no description available)

-- no debconf information

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to