From: James Bunton Date: Sun, 5 Mar 2017 03:23:52 +0000 (+1100) Subject: bluez deprecated hciconfig X-Git-Url: https://code.delx.au/monosys/commitdiff_plain/1eb2fec2fe25f69b1ca0d7b0a09122d57ba425bf?hp=1eb64fc91d97ff21bd138bb5b2502b507c7a924f bluez deprecated hciconfig --- diff --git a/bluetooth/main.conf b/bluetooth/main.conf new file mode 100644 index 0000000..6b22089 --- /dev/null +++ b/bluetooth/main.conf @@ -0,0 +1,6 @@ +[General] +Name = %h +#Class = 0x200420 # Bluetooth audio receiver + +[Policy] +AutoEnable = true diff --git a/udev/rules.d/10-bluetooth.rules b/udev/rules.d/10-bluetooth.rules deleted file mode 100644 index 22e0acb..0000000 --- a/udev/rules.d/10-bluetooth.rules +++ /dev/null @@ -1 +0,0 @@ -ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 down; /usr/bin/hciconfig hci0 up"