Scanner does not work as user

Roland Wolters wolters.liste at gmx.net
Mon Apr 19 15:04:32 UTC 2004


Once upon a time Sandy Pond wrote:
> On Mon, 2004-04-19 at 09:04 -0400, Sandy Pond wrote:
> > On Mon, 2004-04-19 at 07:45 +0200, Roland Wolters 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.
> > >
> > >   :-(
> >
> > I don't have a mustek but I think you need to correct the config file
> > in /etc/sane.d/mustek*
> >
> > I would guess adding a line like:
> >
> > usb libusb:003:002
> >
> > To the proper file ... but maybe it's not supported.
> >
> > Does xsane work as root?  If so then might be selinux.  Try xsane after
> > running:
> >
> > setenforce 0
> >
> > :)
>
> Just checked ... xsane is badly broken with selinux enforcing ... turn
> it off to use xsane.

Well, I changed the mustek_usb.conf file (the device Message from xsane talks 
about mustek_usb:libusb:003:002) from autodetect to the line above, but than 
scanimage is unable ot recongnize it.
If I start xsane with my tv card, I am able to "scan" pictures, so xsane alone 
works.
But setenforce 0 does not help, I typed it as root, tried to open xsane as 
user, and got the same error as written in my old messages.

Roland





More information about the fedora-test-list mailing list