Re: MUSCLE pcsc configuration question answered

2001-04-27 Thread Peter Tomlinson

While there are some RS232 powered readers, they cannot be ISO 7816
compliant for Vcc supply to the card (cannot supply enough current). But if
you purchase both the readers and the cards from the same supplier, he may
be able to guarantee performance of his cards with his readers (which means
that his cards take less power current than the maximum limit in the ISO
spec). However, be sure to test card and reader with the type of PC that you
are going to use, because different types of driver ICs in the PC have
different source impedances.

Regards,

Peter Tomlinson,
Bristol UK
- Original Message -
From: "Christian CARNAT" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 27, 2001 1:24 PM
Subject: RE: MUSCLE pcsc configuration question answered


> what do you think about a RS232 powered reader ? (versus keyboard
connection)
>
> 
> Christian CARNAT
> Smart Card Interfaces Business Unit
> Marketing Manager
> Net Devices
>
> direct : + 33 (0) 442 366 691
> fax: + 33 (0) 442 365 545
> mobile : + 33 (0) 607 986 590
>
> GEMPLUS Card International
>
>
> please note :
>
> GEMPLUS DEVELOPER CONFERENCE 2001
> June 20-21 - Paris - France
> http://www.gemplus.com/gdc2001
>
> 
>
> >-Original Message-
> >From: Logi Ragnarsson [mailto:[EMAIL PROTECTED]]
> >Sent: Friday, April 27, 2001 10:38 AM
> >To: [EMAIL PROTECTED]
> >Subject: MUSCLE pcsc configuration question answered
> >
> >
> >Hi all,
> >
> >I found the problem to my symptom on my own and then, of
> >course, the solution
> >was obvious. The reader I had connected to the serial port did
> >not match the
> >driver I was using. Both are Utimaco readers with no markings
> >and the only
> >visible difference is that one draws power from the keyboard
> >connector while
> >the other just uses the power from the serial port.
> >
> >I connected the correct reader (which I found by chance laying
> >in storage)
> >and everything works.
> >
> >--
> >Logi Ragnarsson - [EMAIL PROTECTED]
> >Some day we all shall be out of scope
> >***
> >Linux Smart Card Developers - M.U.S.C.L.E.
> >(Movement for the Use of Smart Cards in a Linux Environment)
> >http://www.linuxnet.com/smartcard/index.html
> >***
> >
> ***
> Linux Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/smartcard/index.html
> ***
>

***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***



RE: MUSCLE pcsc configuration question answered

2001-04-27 Thread Christian CARNAT

what do you think about a RS232 powered reader ? (versus keyboard connection)


Christian CARNAT
Smart Card Interfaces Business Unit
Marketing Manager
Net Devices

direct : + 33 (0) 442 366 691
fax: + 33 (0) 442 365 545
mobile : + 33 (0) 607 986 590

GEMPLUS Card International


please note :

GEMPLUS DEVELOPER CONFERENCE 2001
June 20-21 - Paris - France
http://www.gemplus.com/gdc2001



>-Original Message-
>From: Logi Ragnarsson [mailto:[EMAIL PROTECTED]]
>Sent: Friday, April 27, 2001 10:38 AM
>To: [EMAIL PROTECTED]
>Subject: MUSCLE pcsc configuration question answered
>
>
>Hi all,
>
>I found the problem to my symptom on my own and then, of 
>course, the solution 
>was obvious. The reader I had connected to the serial port did 
>not match the 
>driver I was using. Both are Utimaco readers with no markings 
>and the only 
>visible difference is that one draws power from the keyboard 
>connector while 
>the other just uses the power from the serial port.
>
>I connected the correct reader (which I found by chance laying 
>in storage) 
>and everything works.
>
>-- 
>Logi Ragnarsson - [EMAIL PROTECTED]
>Some day we all shall be out of scope
>***
>Linux Smart Card Developers - M.U.S.C.L.E.
>(Movement for the Use of Smart Cards in a Linux Environment)
>http://www.linuxnet.com/smartcard/index.html
>***
>
***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***



Re: MUSCLE pcsc configuration question

2001-04-24 Thread David Corcoran

Hello,

The messaging that you see is debug messages from the driver which you can
turn of if you would like.  That repeated block is the driver polling the
card status of the reader.

Serial readers cannot be unplugged while the resource manager is running -
Linux does not have Plug and Play for serial ports so unplugging the
reader while the daemon is running will only cause problems.  The daemone
assumes if you have the reader listed in reader.conf it is there and
connected.

Try the test program that comes with pcsc (testrpc/testpcsc) depending on
your version.  At the worst if a card is inserted you should receive a 6d
00 response.  Contact me off the list and I can try to help.

Dave




On Tue, 24 Apr 2001, Logi Ragnarsson wrote:

> Hi,
>
> I'm writing the support code for smart-card based authentication of an
> in-house java application. The plan is to use the opencard framework
> to send APDU's to the card, but there are no card services defined for
> the cards we'll be using, so I'll have to work on this rather low level.
>
> I got the following layered setup to work in Windows:
>
> my application
> IBM's PC/SC terminal factory
> MS PC/SC implementation
> Utimaco/OmniKey PC/SC drivers for the CardMan 2020 or 2010
> hardware
>
> But, I don't like the idea of developing on windows, so I'm trying to reproduce
> this setup on the linux side. In fact, I was very happy to see the linuxnet.com
> page and the list of stated goals.
>
> I've installed the pcsc daemon and the CardMan 2010 driver (USB seems
> more complex, so I'll save that for later). The daemon clearly connects
> to the reader on some level, since it says:
>
> readerfactory.c 951: RFInitializeReader: Attempting startup of Omnikey Cardman 2010 
>(serial) 0 0.
> readerfactory.c 740: RFBindFunctions: Loading IFD Handler 2.0
> Initializing reader at: /dev/pcsc/1
> -> fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe 
>fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe 
>fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe 
>fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe 
>fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
> -> 00
> -> 03 00 00 80
> -> 00 00 00 00
> -> 00
> <- 62 00
> -> 89
> -> 00 00 00 00
> -> 00
> <- 62 00
> -> 00 00 00 00
> -> 00
> <- 62 00
> -> 00 00 00 00
> -> 00
> <- 62 00
>
> and then just repeats this 3-line block, but if I unplug the reader, it
> changes dramatically. However, it doesn't really look like proper
> communication either.
>
> If a smart card were returning 0x6200 it would mean that "external
> authentication failed", which doesn't really seem to apply here.
>
> I then tried the formaticc program to send a simple command to the
> card. However, all I get is:
>
> Please enter the desired host (localhost for this machine): localhost
> Please input the desired transmit protocol (0/1): 1
> Please input the desired input apdu file: x.in
> Please input the desired output apdu file: x.out
> Reader 01: Omnikey Cardman 2010 (serial) 0 0
> Enter the desired reader number : 1
>
> Please input a smartcard
> Error connecting to reader -2146435060
>
> which shows that the program can get the list of available card
> readers, but can'tactually connect to the one I select.
>
> The problem here is that there are too many layers of code that I don't
> understand and don't know how interact. Where does the problem lie?
> Is it the driver (/usr/local/pcsc/lib/libcmbs0lnx.so.1.1.0) not
> communicating correctly with the reader or something else. What can I
> do about it?
>
> Thanks,
> Logi
>
>

***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***