pccs-lite 1.8.xx on Solaris 11

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

Previously I did successfully built pcsc-lite 1.6.1 and ccid-1.3.13 under Solaris 11 using the Sun Developer Studio compiler (cc). Since then, there is a new requirement to use an USB PC/SC card reader that is not supported by ccid-1.3.13 and is only supported at later versions. So I have decided to try build pcsc-lite 1.8.14 and ccid 1.4.21 under Solaris 11. This time I decided to ditch cc and use gcc 4.9.2 from opencsw instead.

Here the brick walls I am hitting now :

1. Using the following configuration options :
env MAKE=gmake NM=gnm STRIP=gstrip RANLIB=granlib LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-L/usr/lib -lusb" SYMBOL_VISIBILITY="-fvisibility=default" ./configure --prefix=/usr/local --enable-debugatr --disable-libusb
(libusb on Solaris 11.3 seems incompatible with pcsc-lite so I had to disable it)

When I build with "gmake" afterwards, this is what I got:

Undefined                       first referenced
 symbol                             in file
SCardListReaders                    testpcsc.o
SCardSetAttrib                      testpcsc.o
SCardGetAttrib                      testpcsc.o
g_rgSCardRawPci                     testpcsc.o
SCardReconnect                      testpcsc.o
SCardFreeMemory                     testpcsc.o
SCardDisconnect                     testpcsc.o
SCardReleaseContext                 testpcsc.o
SCardIsValidContext                 testpcsc.o
SCardEstablishContext               testpcsc.o
SCardGetStatusChange                testpcsc.o
SCardListReaderGroups               testpcsc.o
SCardStatus                         testpcsc.o
pcsc_stringify_error                testpcsc.o
SCardControl                        testpcsc.o
SCardConnect                        testpcsc.o
g_rgSCardT1Pci                      testpcsc.o
g_rgSCardT0Pci                      testpcsc.o
SCardTransmit                       testpcsc.o

Using objdump I can see that the libpcsclite.so.1 just built hides the symbols above. So problem 1 is how should I configure the build so that gcc will not hide the symbols by default? I tried the "SYMBOL_VISIBILITY="-fvisibility=default" and that does not work.

After changing the src/Makefile to stop hiding the symbols, the build can continue, and then hit this brick wall:

  CC       pcscd-configfile.o
configfile.l: In function âDBGetReaderListDirâ:
configfile.l:295:16: error: âstruct direntâ has no member named âd_typeâ
    if (direntry->d_type == DT_UNKNOWN)
                ^
configfile.l:295:28: error: âDT_UNKNOWNâ undeclared (first use in this function)
    if (direntry->d_type == DT_UNKNOWN)
                            ^
configfile.l:295:28: note: each undeclared identifier is reported only once for each function it appears in
configfile.l:314:17: error: âstruct direntâ has no member named âd_typeâ
     if (direntry->d_type != DT_REG)
                 ^
configfile.l:314:29: error: âDT_REGâ undeclared (first use in this function)
     if (direntry->d_type != DT_REG)


Problem 2 is I think the dirent.h under Solaris 11 is incompatible with the pcscd-config file. Is there anything I can do about this?

For now, I would return to cc and see if the build is any different.

Thanks very much and Best Regards



_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

Ludovic Rousseau
2016-05-13 7:58 GMT+02:00 William To <[hidden email]>:
Hi All,

Hello,
 

Previously I did successfully built pcsc-lite 1.6.1 and ccid-1.3.13 under Solaris 11 using the Sun Developer Studio compiler (cc). Since then, there is a new requirement to use an USB PC/SC card reader that is not supported by ccid-1.3.13 and is only supported at later versions. So I have decided to try build pcsc-lite 1.8.14 and ccid 1.4.21 under Solaris 11. This time I decided to ditch cc and use gcc 4.9.2 from opencsw instead.

Here the brick walls I am hitting now :

1. Using the following configuration options :
env MAKE=gmake NM=gnm STRIP=gstrip RANLIB=granlib LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-L/usr/lib -lusb" SYMBOL_VISIBILITY="-fvisibility=default" ./configure --prefix=/usr/local --enable-debugatr --disable-libusb
(libusb on Solaris 11.3 seems incompatible with pcsc-lite so I had to disable it)

When I build with "gmake" afterwards, this is what I got:

Undefined                       first referenced
 symbol                             in file
SCardListReaders                    testpcsc.o
SCardSetAttrib                      testpcsc.o
SCardGetAttrib                      testpcsc.o
g_rgSCardRawPci                     testpcsc.o
SCardReconnect                      testpcsc.o
SCardFreeMemory                     testpcsc.o
SCardDisconnect                     testpcsc.o
SCardReleaseContext                 testpcsc.o
SCardIsValidContext                 testpcsc.o
SCardEstablishContext               testpcsc.o
SCardGetStatusChange                testpcsc.o
SCardListReaderGroups               testpcsc.o
SCardStatus                         testpcsc.o
pcsc_stringify_error                testpcsc.o
SCardControl                        testpcsc.o
SCardConnect                        testpcsc.o
g_rgSCardT1Pci                      testpcsc.o
g_rgSCardT0Pci                      testpcsc.o
SCardTransmit                       testpcsc.o

Using objdump I can see that the libpcsclite.so.1 just built hides the symbols above. So problem 1 is how should I configure the build so that gcc will not hide the symbols by default? I tried the "SYMBOL_VISIBILITY="-fvisibility=default" and that does not work.

This problem was also reported in https://github.com/LudovicRousseau/PCSC/issues/4

A possible fix is https://github.com/risto3/PCSC/commit/2176d782188a9ff4453ae24556a340b2c8f549cf
I have not yet tested and integrated it (no free time).

Does it work for you?

After changing the src/Makefile to stop hiding the symbols, the build can continue, and then hit this brick wall:

  CC       pcscd-configfile.o
configfile.l: In function âDBGetReaderListDirâ:
configfile.l:295:16: error: âstruct direntâ has no member named âd_typeâ
    if (direntry->d_type == DT_UNKNOWN)
                ^
configfile.l:295:28: error: âDT_UNKNOWNâ undeclared (first use in this function)
    if (direntry->d_type == DT_UNKNOWN)
                            ^
configfile.l:295:28: note: each undeclared identifier is reported only once for each function it appears in
configfile.l:314:17: error: âstruct direntâ has no member named âd_typeâ
     if (direntry->d_type != DT_REG)
                 ^
configfile.l:314:29: error: âDT_REGâ undeclared (first use in this function)
     if (direntry->d_type != DT_REG)


Problem 2 is I think the dirent.h under Solaris 11 is incompatible with the pcscd-config file. Is there anything I can do about this?


Why are people building pcsc-lite on Solaris?
Oracle (ex-Sun) does not provide its own version of pcsc-lite any more?

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

I am building pcsc-lite on Solaris 11 because Oracle's version only works on Solaris 10, but not on 11. I don't know why because I gave up trying to make it work.

It seems the Solaris-specific version added a lot of code to handle their network stuff, and were broken on Solaris 11.

So that's why I need to build it myself.

Regards

William To



On Fri, May 13, 2016 at 7:55 PM, Ludovic Rousseau <[hidden email]> wrote:
2016-05-13 7:58 GMT+02:00 William To <[hidden email]>:
Hi All,

Hello,
 

Previously I did successfully built pcsc-lite 1.6.1 and ccid-1.3.13 under Solaris 11 using the Sun Developer Studio compiler (cc). Since then, there is a new requirement to use an USB PC/SC card reader that is not supported by ccid-1.3.13 and is only supported at later versions. So I have decided to try build pcsc-lite 1.8.14 and ccid 1.4.21 under Solaris 11. This time I decided to ditch cc and use gcc 4.9.2 from opencsw instead.

Here the brick walls I am hitting now :

1. Using the following configuration options :
env MAKE=gmake NM=gnm STRIP=gstrip RANLIB=granlib LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-L/usr/lib -lusb" SYMBOL_VISIBILITY="-fvisibility=default" ./configure --prefix=/usr/local --enable-debugatr --disable-libusb
(libusb on Solaris 11.3 seems incompatible with pcsc-lite so I had to disable it)

When I build with "gmake" afterwards, this is what I got:

Undefined                       first referenced
 symbol                             in file
SCardListReaders                    testpcsc.o
SCardSetAttrib                      testpcsc.o
SCardGetAttrib                      testpcsc.o
g_rgSCardRawPci                     testpcsc.o
SCardReconnect                      testpcsc.o
SCardFreeMemory                     testpcsc.o
SCardDisconnect                     testpcsc.o
SCardReleaseContext                 testpcsc.o
SCardIsValidContext                 testpcsc.o
SCardEstablishContext               testpcsc.o
SCardGetStatusChange                testpcsc.o
SCardListReaderGroups               testpcsc.o
SCardStatus                         testpcsc.o
pcsc_stringify_error                testpcsc.o
SCardControl                        testpcsc.o
SCardConnect                        testpcsc.o
g_rgSCardT1Pci                      testpcsc.o
g_rgSCardT0Pci                      testpcsc.o
SCardTransmit                       testpcsc.o

Using objdump I can see that the libpcsclite.so.1 just built hides the symbols above. So problem 1 is how should I configure the build so that gcc will not hide the symbols by default? I tried the "SYMBOL_VISIBILITY="-fvisibility=default" and that does not work.

This problem was also reported in https://github.com/LudovicRousseau/PCSC/issues/4

A possible fix is https://github.com/risto3/PCSC/commit/2176d782188a9ff4453ae24556a340b2c8f549cf
I have not yet tested and integrated it (no free time).

Does it work for you?

After changing the src/Makefile to stop hiding the symbols, the build can continue, and then hit this brick wall:

  CC       pcscd-configfile.o
configfile.l: In function âDBGetReaderListDirâ:
configfile.l:295:16: error: âstruct direntâ has no member named âd_typeâ
    if (direntry->d_type == DT_UNKNOWN)
                ^
configfile.l:295:28: error: âDT_UNKNOWNâ undeclared (first use in this function)
    if (direntry->d_type == DT_UNKNOWN)
                            ^
configfile.l:295:28: note: each undeclared identifier is reported only once for each function it appears in
configfile.l:314:17: error: âstruct direntâ has no member named âd_typeâ
     if (direntry->d_type != DT_REG)
                 ^
configfile.l:314:29: error: âDT_REGâ undeclared (first use in this function)
     if (direntry->d_type != DT_REG)


Problem 2 is I think the dirent.h under Solaris 11 is incompatible with the pcscd-config file. Is there anything I can do about this?


Why are people building pcsc-lite on Solaris?
Oracle (ex-Sun) does not provide its own version of pcsc-lite any more?

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle


_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

Is there also no fix for libusb 0.1 -> libusb 1.x upgrade that breaks Solaris 11 builds?

Thanks very much and Best Regards

William To



On Mon, May 16, 2016 at 10:25 AM, William To <[hidden email]> wrote:
Hi All,

I am building pcsc-lite on Solaris 11 because Oracle's version only works on Solaris 10, but not on 11. I don't know why because I gave up trying to make it work.

It seems the Solaris-specific version added a lot of code to handle their network stuff, and were broken on Solaris 11.

So that's why I need to build it myself.

Regards

William To



On Fri, May 13, 2016 at 7:55 PM, Ludovic Rousseau <[hidden email]> wrote:
2016-05-13 7:58 GMT+02:00 William To <[hidden email]>:
Hi All,

Hello,
 

Previously I did successfully built pcsc-lite 1.6.1 and ccid-1.3.13 under Solaris 11 using the Sun Developer Studio compiler (cc). Since then, there is a new requirement to use an USB PC/SC card reader that is not supported by ccid-1.3.13 and is only supported at later versions. So I have decided to try build pcsc-lite 1.8.14 and ccid 1.4.21 under Solaris 11. This time I decided to ditch cc and use gcc 4.9.2 from opencsw instead.

Here the brick walls I am hitting now :

1. Using the following configuration options :
env MAKE=gmake NM=gnm STRIP=gstrip RANLIB=granlib LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-L/usr/lib -lusb" SYMBOL_VISIBILITY="-fvisibility=default" ./configure --prefix=/usr/local --enable-debugatr --disable-libusb
(libusb on Solaris 11.3 seems incompatible with pcsc-lite so I had to disable it)

When I build with "gmake" afterwards, this is what I got:

Undefined                       first referenced
 symbol                             in file
SCardListReaders                    testpcsc.o
SCardSetAttrib                      testpcsc.o
SCardGetAttrib                      testpcsc.o
g_rgSCardRawPci                     testpcsc.o
SCardReconnect                      testpcsc.o
SCardFreeMemory                     testpcsc.o
SCardDisconnect                     testpcsc.o
SCardReleaseContext                 testpcsc.o
SCardIsValidContext                 testpcsc.o
SCardEstablishContext               testpcsc.o
SCardGetStatusChange                testpcsc.o
SCardListReaderGroups               testpcsc.o
SCardStatus                         testpcsc.o
pcsc_stringify_error                testpcsc.o
SCardControl                        testpcsc.o
SCardConnect                        testpcsc.o
g_rgSCardT1Pci                      testpcsc.o
g_rgSCardT0Pci                      testpcsc.o
SCardTransmit                       testpcsc.o

Using objdump I can see that the libpcsclite.so.1 just built hides the symbols above. So problem 1 is how should I configure the build so that gcc will not hide the symbols by default? I tried the "SYMBOL_VISIBILITY="-fvisibility=default" and that does not work.

This problem was also reported in https://github.com/LudovicRousseau/PCSC/issues/4

A possible fix is https://github.com/risto3/PCSC/commit/2176d782188a9ff4453ae24556a340b2c8f549cf
I have not yet tested and integrated it (no free time).

Does it work for you?

After changing the src/Makefile to stop hiding the symbols, the build can continue, and then hit this brick wall:

  CC       pcscd-configfile.o
configfile.l: In function âDBGetReaderListDirâ:
configfile.l:295:16: error: âstruct direntâ has no member named âd_typeâ
    if (direntry->d_type == DT_UNKNOWN)
                ^
configfile.l:295:28: error: âDT_UNKNOWNâ undeclared (first use in this function)
    if (direntry->d_type == DT_UNKNOWN)
                            ^
configfile.l:295:28: note: each undeclared identifier is reported only once for each function it appears in
configfile.l:314:17: error: âstruct direntâ has no member named âd_typeâ
     if (direntry->d_type != DT_REG)
                 ^
configfile.l:314:29: error: âDT_REGâ undeclared (first use in this function)
     if (direntry->d_type != DT_REG)


Problem 2 is I think the dirent.h under Solaris 11 is incompatible with the pcscd-config file. Is there anything I can do about this?


Why are people building pcsc-lite on Solaris?
Oracle (ex-Sun) does not provide its own version of pcsc-lite any more?

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle



_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

I also hit another brick wall on building ccid 1.4.21 as following:

Using the configuration like this:
./configure LIBUSB_CFLAGS=-I/usr/include LIBUSB_LIBS="-L/usr/lib -lusb" --prefix=/usr/local PCSC_CFLAGS=-I/usr/local/include/PCSC PCSC_LIBS="-L/usr/local/lib -lpcsclite" --enable-usbdropdir=/usr/local/pcsc/drivers --disable-libusb

I found that the ccid shared library was not built. Here are my output from the console:


gmake[1]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
Making all in readers
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
Making all in examples
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
  CC       scardcontrol-scardcontrol.o
  CC       scardcontrol-PCSCv2part10.o
  CCLD     scardcontrol
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
Making all in contrib
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in RSA_SecurID
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
  CC       RSA_SecurID_getpasswd-RSA_SecurID_getpasswd.o
  CCLD     RSA_SecurID_getpasswd
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in src
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[1]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'

I think it looks very strange when nothing is built under the src/ directory where the ccid source code resides. I wonder would that be caused by not using the libusb library so the build disables the entire ccid library?

Thanks very much and Best Regards

William To



 


On Mon, May 16, 2016 at 10:27 AM, William To <[hidden email]> wrote:
Hi All,

Is there also no fix for libusb 0.1 -> libusb 1.x upgrade that breaks Solaris 11 builds?

Thanks very much and Best Regards

William To



On Mon, May 16, 2016 at 10:25 AM, William To <[hidden email]> wrote:
Hi All,

I am building pcsc-lite on Solaris 11 because Oracle's version only works on Solaris 10, but not on 11. I don't know why because I gave up trying to make it work.

It seems the Solaris-specific version added a lot of code to handle their network stuff, and were broken on Solaris 11.

So that's why I need to build it myself.

Regards

William To



On Fri, May 13, 2016 at 7:55 PM, Ludovic Rousseau <[hidden email]> wrote:
2016-05-13 7:58 GMT+02:00 William To <[hidden email]>:
Hi All,

Hello,
 

Previously I did successfully built pcsc-lite 1.6.1 and ccid-1.3.13 under Solaris 11 using the Sun Developer Studio compiler (cc). Since then, there is a new requirement to use an USB PC/SC card reader that is not supported by ccid-1.3.13 and is only supported at later versions. So I have decided to try build pcsc-lite 1.8.14 and ccid 1.4.21 under Solaris 11. This time I decided to ditch cc and use gcc 4.9.2 from opencsw instead.

Here the brick walls I am hitting now :

1. Using the following configuration options :
env MAKE=gmake NM=gnm STRIP=gstrip RANLIB=granlib LIBUSB_CFLAGS="-I/usr/include" LIBUSB_LIBS="-L/usr/lib -lusb" SYMBOL_VISIBILITY="-fvisibility=default" ./configure --prefix=/usr/local --enable-debugatr --disable-libusb
(libusb on Solaris 11.3 seems incompatible with pcsc-lite so I had to disable it)

When I build with "gmake" afterwards, this is what I got:

Undefined                       first referenced
 symbol                             in file
SCardListReaders                    testpcsc.o
SCardSetAttrib                      testpcsc.o
SCardGetAttrib                      testpcsc.o
g_rgSCardRawPci                     testpcsc.o
SCardReconnect                      testpcsc.o
SCardFreeMemory                     testpcsc.o
SCardDisconnect                     testpcsc.o
SCardReleaseContext                 testpcsc.o
SCardIsValidContext                 testpcsc.o
SCardEstablishContext               testpcsc.o
SCardGetStatusChange                testpcsc.o
SCardListReaderGroups               testpcsc.o
SCardStatus                         testpcsc.o
pcsc_stringify_error                testpcsc.o
SCardControl                        testpcsc.o
SCardConnect                        testpcsc.o
g_rgSCardT1Pci                      testpcsc.o
g_rgSCardT0Pci                      testpcsc.o
SCardTransmit                       testpcsc.o

Using objdump I can see that the libpcsclite.so.1 just built hides the symbols above. So problem 1 is how should I configure the build so that gcc will not hide the symbols by default? I tried the "SYMBOL_VISIBILITY="-fvisibility=default" and that does not work.

This problem was also reported in https://github.com/LudovicRousseau/PCSC/issues/4

A possible fix is https://github.com/risto3/PCSC/commit/2176d782188a9ff4453ae24556a340b2c8f549cf
I have not yet tested and integrated it (no free time).

Does it work for you?

After changing the src/Makefile to stop hiding the symbols, the build can continue, and then hit this brick wall:

  CC       pcscd-configfile.o
configfile.l: In function âDBGetReaderListDirâ:
configfile.l:295:16: error: âstruct direntâ has no member named âd_typeâ
    if (direntry->d_type == DT_UNKNOWN)
                ^
configfile.l:295:28: error: âDT_UNKNOWNâ undeclared (first use in this function)
    if (direntry->d_type == DT_UNKNOWN)
                            ^
configfile.l:295:28: note: each undeclared identifier is reported only once for each function it appears in
configfile.l:314:17: error: âstruct direntâ has no member named âd_typeâ
     if (direntry->d_type != DT_REG)
                 ^
configfile.l:314:29: error: âDT_REGâ undeclared (first use in this function)
     if (direntry->d_type != DT_REG)


Problem 2 is I think the dirent.h under Solaris 11 is incompatible with the pcscd-config file. Is there anything I can do about this?


Why are people building pcsc-lite on Solaris?
Oracle (ex-Sun) does not provide its own version of pcsc-lite any more?

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle




_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

Ludovic Rousseau


2016-05-16 11:15 GMT+02:00 William To <[hidden email]>:
Hi All,

I also hit another brick wall on building ccid 1.4.21 as following:

Using the configuration like this:
./configure LIBUSB_CFLAGS=-I/usr/include LIBUSB_LIBS="-L/usr/lib -lusb" --prefix=/usr/local PCSC_CFLAGS=-I/usr/local/include/PCSC PCSC_LIBS="-L/usr/local/lib -lpcsclite" --enable-usbdropdir=/usr/local/pcsc/drivers --disable-libusb

I found that the ccid shared library was not built. Here are my output from the console:


gmake[1]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
Making all in readers
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
Making all in examples
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
  CC       scardcontrol-scardcontrol.o
  CC       scardcontrol-PCSCv2part10.o
  CCLD     scardcontrol
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
Making all in contrib
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in RSA_SecurID
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
  CC       RSA_SecurID_getpasswd-RSA_SecurID_getpasswd.o
  CCLD     RSA_SecurID_getpasswd
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in src
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[1]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'

I think it looks very strange when nothing is built under the src/ directory where the ccid source code resides. I wonder would that be caused by not using the libusb library so the build disables the entire ccid library?

You used --disable-libusb so the USB driver is not build.
You have not used --enable-twinserial so the serial driver is not build either.

You need to have a working libusb-1.0 in order to build my CCID driver for USB.

I have no other option. Or maybe replace Solaris 11 by another operating system, like Debian GNU/Linux? :-)

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

Unfortunately my project have code that must use Solaris so I have to continue using it.

However the card reader vendor I am working provided me with a reader sample with vendor ID / product ID that is in the "should work" list. What can I do to back port support of readers from ccid 1.4.xx to 1.3.xx, or is that even possible (I know the ccid driver is revised and updated for a good reason though).

Regards

Willia mTo



On Mon, May 16, 2016 at 5:56 PM, Ludovic Rousseau <[hidden email]> wrote:


2016-05-16 11:15 GMT+02:00 William To <[hidden email]>:
Hi All,

I also hit another brick wall on building ccid 1.4.21 as following:

Using the configuration like this:
./configure LIBUSB_CFLAGS=-I/usr/include LIBUSB_LIBS="-L/usr/lib -lusb" --prefix=/usr/local PCSC_CFLAGS=-I/usr/local/include/PCSC PCSC_LIBS="-L/usr/local/lib -lpcsclite" --enable-usbdropdir=/usr/local/pcsc/drivers --disable-libusb

I found that the ccid shared library was not built. Here are my output from the console:


gmake[1]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
Making all in readers
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
Making all in examples
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
  CC       scardcontrol-scardcontrol.o
  CC       scardcontrol-PCSCv2part10.o
  CCLD     scardcontrol
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
Making all in contrib
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in RSA_SecurID
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
  CC       RSA_SecurID_getpasswd-RSA_SecurID_getpasswd.o
  CCLD     RSA_SecurID_getpasswd
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in src
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[1]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'

I think it looks very strange when nothing is built under the src/ directory where the ccid source code resides. I wonder would that be caused by not using the libusb library so the build disables the entire ccid library?

You used --disable-libusb so the USB driver is not build.
You have not used --enable-twinserial so the serial driver is not build either.

You need to have a working libusb-1.0 in order to build my CCID driver for USB.

I have no other option. Or maybe replace Solaris 11 by another operating system, like Debian GNU/Linux? :-)

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle


_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

This is  is the output from ./src/parse for the reader I have on hand now:


 idVendor: 0x04E6
  iManufacturer: Identive
 idProduct: 0x5810
  iProduct: CLOUD 2700 R Smart Card Reader
 bcdDevice: 0.15 (firmware release?)
 bLength: 9
 bDescriptorType: 4
 bInterfaceNumber: 0
 bAlternateSetting: 0
 bNumEndpoints: 3
  bulk-IN, bulk-OUT and Interrupt-IN
 bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)]
 bInterfaceSubClass: 0
 bInterfaceProtocol: 0
  bulk transfer, optional interrupt-IN (CCID)
 iInterface: CCID Interface
 CCID Class Descriptor
  bLength: 0x36
  bDescriptorType: 0x21
  bcdCCID: 1.10
  bMaxSlotIndex: 0x00
  bVoltageSupport: 0x07
   5.0V
   3.0V
   1.8V
  dwProtocols: 0x0000 0x0003
   T=0
   T=1
  dwDefaultClock: 4.800 MHz
  dwMaximumClock: 16.000 MHz
  bNumClockSupported: 0 (will use whatever is returned)
   IFD does not support GET CLOCK FREQUENCIES request: I/O error
  dwDataRate: 12903 bps
  dwMaxDataRate: 600000 bps
  bNumDataRatesSupported: 0 (will use whatever is returned)
   IFD does not support GET_DATA_RATES request: I/O error
  dwMaxIFSD: 254
  dwSynchProtocols: 0x00000000
  dwMechanical: 0x00000000
   No special characteristics
  dwFeatures: 0x000404BA
   ....02 Automatic parameter configuration based on ATR data
   ....08 Automatic ICC voltage selection
   ....10 Automatic ICC clock frequency change according to parameters
   ....20 Automatic baud rate change according to frequency and Fi, Di params
   ....80 Automatic PPS made by the CCID
   ..04.. Automatic IFSD exchange as first exchange (T=1)
   04.... Short and Extended APDU level exchange
  dwMaxCCIDMessageLength: 271 bytes
  bClassGetResponse: 0xFF
   echoes the APDU class
  bClassEnveloppe: 0xFF
   echoes the APDU class
  wLcdLayout: 0x0000
  bPINSupport: 0x00
  bMaxCCIDBusySlots: 1


I don't know whether it is only adding the USB vendor/product ID set to the Info.plist or large parts of the code would need to be backported just to support a new reader.

Thanks very much and Best Regards

William To



On Wed, May 18, 2016 at 2:23 PM, William To <[hidden email]> wrote:
Hi All,

Unfortunately my project have code that must use Solaris so I have to continue using it.

However the card reader vendor I am working provided me with a reader sample with vendor ID / product ID that is in the "should work" list. What can I do to back port support of readers from ccid 1.4.xx to 1.3.xx, or is that even possible (I know the ccid driver is revised and updated for a good reason though).

Regards

Willia mTo



On Mon, May 16, 2016 at 5:56 PM, Ludovic Rousseau <[hidden email]> wrote:


2016-05-16 11:15 GMT+02:00 William To <[hidden email]>:
Hi All,

I also hit another brick wall on building ccid 1.4.21 as following:

Using the configuration like this:
./configure LIBUSB_CFLAGS=-I/usr/include LIBUSB_LIBS="-L/usr/lib -lusb" --prefix=/usr/local PCSC_CFLAGS=-I/usr/local/include/PCSC PCSC_LIBS="-L/usr/local/lib -lpcsclite" --enable-usbdropdir=/usr/local/pcsc/drivers --disable-libusb

I found that the ccid shared library was not built. Here are my output from the console:


gmake[1]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
Making all in readers
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
Making all in examples
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
  CC       scardcontrol-scardcontrol.o
  CC       scardcontrol-PCSCv2part10.o
  CCLD     scardcontrol
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
Making all in contrib
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in RSA_SecurID
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
  CC       RSA_SecurID_getpasswd-RSA_SecurID_getpasswd.o
  CCLD     RSA_SecurID_getpasswd
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in src
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[1]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'

I think it looks very strange when nothing is built under the src/ directory where the ccid source code resides. I wonder would that be caused by not using the libusb library so the build disables the entire ccid library?

You used --disable-libusb so the USB driver is not build.
You have not used --enable-twinserial so the serial driver is not build either.

You need to have a working libusb-1.0 in order to build my CCID driver for USB.

I have no other option. Or maybe replace Solaris 11 by another operating system, like Debian GNU/Linux? :-)

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle



_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

I have done the crazy thing of adding the vendor/product ID and human readable name to the Info.plist file and attempted to perform read/write on the card inserted to the smart card reader, and here is what I got:

0000072 winscard_svc.c:290:() Thread is started: dwClientID=4, threadContext @808E288
00000036 winscard_svc.c:308:() Received command: CMD_VERSION from client 4
00000024 winscard_svc.c:324:() Client is protocol version 4:0
00000021 winscard_svc.c:349:() CMD_VERSION rv=0x0 for client 4
00000072 winscard_svc.c:308:() Received command: ESTABLISH_CONTEXT from client 4
00000029 winscard.c:218:() Establishing Context: 0x1034607
00000021 winscard_svc.c:405:() ESTABLISH_CONTEXT rv=0x0 for client 4
00000095 winscard_svc.c:308:() Received command: CMD_GET_READERS_STATE from client 4
00000240 winscard_svc.c:308:() Received command: CONNECT from client 4
00000027 winscard.c:278:() Attempting Connect to Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00 using protocol: 3
00000023 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000021 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000019 atrhandler.c:153:() T=0 Protocol Found
00000019 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000020 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000020 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000018 atrhandler.c:153:() T=0 Protocol Found
00000021 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000019 prothandler.c:127:() Attempting PTS to T=0
00000028 ifdhandler.c:673:() protocol T=0, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00009888 winscard.c:423:() Active Protocol: T=0
00000039 winscard.c:444:() hCard Identity: 1d223
00000023 winscard_svc.c:447:() CONNECT rv=0x0 for client 4
00000156 winscard_svc.c:308:() Received command: GET_ATTRIB from client 4
00000053 ifdhandler.c:394:() tag: 0x90303, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000033 winscard_svc.c:720:() GET_ATTRIB rv=0x0 for client 4
00000135 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000050 winscard.c:1636:() Send Protocol: T=0
00000019 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00006547 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000170 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000053 winscard.c:1636:() Send Protocol: T=0
00000026 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00003730 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000196 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000056 winscard.c:1636:() Send Protocol: T=0
00000024 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00087784 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000251 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000033 winscard.c:1636:() Send Protocol: T=0
00000023 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00015668 commands.c:1364:() overrun by 26 bytes
00000101 winscard_svc.c:647:() TRANSMIT rv=0x80100008 for client 4
00000435 winscard_svc.c:308:() Received command: DISCONNECT from client 4
00000034 winscard.c:848:() Active Contexts: 1
00000025 winscard_svc.c:487:() DISCONNECT rv=0x0 for client 4
00000089 winscard_svc.c:308:() Received command: RELEASE_CONTEXT from client 4
00000041 winscard.c:229:() Releasing Context: 0x1034607
00000025 winscard_svc.c:421:() RELEASE_CONTEXT rv=0x0 for client 4
00000062 winscard_svc.c:301:() Client die: 4
00000040 winscard_svc.c:948:() Thread is stopping: dwClientID=4, threadContext @808E288
00000022 winscard_svc.c:956:() Freeing SCONTEXT @808E288
20105953 pcscdaemon.c:649:() Received signal: 2

There is overrun by 26 bytes and the receive operation failed.

Regards

William To




On Wed, May 18, 2016 at 2:40 PM, William To <[hidden email]> wrote:
Hi All,

This is  is the output from ./src/parse for the reader I have on hand now:


 idVendor: 0x04E6
  iManufacturer: Identive
 idProduct: 0x5810
  iProduct: CLOUD 2700 R Smart Card Reader
 bcdDevice: 0.15 (firmware release?)
 bLength: 9
 bDescriptorType: 4
 bInterfaceNumber: 0
 bAlternateSetting: 0
 bNumEndpoints: 3
  bulk-IN, bulk-OUT and Interrupt-IN
 bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)]
 bInterfaceSubClass: 0
 bInterfaceProtocol: 0
  bulk transfer, optional interrupt-IN (CCID)
 iInterface: CCID Interface
 CCID Class Descriptor
  bLength: 0x36
  bDescriptorType: 0x21
  bcdCCID: 1.10
  bMaxSlotIndex: 0x00
  bVoltageSupport: 0x07
   5.0V
   3.0V
   1.8V
  dwProtocols: 0x0000 0x0003
   T=0
   T=1
  dwDefaultClock: 4.800 MHz
  dwMaximumClock: 16.000 MHz
  bNumClockSupported: 0 (will use whatever is returned)
   IFD does not support GET CLOCK FREQUENCIES request: I/O error
  dwDataRate: 12903 bps
  dwMaxDataRate: 600000 bps
  bNumDataRatesSupported: 0 (will use whatever is returned)
   IFD does not support GET_DATA_RATES request: I/O error
  dwMaxIFSD: 254
  dwSynchProtocols: 0x00000000
  dwMechanical: 0x00000000
   No special characteristics
  dwFeatures: 0x000404BA
   ....02 Automatic parameter configuration based on ATR data
   ....08 Automatic ICC voltage selection
   ....10 Automatic ICC clock frequency change according to parameters
   ....20 Automatic baud rate change according to frequency and Fi, Di params
   ....80 Automatic PPS made by the CCID
   ..04.. Automatic IFSD exchange as first exchange (T=1)
   04.... Short and Extended APDU level exchange
  dwMaxCCIDMessageLength: 271 bytes
  bClassGetResponse: 0xFF
   echoes the APDU class
  bClassEnveloppe: 0xFF
   echoes the APDU class
  wLcdLayout: 0x0000
  bPINSupport: 0x00
  bMaxCCIDBusySlots: 1


I don't know whether it is only adding the USB vendor/product ID set to the Info.plist or large parts of the code would need to be backported just to support a new reader.

Thanks very much and Best Regards

William To



On Wed, May 18, 2016 at 2:23 PM, William To <[hidden email]> wrote:
Hi All,

Unfortunately my project have code that must use Solaris so I have to continue using it.

However the card reader vendor I am working provided me with a reader sample with vendor ID / product ID that is in the "should work" list. What can I do to back port support of readers from ccid 1.4.xx to 1.3.xx, or is that even possible (I know the ccid driver is revised and updated for a good reason though).

Regards

Willia mTo



On Mon, May 16, 2016 at 5:56 PM, Ludovic Rousseau <[hidden email]> wrote:


2016-05-16 11:15 GMT+02:00 William To <[hidden email]>:
Hi All,

I also hit another brick wall on building ccid 1.4.21 as following:

Using the configuration like this:
./configure LIBUSB_CFLAGS=-I/usr/include LIBUSB_LIBS="-L/usr/lib -lusb" --prefix=/usr/local PCSC_CFLAGS=-I/usr/local/include/PCSC PCSC_LIBS="-L/usr/local/lib -lpcsclite" --enable-usbdropdir=/usr/local/pcsc/drivers --disable-libusb

I found that the ccid shared library was not built. Here are my output from the console:


gmake[1]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
Making all in readers
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/readers'
Making all in examples
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
  CC       scardcontrol-scardcontrol.o
  CC       scardcontrol-PCSCv2part10.o
  CCLD     scardcontrol
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/examples'
Making all in contrib
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in RSA_SecurID
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
  CC       RSA_SecurID_getpasswd-RSA_SecurID_getpasswd.o
  CCLD     RSA_SecurID_getpasswd
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib/RSA_SecurID'
gmake[3]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/contrib'
Making all in src
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21/src'
gmake[2]: Entering directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[2]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'
gmake[1]: Leaving directory '/export/home/wto/work/nwfb_bdc/sam-nwfb/prerequisites/ccid-1.4.21'

I think it looks very strange when nothing is built under the src/ directory where the ccid source code resides. I wonder would that be caused by not using the libusb library so the build disables the entire ccid library?

You used --disable-libusb so the USB driver is not build.
You have not used --enable-twinserial so the serial driver is not build either.

You need to have a working libusb-1.0 in order to build my CCID driver for USB.

I have no other option. Or maybe replace Solaris 11 by another operating system, like Debian GNU/Linux? :-)

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle




_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

Ludovic Rousseau
In reply to this post by William To


2016-05-18 8:40 GMT+02:00 William To <[hidden email]>:
Hi All,

This is  is the output from ./src/parse for the reader I have on hand now:


 idVendor: 0x04E6
  iManufacturer: Identive
 idProduct: 0x5810
  iProduct: CLOUD 2700 R Smart Card Reader
 bcdDevice: 0.15 (firmware release?)
 bLength: 9
 bDescriptorType: 4
 bInterfaceNumber: 0
 bAlternateSetting: 0
 bNumEndpoints: 3
  bulk-IN, bulk-OUT and Interrupt-IN
 bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)]
 bInterfaceSubClass: 0
 bInterfaceProtocol: 0
  bulk transfer, optional interrupt-IN (CCID)
 iInterface: CCID Interface
 CCID Class Descriptor
  bLength: 0x36
  bDescriptorType: 0x21
  bcdCCID: 1.10
  bMaxSlotIndex: 0x00
  bVoltageSupport: 0x07
   5.0V
   3.0V
   1.8V
  dwProtocols: 0x0000 0x0003
   T=0
   T=1
  dwDefaultClock: 4.800 MHz
  dwMaximumClock: 16.000 MHz
  bNumClockSupported: 0 (will use whatever is returned)
   IFD does not support GET CLOCK FREQUENCIES request: I/O error
  dwDataRate: 12903 bps
  dwMaxDataRate: 600000 bps
  bNumDataRatesSupported: 0 (will use whatever is returned)
   IFD does not support GET_DATA_RATES request: I/O error
  dwMaxIFSD: 254
  dwSynchProtocols: 0x00000000
  dwMechanical: 0x00000000
   No special characteristics
  dwFeatures: 0x000404BA
   ....02 Automatic parameter configuration based on ATR data
   ....08 Automatic ICC voltage selection
   ....10 Automatic ICC clock frequency change according to parameters
   ....20 Automatic baud rate change according to frequency and Fi, Di params
   ....80 Automatic PPS made by the CCID
   ..04.. Automatic IFSD exchange as first exchange (T=1)
   04.... Short and Extended APDU level exchange
  dwMaxCCIDMessageLength: 271 bytes
  bClassGetResponse: 0xFF
   echoes the APDU class
  bClassEnveloppe: 0xFF
   echoes the APDU class
  wLcdLayout: 0x0000
  bPINSupport: 0x00
  bMaxCCIDBusySlots: 1


I don't know whether it is only adding the USB vendor/product ID set to the Info.plist or large parts of the code would need to be backported just to support a new reader.

This "Identive CLOUD 2700 R Smart Card Reader" reader has been added in CCID driver version 1.4.10.
https://pcsclite.alioth.debian.org/ccid/shouldwork.html#0x04E60x5810

I do not remember having added special code to support this reader.
You should be able to use the Info.plist generated from a recent CCID driver version (or generated on GNU/Linux) and use it with the CCID driver binary you already have.
That "should" work.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

Ludovic Rousseau
In reply to this post by William To


2016-05-18 9:43 GMT+02:00 William To <[hidden email]>:
Hi All,

I have done the crazy thing of adding the vendor/product ID and human readable name to the Info.plist file and attempted to perform read/write on the card inserted to the smart card reader, and here is what I got:

0000072 winscard_svc.c:290:() Thread is started: dwClientID=4, threadContext @808E288
00000036 winscard_svc.c:308:() Received command: CMD_VERSION from client 4
00000024 winscard_svc.c:324:() Client is protocol version 4:0
00000021 winscard_svc.c:349:() CMD_VERSION rv=0x0 for client 4
00000072 winscard_svc.c:308:() Received command: ESTABLISH_CONTEXT from client 4
00000029 winscard.c:218:() Establishing Context: 0x1034607
00000021 winscard_svc.c:405:() ESTABLISH_CONTEXT rv=0x0 for client 4
00000095 winscard_svc.c:308:() Received command: CMD_GET_READERS_STATE from client 4
00000240 winscard_svc.c:308:() Received command: CONNECT from client 4
00000027 winscard.c:278:() Attempting Connect to Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00 using protocol: 3
00000023 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000021 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000019 atrhandler.c:153:() T=0 Protocol Found
00000019 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000020 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000020 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000018 atrhandler.c:153:() T=0 Protocol Found
00000021 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000019 prothandler.c:127:() Attempting PTS to T=0
00000028 ifdhandler.c:673:() protocol T=0, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00009888 winscard.c:423:() Active Protocol: T=0
00000039 winscard.c:444:() hCard Identity: 1d223
00000023 winscard_svc.c:447:() CONNECT rv=0x0 for client 4
00000156 winscard_svc.c:308:() Received command: GET_ATTRIB from client 4
00000053 ifdhandler.c:394:() tag: 0x90303, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000033 winscard_svc.c:720:() GET_ATTRIB rv=0x0 for client 4
00000135 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000050 winscard.c:1636:() Send Protocol: T=0
00000019 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00006547 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000170 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000053 winscard.c:1636:() Send Protocol: T=0
00000026 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00003730 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000196 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000056 winscard.c:1636:() Send Protocol: T=0
00000024 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00087784 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000251 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000033 winscard.c:1636:() Send Protocol: T=0
00000023 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00015668 commands.c:1364:() overrun by 26 bytes
00000101 winscard_svc.c:647:() TRANSMIT rv=0x80100008 for client 4
00000435 winscard_svc.c:308:() Received command: DISCONNECT from client 4
00000034 winscard.c:848:() Active Contexts: 1
00000025 winscard_svc.c:487:() DISCONNECT rv=0x0 for client 4
00000089 winscard_svc.c:308:() Received command: RELEASE_CONTEXT from client 4
00000041 winscard.c:229:() Releasing Context: 0x1034607
00000025 winscard_svc.c:421:() RELEASE_CONTEXT rv=0x0 for client 4
00000062 winscard_svc.c:301:() Client die: 4
00000040 winscard_svc.c:948:() Thread is stopping: dwClientID=4, threadContext @808E288
00000022 winscard_svc.c:956:() Freeing SCONTEXT @808E288
20105953 pcscdaemon.c:649:() Received signal: 2

There is overrun by 26 bytes and the receive operation failed.

Please generate a log as documented in https://pcsclite.alioth.debian.org/ccid.html#support

I do not have the CCID frames in your log.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

CCID driver version <-- 1.3.13
pcsc-lite version <-- 1.6.1
smart card reader name <-- identive cloud 2700r reader
the output of the command "/usr/sbin/pcscd --version" <--

pcsc-lite version 1.6.1.
Copyright (C) 1999-2002 by David Corcoran <[hidden email]>.
Copyright (C) <a href="tel:2001-2010" value="+85220012010" target="_blank">2001-2010 by Ludovic Rousseau <[hidden email]>.
Copyright (C) <a href="tel:2003-2004" value="+85220032004" target="_blank">2003-2004 by Damien Sauveron <[hidden email]>.
Report bugs to <[hidden email]>.
Enabled features: Solaris i386-pc-solaris2.11 serial usb libusb usbdropdir=/usr/local/pcsc/drivers debugatr ipcdir=/var/run/pcscd sysconfdir=/usr/local/etc

The log is in the next email.

Regards

William To



On Wed, May 18, 2016 at 3:46 PM, Ludovic Rousseau <[hidden email]> wrote:


2016-05-18 9:43 GMT+02:00 William To <[hidden email]>:
Hi All,

I have done the crazy thing of adding the vendor/product ID and human readable name to the Info.plist file and attempted to perform read/write on the card inserted to the smart card reader, and here is what I got:

0000072 winscard_svc.c:290:() Thread is started: dwClientID=4, threadContext @808E288
00000036 winscard_svc.c:308:() Received command: CMD_VERSION from client 4
00000024 winscard_svc.c:324:() Client is protocol version 4:0
00000021 winscard_svc.c:349:() CMD_VERSION rv=0x0 for client 4
00000072 winscard_svc.c:308:() Received command: ESTABLISH_CONTEXT from client 4
00000029 winscard.c:218:() Establishing Context: 0x1034607
00000021 winscard_svc.c:405:() ESTABLISH_CONTEXT rv=0x0 for client 4
00000095 winscard_svc.c:308:() Received command: CMD_GET_READERS_STATE from client 4
00000240 winscard_svc.c:308:() Received command: CONNECT from client 4
00000027 winscard.c:278:() Attempting Connect to Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00 using protocol: 3
00000023 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000021 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000019 atrhandler.c:153:() T=0 Protocol Found
00000019 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000020 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000020 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000018 atrhandler.c:153:() T=0 Protocol Found
00000021 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000019 prothandler.c:127:() Attempting PTS to T=0
00000028 ifdhandler.c:673:() protocol T=0, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00009888 winscard.c:423:() Active Protocol: T=0
00000039 winscard.c:444:() hCard Identity: 1d223
00000023 winscard_svc.c:447:() CONNECT rv=0x0 for client 4
00000156 winscard_svc.c:308:() Received command: GET_ATTRIB from client 4
00000053 ifdhandler.c:394:() tag: 0x90303, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000033 winscard_svc.c:720:() GET_ATTRIB rv=0x0 for client 4
00000135 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000050 winscard.c:1636:() Send Protocol: T=0
00000019 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00006547 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000170 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000053 winscard.c:1636:() Send Protocol: T=0
00000026 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00003730 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000196 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000056 winscard.c:1636:() Send Protocol: T=0
00000024 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00087784 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4
00000251 winscard_svc.c:308:() Received command: TRANSMIT from client 4
00000033 winscard.c:1636:() Send Protocol: T=0
00000023 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00015668 commands.c:1364:() overrun by 26 bytes
00000101 winscard_svc.c:647:() TRANSMIT rv=0x80100008 for client 4
00000435 winscard_svc.c:308:() Received command: DISCONNECT from client 4
00000034 winscard.c:848:() Active Contexts: 1
00000025 winscard_svc.c:487:() DISCONNECT rv=0x0 for client 4
00000089 winscard_svc.c:308:() Received command: RELEASE_CONTEXT from client 4
00000041 winscard.c:229:() Releasing Context: 0x1034607
00000025 winscard_svc.c:421:() RELEASE_CONTEXT rv=0x0 for client 4
00000062 winscard_svc.c:301:() Client die: 4
00000040 winscard_svc.c:948:() Thread is stopping: dwClientID=4, threadContext @808E288
00000022 winscard_svc.c:956:() Freeing SCONTEXT @808E288
<a href="tel:20105953" value="+85220105953" target="_blank">20105953 pcscdaemon.c:649:() Received signal: 2

There is overrun by 26 bytes and the receive operation failed.

Please generate a log as documented in https://pcsclite.alioth.debian.org/ccid.html#support

I do not have the CCID frames in your log.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle


_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
In reply to this post by Ludovic Rousseau
Hi All,

Log is here:

pcscd log:

00000000 debuglog.c:277:() debug level=debug
00000050 debuglog.c:306:() Debug options: APDU
00000395 configfile.l:282:() Parsing conf file: /usr/local/etc/reader.conf
00000044 pcscdaemon.c:528:() pcsc-lite 1.6.1 daemon ready.
00362524 hotplug_libusb.c:500:() Adding USB device: /dev/usb:4e6.5810/0
00012963 readerfactory.c:979:() Attempting startup of Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00 using /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Solaris/libccid.so
00000411 readerfactory.c:849:() Loading IFD Handler 3.0
00000083 ifdhandler.c:1715:() Driver version: 1.3.13
00000439 ifdhandler.c:1728:() LogLevel: 0x0003
00000034 ifdhandler.c:1738:() LogLevel from LIBCCID_ifdLogLevel: 0x000F
00000411 ifdhandler.c:1748:() DriverOptions: 0x0000
00000043 ifdhandler.c:82:() lun: 0, device: usb:04e6/5810:libusb:/dev/usb:4e6.5810/0
00000042 ccid_usb.c:167:() Reader index: 0, Device: usb:04e6/5810:libusb:/dev/usb:4e6.5810/0
00000633 ccid_usb.c:284:() Manufacturer: Ludovic Rousseau ([hidden email])
00000399 ccid_usb.c:294:() ProductString: Generic CCID driver
00000391 ccid_usb.c:300:() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00164127 ccid_usb.c:395:() Checking device: /dev/usb/4e6.5810/0
00000046 ccid_usb.c:449:() Trying to open USB bus/device: /dev/usb/4e6.5810/0
00000200 ccid_usb.c:512:() Found Vendor/Product: 04E6/5810 (Identive CLOUD 2700 R Smart Card Reader)
00000033 ccid_usb.c:515:() Using USB bus/device: /dev/usb/4e6.5810/0
00000035 ccid_usb.c:978:() request: 0x03
00005669 receive:
00000117 ccid_usb.c:921:() IFD does not support GET_DATA_RATES request: I/O error
00012872 ccid_usb.c:1003:() before (0)


<a href="tel:35517441" value="+85235517441" target="_blank">35517441 ccid_usb.c:1006:() after (0) (I/O error)
00000088 ccid_usb.c:1012:() usb_interrupt_read(/dev/usb/4e6.5810/0): I/O error
00000089 -> 000000 65 00 00 00 00 00 00 00 00 00
00003798 ccid_usb.c:620:() usb_bulk_write(/dev/usb/4e6.5810/0): I/O error
00000073 -> 000000 65 00 00 00 00 00 01 00 00 00
00003924 ccid_usb.c:620:() usb_bulk_write(/dev/usb/4e6.5810/0): I/O error
00000071 -> 000000 65 00 00 00 00 00 02 00 00 00
00003927 ccid_usb.c:620:() usb_bulk_write(/dev/usb/4e6.5810/0): I/O error
00000069 ifdhandler.c:137:() failed
00000071 ccid_usb.c:701:() Closing USB device: /dev/usb/4e6.5810/0
00000035 ccid_usb.c:718:() Last slot closed. Release resources
00001873 readerfactory.c:1010:() Open Port 200000 Failed (usb:04e6/5810:libusb:/dev/usb)
00000069 readerfactory.c:886:() Unloading reader driver.
00000155 readerfactory.c:257:() Identive CLOUD 2700 R Smart Card Reader (21121226200082) init failed.
00000073 hotplug_libusb.c:410:() Driver ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
00000029 hotplug_libusb.c:420:() Polling forced every 1 second(s)
01000262 hotplug_libusb.c:576:() Removing USB device[0]: /dev/usb:4e6.5810/0
02029996 hotplug_libusb.c:500:() Adding USB device: /dev/usb:4e6.5810/0
00012974 readerfactory.c:979:() Attempting startup of Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00 using /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Solaris/libccid.so
00000449 readerfactory.c:849:() Loading IFD Handler 3.0
00000077 ifdhandler.c:1715:() Driver version: 1.3.13
00000446 ifdhandler.c:1728:() LogLevel: 0x0003
00000034 ifdhandler.c:1738:() LogLevel from LIBCCID_ifdLogLevel: 0x000F
00000413 ifdhandler.c:1748:() DriverOptions: 0x0000
00000045 ifdhandler.c:82:() lun: 0, device: usb:04e6/5810:libusb:/dev/usb:4e6.5810/0
00000042 ccid_usb.c:167:() Reader index: 0, Device: usb:04e6/5810:libusb:/dev/usb:4e6.5810/0
00000647 ccid_usb.c:284:() Manufacturer: Ludovic Rousseau ([hidden email])
00000413 ccid_usb.c:294:() ProductString: Generic CCID driver
00000391 ccid_usb.c:300:() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00163490 ccid_usb.c:395:() Checking device: /dev/usb/4e6.5810/0
00000033 ccid_usb.c:449:() Trying to open USB bus/device: /dev/usb/4e6.5810/0
00000144 ccid_usb.c:512:() Found Vendor/Product: 04E6/5810 (Identive CLOUD 2700 R Smart Card Reader)
00000031 ccid_usb.c:515:() Using USB bus/device: /dev/usb/4e6.5810/0
00000034 ccid_usb.c:978:() request: 0x03
00005293 receive:
00000066 ccid_usb.c:921:() IFD does not support GET_DATA_RATES request: I/O error
00011931 ccid_usb.c:1003:() before (0)
00017012 ccid_usb.c:1006:() after (0) (I/O error)
00000063 NotifySlotChange: 50 03
00000090 -> 000000 65 00 00 00 00 00 00 00 00 00
00003810 <- 000000 81 00 00 00 00 00 00 01 00 01
00000091 ifdhandler.c:394:() tag: 0xFB0, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000045 readerfactory.c:273:() Using the pcscd polling thread
00000028 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000022 -> 000000 65 00 00 00 00 00 01 00 00 00
00003816 <- 000000 81 00 00 00 00 00 01 01 00 01
00000056 ifdhandler.c:1696:() Card present
00000142 ifdhandler.c:394:() tag: 0xFAE, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000031 ifdhandler.c:483:() Reader supports 1 slot(s)
00000046 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000025 -> 000000 65 00 00 00 00 00 02 00 00 00
00003696 <- 000000 81 00 00 00 00 00 02 01 00 01
00000056 ifdhandler.c:1696:() Card present
00000048 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000049 -> 000000 65 00 00 00 00 00 03 00 00 00
00003850 <- 000000 81 00 00 00 00 00 03 01 00 01
00000053 ifdhandler.c:1696:() Card present
00000059 ifdhandler.c:1134:() action: PowerUp, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000070 -> 000000 62 00 00 00 00 00 04 00 00 00
00171874 <- 000000 80 13 00 00 00 00 04 00 00 00 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000150 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000025 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000022 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000021 atrhandler.c:153:() T=0 Protocol Found
00000021 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000022 Card ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000027 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000023 -> 000000 65 00 00 00 00 00 05 00 00 00
00003636 <- 000000 81 00 00 00 00 00 05 00 00 00
00000061 ifdhandler.c:1696:() Card present
00400076 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000088 -> 000000 65 00 00 00 00 00 06 00 00 00
00003778 <- 000000 81 00 00 00 00 00 06 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400072 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000077 -> 000000 65 00 00 00 00 00 07 00 00 00
00003805 <- 000000 81 00 00 00 00 00 07 00 00 00
00000062 ifdhandler.c:1696:() Card present
00400079 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000092 -> 000000 65 00 00 00 00 00 08 00 00 00
00003767 <- 000000 81 00 00 00 00 00 08 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400074 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000048 -> 000000 65 00 00 00 00 00 09 00 00 00
00003827 <- 000000 81 00 00 00 00 00 09 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400078 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000088 -> 000000 65 00 00 00 00 00 0A 00 00 00
00003775 <- 000000 81 00 00 00 00 00 0A 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000068 -> 000000 65 00 00 00 00 00 0B 00 00 00
00003813 <- 000000 81 00 00 00 00 00 0B 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000081 -> 000000 65 00 00 00 00 00 0C 00 00 00
00003792 <- 000000 81 00 00 00 00 00 0C 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000086 -> 000000 65 00 00 00 00 00 0D 00 00 00
00003790 <- 000000 81 00 00 00 00 00 0D 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400071 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000076 -> 000000 65 00 00 00 00 00 0E 00 00 00
00003795 <- 000000 81 00 00 00 00 00 0E 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400076 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000089 -> 000000 65 00 00 00 00 00 0F 00 00 00
00003785 <- 000000 81 00 00 00 00 00 0F 00 00 00
00000056 ifdhandler.c:1696:() Card present
00400073 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000076 -> 000000 65 00 00 00 00 00 10 00 00 00
00003795 <- 000000 81 00 00 00 00 00 10 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400069 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000075 -> 000000 65 00 00 00 00 00 11 00 00 00
00003807 <- 000000 81 00 00 00 00 00 11 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400078 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 12 00 00 00
00003780 <- 000000 81 00 00 00 00 00 12 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400051 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000072 -> 000000 65 00 00 00 00 00 13 00 00 00
00003825 <- 000000 81 00 00 00 00 00 13 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400079 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000090 -> 000000 65 00 00 00 00 00 14 00 00 00
00003776 <- 000000 81 00 00 00 00 00 14 00 00 00
00000061 ifdhandler.c:1696:() Card present
00400072 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000072 -> 000000 65 00 00 00 00 00 15 00 00 00
00003802 <- 000000 81 00 00 00 00 00 15 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400069 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000079 -> 000000 65 00 00 00 00 00 16 00 00 00
00003793 <- 000000 81 00 00 00 00 00 16 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400076 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 17 00 00 00
00003791 <- 000000 81 00 00 00 00 00 17 00 00 00
00000044 ifdhandler.c:1696:() Card present
00400046 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000075 -> 000000 65 00 00 00 00 00 18 00 00 00
00003834 <- 000000 81 00 00 00 00 00 18 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400076 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 19 00 00 00
00003791 <- 000000 81 00 00 00 00 00 19 00 00 00
00000056 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000075 -> 000000 65 00 00 00 00 00 1A 00 00 00
00003801 <- 000000 81 00 00 00 00 00 1A 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400068 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000075 -> 000000 65 00 00 00 00 00 1B 00 00 00
00003807 <- 000000 81 00 00 00 00 00 1B 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400076 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000083 -> 000000 65 00 00 00 00 00 1C 00 00 00
00003796 <- 000000 81 00 00 00 00 00 1C 00 00 00
00000025 ifdhandler.c:1696:() Card present
00400044 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000074 -> 000000 65 00 00 00 00 00 1D 00 00 00
00003854 <- 000000 81 00 00 00 00 00 1D 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400078 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000089 -> 000000 65 00 00 00 00 00 1E 00 00 00
00003782 <- 000000 81 00 00 00 00 00 1E 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400282 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000092 -> 000000 65 00 00 00 00 00 1F 00 00 00
00003574 <- 000000 81 00 00 00 00 00 1F 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000077 -> 000000 65 00 00 00 00 00 20 00 00 00
00003801 <- 000000 81 00 00 00 00 00 20 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400080 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000089 -> 000000 65 00 00 00 00 00 21 00 00 00
00003771 <- 000000 81 00 00 00 00 00 21 00 00 00
00000026 ifdhandler.c:1696:() Card present
00400045 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000070 -> 000000 65 00 00 00 00 00 22 00 00 00
00003865 <- 000000 81 00 00 00 00 00 22 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400077 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000087 -> 000000 65 00 00 00 00 00 23 00 00 00
00003785 <- 000000 81 00 00 00 00 00 23 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400069 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000066 -> 000000 65 00 00 00 00 00 24 00 00 00
00003811 <- 000000 81 00 00 00 00 00 24 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000075 -> 000000 65 00 00 00 00 00 25 00 00 00
00003801 <- 000000 81 00 00 00 00 00 25 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400077 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000084 -> 000000 65 00 00 00 00 00 26 00 00 00
00003772 <- 000000 81 00 00 00 00 00 26 00 00 00
00000026 ifdhandler.c:1696:() Card present
00400042 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000074 -> 000000 65 00 00 00 00 00 27 00 00 00
00003878 <- 000000 81 00 00 00 00 00 27 00 00 00
00000056 ifdhandler.c:1696:() Card present
00400077 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000087 -> 000000 65 00 00 00 00 00 28 00 00 00
00003786 <- 000000 81 00 00 00 00 00 28 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000070 -> 000000 65 00 00 00 00 00 29 00 00 00
00003803 <- 000000 81 00 00 00 00 00 29 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400068 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000077 -> 000000 65 00 00 00 00 00 2A 00 00 00
00003803 <- 000000 81 00 00 00 00 00 2A 00 00 00
00000056 ifdhandler.c:1696:() Card present
00400074 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 2B 00 00 00
00003790 <- 000000 81 00 00 00 00 00 2B 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400071 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000072 -> 000000 65 00 00 00 00 00 2C 00 00 00
00003803 <- 000000 81 00 00 00 00 00 2C 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400080 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000091 -> 000000 65 00 00 00 00 00 2D 00 00 00
00003777 <- 000000 81 00 00 00 00 00 2D 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400072 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000070 -> 000000 65 00 00 00 00 00 2E 00 00 00
00003802 <- 000000 81 00 00 00 00 00 2E 00 00 00
00000056 ifdhandler.c:1696:() Card present
00400068 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000075 -> 000000 65 00 00 00 00 00 2F 00 00 00
00003805 <- 000000 81 00 00 00 00 00 2F 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 30 00 00 00
00003792 <- 000000 81 00 00 00 00 00 30 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000078 -> 000000 65 00 00 00 00 00 31 00 00 00
00003788 <- 000000 81 00 00 00 00 00 31 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400076 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000087 -> 000000 65 00 00 00 00 00 32 00 00 00
00003783 <- 000000 81 00 00 00 00 00 32 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400071 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000075 -> 000000 65 00 00 00 00 00 33 00 00 00
00003799 <- 000000 81 00 00 00 00 00 33 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400068 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000076 -> 000000 65 00 00 00 00 00 34 00 00 00
00003806 <- 000000 81 00 00 00 00 00 34 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000082 -> 000000 65 00 00 00 00 00 35 00 00 00
00003788 <- 000000 81 00 00 00 00 00 35 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000081 -> 000000 65 00 00 00 00 00 36 00 00 00
00003790 <- 000000 81 00 00 00 00 00 36 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400076 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 37 00 00 00
00003787 <- 000000 81 00 00 00 00 00 37 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400078 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000090 -> 000000 65 00 00 00 00 00 38 00 00 00
00003781 <- 000000 81 00 00 00 00 00 38 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400086 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000095 -> 000000 65 00 00 00 00 00 39 00 00 00
00003764 <- 000000 81 00 00 00 00 00 39 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000082 -> 000000 65 00 00 00 00 00 3A 00 00 00
00003787 <- 000000 81 00 00 00 00 00 3A 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400074 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000074 -> 000000 65 00 00 00 00 00 3B 00 00 00
00003796 <- 000000 81 00 00 00 00 00 3B 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400074 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 3C 00 00 00
00003790 <- 000000 81 00 00 00 00 00 3C 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400073 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000079 -> 000000 65 00 00 00 00 00 3D 00 00 00
00003793 <- 000000 81 00 00 00 00 00 3D 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400080 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000086 -> 000000 65 00 00 00 00 00 3E 00 00 00
00003782 <- 000000 81 00 00 00 00 00 3E 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000079 -> 000000 65 00 00 00 00 00 3F 00 00 00
00003798 <- 000000 81 00 00 00 00 00 3F 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400069 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000078 -> 000000 65 00 00 00 00 00 40 00 00 00
00003800 <- 000000 81 00 00 00 00 00 40 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400077 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 41 00 00 00
00003785 <- 000000 81 00 00 00 00 00 41 00 00 00
00000056 ifdhandler.c:1696:() Card present
00400072 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000070 -> 000000 65 00 00 00 00 00 42 00 00 00
00003804 <- 000000 81 00 00 00 00 00 42 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400078 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000091 -> 000000 65 00 00 00 00 00 43 00 00 00
00003780 <- 000000 81 00 00 00 00 00 43 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400073 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000082 -> 000000 65 00 00 00 00 00 44 00 00 00
00003793 <- 000000 81 00 00 00 00 00 44 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400068 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000077 -> 000000 65 00 00 00 00 00 45 00 00 00
00003797 <- 000000 81 00 00 00 00 00 45 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000087 -> 000000 65 00 00 00 00 00 46 00 00 00
00003787 <- 000000 81 00 00 00 00 00 46 00 00 00
00000062 ifdhandler.c:1696:() Card present
00400071 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000070 -> 000000 65 00 00 00 00 00 47 00 00 00
00003800 <- 000000 81 00 00 00 00 00 47 00 00 00
00000056 ifdhandler.c:1696:() Card present
00400077 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000090 -> 000000 65 00 00 00 00 00 48 00 00 00
00003783 <- 000000 81 00 00 00 00 00 48 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400071 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000070 -> 000000 65 00 00 00 00 00 49 00 00 00
00003940 <- 000000 81 00 00 00 00 00 49 00 00 00
00000063 ifdhandler.c:1696:() Card present
00400040 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000080 -> 000000 65 00 00 00 00 00 4A 00 00 00
00003685 <- 000000 81 00 00 00 00 00 4A 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400074 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000085 -> 000000 65 00 00 00 00 00 4B 00 00 00
00003786 <- 000000 81 00 00 00 00 00 4B 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000080 -> 000000 65 00 00 00 00 00 4C 00 00 00
00003793 <- 000000 81 00 00 00 00 00 4C 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400077 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000084 -> 000000 65 00 00 00 00 00 4D 00 00 00
00003784 <- 000000 81 00 00 00 00 00 4D 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400067 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000069 -> 000000 65 00 00 00 00 00 4E 00 00 00
00003812 <- 000000 81 00 00 00 00 00 4E 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000083 -> 000000 65 00 00 00 00 00 4F 00 00 00
00003794 <- 000000 81 00 00 00 00 00 4F 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400079 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000089 -> 000000 65 00 00 00 00 00 50 00 00 00
00003782 <- 000000 81 00 00 00 00 00 50 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400074 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000079 -> 000000 65 00 00 00 00 00 51 00 00 00
00003789 <- 000000 81 00 00 00 00 00 51 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400080 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000089 -> 000000 65 00 00 00 00 00 52 00 00 00
00003784 <- 000000 81 00 00 00 00 00 52 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400071 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000078 -> 000000 65 00 00 00 00 00 53 00 00 00
00003791 <- 000000 81 00 00 00 00 00 53 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400072 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000076 -> 000000 65 00 00 00 00 00 54 00 00 00
00003801 <- 000000 81 00 00 00 00 00 54 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400073 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000082 -> 000000 65 00 00 00 00 00 55 00 00 00
00003789 <- 000000 81 00 00 00 00 00 55 00 00 00
00000060 ifdhandler.c:1696:() Card present
00400072 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000073 -> 000000 65 00 00 00 00 00 56 00 00 00
00003801 <- 000000 81 00 00 00 00 00 56 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000087 -> 000000 65 00 00 00 00 00 57 00 00 00
00003784 <- 000000 81 00 00 00 00 00 57 00 00 00
00000059 ifdhandler.c:1696:() Card present
00099961 winscard_msg_srv.c:204:() Common channel packet arrival
00000080 winscard_msg_srv.c:215:() ProcessCommonChannelRequest detects: 10
00000028 pcscdaemon.c:93:() A new context thread creation is requested: 10
00000117 winscard_svc.c:290:() Thread is started: dwClientID=10, threadContext @808B3C0
00000036 winscard_svc.c:308:() Received command: CMD_VERSION from client 10
00000025 winscard_svc.c:324:() Client is protocol version 4:0
00000021 winscard_svc.c:349:() CMD_VERSION rv=0x0 for client 10
00000079 winscard_svc.c:308:() Received command: ESTABLISH_CONTEXT from client 10
00000032 winscard.c:218:() Establishing Context: 0x1031DEF
00000021 winscard_svc.c:405:() ESTABLISH_CONTEXT rv=0x0 for client 10
00000100 winscard_svc.c:308:() Received command: CMD_GET_READERS_STATE from client 10
00000237 winscard_svc.c:308:() Received command: CONNECT from client 10
00000026 winscard.c:278:() Attempting Connect to Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00 using protocol: 3
00000046 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000021 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000020 atrhandler.c:153:() T=0 Protocol Found
00000020 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000021 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00
00000020 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E
00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00
00000019 atrhandler.c:153:() T=0 Protocol Found
00000020 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1
00000020 prothandler.c:127:() Attempting PTS to T=0
00000027 ifdhandler.c:673:() protocol T=0, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000054 ifdhandler.c:795:() Set speed to 300000 bauds
00000027 ifdhandler.c:1035:() Communication timeout: 266240 ms
00000042 commands.c:2047:() length: 5 bytes
00000025 -> 000000 61 05 00 00 00 00 58 00 00 00 96 00 00 0A 00
00009853 <- 000000 82 05 00 00 00 00 58 00 00 00 96 00 00 0A 00
00000062 winscard.c:423:() Active Protocol: T=0
00000034 winscard.c:444:() hCard Identity: 12d6c
00000024 winscard_svc.c:447:() CONNECT rv=0x0 for client 10
00000130 winscard_svc.c:308:() Received command: GET_ATTRIB from client 10
00000032 ifdhandler.c:394:() tag: 0x90303, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000027 winscard_svc.c:720:() GET_ATTRIB rv=0x0 for client 10
00000148 winscard_svc.c:308:() Received command: TRANSMIT from client 10
00000042 winscard.c:1636:() Send Protocol: T=0
00000024 APDU: 80 14 05 00 00
00000026 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000036 commands.c:1412:() T=0 (extended): 5 bytes
00000026 -> 000000 6F 05 00 00 00 00 59 00 00 00 80 14 05 00 00
00014376 <- 000000 80 02 00 00 00 00 59 00 00 00 95 40
00000068 SW: 95 40
00000042 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 10
00000091 winscard_svc.c:308:() Received command: TRANSMIT from client 10
00000050 winscard.c:1636:() Send Protocol: T=0
00000023 APDU: 80 14 06 00 08
00000027 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000027 commands.c:1412:() T=0 (extended): 5 bytes
00000023 -> 000000 6F 05 00 00 00 00 5A 00 00 00 80 14 06 00 08
00007653 <- 000000 80 0A 00 00 00 00 5A 00 00 00 41 43 4F 53 05 02 00 40 90 00
00000063 SW: 41 43 4F 53 05 02 00 40 90 00
00000042 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 10
00000128 winscard_svc.c:308:() Received command: TRANSMIT from client 10
00000053 winscard.c:1636:() Send Protocol: T=0
00000025 APDU: 00 20 00 01 04 30 30 30 30
00000027 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000026 commands.c:1412:() T=0 (extended): 9 bytes
00000022 -> 000000 6F 09 00 00 00 00 5B 00 00 00 00 20 00 01 04 30 30 30 30
00083656 <- 000000 80 02 00 00 00 00 5B 00 00 00 90 00
00000055 SW: 90 00
00000027 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 10
00000169 winscard_svc.c:308:() Received command: TRANSMIT from client 10
00000055 winscard.c:1636:() Send Protocol: T=0
00000025 APDU: 00 A4 00 00 00
00000028 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000026 commands.c:1412:() T=0 (extended): 5 bytes
00000022 -> 000000 6F 05 00 00 00 00 5C 00 00 00 00 A4 00 00 00
00017558 <- 000000 80 1C 00 00 00 00 5C 00 00 00 6F 18 83 02 3F 00 88 01 00 8A 01 05 82 02 3F 00 8D 02 00 03 84 00 8C 00 AB 00 90 00
00000065 commands.c:1364:() overrun by 26 bytes
00000038 SW: 6F 18 4F
00000027 winscard_svc.c:647:() TRANSMIT rv=0x80100008 for client 10
00000325 winscard_svc.c:308:() Received command: DISCONNECT from client 10
00000032 winscard.c:848:() Active Contexts: 1
00000025 winscard_svc.c:487:() DISCONNECT rv=0x0 for client 10
00000085 winscard_svc.c:308:() Received command: RELEASE_CONTEXT from client 10
00000037 winscard.c:229:() Releasing Context: 0x1031DEF
00000025 winscard_svc.c:421:() RELEASE_CONTEXT rv=0x0 for client 10
00000067 winscard_svc.c:301:() Client die: 10
00000041 winscard_svc.c:948:() Thread is stopping: dwClientID=10, threadContext @808B3C0
00000021 winscard_svc.c:956:() Freeing SCONTEXT @808B3C0
00163249 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000079 -> 000000 65 00 00 00 00 00 5D 00 00 00
00003793 <- 000000 81 00 00 00 00 00 5D 00 00 00
00000059 ifdhandler.c:1696:() Card present
00400068 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000077 -> 000000 65 00 00 00 00 00 5E 00 00 00
00003802 <- 000000 81 00 00 00 00 00 5E 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000087 -> 000000 65 00 00 00 00 00 5F 00 00 00
00003784 <- 000000 81 00 00 00 00 00 5F 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400072 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000074 -> 000000 65 00 00 00 00 00 60 00 00 00
00003803 <- 000000 81 00 00 00 00 00 60 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400076 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000084 -> 000000 65 00 00 00 00 00 61 00 00 00
00003785 <- 000000 81 00 00 00 00 00 61 00 00 00
00000057 ifdhandler.c:1696:() Card present
00400070 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000072 -> 000000 65 00 00 00 00 00 62 00 00 00
00003807 <- 000000 81 00 00 00 00 00 62 00 00 00
00000057 ifdhandler.c:1696:() Card present
^C00166112 pcscdaemon.c:649:() Received signal: 2
00000055 pcscdaemon.c:654:() Preparing for suicide
00110684 hotplug_libusb.c:381:() Hotplug stopped
00123224 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000086 -> 000000 65 00 00 00 00 00 63 00 00 00
00003785 <- 000000 81 00 00 00 00 00 63 00 00 00
00000058 ifdhandler.c:1696:() Card present
00400075 ifdhandler.c:1579:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000087 -> 000000 65 00 00 00 00 00 64 00 00 00
00003787 <- 000000 81 00 00 00 00 00 64 00 00 00
00000063 ifdhandler.c:1696:() Card present
00358203 readerfactory.c:1288:() entering cleaning function
00000081 readerfactory.c:1296:() Stopping reader: Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00
00000066 eventhandler.c:170:() Stomping thread.
00000051 ifdhandler.c:394:() tag: 0xFB1, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000026 eventhandler.c:185:() Waiting polling thread
00041642 eventhandler.c:521:() Die
00000116 eventhandler.c:209:() Thread stomped.
00000072 readerfactory.c:1025:() Attempting shutdown of Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00.
00000031 ifdhandler.c:296:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000032 -> 000000 63 00 00 00 00 00 65 00 00 00
00003619 <- 000000 81 00 00 00 00 00 65 01 00 01
00000064 ccid_usb.c:701:() Closing USB device: /dev/usb/4e6.5810/0
00000047 ccid_usb.c:718:() Last slot closed. Release resources
00004937 readerfactory.c:886:() Unloading reader driver.
00000212 winscard_svc.c:127:() remaining threads: 0
00000025 pcscdaemon.c:601:() cleaning /var/run/pcscd


Regards

William To



_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

Ludovic Rousseau


2016-05-18 10:24 GMT+02:00 William To <[hidden email]>:
Hi All,

Log is here:

pcscd log:

00000169 winscard_svc.c:308:() Received command: TRANSMIT from client 10
00000055 winscard.c:1636:() Send Protocol: T=0
00000025 APDU: 00 A4 00 00 00
00000028 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000026 commands.c:1412:() T=0 (extended): 5 bytes
00000022 -> 000000 6F 05 00 00 00 00 5C 00 00 00 00 A4 00 00 00
00017558 <- 000000 80 1C 00 00 00 00 5C 00 00 00 6F 18 83 02 3F 00 88 01 00 8A 01 05 82 02 3F 00 8D 02 00 03 84 00 8C 00 AB 00 90 00
00000065 commands.c:1364:() overrun by 26 bytes

The reader sent 28 (0x1C) bytes of data. But the driver was expecting only 2 bytes at most. So 26 bytes are in excess.

Maybe it is a problem with your application that is expecting only 2 bytes for this APDU command and passed a reception buffer for only 2 bytes.
Or it is a problem with the Solaris version of pcsc-lite.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

I also checked the reader's behaviour under Windows by sending the offending command. The card/reader combo returns an unexpected value also.

I am looking at circumventing the problem by changing the APDU being sent to the card to see if the issue is fixed.

Regards

William To

On Wed, May 18, 2016 at 4:46 PM, Ludovic Rousseau <[hidden email]> wrote:


2016-05-18 10:24 GMT+02:00 William To <[hidden email]>:
Hi All,

Log is here:

pcscd log:

00000169 winscard_svc.c:308:() Received command: TRANSMIT from client 10
00000055 winscard.c:1636:() Send Protocol: T=0
00000025 APDU: 00 A4 00 00 00
00000028 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000026 commands.c:1412:() T=0 (extended): 5 bytes
00000022 -> 000000 6F 05 00 00 00 00 5C 00 00 00 00 A4 00 00 00
00017558 <- 000000 80 1C 00 00 00 00 5C 00 00 00 6F 18 83 02 3F 00 88 01 00 8A 01 05 82 02 3F 00 8D 02 00 03 84 00 8C 00 AB 00 90 00
00000065 commands.c:1364:() overrun by 26 bytes

The reader sent 28 (0x1C) bytes of data. But the driver was expecting only 2 bytes at most. So 26 bytes are in excess.

Maybe it is a problem with your application that is expecting only 2 bytes for this APDU command and passed a reception buffer for only 2 bytes.
Or it is a problem with the Solaris version of pcsc-lite.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle


_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi All,

I have managed to resolve this issue myself by changing the APDU. I found unexpected behaviour under Windows as well, so I would say it could be differences between readers.

Regards

William To



On Wed, May 18, 2016 at 4:50 PM, William To <[hidden email]> wrote:
Hi All,

I also checked the reader's behaviour under Windows by sending the offending command. The card/reader combo returns an unexpected value also.

I am looking at circumventing the problem by changing the APDU being sent to the card to see if the issue is fixed.

Regards

William To

On Wed, May 18, 2016 at 4:46 PM, Ludovic Rousseau <[hidden email]> wrote:


2016-05-18 10:24 GMT+02:00 William To <[hidden email]>:
Hi All,

Log is here:

pcscd log:

00000169 winscard_svc.c:308:() Received command: TRANSMIT from client 10
00000055 winscard.c:1636:() Send Protocol: T=0
00000025 APDU: 00 A4 00 00 00
00000028 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)
00000026 commands.c:1412:() T=0 (extended): 5 bytes
00000022 -> 000000 6F 05 00 00 00 00 5C 00 00 00 00 A4 00 00 00
00017558 <- 000000 80 1C 00 00 00 00 5C 00 00 00 6F 18 83 02 3F 00 88 01 00 8A 01 05 82 02 3F 00 8D 02 00 03 84 00 8C 00 AB 00 90 00
00000065 commands.c:1364:() overrun by 26 bytes

The reader sent 28 (0x1C) bytes of data. But the driver was expecting only 2 bytes at most. So 26 bytes are in excess.

Maybe it is a problem with your application that is expecting only 2 bytes for this APDU command and passed a reception buffer for only 2 bytes.
Or it is a problem with the Solaris version of pcsc-lite.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle



_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

Ludovic Rousseau
2016-05-18 12:13 GMT+02:00 William To <[hidden email]>:
Hi All,

I have managed to resolve this issue myself by changing the APDU. I found unexpected behaviour under Windows as well, so I would say it could be differences between readers.

The Identive CLOUD 2700 R Smart Card Reader is an APDU-mode reader.
Maybe your other reader (what is it?) is a TPDU-mode reader.
In that case it is expected that a case-4 APDU like 00 A4 00 00 00 returns different results. It is the job of the PC/SC application to adapt.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

William To
Hi Alll,

The other readers are Gemplus GemPC twin and SCM 3310 V2.

Regards

William To

On Wed, May 18, 2016 at 7:59 PM, Ludovic Rousseau <[hidden email]> wrote:
2016-05-18 12:13 GMT+02:00 William To <[hidden email]>:
Hi All,

I have managed to resolve this issue myself by changing the APDU. I found unexpected behaviour under Windows as well, so I would say it could be differences between readers.

The Identive CLOUD 2700 R Smart Card Reader is an APDU-mode reader.
Maybe your other reader (what is it?) is a TPDU-mode reader.
In that case it is expected that a case-4 APDU like 00 A4 00 00 00 returns different results. It is the job of the PC/SC application to adapt.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle


_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
Reply | Threaded
Open this post in threaded view
|

Re: pccs-lite 1.8.xx on Solaris 11

Ludovic Rousseau
2016-05-19 3:11 GMT+02:00 William To <[hidden email]>:
Hi Alll,

The other readers are Gemplus GemPC twin and SCM 3310 V2.

The Gemplus GemPC twin and SCM 3310 are both "TPDU level exchange" readers.

The problem is on the application side.
I guess the application is expecting a 61xx SW code to then send a GET RESPONSE to get the response data but with the APDU reader (Identive CLOUD 2700 R Smart Card) the application gets the response data directly and is confused.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle