I'm trying to use my new Activcard usb 2.0 reader.  I added an entry to
/etc/openct.conf for it, under the ccid section, "usb:09c3/0008," (I got
this from lsusb).  But apparently I need something in openct.usermap, and I
can't find anything that describes the format of this file, either in the
openct wiki, the hotplug documentation, or from google.  I tried just making
an entry with the proper vendor and product ids but don't know what to put
in for the other fields.

This is on ubuntu, with openct installed from apt (installing from source
didn't work for me).  Can anyone help?  I will happily report back the
config file changes that work.

The "Troubleshooting and debugging" wiiki page has been very helpful, and
even says to edit /etc/hotplug/usb/openct.usermap, but not what to put in
there.

Gory details:

Linux cadillac 2.6.15.2-CITI_NFS4_ALL-1 #2 PREEMPT Thu Feb 2 17:20:31 EST 2006 
i686 GNU/Linux
Package: openct 0.6.5-1
Package: opensc 0.9.6-1

# lsusb
Bus 001 Device 005: ID 09c3:0008 ActivCard, Inc. SmartCard Reader
Bus 001 Device 004: ID 0d3d:0023 Tangtop Technology Co., Ltd 
Bus 001 Device 003: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 
"TetraHub"
Bus 001 Device 001: ID 0000:0000  
# cat /proc/sys/kernel/hotplug
/sbin/udevsend
# openct-tool list
# openct-control attach /proc/bus/usb/001/005 usb:9c3/8/202
No driver for this device
# opensc-tool --list-readers
Readers known about:
Nr.    Driver     Name
0      openct     OpenCT reader (detached)
1      openct     OpenCT reader (detached)
2      openct     OpenCT reader (detached)
3      openct     OpenCT reader (detached)
4      openct     OpenCT reader (detached)

/root/testplug: usb
declare -x ACTION="add"
declare -x DEVPATH="/devices/pci0000:00/0000:00:07.2/usb1/1-1"
declare -x HOME="/"
declare -x OLDPWD
declare -x PATH="/sbin:/bin:/usr/sbin:/usr/bin"
declare -x PHYSDEVBUS="usb"
declare -x PHYSDEVDRIVER="usb"
declare -x PWD="/"
declare -x SEQNUM="948"
declare -x SHLVL="1"
declare -x SUBSYSTEM="usb"

/root/testplug: usb
declare -x ACTION="add"
declare -x DEVICE="/proc/bus/usb/001/005"
declare -x DEVPATH="/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0"
declare -x HOME="/"
declare -x INTERFACE="11/1/1"
declare -x MODALIAS="usb:v09C3p0008d0202dc00dsc00dp00ic0Bisc01ip01"
declare -x OLDPWD
declare -x PATH="/sbin:/bin:/usr/sbin:/usr/bin"
declare -x PHYSDEVBUS="usb"
declare -x PRODUCT="9c3/8/202"
declare -x PWD="/"
declare -x SEQNUM="949"
declare -x SHLVL="1"
declare -x SUBSYSTEM="usb"
declare -x TYPE="0/0/0"
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to