a libary that can ask hald for a list of surten devices

Kristof Vansant de_lupus at pandora.be
Tue Aug 3 09:24:48 PDT 2004


you could let libbacon use libburn 
http://icculus.org/burn/doc/index.html
so you have detection and can burn cd's :)

lupusBE (Kristof Vansant Belgium)

On Tue, 2004-08-03 at 12:33, Joe Shaw wrote:
> On Tue, 2004-08-03 at 13:50 +0000, Kristof Vansant wrote:
> > I was thinking a common libary that can ask hald for surten hardware.
> > This could be interresting for surten programme's.
> > 
> > example: totem has an menuitem dvd and cdrom
> > 
> > if totem could ask the common libary to ask hald what media devices are
> > installed. totem can only show these devices. totem does not need to
> > have hald support itself.
> 
> This is generally the idea.  We hope that people will build their
> libraries on top of libhal for specific access to their hardware.
> 
> The whole goal of HAL though is device discovery and enumeration, so
> libhal can very easily do a lot of the work in get_scanners(),
> get_keyboards() itself.  I think rather than a single library for this
> enumeration you'd instead want a library which does a specific task
> well, like burning CDs/DVDs.  Then not only could you have nice
> convenience functions like get_cdr(), but you could also have things
> like set_burn_speed() and burn_disc().
> 
> And then you could also hide the HAL implementation details (although
> you'd still need to link against the library) if you wanted to have a
> non-HAL fallback.
> 
> (BTW, I think the library you mention already exists for totem, called
> libbacon.  I might be wrong about that, though.)
> 
> Joe
> 
> 

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list