Hi all... this is my first post, i hope someone can help me!    
I've to use a Alladin eToken     
I'm using SuSE10..... but to be shure i prefer to user pcsc from source....

I've install opensc-20051129.tar.gz aksrte-3-15.84

evrything was install without any problem....

after the installation of aksrte   
i execute petoken install 2   
it modify /etc/hotplug/usb.usermap   
and /etc/reader.conf

then, if i try to start    
./pcscd -f   
the output is this!   
linux:/usr/local/pcsc-lite/sbin # ./pcscd -f   
pcscdaemon.c:258:main() pcscd set to foreground with debug send to stderr   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
configfile.l:200:tok_error() tok_error: invalid value in reader.conf:   
FRIENDLYNAME   
pcscdaemon.c:488:at_exit() cleaning /var/run   
pcscdaemon.c:507:clean_temp_files() Cannot unlink /var/run/pcscd.comm: No   
such file or directory

my reader.conf it's like that

# Aladdin eToken virtual reader #0   
FRIENDLYNAME     "AKS ifdh"   
DEVICENAME       AKSifdh   
LIBPATH          /usr/local/lib/aksifdh.so   
CHANNELID        0x11111111

# Aladdin eToken virtual reader #1   
FRIENDLYNAME     "AKS ifdh"   
DEVICENAME       AKSifdh   
LIBPATH          /usr/local/lib/aksifdh.so   
CHANNELID        0x11111112

I've try to remove the entry about the error.....    
I've change my reader.conf with this  
# Aladdin eToken virtual reader #0  
FRIENDLYNAME     "AKS ifdh"  
DEVICENAME       AKSifdh  
LIBPATH          /usr/local/lib/aksifdh.so  
CHANNELID        0x11111111

and now the error it's like that  
linux:/usr/local/pcsc-lite/sbin # ./pcscd -f  
pcscdaemon.c:258:main() pcscd set to foreground with debug send to stderr  
configfile.l:105:evaluatetoken() Error with device AKSifdh: No such file or  
directory  
configfile.l:106:evaluatetoken() You should use 'DEVICENAME /dev/null' if  
your driver does not use this field  
pcscdaemon.c:488:at_exit() cleaning /var/run  
pcscdaemon.c:507:clean_temp_files() Cannot unlink /var/run/pcscd.comm: No  
such file or directory

so..... i've set DEVICENAME /dev/null  
something better!!!!

/pcscd -f 
pcscdaemon.c:258:main() pcscd set to foreground with debug send to stderr 
readerfactory.c:1097:RFInitializeReader() Attempting startup of AKS ifdh 00 
00. 
readerfactory.c:939:RFBindFunctions() Loading IFD Handler 2.0 
pcscdaemon.c:463:main() pcsc-lite 1.2.9-beta9 daemon ready. 
hotplug_libusb.c:214:HPReadBundleValues() No bundle files in pcsc drivers 
directory: /usr/local/pcsc-lite/pcsc/drivers 
hotplug_libusb.c:215:HPReadBundleValues() Disabling USB support for pcscd 
Card ATR: 3B F2 98 00 FF C1 10 31 FE 55 C8 03 15

but then when my apllication start i can see this messages

winscard.c:220:SCardConnect() Reader AKS ifdh 0 0 Not Found 
winscard.c:220:SCardConnect() Reader AKS ifdh 0 1 Not Found 
winscard.c:220:SCardConnect() Reader AKS ifdh 0 0 Not Found 
winscard.c:220:SCardConnect() Reader AKS ifdh 0 1 Not Found

and when i stop pcscd the output seems to be nice, but with some error.....

pcscdaemon.c:528:signal_trap() Preparing for suicide 
readerfactory.c:1352:RFCleanupReaders() entering cleaning function 
readerfactory.c:1361:RFCleanupReaders() Stopping reader: AKS ifdh 00 00 
eventhandler.c:120:EHDestroyEventHandler() Stomping thread. 
eventhandler.c:149:EHDestroyEventHandler() Thread stomped. 
readerfactory.c:1144:RFUnInitializeReader() Attempting shutdown of AKS ifdh 
00 00. 
readerfactory.c:1014:RFUnloadReader() Unloading reader driver. 
pcscdaemon.c:488:at_exit() cleaning /var/run

someone have an idea!!!!

Thankyou

Francesco

and

--     
Francesco Andreozzi
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to