Hi all!


I'm struggling with trying to get pcsc-lite up and running on a ppc-platform

using the eldk packages (compiler and stuff).



I recently upgraded the daemon from pcsc-lite-1.3.someting to pcsc-lite-1.6.1

and managed almost to get it running as suspected.



But I have a problem communication with pcscd !



When started in the foreground (with a -f) everything works. But running as

normal (without the -f), it hangs on the socket:



>From a strace of my app:

 stat64("/var/run/pcscd.comm", {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0

 open("/var/run/pcscd.pid", O_RDONLY)    = 12

 fstat64(12, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0

 old_mmap()                              = 805433344

 read(12, "6522\n", 1024)                = 5

 close(12)                               = 0

 munmap(0x3001f000, 4096)                = 0

 time(NULL)                              = 1283334343

 socket(PF_FILE, SOCK_STREAM, 0)         = 12

 connect(12, {sa_family=AF_FILE, path="/var/run/pcscd.comm"}, 22) = 0

 ioctl(12, 0x8004667e, [1])              = 0

 select(13, NULL, [12], NULL, NULL)      = 1 (out [12])

 send(12, "\0\0\0\f\0\0\0\21", 8, MSG_NOSIGNAL) = 8

 select(13, NULL, [12], NULL, NULL)      = 1 (out [12])

 send(12, "\0\0\0\4\0\0\0\0\0\0\0\0", 12, MSG_NOSIGNAL) = 12 select(13, [12], 
NULL, NULL, NULL



And that last 'select' it flies without problem when the daemon is started with 
a '-f'



Any idea what I'm doing wrong here ??

--

/Ivar - very confused at the moment



The information contained in this e-mail message is privileged and
confidential and is for the exclusive use of the addressee. The person
who receives this message and who is not the addressee, one of his
employees or an agent entitled to hand it over to the addressee, is
informed that he may not use, disclose or reproduce the contents
thereof, and is kindly asked to notify the sender and delete the e-mail
immediately.

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

Reply via email to