[sane-devel] [patch][RFC] sanei_usb_init improvement

m. allan noah kitno455 at gmail.com
Thu Dec 11 20:45:02 UTC 2008


Well, this patch prevents removed scanners from being removed from the
global list, so if you unplug and replug the scanner 100 times, you
run out of device indexes, and frontend will see 99 non-existent
scanners. However, if we add removal code, then there is the
possibility that we might drop a device that is busy cause it is
opened by another process. I suppose that is ok, and no different than
how things are now...

allan



More information about the sane-devel mailing list