Hi all,<br><br><div><span class="gmail_quote">On 3/23/06, <b class="gmail_sendername">Chakkaradeep C C</b> <<a href="mailto:chaks.yoper@gmail.com">chaks.yoper@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">Hi Kevin and all,<br><br><div></div><div style="direction: ltr;"><span class="q"><span class="gmail_quote">On 3/23/06, <b class="gmail_sendername">Kevin Ottens</b> <<a href="mailto:ervin@kde.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ervin@kde.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le Mercredi 22 Mars 2006 19:42, Chakkaradeep C C a écrit :<br>> Yoper is pure KDE version, and thats the reason i think i may end up in<br>> some complexities in building gnome-volume-manager.<br><br>There's support for notifications when a device is plugged since KDE
3.5. Are<br>you using something older in Yoper?</blockquote></span></div><div style="direction: ltr;"><div><br>Yoper uses KDE 3.5.0. KDE 3.5.1 is in the devel version.What we are trying to implement is here --> <a href="http://www.yoper.com/wiki/index.php?title=Developers:Configuring_Devices" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.yoper.com/wiki/index.php?title=Developers:Configuring_Devices</a><br><br>We are also looking to write a similar program which monitors for hardware device getting attached and detached..and do respectively what we program...like if it is USB Mass Storage - mount or leave etc.,
</div></div></div></blockquote><div><br>i posted this mail to linux-hotplug mailing list but i havent even recieved a single reply :(, so am posting it here ...i have finally written an udev rule to perform some action when usb gets added...here is the rule,
<br><br><span style="font-weight: bold;">BUS=="usb", ACTION=="add", NAME="usb%n", RUN+="/usr/bin/mount-usb.sh usb%n"<br><br><span style="font-weight: bold;"></span></span>The problem am facing is with the
<span style="font-weight: bold;">%n</span> value. I want this value passed to the script so that i can easily identify the device created as <span style="font-weight: bold;">/dev/usb%n</span> and i can mount <span style="font-weight: bold;">
/media/usb%n</span>. But the <span style="font-weight: bold;">%n</span> value is <span style="font-weight: bold;">null</span> in <span style="font-weight: bold;">NAME</span> and <span style="font-weight: bold;">1</span> in
<span style="font-weight: bold;">RUN</span> for my thumbdrive. By default, my thumbdrive gets created in <span style="font-weight: bold;">/dev/sda</span> if this rule is excluded and no further partitions as this is the only one.
<br><br>how to overcome this?<br><br>thanks in advance...<span style="font-weight: bold;"><span style="font-weight: bold;"></span><br></span></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;"><div style="direction: ltr;"><span class="q">Regards.<br>--<br>Kévin 'ervin' Ottens, <a href="http://ervin.ipsquad.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ervin.ipsquad.net
</a><br>"Ni le maître sans disciple, Ni le disciple sans maître,<br>Ne font reculer l'ignorance."<br><br><br></span></div><div style="direction: ltr;"><span class="q">_______________________________________________
<br>hal mailing list<br><a href="mailto:hal@lists.freedesktop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
hal@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/hal" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.freedesktop.org/mailman/listinfo/hal</a><br>
<br><br><br></span></div><div style="direction: ltr;"></div></div><div style="direction: ltr;"><span class="e" id="q_10a2355fd34e9ce5_6"><br><br clear="all"><br>-- <br>Regards,<br>
Chaks,<br>Yoper Ltd.<br><a href="http://www.yoper.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.yoper.com</a><br><a href="http://www.yoper.com/forum" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.yoper.com/forum</a><br>--<br>The main aim of communication is clarity and simplicity. Simplicity means focussed effort.
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Chaks,<br>Yoper Ltd.<br><a href="http://www.yoper.com">http://www.yoper.com</a><br><a href="http://www.yoper.com/forum">http://www.yoper.com/forum
</a><br>--<br>The main aim of communication is clarity and simplicity. Simplicity means focussed effort.