public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Renaming hci interfaces with udev
@ 2009-07-28  8:37 Andrej Rosano
  2009-07-28 11:31 ` Marcel Holtmann
  2009-07-28 11:34 ` Bastien Nocera
  0 siblings, 2 replies; 5+ messages in thread
From: Andrej Rosano @ 2009-07-28  8:37 UTC (permalink / raw)
  To: linux-bluetooth

Hi,
I would like to change the default name of bluetooth interfaces (hci0, hci1, ...)
using udev rules.

While with wlan usb dongles it works with the line:
    KERNEL=="wlan*", NAME="foo0"
the analogous for the bt:
    KERNEL=="hci*", NAME="foo0"
doesn't work, while
    KERNEL=="hci*", RUN+="/usr/bin/touch /tmp/foo"
works.

I'm using kernel 2.6.30.1, udev 125 and bluez 4.46.

Regards,
Andrej

-- 
Andrej Rosano                                               <andrejro@gmail.com>
0x7B470744                    E5DF 7810 AD63 A215 2D0E  AF56 53C7 A2CB 7B47 0744

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-28 12:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28  8:37 Renaming hci interfaces with udev Andrej Rosano
2009-07-28 11:31 ` Marcel Holtmann
2009-07-28 11:34 ` Bastien Nocera
2009-07-28 12:05   ` Andrej Rosano
2009-07-28 12:22     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox