Linux bluetooth development
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: BlueZ development <linux-bluetooth@vger.kernel.org>
Subject: Fix bluetoothd not starting on cold boot
Date: Wed, 22 Sep 2010 12:38:01 +0100	[thread overview]
Message-ID: <1285155481.13582.99.camel@cookie.hadess.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 24 bytes --]

Patch attached.

Cheers

[-- Attachment #2: 0001-Also-run-bluetoothd-on-udev-change-events.patch --]
[-- Type: text/x-patch, Size: 896 bytes --]

>From 156877874776d3caec3641f09a34a42e4102ef71 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
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(-)

diff --git a/scripts/bluetooth.rules.in b/scripts/bluetooth.rules.in
index 6809e9d..64df69d 100644
--- a/scripts/bluetooth.rules.in
+++ b/scripts/bluetooth.rules.in
@@ -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"
-- 
1.7.2.3


             reply	other threads:[~2010-09-22 11:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22 11:38 Bastien Nocera [this message]
2010-09-22 19:28 ` Fix bluetoothd not starting on cold boot Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1285155481.13582.99.camel@cookie.hadess.net \
    --to=hadess@hadess.net \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox