Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2005 01:25:11 +0200
From:      cpghost <cpghost@cordula.ws>
To:        Erik N??rgaard <norgaard@math.ku.dk>
Cc:        questions@freebsd.org
Subject:   Re: scanimage -L doesn't work as normal user
Message-ID:  <20050729232511.GA3040@epia2.farid-hajji.net>
In-Reply-To: <Pine.LNX.4.40.0507292111320.11323-100000@shannon.math.ku.dk>
References:  <Pine.LNX.4.40.0507292111320.11323-100000@shannon.math.ku.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 29, 2005 at 09:18:07PM +0200, Erik N??rgaard wrote:
> Following the instruction I run as root:
> # sane-find-scanner -q
> found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON
> Scanner]) at libusb:/dev/usb0:/dev/ugen0
> # scanimage -L
> device `snapscan:libusb:/dev/usb0:/dev/ugen0' is a EPSON EPSON
> Scanner flatbed scanner
> 
> And I have even succesfully scanned the warranty in pnm.
> 
> Then as ordinary user:
> $ sane-find-scanner -q
> found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON
> Scanner]) at libusb:/dev/usb0:/dev/ugen0
> $ scanimage -L
> 
> No scanners were identified. If you were expecting something
> different, check that the scanner is plugged in, turned on and
> detected by the sane-find-scanner tool (if appropriate). Please
> read the documentation which came with this software (README, FAQ,
> manpages).

This is normally a problem with permissions. You could set them
to 0666 in /etc/devfs.conf, and [re]start devfs with
# /etc/rc.d/devfs start

Then try using scanimage again as ordinary user.

> $ scanimage -d libusb:/dev/usb0:/dev/ugen0
> scanimage: open of device libusb:/dev/usb0:/dev/ugen0 failed:
> Invalid argument

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050729232511.GA3040>