Re: MUSCLE and gemplus readers.

2001-06-05 Thread Jean-Luc GIRAUD

Dr S N Henson wrote:
 
 I've been testing out MUSCLE and some related software with some gemplus
 readers, all with RHL 6.1 2.2.12 kernel and RHL7.0 2.2.16 with
 backported USB and 2.4.5.
 
 I haven't got the USB reader GemPC430 to work though. All I get when I
 plug the reader in is a message saying no driver supports the device.
 This also happens with 2.4.5 kernel. Any pointers as to the possible
 cause?

Could you please copy the message, it would be very helpful. Also, what
do you use to install pcsc-lite: the tarball or a rpm package? Which
version is it?

Here is a list of possible cause:
- the first versions of the debian package were not compiled with USB
support, maybe it was the same for the rpms.
- if you have USB support compiled as module, you have to install the
usb-uhci module by hand
- if you get the following message, you may not have copied the bundle
to the right location.
pcscd:pcscdaemon.c 126: /var/run/pcscd.pid
pcscd:pcscdaemon.c 146: main: PC/SC Lite Daemon Ready. 
pcscd: hotplug_linux.c 146: No bundle files in pcsc drivers directory 

I hope this helps,
JLuc.
***
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 and gemplus readers.

2001-06-05 Thread Jean-Luc GIRAUD

Dr S N Henson wrote:
 
 I suspect the answer is 'none of the above' :-)

Yes and no :-) (see below).

 
 I'm compiling MUSCLE 0.9.1 and the GemPC430 driver from source. There
 are a few problems with 'make install' in MUSCLE, at least on my setup:
 for example it installs reader.conf in /usr/local/etc but expects to
 find it in /etc and it doesn't seem to install the pcsd binary (well
 script) anywhere.

The default 'make install' does not compile pcscd with usb support
(which was the reason of the problem with the packages). You should
first './configure --enable-usb' to enable usb support. If you have the
GemPC430 bundle in the 'drivers' folder of the pcsc install, it should
work.


 BTW do you know anything about the GPR400 device driver? One problem I
 get with that is that after the 'power down' command it stays powered
 down and doesn't respond to any commands (including 'reset' which I
 believe is supposed to power it up again). A reboot or eject/reinsert is
 needed.

I don't know anything about it. I'll see if I can find out anything
regarding this issue.


Cheers,
JLuc.
***
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 and gemplus readers.

2001-06-05 Thread Dr S N Henson



Jean-Luc GIRAUD wrote:
 
 Dr S N Henson wrote:
 
  I suspect the answer is 'none of the above' :-)
 
 Yes and no :-) (see below).
 
 
  I'm compiling MUSCLE 0.9.1 and the GemPC430 driver from source. There
  are a few problems with 'make install' in MUSCLE, at least on my setup:
  for example it installs reader.conf in /usr/local/etc but expects to
  find it in /etc and it doesn't seem to install the pcsd binary (well
  script) anywhere.
 
 The default 'make install' does not compile pcscd with usb support
 (which was the reason of the problem with the packages). You should
 first './configure --enable-usb' to enable usb support. If you have the
 GemPC430 bundle in the 'drivers' folder of the pcsc install, it should
 work.
 

I did run ./configure with --enable-usb. 

I also ran pcsd under strace and it seems to be reading the 'bundle'
files and there's also some additional activity when the reader is
plugged in.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
***
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 and gemplus readers.

2001-06-05 Thread Dr S N Henson

David Corcoran wrote:
 
 Hi,
 
 Try removing bundleparser.c and doing the ./configure --enable-usb
 and everything over again.
 

That did the trick. I still get a few kernel warning messages when I
plug the device in but I can now access the reader, thanks.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
***
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 and gemplus readers.

2001-06-05 Thread Michael H. Warfield

On Tue, Jun 05, 2001 at 08:44:42PM +0100, Dr S N Henson wrote:
 David Corcoran wrote:

  Hi,

  Try removing bundleparser.c and doing the ./configure --enable-usb
  and everything over again.


 That did the trick. I still get a few kernel warning messages when I
 plug the device in but I can now access the reader, thanks.

Hmmm...  I see a warning message like this:

Jun  6 01:43:30 alcove kernel: usbdevfs: process 12931 (pcscd) did not claim interface 
0 before use

That's with Linux 2.4.5 and the GemPlus 435 reader I'm working with.

 Steve.
 -- 
 Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
 Personal Email: [EMAIL PROTECTED] 
 Senior crypto engineer, Celo Communications: http://www.celocom.com/
 Core developer of the   OpenSSL project: http://www.openssl.org/
 Business Email: [EMAIL PROTECTED] PGP key: via homepage.
 ***
 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
 ***

Mike
-- 
 Michael H. Warfield|  (770) 985-6132   |  [EMAIL PROTECTED]
  (The Mad Wizard)  |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9  |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471|  possible worlds.  A pessimist is sure of it!

***
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
***