Re: Not all devices?

Nick Lamb (njl98r@ecs.soton.ac.uk)
Fri, 21 May 1999 01:01:24 +0100 (GMT)

On Thu, 20 May 1999, Adam Williams wrote:

> I have a Linux host where scanimage -L shows the following:
>
> device `pnm:0' is a Noname PNM file reader virtual device
> device `pnm:1' is a Noname PNM file reader virtual device
> device `hp:/dev/scanner' is a Hewlett-Packard C2520A flatbed scanner
>
> And another host that I actually want to use the scanner from where a scanimage
> -L shows the following:
>
> device `net:192.168.3.102:pnm:0' is a Noname PNM file reader virtual device
> device `net:192.168.3.102:pnm:1' is a Noname PNM file reader virtual device
>
>
> Why doesn't the HP scanner show up? I've looked all over and can find no good
> documentation on how to set this up. I have net in the dll.conf of the
> non-scanner host and hp & pnm in the dll.conf of the scanner-attached host.

Assuming 192.168.3.102 is the address of the machine where the HP is
connected, and not just the non-scanner host probing itself...

Check that "nobody" (which is the user normally set to run saned from inetd)
has permission to access the HP scanner. To check this, become nobody with
"su nobody" as root. Then try to use "scanimage -L" -- if you can't see the
HP scanner as nobody, then saned won't be able to either. Fix your
permissions. If it's not this, get back to us with some more details..

NB Depending on your setup, having "nobody" able to play with /dev/scanner
may not be what you want. If so, create a new user or group with enough
privs, and arrange in inetd.conf for saned to run as the new user.

Nick.

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com