Re: [PATCH] Add udev mode to bluetoothd

Bastien Nocera
2009-06-12T17:43:39Z

On Fri, 2009-06-12 at 10:28 +0200, Stefan Seyfried wrote:
> Stefan Seyfried wrote:
>
> > I had patches for waiting for the bus long time ago and can dig them out if
> > wanted.
>
> Actually I quickly dug them out and adapted them to the current code.
>
> I arbitrarily chose to stop waiting after 5 minutes. This timeout is certainly
> a topic that might need to be discussed.

This patch won't work as part of the udev mode, as we don't daemonise
until we have a D-Bus connection. That would make udev hang for 5
minutes waiting for the helper to come back.