From 5ac6f8a3d120777ef5559241e265c91f3c798b03 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 22 Sep 2010 21:34:41 +0200 Subject: [PATCH] bluez: add patch to run bluetoothd on udev change events Signed-off-by: Stephan Raue --- ...run_bluetoothd_on_udev_change_events-0.1.diff | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/network/bluez/patches/bluez-run_bluetoothd_on_udev_change_events-0.1.diff diff --git a/packages/network/bluez/patches/bluez-run_bluetoothd_on_udev_change_events-0.1.diff b/packages/network/bluez/patches/bluez-run_bluetoothd_on_udev_change_events-0.1.diff new file mode 100644 index 0000000000..d2f0677059 --- /dev/null +++ b/packages/network/bluez/patches/bluez-run_bluetoothd_on_udev_change_events-0.1.diff @@ -0,0 +1,16 @@ +diff -Naur bluez-4.71/scripts/bluetooth.rules bluez-4.71.patch/scripts/bluetooth.rules +--- bluez-4.71/scripts/bluetooth.rules 2010-09-08 17:29:06.000000000 +0200 ++++ bluez-4.71.patch/scripts/bluetooth.rules 2010-09-22 20:23:11.973264738 +0200 +@@ -1,3 +1,4 @@ + # Run helper every time a Bluetooth device appears + # On remove actions, bluetoothd should go away by itself + ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="/usr/local/sbin/bluetoothd --udev" ++ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="/usr/local/sbin/bluetoothd --udev" +diff -Naur bluez-4.71/scripts/bluetooth.rules.in bluez-4.71.patch/scripts/bluetooth.rules.in +--- bluez-4.71/scripts/bluetooth.rules.in 2009-07-06 22:21:40.000000000 +0200 ++++ bluez-4.71.patch/scripts/bluetooth.rules.in 2010-09-22 20:23:01.488265635 +0200 +@@ -1,3 +1,4 @@ + # Run helper every time a Bluetooth device appears + # On remove actions, bluetoothd should go away by itself + ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev" ++ACTION=="change", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev"