<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-10-08 17:30 GMT+02:00 Lamb, John (NIH/NCI) [C] <span dir="ltr">&lt;<a href="mailto:john.lamb2@nih.gov" target="_blank">john.lamb2@nih.gov</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>All,</div></div></blockquote><div><br></div><div>Hello,<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">

<div>1. In OS X 10.11;</div>
<div><br>
</div>
<div>I was wondering if there was a way to gracefully refresh com.apple.ctkpcscd (child process of securityd, seems to be a framework launched by /System/Library/LaunchDaemons/ctkd.plist) to detect new drivers in /usr/local/libexec/SmartCardServices/drivers
 to avoid needing a restart.</div>
<div><br>
</div>
<div>A launchctl unload/load doesn’t do the trick, and (i know this is dumb, but i was exploring the behavior) a killall securityd doesn’t either.</div></div></blockquote><div><br></div><div>What I do is to &quot;kill&quot; the com.apple.ifdreader process.<br></div><div>I used to send the KILL (-9) signal but a HUP signal works as well and gives a change to the process to exit cleanly.<br><div>Note that any connection to the reader(s) will be lost.<br></div><br></div>The com.apple.ifdreader process is automatically restarted when a new USB reader is connected.<br><div><div><br>Maybe there is an official (cleaner) way to do that but I do not know it.<br></div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">

<div>2. Is there an equivalent mechanism in OS X 10.7-&gt;10.10?</div></div></blockquote><div><br></div><div>10.10 is the same as 10.11 on this point.<br></div><div>On 10.x with x &lt; 10 you can kill the pcscd process.<br></div><div><br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">

<div>If there isn’t a public way to do this, we’ll deal with the restart happily.</div></div></blockquote><div><br></div><div>You should not have to reboot a Unix system :-)<br><br></div><div>Bye<br clear="all"></div></div><br>-- <br><div class="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>