On 2012-08-22 23:16, Pete Batard wrote:
> I have now pushed Peter's patch...
THANK YOU VERY MUCH TO ALL OF YOU!!!

I have distributed the new version to the prod machines today.

While testing the new version (git mainline 1.0.12.10553) on the test
machine, I recognised the following strange behaviour:

Pcscd does not function as expected, i.e. my app is not able to find
the attached rfid-reader, although pcscd is recognising it and is
logging the card insertion and removal.

This is happening, when pcscd is started as daemon and

        - LIBUSB_DEBUG = 4 && libusbx was compiled without the
          "--enable-debug-log" flag,
        - LIBUSB_DEBUG < 4 && libusbx was compiled with the
          "--enable-debug-log" flag or
        - LIBUSB_DEBUG = 4 && libusbx was compiled with the
          "--enable-debug-log" flag.

If pcscd is running in foreground mode, everything works fine, no
matter which value (1-4) is assigned to LIBUSB_DEBUG and
"--enabled-debug-log" flag was active or not.

Note: I always compiled libusbx without the "--enabled-debug-log" flag,
but activated it when noticing this behaviour.

Searching the commits for changes to the debug logging ended with no
result. Don't know if somebody else has the same problem. Maybe there
is something wrong on my test machine.

It is no problem for me right now, because LIBUSB_DEBUG is set to 2 in
prod. I hope I don't need to debug libusbx again so soon. ;)

=========
Regards

Sebastian
=========



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to