Oliver Rauch wrote:
>
> Bob van der Poel wrote:
>
> >
> >
> > Following Oliver's earlier advise I deleted /dev/scanner and I now skip
> > the 'pick a scanner' screen. Interestingly, sg1 is a link to sgb. I can
> > only assume that xsane is checking /dev/scanner and /dev/sg[a-h], but
> > not /dev/sg[0-9].
> >
>
> Hi Bob,
>
> that has nothing to do with xsane, it is done in the backend.
>
> A typicall backnd.conf (here umax.conf) looks something like that:
>
> scsi UMAX * Scanner
> /dev/scanner
>
> The first line is for linux and this means the backend
> (there is a lib in the sane package that does it for all sane backends)
> searches all generic scsi devices (/dev/sg*) for vendor=id="UMAX"
> and type=6 (Scanner). The lib is intelligent enough to know that
> /dev/sg1 and /dev/sgb are the same.
>
> the second line "/dev/scanner" is for non-linux-systems. Here the user
> has to tell sane to which device-file the scanner is connected.
>
Thanks, Oliver. All much clearer now. Just a minor suggestion for future
releases...would it be possible to commment the *.conf files so that
this is a bit more clear?
-- __ / ) / Bob van der Poel /--< ____/__ bvdpoel@uniserve.com /___/_(_) /_) http://users.uniserve.com/~bvdpoel-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 14:01:53 PDT