Send the whole rules file please (the sintax is a bit tricky).<br>Have you rebooted the devide or reloaded the udev rules?<br><br clear="all"><b>Jordi Soucheiron</b><br>
Software Engineer<br><a style="color:rgb(102,153,0)" href="mailto:jsoucheiron@dexmatech.com" target="_blank">jsoucheiron@dexmatech.com</a><br>
<br>
<b>DEXMA</b><br>c/ Marie Curie, 8-14<br>ES-08042, Barcelona<br>t: (+34) 93 181 01 96<br><a href="http://www.dexmatech.com" target="_blank">www.dexmatech.com</a><br>Follow us on <a href="http://www.twitter.com/dexma" target="_blank">Twitter</a> and <a href="http://www.linkedin.com/company/247838" target="_blank">Linkedin</a><br>

Síguenos en <a href="http://www.twitter.com/dexma_ES" target="_blank">Twitter</a> y <a href="http://www.linkedin.com/company/dexma-tech" target="_blank">Linkedin</a><br><br>
<br><br><div class="gmail_quote">2012/2/1 maciek <span dir="ltr"><<a href="mailto:maciek2@protetyka.lodz.pl">maciek2@protetyka.lodz.pl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I`ve set action remove /usr/bin/pkill -f "/usr/bin/fswebcam -c<br>
/root/fswebcam.conf"<br>
<br>
but on action remove nothing happen....<br>
<div class="HOEnZb"><div class="h5"><br>
> >>>> Hello<br>
> >>>><br>
> >>>> I`d like to set my usb webcam as hotplug device. When I plugin I`d like to<br>
> >>>> start fswebcam deamon and unplug  - stop.<br>
> >>>><br>
> >>>> I set it like this:<br>
> >>>><br>
> >>>> SUBSYSTEM=="video4linux", ATTR{name}=="UVC Camera (046d:080f)",<br>
> >>>> NAME="logitech", GROUP="video", MODE="0660", GOTO="fswebcam_start"<br>
> >>>><br>
> >>>> GOTO="fswebcam_end"<br>
> >>>><br>
> >>>> LABEL="fswebcam_start"<br>
> >>>><br>
> >>>> ACTION=="add",          RUN+="fswebcam -c /root/fswebcam.conf<br>
> >>>> --pid=/var/run/fspid"<br>
> >>>><br>
> >>>> ACTION=="remove"        RUN+="???????????"<br>
> >>>><br>
> >>>> GOTO="fswebcam_end"<br>
> >>>><br>
> >>>><br>
> >>>> Questions:<br>
> >>>><br>
> >>>> 1. Are those script ok? (action add & remove)<br>
> >>>> 2. How to kill process fspid (ACTION=="remove")?<br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>><br>
> >>>> v o i p t e l e . n e t , dzwon najtaniej jak to mozliwe<br>
> >>>> e r a u r . c o m , rozwiazania internetowe dla firm i klientow<br>
indywidualnych<br>
> >>>><br>
> >>>> _______________________________________________<br>
> >>>> Voyage-linux mailing list<br>
> >>>> <a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
> >>>> <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
> >><br>
> >> _______________________________________________<br>
> >> Voyage-linux mailing list<br>
> >> <a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
> >> <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
> ><br>
<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div></div></blockquote></div><br>