My posts keep getting lost creating new threads... I finally got around to testing with Eric's latest version of ozscrlx.c. However, it still doesn't work with my device. At least I'm not receiving a segmentation fault... :)
Here is the output from "pcscd -f -a -d" after first doing a modprobe: [root at ericandry ozscrlx-2.6.13]# pcscd -f -a -d pcscdaemon.c:259:main() pcscd set to foreground with debug send to stderr debuglog.c:236:DebugLogSetCategory() Debug options: APDU debuglog.c:207:DebugLogSetLevel() debug level=3Ddebug readerfactory.c:1095:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00. readerfactory.c:933: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:1130:RFInitializeReader() Open Port F10000 Failed (/dev/ozscrlx) readerfactory.c:1012:RFUnloadReader() Unloading reader driver. readerfactory.c:251:RFAddReader() O2Micro SmartCardBus Reader init failed. pcscdaemon.c:464:main() pcsc-lite 1.3.1 daemon ready. winscard_msg_srv.c:203:SHMProcessEventsServer() Common channel packet arrival winscard_msg_srv.c:212:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: pcscdaemon.c:151:SVCServiceRunLoop() A new context thread creation is requested: winscard_svc.c:129:ContextThread() Thread is started: winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed client: 5 winscard_svc.c:171:ContextThread() Client is protocol version 2:0 winscard_msg_srv.c:274:SHMProcessEventsContext() correctly processed client: 5 winscard.c:159:SCardEstablishContext() Establishing Context: 16986065 The additional output is when I attempted using pcsc_scan. Here is the contents of reader.conf: FRIENDLYNAME "O2Micro SmartCardBus Reader" DEVICENAME /dev/ozscrlx LIBPATH /usr/local/lib/lib_OZSCR.so CHANNELID 0xF10000 The device node: [root at ericandry ~]# ls -l /dev/*oz* crw-rwxr-- 1 root tty 123, 0 Aug 12 18:49 /dev/ozscrlx Both the kernel module and the library were compiled with debug=3D1. Is there a different channel ID that I could try? Also is there something like 'lspci' that I can use to verify that the device is not dead? I've never had Winblows on this laptop so I can't verify that the card reader ever worked. Eric L Andry Software Developer Science Applications International Corporation (SAIC) _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
