There's a fixed libusb timeout value (30 seconds) in ccid_transceive_secure() function. Our users have troubles entering PIN longer than cca 20 digits in such a short time span.
I've attached a patch that addresses this issue by creating a configuration option 'pinpad-timeout' defaulting to 30 seconds.