From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aras Vaichas Date: Fri, 15 Aug 2008 03:19:56 +0000 Subject: Re: Bluetooth wireless activity triggers udev rule Message-Id: <48A4F5DC.1040107@magtech.com.au> List-Id: References: <48A25D4F.3000807@magtech.com.au> In-Reply-To: <48A25D4F.3000807@magtech.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Sujit Karataparambil wrote: > I am Very Sorry with my english. > > But the whole issue is what are trying to do while > 1. connecting an bluetooth device with udev(USB). > 2. using PPP with bluetooth. > 3. Trying to form network topologies using PPP. > > Still very sorry with my english. > My question was answered by Kay in the second posting for this thread. To summarise: This will trigger on USB bluetooth device insertion *and* network activity/wakeup: ACTION="add", ENV{SUBSYSTEM}="bluetooth", RUN+="/usr/bin/sv up bluetooth" This will trigger *only* on USB Bluetooth device insertion (which is what I needed): ACTION="add", KERNEL="hci[0-9]*", SUBSYSTEM="bluetooth",RUN+="/usr/bin/sv up bluetooth" That's all there is to it. Aras ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________