Scanner does not work as user

Phil Schaffner P.R.Schaffner at IEEE.org
Tue Apr 20 02:07:32 UTC 2004


On Mon, 2004-04-19 at 15:26 +0200, h.breimer wrote:

> On Mon, 19 Apr 2004 07:45:39 +0200
> Roland Wolters <wolters.liste at gmx.net> wrote:
> 
> > Once upon a time Sandy Pond wrote:
> > > chmod 777 $(sane-find-scanner | \
> > >             grep '^found USB scanner' | \
> > >             sed -e 's?^.*libusb:?/proc/bus/usb/?' -e 's?:?/?')
> > 
> > Ok, now scnaimage finds it, thank you very much.
> > But xsane now gives me a I/O device error:
> > /Failed to open device libusb:003:002
> > \Error during I/O device.
> > 
> >   :-(
> > 
> 
> O.K. This sets the permissions.
> 
> You still have to change /etc/sane.d/epson.conf;
> 
> comment out:
> # scsi EPSON
> # usb /dev/usb/scanner0
> 
> add new line :
> usb libusb:003:002
> 
> Problem here is that the :003:002 part can differ when you exchange usb
> devices.

Worked for me, thanks!  After Sandy Pond's chmod magic scanimage found
my Epson 1650, although it gets a bit confused:

[root at tabb1 root]# scanimage -L
device `v4l:/dev/video0' is a Noname BT878 video (Hauppauge (bt878))
virtual device
device `epson:libusb:001:003' is a Epson GT-8200 flatbed scanner

Then xsane finally works as root.  Now to try as a user...

> 
> Editing should be done by a script similar to the above for the
> permissions. My sed is very rusty. Somebody can help?

Mine also, but brute force (eyeball) still works.

Thanks all,
Phil






More information about the fedora-test-list mailing list