I think you have only one card reader connected to your PC.  Correct?

But your windows card registry thinks you have two.

Run regedit and search for 'Calais'.  This is where the list of
installed card readers resides.

Open up the 'readers' list and find the entry for the GCR410 and delete
it.  WARNING - don't do this if you are not comfortable with editing the
registry - you can wreck your windows installation!!!

cheers

win Patterson wrote:
> When I run the demo "GetTerminalInfos.bat" of the OCF, I got the following
> message....
> start use case: get information about registered terminals
> 
> Address:
> Name:    G-Card GDUSBSCR 1
> Type:    PCSC10
> 
> terminal.features ():
> -- listing properties --
> address=
> name=G-Card GDUSBSCR 1
> type=PCSC10
> slots=1
> 
> slot infos:
> there is 1 slot present in this terminal!
> slot channel available: yes
> Slot info:
> slot ID: 0
> CardTerminalException:
> Pcsc10CardTerminal: PCSC Exception in method SCardGetStatusChange: error
> executi
> ng SCardGetStatusChange
> return code = 8010002e
> 
> Address:
> Name:    GEMPLUS GCR410P 0
> Type:    PCSC10
> 
> terminal.features ():
> -- listing properties --
> address=
> name=GEMPLUS GCR410P 0
> type=PCSC10
> slots=1
> 
> slot infos:
> there is 1 slot present in this terminal!
> slot channel available: yes
> Slot info:
> slot ID: 0
> card present: yes
> there are 2 terminals installed!
> 
> finished use case: get information about registered terminals
> ----- Original Message -----
> From: "Eddy Cheung" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 26, 2003 11:47 AM
> Subject: Re: Fw: [OCF] No reader found
> 
> 
> 
> OK. Next, let's try to use OCF with PCSC first.  Since we know PCSC with the
> reader works.  We will get to pure java later.
> 
> Edit your opencard.properties to have something like this:
> 
> ###############################
> # Open Card Service
> ###############################
> OpenCard.services = opencard.opt.util.PassThruCardServiceFactory
> 
> ###############################
> # Open Card Terminal
> ###############################
> OpenCard.terminals =
> com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
> 
> Then, run the demo program that comes with OCF (eg. InsertCard).  If you get
> Unsatisfied link error, then it means you haven't copied the PCSC wrapper to
> where java can find it.
> 
> Let see if this works.  If so, then we will go onto pure java method.
> 
> Cheers,
> Eddy
> 
> win Patterson wrote:
> 
>>well...let me figure it out.
>>I totally stop 2 things,first is SCardSvr service and then is disable the
>>card reader in the hardware manager.
>>I download and install the SmartDiag and used it too.
>>I can get the card's ATR(if I didnt stop any thing!!)
>>my card's ATR is "3B B2 11 00 10 80 00 02"
>>
>>----- Original Message -----
>>From: "Eddy Cheung" <[EMAIL PROTECTED]>
>>To: "win Patterson" <[EMAIL PROTECTED]>
>>Cc: <[EMAIL PROTECTED]>
>>Sent: Wednesday, March 26, 2003 9:26 AM
>>Subject: Re: Fw: [OCF] No reader found
>>
>>
>>Hi,
>>
>>First, Let's establish your card reader is in good working condition.
>>
>>I understand that Brian has previously asked you to disable it in the
> 
> device
> 
>>manager.  The right thing to do for pure Java option.  However, can you
>>enable
>>the device again, and see if you can use SmartDiag to get card's ATR.
>>SmartDiag can be found on Gemlus's web site.
>>
>>Cheers,
>>Eddy
>>
>>win Patterson wrote:
>>
>>
>>>Now when the following code execute, the program stop and wait, don't have
>>>any exception....
>>>opencard.core.service.SmartCard.start();
>>>
>>
>>
>>
>>---
>>
>>
>>>Visit the OpenCard web site at http://www.opencard.org/ for more
>>>information on OpenCard---binaries, source code, documents.
>>>This list is being archived at http://www.opencard.org/archive/opencard/
>>
>>
>>! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
>>! to
>>!                           [EMAIL PROTECTED]
>>! containing the word
>>!                           unsubscribe
>>! in the body.
> 
> 
> 
> 
> 
> ---
> 
>>Visit the OpenCard web site at http://www.opencard.org/ for more
>>information on OpenCard---binaries, source code, documents.
>>This list is being archived at http://www.opencard.org/archive/opencard/
> 
> 
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> !                           [EMAIL PROTECTED]
> ! containing the word
> !                           unsubscribe
> ! in the body.
> 
> 
> ---
> 
>>Visit the OpenCard web site at http://www.opencard.org/ for more
>>information on OpenCard---binaries, source code, documents.
>>This list is being archived at http://www.opencard.org/archive/opencard/
> 
> 
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> !                           [EMAIL PROTECTED]
> ! containing the word
> !                           unsubscribe 
> ! in the body.
> 
> 
> 



-- 
------------------------------------------------------------------
 Brian McGuiness                          Phone: +44(0)1355 272911
 Senior Software Engineer                   Fax: +44(0)1355 272993
 Ecebs Limited
 The James Watt Building,
 Scottish Enterprise Technology Park,
 East Kilbride
 G75 0QD                           Email: [EMAIL PROTECTED]
 United Kingdom                    Internet:  http://www.Ecebs.com

 This email is only for the use of the addressee.  It may contain
 information which is legally privileged, confidential and exempt
 from disclosure.  If you are not the intended recipient you are
 hereby notified that any dissemination, distribution, or copying
 of this communication and its attachments is strictly prohibited.
------------------------------------------------------------------


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to