On Sat, 30 Jul 2005, Marc Fonvieille wrote: > 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
Thanks, I did read it. But if that is the problem, then please explain why I can scan as root but not as ordinary user? When I create a link uscanner0 -> ugen0 that link gets permissions lrwxr-xr-x and I can't change those. I then run as normal user $ sane-find-scanner -q found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0 found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON Scanner]) at libusb:/dev/usb0:/dev/ugen0 So you see, it's not that I can't find the scanner. It is beyond me to understand why sane-find-scanner works as documented but scanimage don't. According to documentation this scanner uses the snapscan backend, in snapscan.conf I have: firmware /usr/local/etc/sane.d/Esfw41.bin # If not automatically found you may manually specify a device name. # For USB scanners also specify bus=usb, e.g. # /dev/usb/scanner0 bus=usb #/dev/uscanner0 bus=usb usb /dev/uscanner0 I have tried specifying the usb-scanner, both as written in the handbook and as suggested in the file and without any entries. No change. I don't think this file is read, because that would probably require that scanimage first identify the backend. Thanks, Erik GnuPG: http://www.locolomo.org/home/norgaard/norgaard.gpg.asc pub 1024D/11D11F9E 2003-08-15 Erik Norgaard <[EMAIL PROTECTED]> Key fingerprint = C394 81C4 D137 EEE5 39BE 82D5 3E6B FB3E 11D1 1F9E _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"