Skip to contentSkip to conversation

Fix bluetoothd not starting on cold boot

PATCH Bastien Nocera 2 participants 2 messages Sep 22, 2010 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Patch attached.

Cheers

Quoted 1 line

From 156877874776d3caec3641f09a34a42e4102ef71 Mon Sep 17 00:00:00 2001

From: Bastien Nocera <[email protected]>
Date: Wed, 22 Sep 2010 12:35:54 +0100
Subject: [PATCH] Also run bluetoothd on udev change events

Fixes bluetoothd not starting on cold boot with newer versions of udev. See:
https://bugzilla.redhat.com/show_bug.cgi?id=634205

---
 scripts/bluetooth.rules.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
scripts/bluetooth.rules.in +1 -0
index 6809e9d..64df69d 100644
@@ -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"
Signature · 1 line
1.7.2.3
#1 lore raw

Hi Bastien,

Quoted 14 lines · Bastien Nocera

Subject: [PATCH] Also run bluetoothd on udev change events

Fixes bluetoothd not starting on cold boot with newer versions of udev. See:
https://bugzilla.redhat.com/show_bug.cgi?id=634205

---
 scripts/bluetooth.rules.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
scripts/bluetooth.rules.in +0 -0
index 6809e9d..64df69d 100644

scripts/bluetooth.rules.in line 4

Quoted 4 lines
scripts/bluetooth.rules.in +1 -0
@@ -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"

Thanks. The patch has been pushed upstream.

Johan