info.icon in HAL

David Zeuthen david at fubar.dk
Fri Mar 2 08:11:04 PST 2007


On Thu, 2007-03-01 at 23:48 +0000, Richard Hughes wrote:
> I do think this fits in HAL for a few reasons:
> 
> * we are defining what type of hardware the device is
> * we are in an ideal position to match with XML fdi files against
> vendor Id's and stuff
> * we can be cross desktop as we are using the freedesktop names
> * we can launch probers if we need to, to get more detailed info about
> the hardware

Yes, and, keep in mind, that "we" don't need even to be software in HAL;
for example libipoddevice already runs during a HAL callout (see: rpm
-ql libipoddevice) - there's no reason it shouldn't update the icon.name
property with the correct icon that would reflect what color your iPod
is. With the flexible architecture we have today along with well-defined
properties we can do do this in a nice way.

      David




More information about the hal mailing list