Re: Support for Lenovo Integrated Smart Card Reader
Joachim Breitner <[email protected]> Thu, 22 Jan 2009 22:24:30 +0000
| Newsgroups | gmane.comp.lib.libchipcard.devel |
|---|---|
| Message-ID | <1232663070.5732.54.camel@localhost> |
Hi,
Am Donnerstag, den 22.01.2009, 18:08 +0100 schrieb Martin Preuss:
> Hi,
>
> On Donnerstag, 22. Januar 2009, Joachim Breitner wrote:
> [...]
> > The mail from Thu, 22 Jan 2009 15:20:35 +0100 contains the logs. I can
> > open the card, but I can not use geldkarte to read it (nor use
> > qbankmanager to do online banking).
> [...]
>
> Ok, in this case I need a different log: Please set the ENV
> variable "LC_LOGLEVEL=info" (or "debug" for that matter) and try
> again "geldkarte loaded".
>
> The console should show much more info which might help solve the problem.
Here is what geldkarte says:
$ LC_LOGLEVEL=debug geldkarte -v -v -v -v loaded
Connecting to server.
Connected.
Waiting for card...
Found a card.
Opening card.
3:2009/01/22 23-20-51:geldkarte3(1396):clientlcc_cmd.c: 483: Command error -100 (Unknow error code)
3:2009/01/22 23-20-51:geldkarte3(1396):clientlcc_cmd.c: 532: Error response for request "commandCard"
ERROR: Error executing command CardOpen (3).
3:2009/01/22 23-20-51:geldkarte3(1396):client.c: 361: Still 1 cards in use at LC_Client_free!
and here is what chipcardd says during that:
String size is 167:
0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 31 ipc {.char id="1
0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 43 6c 69 65 ".char cmd="Clie
0020: 6e 74 5f 52 65 61 64 79 22 0a 7d 0a 64 61 74 61 nt_Ready".}.data
0030: 20 7b 0a 63 68 61 72 20 41 70 70 6c 69 63 61 74 {.char Applicat
0040: 69 6f 6e 3d 22 67 65 6c 64 6b 61 72 74 65 22 0a ion="geldkarte".
0050: 63 68 61 72 20 47 77 65 6e 56 65 72 73 69 6f 6e char GwenVersion
0060: 3d 22 33 2e 36 2e 30 73 74 61 62 6c 65 2d 30 22 ="3.6.0stable-0"
0070: 0a 63 68 61 72 20 43 68 69 70 63 61 72 64 56 65 .char ChipcardVe
0080: 72 73 69 6f 6e 3d 22 34 2e 32 2e 34 2e 30 73 74 rsion="4.2.4.0st
0090: 61 62 6c 65 22 0a 63 68 61 72 20 53 79 73 74 65 able".char Syste
00a0: 6d 3d 22 22 0a 7d 0a m="".}.
7:2009/01/22 23-20-51:chipcardd(1338):devicemanager.c: 1927: Command "Client_Ready" not handled by device manager
5:2009/01/22 23-20-51:chipcardd(1338):clr_clientready.c: 105: Client "4978f025" started (geldkarte, Gwen 3.6.0stable-0, ChipCard 4.2.4.0stable)
7:2009/01/22 23-20-51:chipcardd(1338):clr_clientready.c: 137: Response sent.
String size is 57:
0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 32 ipc {.char id="2
0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 43 6c 69 65 ".char cmd="Clie
0020: 6e 74 5f 53 74 61 72 74 57 61 69 74 22 0a 7d 0a nt_StartWait".}.
0030: 64 61 74 61 20 7b 0a 7d 0a data {.}.
7:2009/01/22 23-20-51:chipcardd(1338):devicemanager.c: 1927: Command "Client_StartWait" not handled by device manager
5:2009/01/22 23-20-51:chipcardd(1338):clr_startwait.c: 70: Client 4978f025: StartWait [geldkarte/nobody]
5:2009/01/22 23-20-51:chipcardd(1338):clr_startwait.c: 136: Advertising card "00000003" to client "4978f025" [geldkarte/nobody]
5:2009/01/22 23-20-51:chipcardd(1338):cardmanager.c: 377: Keep time counter restarted
5:2009/01/22 23-20-51:chipcardd(1338):cardmanager.c: 392: No longer allowing reader to shut down
7:2009/01/22 23-20-51:chipcardd(1338):cardmanager.c: 311: Card too long unused
7:2009/01/22 23-20-51:chipcardd(1338):cardmanager.c: 311: Card too long unused
7:2009/01/22 23-20-51:chipcardd(1338):cardmanager.c: 311: Card too long unused
7:2009/01/22 23-20-51:chipcardd(1338):cardmanager.c: 311: Card too long unused
String size is 79:
0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 33 ipc {.char id="3
0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 43 6c 69 65 ".char cmd="Clie
0020: 6e 74 5f 54 61 6b 65 43 61 72 64 22 0a 7d 0a 64 nt_TakeCard".}.d
0030: 61 74 61 20 7b 0a 63 68 61 72 20 63 61 72 64 69 ata {.char cardi
0040: 64 3d 22 30 30 30 30 30 30 30 33 22 0a 7d 0a d="00000003".}.
7:2009/01/22 23-20-51:chipcardd(1338):devicemanager.c: 1927: Command "Client_TakeCard" not handled by device manager
5:2009/01/22 23-20-51:chipcardd(1338):clr_takecard.c: 83: Client 4978f025: TakeCard [geldkarte/nobody]
5:2009/01/22 23-20-51:chipcardd(1338):clr_takecard.c: 166: Enqueued TakeCard request for card "00000003" and client "4978f025"
3:2009/01/22 23-20-51:chipcardd(1338):clr_takecard.c: 185: Working on TakeCard request 4978f029
6:2009/01/22 23-20-51:chipcardd(1338):clr_takecard.c: 204: Step 1 (4978f029)
5:2009/01/22 23-20-51:chipcardd(1338):cm_card.c: 183: Lock request granted
6:2009/01/22 23-20-51:chipcardd(1338):clr_takecard.c: 239: Card lock acquired, now locking slot (4978f029)
3:2009/01/22 23-20-51:chipcardd(1338):clr_takecard.c: 185: Working on TakeCard request 4978f029
6:2009/01/22 23-20-51:chipcardd(1338):clr_takecard.c: 275: Step 2 (4978f029)
5:2009/01/22 23-20-51:chipcardd(1338):lockmanager.c: 167: Lock request granted
String size is 122:
0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 34 ipc {.char id="4
0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 43 6c 69 65 ".char cmd="Clie
0020: 6e 74 5f 43 6f 6d 6d 61 6e 64 43 61 72 64 22 0a nt_CommandCard".
0030: 7d 0a 64 61 74 61 20 7b 0a 63 68 61 72 20 63 61 }.data {.char ca
0040: 72 64 69 64 3d 22 30 30 30 30 30 30 30 33 22 0a rdid="00000003".
0050: 62 69 6e 20 20 64 61 74 61 3d 22 30 30 41 34 30 bin data="00A40
0060: 30 30 43 22 0a 63 68 61 72 20 74 61 72 67 65 74 00C".char target
0070: 3d 22 63 61 72 64 22 0a 7d 0a ="card".}.
7:2009/01/22 23-20-51:chipcardd(1338):devicemanager.c: 1927: Command "Client_CommandCard" not handled by device manager
5:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 88: Client 4978f025: ExecApdu [geldkarte/nobody]
7:2009/01/22 23-20-51:chipcardd(1338):lockmanager.c: 284: slot currently locked by "4978efea" (wanted: 4978efea)
5:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 231: Enqueued ExecApdu request for card "00000003" and client "4978f025"
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 332: Working on CardCommand request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 246: Working on ExecApdu request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 332: Working on CardCommand request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 246: Working on ExecApdu request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 332: Working on CardCommand request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 246: Working on ExecApdu request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 332: Working on CardCommand request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 246: Working on ExecApdu request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 332: Working on CardCommand request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 246: Working on ExecApdu request
String size is 188:
0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 35 ipc {.char id="5
0010: 22 0a 63 68 61 72 20 72 65 66 69 64 3d 22 35 22 ".char refid="5"
0020: 0a 63 68 61 72 20 63 6d 64 3d 22 44 72 69 76 65 .char cmd="Drive
0030: 72 5f 43 61 72 64 43 6f 6d 6d 61 6e 64 52 65 73 r_CardCommandRes
0040: 70 6f 6e 73 65 22 0a 7d 0a 64 61 74 61 20 7b 0a ponse".}.data {.
0050: 69 6e 74 20 20 63 6f 64 65 3d 22 2d 31 30 30 22 int code="-100"
0060: 0a 63 68 61 72 20 74 65 78 74 3d 22 55 6e 6b 6e .char text="Unkn
0070: 6f 77 20 65 72 72 6f 72 20 63 6f 64 65 22 0a 63 ow error code".c
0080: 68 61 72 20 72 65 61 64 65 72 49 64 3d 22 34 39 har readerId="49
0090: 37 38 65 66 64 31 22 0a 69 6e 74 20 20 73 6c 6f 78efd1".int slo
00a0: 74 6e 75 6d 3d 22 30 22 0a 69 6e 74 20 20 63 61 tnum="0".int ca
00b0: 72 64 6e 75 6d 3d 22 31 22 0a 7d 0a rdnum="1".}.
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 332: Working on CardCommand request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 246: Working on ExecApdu request
7:2009/01/22 23-20-51:chipcardd(1338):clr_execapdu.c: 272: Sending response to CommandCard
5:2009/01/22 23-20-51:chipcardd(1338):clientmanager.c: 490: Resetting card "00000003"
5:2009/01/22 23-20-51:chipcardd(1338):cm_card.c: 280: Unlocking card from client 4978f025
6:2009/01/22 23-20-51:chipcardd(1338):clientmanager.c: 326: Card "00000003" unlocked from client
5:2009/01/22 23-20-51:chipcardd(1338):lockmanager.c: 222: Removing lock of client "4978f025" on slot
5:2009/01/22 23-20-51:chipcardd(1338):clientmanager.c: 398: Removing client 4978f025 [geldkarte/nobody]
7:2009/01/22 23-21-11:chipcardd(1338):cardmanager.c: 311: Card too long unused
6:2009/01/22 23-21-11:chipcardd(1338):cardmanager.c: 316: Keep time exceeded
7:2009/01/22 23-21-11:chipcardd(1338):cardmanager.c: 318: Allowing reader to shut down
I hope this helps some more.
I’m running on amd64, if that makes a difference...
Thanks,
Joachim
--
Joachim "nomeata" Breitner
mail: [email protected] | ICQ# 74513189 | GPG-Key: 4743206C
JID: [email protected] | http://www.joachim-breitner.de/
Debian Developer: [email protected]
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkl48h4ACgkQ9ijrk0dDIGwuCwCgztAYxE7GVCVDgV+g3qT+hFwe z5AAniQZuqBWOgiuGv/J2SYvGumAa9nQ =5xwF -----END PGP SIGNATURE-----