From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Date: Wed, 10 Nov 2004 02:29:07 +0000 Subject: Re: udev and bluetooth devices Message-Id: <1100053748.25879.34.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, > So basicly I can't get a persistent name for a Bluetooth device on USB > using udev! the simple answer is no. > 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 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. 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