Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Peter Stuge
Alon Bar-Lev wrote: > > Because of problems with libusb I have to timeout every 2 seconds > > so a PC_to_RDR_GetSlotStatus command is sent to the reader every > > 2 seconds. > > This short timeout should be removed in a later version of the > > CCID driver. > > I hope so... The dependency of libus

Re: [opensc-devel] Debian lenny: unplugging the chipcard reader

2009-02-04 Thread Jeffrey Hutzelman
--On Monday, February 02, 2009 07:38:23 PM +0100 Andreas Jellinghaus wrote: > but keeping openct around with or without ccid > driver, or having some other drivers around > to implement non-ccid drivers all ends up with > the same result: lots of common functionality in > several places. The so

Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Martin Paljak
On 04.02.2009, at 20:36, Alon Bar-Lev wrote: > On Wednesday 04 February 2009 12:29:01 Martin Preuss wrote: >> Hi, >> >> On Dienstag, 3. Februar 2009, Alon Bar-Lev wrote: >>> On Wednesday 04 February 2009 00:00:44 Martin Preuss wrote: >> [...] >>> True. This is why I suggest separating the reader

Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Alon Bar-Lev
On Wednesday 04 February 2009 11:11:26 Ludovic Rousseau wrote: > 2009/2/3 Alon Bar-Lev : > > In time I believe commonly used drivers may be migrated into new framework, > > to be more efficient, maintainable and share the common code base available > > in the reader library. Example: Logging, Proto

Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Alon Bar-Lev
On Wednesday 04 February 2009 12:29:01 Martin Preuss wrote: > Hi, > > On Dienstag, 3. Februar 2009, Alon Bar-Lev wrote: > > On Wednesday 04 February 2009 00:00:44 Martin Preuss wrote: > [...] > > True. This is why I suggest separating the reader framework from the > > application API. > [...] > >

Re: [opensc-devel] [opensc-commits] svn opensc changed [3650] Default PCSC CFLAGS from pkg-config

2009-02-04 Thread Alon Bar-Lev
On Wednesday 04 February 2009 15:00:11 Ludovic Rousseau wrote: > Alon, > > What is the benefit of using: >PKG_CHECK_EXISTS( >[libpcsclite], >[PKG_CHECK_MODULES([PCSC], [libpcsclite])] > instead of just: > PKG_CHECK_MODULES([PCSC

Re: [opensc-devel] [Fwd: [OpenCA-Devel] PKCS11 - The disturbing Truth about libp11 and OpenSC!]

2009-02-04 Thread Andreas Jellinghaus
Hi Max, Douglas forwarded your mail to several lists to me. could you please do me a favor and forward this response to those lists as well? (I'm not subscribed to them ...) Thanks! I have two comments: first) opensc does not use libp11 (but libp11 can use opensc or any other pkcs#11 module).

Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Ludovic Rousseau
2009/2/4 Martin Preuss : > Hi, > > On Mittwoch, 4. Februar 2009, Ludovic Rousseau wrote: >> 2009/2/3 Martin Preuss : >> > 1) with pcscd all readers are always *on*. As soon as a reader is >> > connected it is started and polled for card insertion and removal even >> > when there is no client. I wou

Re: [opensc-devel] [opensc-commits] svn opensc changed [3650] Default PCSC CFLAGS from pkg-config

2009-02-04 Thread Ludovic Rousseau
Alon, What is the benefit of using: PKG_CHECK_EXISTS( [libpcsclite], [PKG_CHECK_MODULES([PCSC], [libpcsclite])] instead of just: PKG_CHECK_MODULES([PCSC], [libpcsclite]) Is it because PCSC_CFLAGS and PCSC_LIBS are erased in the se

Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Martin Preuss
Hi, On Dienstag, 3. Februar 2009, Alon Bar-Lev wrote: > On Wednesday 04 February 2009 00:00:44 Martin Preuss wrote: [...] > True. This is why I suggest separating the reader framework from the > application API. [...] Ah, now I understand: so what you propose is to make the PC/SC just a client o

Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Martin Preuss
Hi, On Mittwoch, 4. Februar 2009, Ludovic Rousseau wrote: > 2009/2/3 Martin Preuss : > > 1) with pcscd all readers are always *on*. As soon as a reader is > > connected it is started and polled for card insertion and removal even > > when there is no client. I would very much like the pcscd to onl

Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Ludovic Rousseau
2009/2/3 Alon Bar-Lev : > In time I believe commonly used drivers may be migrated into new framework, > to be more efficient, maintainable and share the common code base available > in the reader library. Example: Logging, Protocols, Device Access etc. I think you are too optimistic here. Many dri

Re: [opensc-devel] pcsclite & openct future (Re: Debian lenny: unplugging the chipcard reader)

2009-02-04 Thread Ludovic Rousseau
Hello, 2009/2/3 Martin Preuss : > 1) with pcscd all readers are always *on*. As soon as a reader is connected it > is started and polled for card insertion and removal even when there is no > client. I would very much like the pcscd to only power up a reader if there > is at least one client. This