From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Date: Tue, 09 Nov 2004 07:20:51 +0000 Subject: Re: udev and bluetooth devices Message-Id: <1099984851.29330.49.camel@pegasus> List-Id: References: <20041108154422.EUWV25413.dircache05-winn.mailhost.ntl.com@localhost> In-Reply-To: <20041108154422.EUWV25413.dircache05-winn.mailhost.ntl.com@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Derek, > I would just like to make my situation a little clearer. > > My reason for creating a persistent link is that I have at > least 8 USB Bluetooth dongles under test. the scripts I > use may restart them in a random order and I run the > chance of reconnecting to the wrong deive if I use say > hci0. > > I'm not sure what you mean by use the BD_ADDR! the BD_ADDR is the Bluetooth device address and since it is an IEEE address like the Ethernet MAC address it is unique. You must use this one to indentify your device. > I currently use CSrs btcli hci tool for communicating to > the device. I heard rumors about a Linux version of btcli, but actually this is not an open source tool as far as I know and so I can't help here. > I read in one of the udev howtos that it is possible to > rename the Ethernet interfaces, eth0, with a rule in udev. > > Is it possible to do the same with hci0, Bluetooth > interfaces. We don't support renaming of the hciX interface names and it is not really needed, because when it comes to higher layers like L2CAP and RFCOMM you simply fill in the BD_ADDR of your local device as the source address. 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_id065&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