Submitted by Damien Merenne (not verified) on Tue, 11/13/2007 - 14:25.
How do you get it working with kernel 2.6.22 ? The module compiles. I then create the device by hand using the major number given in /proc/devices but when lauching pcscd, I've got this:
pcscdaemon.c:294:main() pcscd set to foreground with debug send to stderr
debuglog.c:213:DebugLogSetLevel() debug level=debug
readerfactory.c:1113:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00 using /usr/local/o2micro/lib_OZSCR.so
readerfactory.c:946:RFBindFunctions() Loading IFD Handler 2.0
ifdhandler.c:121:IFDHCreateChannel Lun 0, Channel F10000
ctapi.c:106:CT_init CT_init enter
ctapi.c:119:CT_init Try to open channel dev/ozscrlx
ctapi.c:136:CT_init CT_init exit (-11)
readerfactory.c:1152:RFInitializeReader() Open Port F10000 Failed (/dev/ozscrlx)
readerfactory.c:1025:RFUnloadReader() Unloading reader driver.
readerfactory.c:252:RFAddReader() O2Micro SmartCardBus Reader init failed.
pcscdaemon.c:507:main() pcsc-lite 1.4.3 daemon ready.
1. How do you get it working
How do you get it working with kernel 2.6.22 ? The module compiles. I then create the device by hand using the major number given in /proc/devices but when lauching pcscd, I've got this:
pcscdaemon.c:294:main() pcscd set to foreground with debug send to stderr
debuglog.c:213:DebugLogSetLevel() debug level=debug
readerfactory.c:1113:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00 using /usr/local/o2micro/lib_OZSCR.so
readerfactory.c:946:RFBindFunctions() Loading IFD Handler 2.0
ifdhandler.c:121:IFDHCreateChannel Lun 0, Channel F10000
ctapi.c:106:CT_init CT_init enter
ctapi.c:119:CT_init Try to open channel dev/ozscrlx
ctapi.c:136:CT_init CT_init exit (-11)
readerfactory.c:1152:RFInitializeReader() Open Port F10000 Failed (/dev/ozscrlx)
readerfactory.c:1025:RFUnloadReader() Unloading reader driver.
readerfactory.c:252:RFAddReader() O2Micro SmartCardBus Reader init failed.
pcscdaemon.c:507:main() pcsc-lite 1.4.3 daemon ready.