scanimage -L doesn't work as normal user

Marc Fonvieille blackend at freebsd.org
Sat Jul 30 11:07:41 GMT 2005


On Sat, Jul 30, 2005 at 12:14:25PM +0200, Erik Nørgaard wrote:
> On Sat, 30 Jul 2005, cpghost wrote:
> 
> > > 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.
> >
> > 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
> 
> This was also what I thought, but I can't seem to get it right:
> 
> In my devfs.conf I have:
> # Allow all users to use the scanner
> perm    ugen0  0666
> 
> perm    usb    0666
> perm    usb0   0666
> perm    usb1   0666
> 
> But when I plugin the scanner, ugen0 and ugen0.* has permissions
> crw-r--r--
>
[...]

You have to use uscanner not ugenX
You should read the Handbook section related to the image scanners:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html

Marc


More information about the freebsd-questions mailing list