Thank you Dr. Rousseau,

Your  Driver now loads successfully,  however using JSmartCardExplorer by 
Primiano Tucci found here:
http://www.primianotucci.com/default.php?view=112

Results in a hang of the pcscd process as soon as I hit connect, the output 
from pcscd running is shown here:
http://pastebin.com/m355a3a7d

As you can see from the above output at the bottom,  after not being able to 
connect using the application, upon trying to issue a SIG INT, your signal 
handler catches it, but cannot shut down cleanly.  The pcscd process does 
normally shutdown cleanly on a issuing a Sig Int in the console, however 
apparently the usb driver becomes blocked as shown below.

This is the last message I see from pcscd in  the console, and it will just 
stay here:
^C79491093 pcscdaemon.c:581:signal_trap() Preparing for suicide
01000123 readerfactory.c:1242:RFCleanupReaders() entering cleaning function
00000076 readerfactory.c:1251:RFCleanupReaders() Stopping reader: ACS ACR 
38U-CCID 00 00
00000019 eventhandler.c:126:EHDestroyEventHandler() Stomping thread.

the full output is shown here:
http://pastebin.com/m355a3a7d

Additionally, running Lsusb while the pcscd process is in this state causes 
lsusb to hang also.  

I have seen the following kernel messages during this error occuring:
Jan 15 12:06:52 talon kernel: [<ffffffff812cf523>] usbdev_ioctl+0x130f/0x1603
Jan 15 12:06:52 talon kernel: INFO: task lsusb:31609 blocked for more than 120 
seconds.
Jan 15 12:06:52 talon kernel: lsusb         D 7fffffffffffffff     0 31609  
31571

Full output here
http://pastebin.com/m63acfab8

I ran strace on lsusb and I am showing where it hangs (on usb dev) reports 
(redacted)
#strace lsusb 
open("/dev/bus/usb/003", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 4 entries */, 32768)     = 96
open("/dev/bus/usb/003/002", O_RDWR)    = 4
ioctl(4, USBDEVFS_CONNECTINFO


The JSmartcard Explorer app does work with this reader on a win32 laptop 
successfully, so i know the reader and the card itself work correctly.

Thanks again,

Ron

> From: [email protected]
> Date: Fri, 15 Jan 2010 09:30:24 +0100
> Subject: Re: [Muscle] Open Port 200000 Failed
> To: [email protected]
> 
> 2010/1/15 Ron Gonzalez <[email protected]>:
> > I apologize in advance if this is a duplicate, as I sent in the same Email
> > from another Account, had digest mode enabled, and am not sure if the
> > message ever made it through to the list as the original Email was not
> > registered to the list.
> >
> > In any event, I am having trouble with an ACS ACR38U under Fedora 11 amd
> > x64, below are the details and technical information.
> > I tried to be as thorough as possible, but as always if more information is
> > needed I would obviously be happy to oblige.
> >
> > --TIA
> >
> > I am showing this error below using
> >
> > Fedora Core 11 AMD x64
> > OpenCT 0.6.15-4.fc11
> > PCSC-Lite 1.5.2-2.fc11
> > SmartCard Reader : ACS ACR 38U
> 
> remove OpenCT and try again.
> You are using my CCID driver and OpenCT is already using the device.
> 
> > 00061464 ccid_usb.c:402:OpenUSBByName() Can't claim interface 004/002:
> > Device or resource busy
> 
> bye
> 
> -- 
>  Dr. Ludovic Rousseau
> _______________________________________________
> Muscle mailing list
> [email protected]
> http://lists.drizzle.com/mailman/listinfo/muscle
                                          
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/196390710/direct/01/
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to