[RFC] Add persistent storage capability to HAL

Danny Kukawka danny.kukawka at web.de
Fri Aug 18 02:14:53 PDT 2006


On Thursday 17 August 2006 23:52, Matthew Garrett wrote:
> The attached patch adds the ability to save devices (optionally
> recursively) and then reload them into HAL at a later stage. This is
> useful for Bluetooth, where it's impractical to rediscover devices when
> the device is no longer discoverable - instead, the device state should
> be stored and recreated when the HCI is connected. Somewhat draft code,
> but comments welcome.

What I would like to see is a property which show if a device was reloaded to 
the device store. Maybe a boolean "info.device_reloaded = true/false". This 
would IMO make debugging a lot easier (e.g. to find wrong reloaded devices, 
incorrect detected devices etc.)

Danny


More information about the hal mailing list