I have with the multifunction printer Samsung CLX-3185N and Simple Scan
the following problem:

After starting Simple Scan, I can scan the 1st page; every other page no
longer. Error message: "Scan failed Scan failed to start."

What have I done so far:

Linux unified driver uld_V1.00.39_01.17.tar.gz downloaded from Samsung
through HP website and unpacked in my download directory.

Then the command

sudo ~ / downloads / uld / install.sh

called and installed the driver. There were no error messages.

Since the scanner was not recognized at the beginning, I created the
following links.

sudo ln -sfv /usr/lib/sane/libsane-smfp.so* / usr / lib / x86_64-linux-
gnu / sane

Now the scanner is found with sane-find-scanner and scanimage -L; but
that above Problem occurs now.

I tested the following before calling Simple-Scan:

haraldbraun @ Fulda: ~ $ lsusb | grep -e samsung
Bus 001 Device 005: ID 04e8: 343d Samsung Electronics Co., Ltd

haraldbraun @ Fulda: ~ $ sudo sane-find-scanner
Found USB scanner (vendor = 0x04e8 [Samsung Electronics Co., Ltd.], product = 
0x343d [CLX-3180 Series]) at libusb: 001: 005

haraldbraun @ Fulda: ~ $ scanimage -L
device `smfp: usb; 04e8; 343d; Z52IBAIB600104R 'is a Samsung CLX-3180 series on 
USB scanner

haraldbraun @ Fulda: ~ $ ls -al / dev / bus / usb / 001/005
crw-rw-r - + 1 root lp 189, 4 Mar 17 08:00 / dev / bus / usb / 001/005

haraldbraun @ Fulda: ~ $ groups
Harald Brown Lp Sudo Backup Lpadmin Scanner Saned Public

haraldbraun @ Fulda: /etc/udev/rules.d$ ls -l
a total of 68
-rwxr-xr -x 1 root root 5666 Mar 16 17:56 39-smfp_samsung.rules
-rw-r - r-- 1 root root 58549 Feb 18 11:28 70-snap.core.rules

In 39-smfp_samsung.rules ist der Multifunktionsdrucker wie folgt
aufgeführt (Datei-Auszug):

# This file is a part of Unified Linux Driver
# Rules to allow low level USB device access for smfpautoconf
#
# For new distributions,
# Permissions and group are set according to common libsane rules
#

ACTION!="add", GOTO="smfp_label_end"

# Check device type
ENV{DEVTYPE}=="usb_device", GOTO="smfp_create_usb_dev"

# Check SUBSYSTEM (should be either "usb" or "usb_device")
SUBSYSTEM=="usb", GOTO="smfp_create_usb_dev"
SUBSYSTEM=="usb_device", GOTO="smfp_create_usb_dev"

GOTO="smfp_label_end"

LABEL="smfp_create_usb_dev"

# Check Vendor ID
ATTR{idVendor}!="04e8", GOTO="smfp_label_end"

ATTRS{idProduct}=="3425", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="341c", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="342a", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="343d", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="3456", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="345a", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="3427", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="343a", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="3428", ENV{libsane_matched}="yes"
ATTRS{idProduct}=="343b", ENV{libsane_matched}="yes" 
<==========================================================
ATTRS{idProduct}=="3455", ENV{libsane_matched}="yes"
.
.
.

ENV{libsane_matched}=="yes", OWNER="root", MODE="664", GROUP="lp"

LABEL="smfp_label_end"


Then I have the command in the terminal:

sudo tail -f / var / log / syslog

entered, Simple-Scan started.

The first start attempt of Simple-Scan fails.

The second start attempt succeeds; I then did the following activities:

- 1st picture scanned in (successfully)
- scanned the following image (failure, with o.a.
- Simple scan ends without saving
- tail finished.

The syslog excerpt is listed below:

haraldbraun@Fulda:~$ sudo tail -f /var/log/syslog
[sudo] Passwort für haraldbraun: 
Mar 17 09:50:17 Fulda kernel: [11120.507310] usb 1-12: new high-speed USB 
device number 6 using xhci_hcd
Mar 17 09:50:18 Fulda kernel: [11120.656159] usb 1-12: New USB device found, 
idVendor=04e8, idProduct=343d
Mar 17 09:50:18 Fulda kernel: [11120.656165] usb 1-12: New USB device strings: 
Mfr=1, Product=2, SerialNumber=3
Mar 17 09:50:18 Fulda kernel: [11120.656169] usb 1-12: Product: CLX-3180 Series
Mar 17 09:50:18 Fulda kernel: [11120.656173] usb 1-12: Manufacturer: Samsung 
Electronics Co., Ltd.
Mar 17 09:50:18 Fulda kernel: [11120.656176] usb 1-12: SerialNumber: 
Z52IBAIB600104R
Mar 17 09:50:18 Fulda kernel: [11120.657637] usblp 1-12:1.1: usblp1: USB 
Bidirectional printer dev 6 if 1 alt 0 proto 2 vid 0x04E8 pid 0x343D
Mar 17 09:50:18 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1
Mar 17 09:50:18 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12
Mar 17 09:50:19 Fulda colord-sane[9174]: io/hpmud/pp.c 627: unable to read 
device-id ret=-1
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:54 Fulda kernel: [11156.837145] usblp1: removed
Mar 17 09:50:54 Fulda kernel: [11156.837436] scan-thread[9204]: segfault at 
7f7800000055 ip 00007f78a5b8aaca sp 00007f7885c370f0 error 4 in 
libusb-1.0.so.0.1.0[7f78a5b85000+17000]
Mar 17 09:50:57 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:57 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:57 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:57 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:58 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:58 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:50:58 Fulda simple-scan[9207]: io/hpmud/pp.c 627: unable to read 
device-id ret=-1
Mar 17 09:50:58 Fulda kernel: [11161.502712] audit: type=1400 
audit(1552812658.939:189): apparmor="DENIED" operation="connect" 
profile="/usr/sbin/cupsd" pid=3311 comm="cupsd" family="unix" 
sock_type="stream" protocol=0 requested_mask="send receive connect" 
denied_mask="send connect" addr=none 
peer_addr="@2F746D702F65736574732E736F636B0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
 peer="unconfined"
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1
Mar 17 09:51:13 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'bind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1
Mar 17 09:51:51 Fulda upowerd[1235]: unhandled action 'unbind' on 
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1

Then I checked again:

haraldbraun @ Fulda: ~ $ lsusb | grep -e samsung
Bus 001 Device 005: ID 04e8: 343d Samsung Electronics Co., Ltd

haraldbraun @ Fulda: ~ $ sudo sane-find-scanner
Found USB scanner (vendor = 0x04e8 [Samsung Electronics Co., Ltd.], product = 
0x343d [CLX-3180 Series]) at libusb: 001: 005

haraldbraun @ Fulda: ~ $ scanimage -L
device `smfp: usb; 04e8; 343d; Z52IBAIB600104R 'is a Samsung CLX-3180 series on 
USB scanner


If you call Simple-Scan again, the scan attempt with the o.a. Error
message aborted.

Only turning the printer off and on will cause Simple-Scan to re-scan
the first image, but from the second image on again with the o.a. Error
message aborts.

For me it looks like at the moment ubuntu has a problem with USB; but since I'm 
not an expert, I can be wrong.
Can you give me an indication of what I have to do to correct this problem?


** Attachment added: "39-smfp_samsung.rules"
   
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1728012/+attachment/5246967/+files/39-smfp_samsung.rules

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1728012

Title:
  Many 3rd party scanner drivers are broken by a sane change

Status in sane-backends package in Ubuntu:
  Confirmed

Bug description:
  Many scanners can no more be used since sane has changed something:
  The 3rd-party plug-in the vendor provides as .deb package will still
  install. But the scanner is no more recognized.

  Scanners that are affected are(besides others):
   - Epson Perfection V10
   - Epson Perfection V1000
   - Epson WorkForce GT-1500
   - Brother MFC-8510DN
   - Epson Perfection V33

  It is to note that the probability that the scanner manufacturers fix
  things others broke is below 100%.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: libsane1 1.0.27-1~experimental2ubuntu2
  Uname: Linux 4.14.0-041400rc5-lowlatency x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  Date: Fri Oct 27 12:35:52 2017
  EcryptfsInUse: Yes
  SourcePackage: sane-backends
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1728012/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to