Re: [PATCH] Add udev mode to bluetoothd

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

 



On Fri, 2009-06-12 at 09:40 +0200, Stefan Seyfried wrote:
> Marcel Holtmann wrote:
> > Hi Bastien,
> > 
> >> As discussed on IRC.
> >>
> >> Still needed:
> >> - patch to wait for the bus to startup in udev mode
> 
> Should we really do that? (What if the bus never appears?, how long should we
> wait?)
> The alternative (not overwhelmingly nice, I admit) would be to record
> somewhere in the system that bluetoothd tried to start but could not due to
> the missing bus and then start it "manually" by an init script that is
> guaranteed to run after DBus is started.

Under normal conditions, we'd exit(1) if started and the bus isn't
available, and udev would pick that up, marking our job as failed, and
relaunching us later in the boot process, under coldplug.

Marcel didn't like the idea though.

> I had patches for waiting for the bus long time ago and can dig them out if
> wanted.

Sure, as long as it's not bluez 3.x stuff :)

--
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