Scanner button add-on

David Zeuthen david at fubar.dk
Wed Apr 18 10:27:33 PDT 2007


Hi,

Sorry for the lag!

On Mon, 2007-04-16 at 21:05 -0400, Donald Straney wrote:
> > Regarding your second question I actually added an item to the TODO list
> > some time ago
> >
> >  http://gitweb.freedesktop.org/?p=hal.git;a=commitdiff;h=6992f57a90e9e2a5b9f9c008204f2ef953d4db63;hp=ac8bf1edd90549875c2c0a9d8601a6f8a9d3e8c7
> >
> > to mention that we need singleton addon's - this feature will be in
> > 0.5.10 which is out in a few months (major feature is PolicyKit
> > support).
> 
> That's exactly what it would need, thanks.
> 
> > I guess until that feature is
> > available you can just use a normal addon and only use one scanner yes?
> 
> Good idea, for now it can just open the first SANE device it finds.
> It's far from optimal of course, but realistically I'm sure it'll be
> fine for most people, since who has two scanners plugged in at once?

I'm actually not sure that's what you need / want. If you're trying to
implement the scanner button hal addon as I detailed here (which I think
would be great)

http://lists.alioth.debian.org/pipermail/sane-devel/2007-March/018864.html

you really want an addon _per_ scanner; I mean, just because one libsane
app is using scanner A, it doesn't mean that we shouldn't run the addon
for scanner B. Or maybe you're trying to do something else?

     David




More information about the hal mailing list