SCardCheckDaemonAvailability(): log the system error message in case
PCSC Not Running
1 lines of code changed in 1 file:
SCardListReaders(): returns SCARD_E_NO_READERS_AVAILABLE when no reader
are available.
Thanks to Thomas Harning for the bug report
6 lines of code changed in 1 file:
pcsc_stringify_error(): add support of SCARD_E_NO_READERS_AVAILABLE
3 lines of code changed in 1 file:
SCardListReaders(): factorize code
8 lines of code changed in 1 file:
SCardConnect(), SCardReconnect(), SCardDisconnect(): replace
SYS_USleep(PCSCLITE_STATUS_POLL_RATE + 10) by SYS_MMapSynchronize()
calls to gain performances.
Thanks to Sean Wykes for the patch
18 lines of code changed in 1 file:
use $Id$
1 lines of code changed in 1 file:
HPAddDevice(): remove the device from readerTracker[] if RFAddReader()
fails
10 lines of code changed in 1 file:
document what do do if pkg module hal is not found
2 lines of code changed in 1 file:
revert libhal -> LIBHAL
1 lines of code changed in 1 file:
rename LIBHAL -> libhal
1 lines of code changed in 1 file:
first argument of SYS_ThreadJoin() is now a PCSCLITE_THREAD_T instead of
PCSCLITE_THREAD_T *
3 lines of code changed in 2 files:
add SYS_ThreadSetCancelType()
6 lines of code changed in 2 files:
add libhal support to avoid polling the USB bus.
libusb is still supported but libhal is now the default
569 lines of code changed in 5 files:
Patch in revision 2743 was wrong. We need to hold the lock before
traversing the reader list
3 lines of code changed in 1 file:
do not display dela times of more than 100 seconds to avoid overflows.
The magic value 99999999 is used instead
4 lines of code changed in 1 file:
more details about deviceName argument of IFDHCreateChannelByName()
28 lines of code changed in 1 file:
HPAddHotPluggable(): lock the mutex _after_ every possible return. (May
cause a deadlock)
2 lines of code changed in 1 file:
#include "utils.h" instead of "hotplug.h"
1 lines of code changed in 1 file:
#include <sys/types.h>
1 lines of code changed in 1 file:
revert previous patch
2 lines of code changed in 1 file:
remove wrong comment
0 lines of code changed in 1 file:
move SendHotplugSignal() from pcscdaemon.c to utils.c
22 lines of code changed in 4 files:
HPRescanUsbBus() and HPEstablishUSBNotifications() are static functions
2 lines of code changed in 1 file:
add a prototype for HPEstablishUSBNotifications() and make it static
2 lines of code changed in 1 file:
declare local functions as static
12 lines of code changed in 2 files:
DYN_LoadLibrary(): log an error message in case of failure
4 lines of code changed in 1 file:
default log level is PCSC_LOG_CRITICAL+1 so that NO log is sent to
stderr by default. You need to explicitely set PCSCLITE_DEBUG to have
logs. (in a library stderr(2) can be any file opened with fd=2 so
should not be used)
1 lines of code changed in 1 file:
CardCheckDaemonAvailability(): lower the priority of the log message in
case of "PCSC Not Running" so that nothing is logged by default.
PCSCLITE_DEBUG can be defined to see the message.
Programs linked with libpcsclite will not display anything if pcscd is
not running. Solves Red Hat bug 428299.
1 lines of code changed in 1 file:
add a \n after the pid number in PCSCLITE_RUN_PID so that cat(1) works
correctly
2 lines of code changed in 1 file:
Log the socket name in case of error
4 lines of code changed in 1 file:
SCardEstablishContextTH(): also display the system error message if a
system call fails (can't open PCSCLITE_PUBSHM_FILE)
4 lines of code changed in 1 file:
release 1.4.99
14 lines of code changed in 1 file:
more @PTHREAD_LIBS@ from Libs: to Libs.private:
2 lines of code changed in 1 file:
add type for ExitValue
1 lines of code changed in 1 file:
return EXIT_SUCCESS (instead of EXIT_SUCCESS) if parsing
/etc/reader.conf fails.
Closes Debian bug #457665
6 lines of code changed in 1 file:
improve detection of wrong format in reader.conf file
15 lines of code changed in 1 file: