I have a fully up-to-date Debian Stretch on my ThinkPad X230. I have the latest Samsung Unified Linux Driver (V1.00.39) installed on the machine. The printer works fine. However, the scanner is very temperamental and only scans 1-6 pages before simple-scan gives errors being unable to start a scan.
The scanner uses smfp-samsung backend and I've commented out all other backends from sane.d/dll.conf.
Code: Select all
$:sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
could not open USB device 0x8087/0x0024 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x04f2/0xb2ea at 001:005: Access denied (insufficient permissions)
could not open USB device 0x147e/0x2020 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3469 [M2070 Series]) at libusb:003:003
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
Code: Select all
$:scanimage -L
device `smfp:usb;04e8;3469;[redacted s/n]' is a Samsung M2070 Series on USB Scanner
If I try to scan a few pages of a document, simple-scan ends up stopping in a buffer on a random page eventually giving "unable to start scan" error. If I then try:
Code: Select all
$:scanimage --format=png > test.png
scanimage: open of device smfp:usb;04e8;3469;[redacted s/n] failed: Error during device I/O
Code: Select all
$:ls -l /dev/sg*
crw-rw---- 1 root disk 21, 0 May 8 19:26 /dev/sg0
crw-rw---- 1 root disk 21, 1 May 8 19:26 /dev/sg1
Code: Select all
$:ls -l /dev/bus/usb/*/*
crw-rw-r-- 1 root root 189, 0 May 8 19:26 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 1 May 8 19:26 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189, 2 May 8 19:26 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 4 May 8 19:26 /dev/bus/usb/001/005
crw-rw-r-- 1 root root 189, 128 May 8 19:26 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 May 8 19:26 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 256 May 8 19:26 /dev/bus/usb/003/001
crw-rw-r--+ 1 root scanner 189, 257 May 8 19:27 /dev/bus/usb/003/002
crw-rw-r-- 1 root root 189, 384 May 8 19:26 /dev/bus/usb/004/001
Code: Select all
$:getfacl /dev/bus/usb/003/002
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/003/002
# owner: root
# group: scanner
user::rw-
user:myuser:rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--