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

2009-02-06 Thread Ludovic Rousseau
2009/2/6 Alon Bar-Lev : > On Friday 06 February 2009 15:06:25 Andreas Jellinghaus wrote: >> Am Freitag 06 Februar 2009 13:36:58 schrieb Ludovic Rousseau: >> > > also 3 seconds seems quite long to me. >> > >> > Only if you also have pcscd running. >> > >> > The patch will impact only people with the

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

2009-02-06 Thread Alon Bar-Lev
On Friday 06 February 2009 15:06:25 Andreas Jellinghaus wrote: > Am Freitag 06 Februar 2009 13:36:58 schrieb Ludovic Rousseau: > > > also 3 seconds seems quite long to me. > > > > Only if you also have pcscd running. > > > > The patch will impact only people with the following configuration: > > -

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

2009-02-06 Thread Eddy Nigg (StartCom Ltd.)
On 02/06/2009 11:26 AM, Andreas Jellinghaus: questions for me after hours of exchanging emails with him, and all that without writing code first. For me open source doesn't work that way. Oh yeah, I almost forgot, this is OSS ...open source projects first write some code, then figure out

Re: [opensc-devel] Smart card future

2009-02-06 Thread Alon Bar-Lev
On Friday 06 February 2009 10:33:53 Ludovic Rousseau wrote: > 2009/2/6 Alon Bar-Lev : > > I did not require much of Ludovic time. > > After I implement the framework and the difficult PC/SC verbs: > > SCardBeginTransaction > > SCardEndTransaction > > SCardGetStatusChange > > SCardCancel > > SCardTr

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

2009-02-06 Thread Ludovic Rousseau
2009/2/6 Andreas Jellinghaus : > Am Freitag 06 Februar 2009 13:36:58 schrieb Ludovic Rousseau: >> > also 3 seconds seems quite long to me. >> >> Only if you also have pcscd running. >> >> The patch will impact only people with the following configuration: >> - use OpenCT >> - use pcsc-lite (file "/

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

2009-02-06 Thread Andreas Jellinghaus
Am Freitag 06 Februar 2009 13:36:58 schrieb Ludovic Rousseau: > > also 3 seconds seems quite long to me. > > Only if you also have pcscd running. > > The patch will impact only people with the following configuration: > - use OpenCT > - use pcsc-lite (file "/var/run/pcscd/pcscd.comm" is present) >

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

2009-02-06 Thread Ludovic Rousseau
2009/2/6 Andreas Jellinghaus : > Am Freitag 06 Februar 2009 09:27:11 schrieb Ludovic Rousseau: >> I propose the attached patch. The idea is to sleep for 3 seconds if a >> CCID device is detected and pcsc-lite is also running. >> If the device is not claimed by a pcsc-lite driver then openct will >>

Re: [opensc-devel] Smart card future

2009-02-06 Thread Alon Bar-Lev
On 2/6/09, Andreas Jellinghaus wrote: > Am Freitag 06 Februar 2009 00:25:27 schrieb Alon Bar-Lev: > > > The above is what I requested. I write the new framework using a goal > > we agree upon, and if I achieve those goals, we mark pcsc-lite and > > OpenCT as obsolete and continue this road. > >

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

2009-02-06 Thread Alon Bar-Lev
On 2/6/09, Andreas Jellinghaus wrote: > For the record, I completely agree with ludovics posting. > > Alon wants other people to fix the problem he found, but not > even help in reproducing or debugging it. Alon wants to commitment > to a new design he came up with, one that leaves many, many o

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

2009-02-06 Thread Andreas Jellinghaus
Am Freitag 06 Februar 2009 09:27:11 schrieb Ludovic Rousseau: > I propose the attached patch. The idea is to sleep for 3 seconds if a > CCID device is detected and pcsc-lite is also running. > If the device is not claimed by a pcsc-lite driver then openct will > use it as before. please resend, th

Re: [opensc-devel] Smart card future

2009-02-06 Thread Andreas Jellinghaus
Am Freitag 06 Februar 2009 00:25:27 schrieb Alon Bar-Lev: > The above is what I requested. I write the new framework using a goal > we agree upon, and if I achieve those goals, we mark pcsc-lite and > OpenCT as obsolete and continue this road. this is unreasonable. noone discards a well working so

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

2009-02-06 Thread Andreas Jellinghaus
For the record, I completely agree with ludovics posting. Alon wants other people to fix the problem he found, but not even help in reproducing or debugging it. Alon wants to commitment to a new design he came up with, one that leaves many, many open questions for me after hours of exchanging emai

Re: [opensc-devel] Smart card future

2009-02-06 Thread Ludovic Rousseau
2009/2/6 Alon Bar-Lev : > I did not require much of Ludovic time. > After I implement the framework and the difficult PC/SC verbs: > SCardBeginTransaction > SCardEndTransaction > SCardGetStatusChange > SCardCancel > SCardTransmit > We complete together the rest of the interface. > > I also committe

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

2009-02-06 Thread Alon Bar-Lev
On 2/6/09, Ludovic Rousseau wrote: > I propose the attached patch. The idea is to sleep for 3 seconds if a > CCID device is detected and pcsc-lite is also running. > If the device is not claimed by a pcsc-lite driver then openct will > use it as before. > > I could not test the patch. I can't

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

2009-02-06 Thread Ludovic Rousseau
2009/2/2 Ludovic Rousseau : > Maybe we could also define a priority rule : if both openct and > pcsc-lite are installed then pcsc-lite has priority, or something like > that. > It can be easy to implement: in the ccid driver just wait for 1 or 2 > seconds before claiming the device. pcsc-lite will