[sane-devel] scanbd with old udev version

Wilhelm wilhelm.meier at fh-kl.de
Wed Aug 21 15:49:27 UTC 2013


Am 21.08.2013 16:04, schrieb Sander Devrieze:
> 2013/8/21 Wilhelm <wilhelm.meier at fh-kl.de <mailto:wilhelm.meier at fh-kl.de>>
>
>     Am 21.08.2013 12:19, schrieb Sander Devrieze:
>
>         2013/8/21 Wilhelm <wilhelm.meier at fh-kl.de
>         <mailto:wilhelm.meier at fh-kl.de> <mailto:wilhelm.meier at fh-kl.de
>         <mailto:wilhelm.meier at fh-kl.de>__>>
>
>              <snip>
>
>
>                       /usr/local/sbin/scanbd/dll.______conf
>
>
>
>
>              what is the contents of this file?
>
>
>         The directory /usr/local/sbin/scanbd does not exist. I think you
>         mean
>         /usr/local/etc/scanbd.
>
>
>     Sorry, yes.
>
>     So please show:
>
>     /etc/sane.d/dll.conf
>
>
> # /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend
> loader
> #
> # Backends can also be enabled by configuration snippets under
> # /etc/sane.d/dll.d directory -- packages providing backends should drop
> # a config file similar to dll.conf in this directory, named after the
> package.
> #
>
> # The next line enables the network backend; comment it out if you don't
> need
> # to use a remote SANE scanner over the network - see sane-net(5) and
> saned(8)
> net
> #abaton
> <snip commented out backends>
> #microtek
>
>     and
>
>     /usr/local/etc/scanbd/dll.conf
>
>     or whatever dir SANE_CONFIG_DIR points to.
>
>
> # /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend
> loader
> #
> # Backends can also be enabled by configuration snippets under
> # /etc/sane.d/dll.d directory -- packages providing backends should drop
> # a config file similar to dll.conf in this directory, named after the
> package.
> #
>
> # The next line enables the network backend; comment it out if you don't
> need
> # to use a remote SANE scanner over the network - see sane-net(5) and
> saned(8)
> #net
> abaton
> agfafocus
> apple
> avision
> artec
> artec_eplus48u
> as6e
> bh
> canon
> canon630u
> canon_dr
> #canon_pp
> cardscan
> coolscan
> #coolscan2
> coolscan3
> #dc25
> #dc210
> #dc240
> dell1600n_net
> dmc
> epjitsu
> #epson
> epson2
> fujitsu
> #gphoto2
> genesys
> gt68xx
> hp
> hp3900
> hpsj5s
> hp3500
> hp4200
> hp5400
> hp5590
> hpljm1005
> <and so forth>

Mmh, looks good.

So, if scanimage finds the scanner (started with the uid/gid as in 
scanbd.conf), scanbd should find it too, if started as root and the 
env-var SANE_CONFIG_DIR set.

-- 
Wilhelm
w.meier at unix.net



More information about the sane-devel mailing list