Libchipcard3-2.9.4beta / SCR3310

Alex Behringer <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hallo,

nachdem laut Martin die neueste Version von libchipcard3 auch mit dem
Lesegeräte von SCM, dem SCR3310, perfekt zusammenarbeiten soll, habe
ich das heute mal getestet.

Verwendete Versionen:
- libchipcard3-2.9.4beta
- ccid-1.1.0
- pcsc-lite-1.3.2

Nachdem ich die /usr/share/chipcard3/server/drivers/ccid_ifd.xml wieder
angepasst habe (Pfade und Dateiname der Bibliothek) startete ich den
Server, welche den Reader auch prompt erkannte:
5:2006/10/10 12-18-04:chipcardd(3808):chipcardd.c:  772: Chipcardd v2.9.4.0beta started.
5:2006/10/10 12-18-04:chipcardd(3808):chipcardd.c:  774: LibUSB supported.
5:2006/10/10 12-18-04:chipcardd(3808):chipcardd.c:  777: LibSYSFS supported.
4:2006/10/10 12-18-04:chipcardd(3809):servicemanager.c:   85: Your configuration does not have a "ServiceManager" group. Please update the file.
5:2006/10/10 12-18-04:chipcardd(3809):devicemanager.c: 3332: Changes in hardware list
5:2006/10/10 12-18-04:chipcardd(3809):devicemanager.c: 3179: AUTOCONFIG: Created new reader "auto1-ccid_scm_3310" (UsbRaw/04e6/5116)
5:2006/10/10 12-18-05:chipcardd(3809):devicemanager.c: 3215: Assigned device path "usb:04e6/5116:libusb:003:003" to reader "auto1-ccid_scm_3310"

# chipcard3-tool list
Server: 452b73da
  Readers:
  - auto1-ccid_scm_3310 (ccid_scm_3310, port 0)

# chipcard3-tool check
  Readers:
  - auto1-ccid_scm_3310 (ccid_scm_3310, port 0): error
Event log:
12:21:00 Reader listing
12:21:03 Reader started
12:21:04 Reader error (Unknow error code)

Der Server spricht beim `check` folgendes:
5:2006/10/10 12-20-09:chipcardd(3809):clr_clientready.c:  104: Client "452b735e" started (chipcard3-tool, Gwen 2.4.1-stable-r0, ChipCard 2.9.4.0beta)
5:2006/10/10 12-20-09:chipcardd(3809):clr_notification.c:  540: Client 452b735e: SetNotify [chipcard3-tool/nobody]
5:2006/10/10 12-20-09:chipcardd(3809):cs_callbacks.c:   33: One of my connections is down. Don't worry just yet, this might be ok...
5:2006/10/10 12-20-09:chipcardd(3809):clientmanager.c:  346: Removing client 452b735e [chipcard3-tool/nobody]
5:2006/10/10 12-21-00:chipcardd(3809):clr_clientready.c:  104: Client "452b7363" started (chipcard3-tool, Gwen 2.4.1-stable-r0, ChipCard 2.9.4.0beta)
5:2006/10/10 12-21-00:chipcardd(3809):clr_notification.c:  540: Client 452b7363: SetNotify [chipcard3-tool/nobody]
5:2006/10/10 12-21-00:chipcardd(3809):clr_startwait.c:   70: Client 452b7363: StartWait [chipcard3-tool/nobody]
5:2006/10/10 12-21-02:chipcardd(3809):devicemanager.c: 2069: Driver "452b735d" (ccid_ifd) is up (Library loaded)
3:2006/10/10 12-21-04:chipcardd(3809):devicemanager.c: 1442: Driver reported error 1 on startup of reader "auto1-ccid_scm_3310": Unknow error code
5:2006/10/10 12-21-04:chipcardd(3809):cs_callbacks.c:   33: One of my connections is down. Don't worry just yet, this might be ok...
5:2006/10/10 12-21-04:chipcardd(3809):clientmanager.c:  346: Removing client 452b7363 [chipcard3-tool/nobody]
5:2006/10/10 12-21-35:chipcardd(3809):devicemanager.c: 1229: Driver "ccid_ifd" is too long idle, stopping it
5:2006/10/10 12-21-36:chipcardd(3809):cs_callbacks.c:   33: One of my connections is down. Don't worry just yet, this might be ok...
5:2006/10/10 12-21-36:chipcardd(3809):devicemanager.c: 1849: Connection of driver "ccid_ifd" (452b735d) just went down
4:2006/10/10 12-21-36:chipcardd(3809):devicemanager.c: 1022: Driver terminated normally


# cat driver.log
5:2006/10/10 12-21-02:driver(4006):driver.c:  348: Starting driver "/usr/lib/chipcard3/server/drivers/ifd" with lowlevel "/usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so.1.1.0"
5:2006/10/10 12-21-02:driver(4006):driverifd.c:  188: Detected IFD version 3
5:2006/10/10 12-21-02:driver(4006):d_ipc.c:  223: Connected to server
5:2006/10/10 12-21-03:driver(4006):d_handle.c:   26: Incoming request "Driver_StartReader"
5:2006/10/10 12-21-03:driver(4006):d_startreader.c:   36: Command: Start reader
3:2006/10/10 12-21-03:driver(4006):d_startreader.c:  154: No DriversReaderId
5:2006/10/10 12-21-03:driver(4006):d_startreader.c:  201: Reader "auto1-ccid_scm_3310" logs to "/usr/var/log/chipcard3/drivers/ccid_ifd/auto1-ccid_scm_3310.log"
5:2006/10/10 12-21-03:driver(4006):driverifd.c:  824: Creating channel 0/usb:04e6/5116:libusb:003:003
5:2006/10/10 12-21-03:driver(4006):driverifd.c: 1046: Detected Generic CCID driver (1.1.0)
3:2006/10/10 12-21-03:driver(4006):driverifd.c:  932: PCSC: ccid_usb.c:389:OpenUSBByName() Can't claim interface 003/003: Device or resource busy
3:2006/10/10 12-21-03:driver(4006):driverifd.c:  932: PCSC: ifdhandler.c:95:IFDHCreateChannelByName() failed
3:2006/10/10 12-21-03:driver(4006):driverifd.c:  932: PCSC: ccid_usb.c:389:OpenUSBByName() Can't claim interface 003/003: Device or resource busy
3:2006/10/10 12-21-03:driver(4006):driverifd.c:  932: PCSC: ifdhandler.c:190:IFDHCreateChannel() failed
3:2006/10/10 12-21-03:driver(4006):driverifd.c:  932: PCSC: ccid_usb.c:389:OpenUSBByName() Can't claim interface 003/003: Device or resource busy
3:2006/10/10 12-21-03:driver(4006):driverifd.c:  932: PCSC: ifdhandler.c:190:IFDHCreateChannel() failed
3:2006/10/10 12-21-04:driver(4006):driverifd.c:  932: PCSC: ccid_usb.c:389:OpenUSBByName() Can't claim interface 003/003: Device or resource busy
3:2006/10/10 12-21-04:driver(4006):driverifd.c:  932: PCSC: ifdhandler.c:190:IFDHCreateChannel() failed
5:2006/10/10 12-21-35:driver(4006):d_handle.c:   26: Incoming request "Driver_StopDriver"
3:2006/10/10 12-21-35:driver(4006):driverifd.c:  932: PCSC: utils.c:65:LunToReaderIndex() Lun: 0 not found
5:2006/10/10 12-21-35:driver(4006):driverifd.c:  891: Closing channel 0
3:2006/10/10 12-21-35:driver(4006):driverifd.c:  932: PCSC: utils.c:65:LunToReaderIndex() Lun: 0 not found
5:2006/10/10 12-21-35:driver(4006):d_stopdriver.c:   50: Driver down
5:2006/10/10 12-21-35:driver(4006):main.c:   52: Stopping driver "/usr/lib/chipcard3/server/drivers/ifd"

# cat auto1-ccid_scm_3310.log
5:2006/10/10 12-21-03:auto1-ccid_scm_3310(4006):d_startreader.c:  220: Init reader auto1-ccid_scm_3310
3:2006/10/10 12-21-04:auto1-ccid_scm_3310(4006):driverifd.c:  855: CCID error on createChannel 0/0: 612
3:2006/10/10 12-21-04:auto1-ccid_scm_3310(4006):driverifd.c:  862: Could not connect any slot
3:2006/10/10 12-21-04:auto1-ccid_scm_3310(4006):d_startreader.c:  227: Could not connect reader auto1-ccid_scm_3310 (11: Unknow error code)
5:2006/10/10 12-21-04:auto1-ccid_scm_3310(4006):d_startreader.c:  265: Reader start handled
5:2006/10/10 12-21-35:auto1-ccid_scm_3310(4006):driverifd.c:  587: CCID: Soft error 612
3:2006/10/10 12-21-35:auto1-ccid_scm_3310(4006):driverifd.c:  896: Error closing channel 0 (612)

Ich hoffe jemand hat eine Idee, denn langsam wird die Sache 
demotivierend. Vielen Dank schonmal!

Viele Grüße,
Alex

-- 
GPG-Key-ID: 0x57D845D1 (Antwort bitte als PGP/Mime)
Jabber: [email protected]
Website: http://www.alex-behringer.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel
signature.asc (application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFK3nhTgQ9c1fYRdERAoGcAJ9PInJ6IH04BM4VpBzlgty6geCdVwCfU9Os
qCCLs02pcde8FdV3P8axOa0=
=SKZf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.