]> code.delx.au - monosys/commitdiff
bluez deprecated hciconfig
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 5 Mar 2017 03:23:52 +0000 (14:23 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sun, 5 Mar 2017 03:23:52 +0000 (14:23 +1100)
bluetooth/main.conf [new file with mode: 0644]
udev/rules.d/10-bluetooth.rules [deleted file]

diff --git a/bluetooth/main.conf b/bluetooth/main.conf
new file mode 100644 (file)
index 0000000..6b22089
--- /dev/null
@@ -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 (file)
index 22e0acb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 down; /usr/bin/hciconfig hci0 up"