Hi Andrej, > > > I would like to change the default name of bluetooth interfaces (hci0, hci1, ...) > > > using udev rules. > > > > Could I ask why you want to do that? > > I have more than one bt dongle connected to the box and I would like to assign always > the same bluetooth name (the one set with hciconfig hciX name ...), ex: > > the one with BD_ADDR=xx:yy:zz:00:00:01 -> foo > the one with BD_ADDR=xx:yy:zz:00:00:02 -> bar > ... > > > If one could use the udev persistent rules like with ethernet interfaces: > > ACTION=="add", KERNEL=="hci*", ATTR{address}=="xx:yy:zz:00:00:01", NAME="hci0" > ACTION=="add", KERNEL=="hci*", ATTR{address}=="xx:yy:zz:00:00:02", NAME="hci1" > ... > > and then set the appropriate bluetooth name: > > hciconfig hci0 name foo > hciconfig hci1 name bar > ... > > Currently I am using a script to do that. and actually bluetoothd is doing that for you no matter what the device name is. You just have to set the name once using the D-Bus interface. Regards Marcel -- 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