[sane-devel] Default path for USB device .conf files
Frank Zago
fzago at austin.rr.com
Fri Jun 21 23:02:40 BST 2002
Henning Meier-Geinitz wrote:
> Hi,
>
> On Fri, Jun 21, 2002 at 11:29:17AM +0100, Tim Waugh wrote:
>
>>Is there any good reason not to use (for example) '/dev/usb/scanner0'
>>instead of '/dev/usbscanner0' in the various SANE .conf files?
>
>
> Usage seems to vary between distributions, at least when I started
> writing sane_usb, users used both types. Even the Linux kernel
> documentation isn't sure about the correct place. devices.txt says
> "/dev/usb/scanner*" while usb/scanner.txt lists "/dev/usbscanner*".
>
Is there a good reason to have this in the configuration files,
alongside with /dev/scanner?
Couldn't the code in sane-find-scanner be reused in the backends?
eg:
sanei_find_scanner(attach_one);
Frank.
More information about the sane-devel
mailing list