All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aras Vaichas <arasv@magtech.com.au>
To: linux-hotplug@vger.kernel.org
Subject: Re: Bluetooth wireless activity triggers udev rule
Date: Fri, 15 Aug 2008 03:19:56 +0000	[thread overview]
Message-ID: <48A4F5DC.1040107@magtech.com.au> (raw)
In-Reply-To: <48A25D4F.3000807@magtech.com.au>

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 
______________________________________________________________________

  parent reply	other threads:[~2008-08-15  3:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13  4:04 Bluetooth wireless activity triggers udev rule Aras Vaichas
2008-08-13  6:46 ` Aras Vaichas
2008-08-13  8:58 ` Kay Sievers
2008-08-14  0:09 ` Aras Vaichas
2008-08-14 12:31 ` Sujit Karataparambil
2008-08-15  0:56 ` Aras Vaichas
2008-08-15  2:50 ` Sujit Karataparambil
2008-08-15  3:19 ` Aras Vaichas [this message]
2008-08-17 11:43 ` Sujit Karataparambil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A4F5DC.1040107@magtech.com.au \
    --to=arasv@magtech.com.au \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.