Renaming hci interfaces with udev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
0x7B470744                    E5DF 7810 AD63 A215 2D0E  AF56 53C7 A2CB 7B47 0744
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux