You are not logged in.
I want a stable mapping from bluetooth hardware to hciX under /sys/class/bluetooth, similar to how wlanX maps to wifi chips.
I wrote a udev rule. The rule is matching correctly by vender/product. But how do i actually change the name? With wlan, i can simply specify NAME="wlan0". Thanks!
SUBSYSTEM="bluetooth", ATTRS{idVendor}=="foo", ATTRS={idProduct}="bar", RUN+="some_no_op_script.sh"Offline
hciconfig has the name option where you can both get and set the name.
Knute
Offline
I tried that. The name is only recognized by hciconfig. not bdaddr, hcitool or other commands. For example, i can't do
hcitool -i theNewName scanI have to do
hcitool -i hci1 scanOffline