1554032 - saned doesn't have permissions to write on usb port
updated README.Fedora - mention epson official drivers
This commit is contained in:
parent
0ade6b5c3a
commit
3973bbb665
2
66-saned.rules
Normal file
2
66-saned.rules
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# udev rule for saned (SANE scanning daemon) to be able to write on usb port
|
||||||
|
ENV{libsane_matched}=="yes", RUN+="/usr/bin/setfacl -m g:saned:rw $env{DEVPATH}"
|
@ -17,6 +17,6 @@ Several scanners (e.g. Samsung, Brother, Epson) sometime need special backends,
|
|||||||
whose isn't shipped with sane-backends or cannot be shipped in Fedora because of
|
whose isn't shipped with sane-backends or cannot be shipped in Fedora because of
|
||||||
licensing problem. If your scanner isn't working with basic sane-backends:
|
licensing problem. If your scanner isn't working with basic sane-backends:
|
||||||
|
|
||||||
1) if your scanner is Epson, try to install iscan-firmware package
|
1) if your scanner is Epson, try to install iscan-firmware package or Image Scan from Epson official site
|
||||||
2) if your scanner is Samsung, try to find driver on https://support.hp.com/gb-en/drivers/selfservice/
|
2) if your scanner is Samsung, try to find driver on https://support.hp.com/gb-en/drivers/selfservice/
|
||||||
3) if your scanner is Brother, see http://support.brother.com/g/s/id/linux/en/download_scn.html
|
3) if your scanner is Brother, see http://support.brother.com/g/s/id/linux/en/download_scn.html
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
Summary: Scanner access software
|
Summary: Scanner access software
|
||||||
Name: sane-backends
|
Name: sane-backends
|
||||||
Version: 1.0.27
|
Version: 1.0.27
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
||||||
# Tools are GPLv2+, docs are public domain
|
# Tools are GPLv2+, docs are public domain
|
||||||
# see LICENSE for details
|
# see LICENSE for details
|
||||||
@ -44,6 +44,7 @@ Source1: sane.png
|
|||||||
Source2: saned.socket
|
Source2: saned.socket
|
||||||
Source3: saned@.service.in
|
Source3: saned@.service.in
|
||||||
Source4: README.Fedora
|
Source4: README.Fedora
|
||||||
|
Source5: 66-saned.rules
|
||||||
|
|
||||||
# Fedora-specific, probably not generally applicable:
|
# Fedora-specific, probably not generally applicable:
|
||||||
Patch0: sane-backends-1.0.25-udev.patch
|
Patch0: sane-backends-1.0.25-udev.patch
|
||||||
@ -232,6 +233,7 @@ mkdir -p %{buildroot}%{udevrulesdir}
|
|||||||
mkdir -p %{buildroot}%{udevhwdbdir}
|
mkdir -p %{buildroot}%{udevhwdbdir}
|
||||||
install -m 0644 tools/udev/sane-backends.rules %{buildroot}%{udevrulesdir}/65-sane-backends.rules
|
install -m 0644 tools/udev/sane-backends.rules %{buildroot}%{udevrulesdir}/65-sane-backends.rules
|
||||||
install -m 0644 tools/udev/sane-backends.hwdb %{buildroot}%{udevhwdbdir}/20-sane-backends.hwdb
|
install -m 0644 tools/udev/sane-backends.hwdb %{buildroot}%{udevhwdbdir}/20-sane-backends.hwdb
|
||||||
|
install -m 0644 %{SOURCE5} %{buildroot}%{udevrulesdir}/66-saned.rules
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||||
install -m 0644 tools/sane-backends.pc %{buildroot}%{_libdir}/pkgconfig/
|
install -m 0644 tools/sane-backends.pc %{buildroot}%{_libdir}/pkgconfig/
|
||||||
@ -345,10 +347,15 @@ exit 0
|
|||||||
%files daemon
|
%files daemon
|
||||||
%{_sbindir}/saned
|
%{_sbindir}/saned
|
||||||
%{_mandir}/man8/saned*
|
%{_mandir}/man8/saned*
|
||||||
|
%{udevrulesdir}/66-saned.rules
|
||||||
%{_unitdir}/saned.socket
|
%{_unitdir}/saned.socket
|
||||||
%{_unitdir}/saned@.service
|
%{_unitdir}/saned@.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 12 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-15
|
||||||
|
- 1554032 - saned doesn't have permissions to write on usb port
|
||||||
|
- updated README.Fedora - mention epson official drivers
|
||||||
|
|
||||||
* Wed Feb 28 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-14
|
* Wed Feb 28 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-14
|
||||||
- name soname suffix explicitly
|
- name soname suffix explicitly
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user