Re: [solved] Re: saned and root question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/3/18 8:31 am, ToddAndMargo wrote:
On 03/10/2018 01:04 PM, ToddAndMargo wrote:
On 03/09/2018 07:16 PM, ToddAndMargo wrote:
Hi All,

Okay, now this is "scary".

Both xsane and Simple Scan work locally.

I can not get saned to work, UNLESS, I edit /etc/group
and add the following to root

root:x:0:saned

Without it, I get

$ xsane net:localhost:epkowa:interpreter:001:007
Access to resource has been denied

Now what am I doing wrong?  Must saned have root privileges?
CUPS doesn't need it.

Many thanks,
-T

Followup:

To correct this, add

# /usr/lib/udev/rules.d/70-saned.rules
ACTION=="add", ENV{libsane_matched}=="yes", GROUP="saned", MODE="0660"

to

/usr/lib/udev/rules.d/65-sane-backends.rules

I just opened
https://bugzilla.redhat.com/show_bug.cgi?id=1554032

to fix this.


I have been troubleshooting this since November
<Editorial comment> AAAAAAHHHHHHHHHHHHHHHHHHHHH!!!!! </editorial comment>

-T

A fun command:

# rpm -qf /usr/lib/udev/rules.d/65-sane-backends.rules
sane-backends-1.0.27-12.fc27.x86_64



Note: you have to reboot to get this to take:

$ scanimage -L
device `epkowa:interpreter:001:003' is a Epson Perfection V300 flatbed scanner device `net:localhost:epkowa:interpreter:001:003' is a Epson Perfection V300 flatbed scanner

$ xsane net:localhost
worked

Unplugging and replugging the scanner:
$ scanimage -L
device `epkowa:interpreter:001:008' is a Epson Perfection V300 flatbed scanner device `net:localhost:epkowa:interpreter:001:008' is a Epson Perfection V300 flatbed scanner

$ xsane net:localhost
worked

In my situation I have not put any entries in /usr/lib/udev/rules.d to get the scanner on the multi-function device working over the network (I have an Epson Expression ET 3700 continuous flow ink device).

My first step in getting the scanner working was to look at /etc/sane.d/epson.conf and /etc/sane.d/epsonds.conf (/etc/sane.d/epson2.conf seems to be for usb connected devices). These 2 conf files have 'net autodiscovery' already specified, but that was not enough to detect the scanner and neither was adding 'net <ip-address>' (the ip address of the device as set on the device).

Having already downloaded the printer driver for cups I went to the same site and downloaded Epson's Imagescan package and installed it. That package installs 2 conf files /etc/imagescan/combo.conf and /etc/imagescan/imagescan.conf and a scanning tool called Imagescan. This installation was still not enough to get the scanner working with Imagescan. To get it working I had to uncomment the 3 device statements (I think they were commented), change to model entry to my device name and change the ip address to the address I set my device to.

Having done these changes Imagescan was able to find the device and after a reboot (I didn't try Xsane until several days later) so did Xsane. To test Xsane I don't have to unplug the device from the ethernet connection to the router, just turning the power on and off on the device is enough to test Xsane's ability to see the device.


Scanimage -L gives me the following output:


scanimage -L
device `imagescan:esci:networkscan://192.168.1.20:1865' is a Epson ET-3700


xsane (without any parameters)

worked


xsane (with the device powered off)

'No devices found'


xsane (with the device powered back on)

worked


My setup is a bit different to yours, from your output it looks like you have the scanner connected to your computer via usb and you are trying to share that over the network, whereas in my case my device is actually network connected and I am trying to get the multiple computers and Android devices talking to it.


regards,

Steve

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux