linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev and bluetooth devices
Date: Fri, 12 Nov 2004 01:55:11 +0000	[thread overview]
Message-ID: <1100224511.12168.58.camel@pegasus> (raw)
In-Reply-To: <20041108154422.EUWV25413.dircache05-winn.mailhost.ntl.com@localhost>

Hi Derek,

> > > I suppose I could do a script level tool that looked at the BD_ADDR and 
> > >   created an alias for which hciX it is on.
> > 
> > You haven't read my previous email? Did you? The Bluetooth HCI device
> 
> Yes I did,I was thinking more along the lines that at the script level a script would look at a variable of some description, which is constant, and use its contents to determine which hciX to use. This variable would be populated by another process that monitored the coming and going of Bluetooth devices.

maybe possible, but it looks messy to me.

> > don't have any device nodes in /dev.
> > 
> > > This would have to monitor for a restart and use hciconfig to get the 
> > > bluetooth address from that, then create the alias or environment variable.
> > 
> > Wrong way. Change the program to work with BD_ADDRs instead of hci0 etc.
> > The Bluetooth library makes it possible to do this.
> > 
> Do you have any pointers for this maybe I can persuade te btcli authors to produce a variant!

The btcli is CSR specific and actually I never saw the Linux version of
it. You got it, so you may ask your CSR contact for this extension.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

      parent reply	other threads:[~2004-11-12  1:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 15:44 udev and bluetooth devices derek.philip
2004-11-09  7:20 ` Marcel Holtmann
2004-11-10  2:29 ` Marcel Holtmann
2004-11-12  1:55 ` Marcel Holtmann [this message]

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=1100224511.12168.58.camel@pegasus \
    --to=marcel@holtmann.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).