Re: gnome 2.19 schedule.

On Tue, 2007-03-20 at 03:17 +0100, �ienne Bersac wrote:
> Hi,
> > e.g. it's polling. I don't suppose there's any way to avoid this, it
> > only will happen when the scanner is plugged in and powered on.
> How to do without polling in user space ?

Hmm, I don't think that's possible; I haven't looked at the SANE sources
in great detail though; they do have what appears to be some mainloop
integration bits (sane_get_select_fd() for example) so perhaps that can
be used. Either way, it's an implementation detail though + people are
probably near a power point when they're using their scanners so we
don't have to worry too much about burning battery. And we'd only be
running this code when a scanner is actually attached...

But the less polling the better or so Ryan tells us :-)

> > So here's what I would do
> > [snip]
> > What do you think?
> That's really nice !!! Also, patching sane_get_devices () to use HAL,
> then patch saned to publish through avahi, then path again
> sane_get_device to use avahi and we get the trick !

Yeah, that might be possible too. Beware of feedback effects though :-)


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