Re: bluetooth works with udev-145 but had some weired issues with it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mario Limonciello wrote:
Hi Justin:

Justin Mattock wrote:
For some reason in rules.d
for the permission setting:

#ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="/usr/sbin/bluetoothd --udev"
to
RUN+="/usr/sbin/bluetoothd --udev"
gets this working for me.
prior to this, udev just would not activate
bluetoothd
Anyways thought it would be good to let people know.


I'm wondering if you are seeing something similar that was happening on
Ubuntu when getting bluez-4.45 added in where the daemon failed to start
upon bootup but works fine later (eg if you hotplug the device).

It turned out that dbus wasn't up and running at the time udev triggered
all devices early in the boot.

The easiest solution was to run:

     udevadm trigger --subsystem-match=bluetooth


later on, during an init script or similar.
Don't mean to be latent on the response.
Anyways I tried adding

udevadm trigger --subsystem-match=bluetooth

to init.d/udev but the system fails hard(livecd to recover),
but adding the same entry to another init script after udev
has done its job results in a successful activation.

So I think it's safe to safe this is the same issue ubuntu was having.

Justin P. Mattock

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux