Ludovic Rousseau wrote:

I'm a newbe in pcsc-lite use and so I need some help.
I'm using pcsc-lite-1.2.9beta7 in an enbedded system; I'm working with a
linux 2.4.21 kernel on ARM device with an ACR38 USB Smart Card reader.
All seems to work correctly but after the first pcscd start there are
three pcscd instances at least, if I make ps on my shell.
During the excution of my application pcscd instances became six or
eight or even more.
Is it normal?

I don't know yet.
Send us the output of "ps auxwww"
Hello,
Sorry for my late, this is my ps result:

   PID  Uid     VmSize Stat Command
   1 root        580 S   init
   2 root            SW  [keventd]
   3 root            SWN [ksoftirqd_CPU0]
   4 root            SW  [kswapd]
   5 root            SW  [bdflush]
   6 root            SW  [kupdated]
   7 root            SW  [mtdblockd]
   8 root            SW  [rpciod]
  24 root        568 S   /sbin/syslogd -C -m 30
  28 root        656 S   /usr/sbin/inetd
  37 root       1816 S   Xfbdev -screen 640x480x16
  43 root            SW  [khubd]
  50 root       1496 S   pcscd start
  62 root        560 S   /sbin/getty -L ttyS1 9600 vt100
  63 root        564 S   /sbin/getty -L ttyS2 9600 vt100
  64 root        748 S   -sh
  68 root       1496 S   pcscd start
  69 root       1496 S   pcscd start
  70 root       1496 S   pcscd start
 467 root       6224 S   ./MDC0.9.9.4
 468 root       1496 S   pcscd start
 469 root       1496 S   pcscd start
 472 root       1496 S   pcscd start
 474 root       1496 S   pcscd start
 479 root        572 R   ps

I'm using busybox and so ps have no differeces from ps auxwww.
MDC is my application; the first four pcscd instances (PID 50,68,69,70) come from the first start. I can also add that I've noted that there is a new pcscd instance every time I use "SCardEstablishContext". When I call SCardReleaseContext in my application, pcscd start instance isn't released.
Thanks for your help.

Carlo L.


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

Reply via email to