Hello Simon,

I've been doing some modifications to the smart card reader driver I developed 
more than 10 years ago now, to make it work with an Spanish national card Id 
(DNIe). It's a very small functional change, I have it ready, and have uploaded 
it to the github project I have setup at, as version 2.0.8:

https://github.com/cprados/towitoko-linux 

I have been reviewing open bugs in debian bug tracking system: 

In order to close the following debian bugs: #603130, #168674, I wanted to ask 
you if debian installation scripts can be modified so the towitoko.bundle is 
not copied under /usr/lib/pcsc/drivers anymore and user is given the chance to 
select USB serial device in debconf.

Since --enable-usb-bundle was setup to true by default, pcscdallways tries to 
initialize a reader under first USB serial device regardles of the selection 
the user does in debconf key "libtowitoko2/port". This only works if reader is 
USB and if it is attached to the same USB serial port ordinal where pcscd 
thinks it is. From my experiece this is not allways the case.

Towitoko is in fact a serial port reader. USB units are in fact a pl2303 
usb-to-serial converter with a serial reader and I don't see how I can 
recognize from user space what /dev/ttyUSBX device the kernel has given to the 
driver pcscd is triying to initialize each time. So it is better to give users 
the choice to select what is the serial port the reader is connected to. And 
those bugs can be closed as they where caused by erroneous channel id been 
given from pcscd to libtowioko2 driver, and that would not have happened if 
reader.conf was correclty setup instead of ussing the "usb bundle" mechanism.

Under debian directory I have included modified versions of 
libtowitoko2.templates, libtowitoko2.install and libtowitoko2.postinst. File 
libtowitoko2.links has been removed and and debian changelog has been updated.

Let me know any doubt you have. I look forward to hear from you.

Regards,
Carlos Prados.

Reply via email to