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"
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
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?
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 samsung. rules
a total of 68
-rwxr-xr -x 1 root root 5666 Mar 16 17:56 39-smfp_
-rw-r - r-- 1 root root 58549 Feb 18 11:28 70-snap.core.rules
In 39-smfp_ samsung. rules ist der Multifunktionsd rucker 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 =="usb_ device" , GOTO="smfp_ create_ usb_dev"
ENV{DEVTYPE}
# Check SUBSYSTEM (should be either "usb" or "usb_device") create_ usb_dev" ="usb_device" , GOTO="smfp_ create_ usb_dev"
SUBSYSTEM=="usb", GOTO="smfp_
SUBSYSTEM=
GOTO="smfp_ label_end"
LABEL=" smfp_create_ usb_dev"
# Check Vendor ID !="04e8" , GOTO="smfp_ label_end"
ATTR{idVendor}
ATTRS{idProduct }=="3425" , ENV{libsane_ matched} ="yes" }=="341c" , ENV{libsane_ matched} ="yes" }=="342a" , ENV{libsane_ matched} ="yes" }=="343d" , ENV{libsane_ matched} ="yes" }=="3456" , ENV{libsane_ matched} ="yes" }=="345a" , ENV{libsane_ matched} ="yes" }=="3427" , ENV{libsane_ matched} ="yes" }=="343a" , ENV{libsane_ matched} ="yes" }=="3428" , ENV{libsane_ matched} ="yes" }=="343b" , ENV{libsane_ matched} ="yes" <====== ======= ======= ======= ======= ======= ======= ======= === }=="3455" , ENV{libsane_ matched} ="yes"
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
ATTRS{idProduct
.
.
.
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 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.1 pci0000: 00/0000: 00:14.0/ usb1/1- 12 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.1 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 1.0.so. 0.1.0[7f78a5b85 000+17000] pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 8.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= "@2F746D702F657 36574732E736F63 6B0000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000" peer="unconfined" pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.1 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.1 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.1 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.1 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.0 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.1 pci0000: 00/0000: 00:14.0/ usb1/1- 12/1-12: 1.1
[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/
Mar 17 09:50:18 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
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/
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:50:54 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
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-
Mar 17 09:50:57 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:50:57 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:50:57 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:50:57 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:50:58 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:50:58 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
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(155281265
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:51:06 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:13 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
Mar 17 09:51:34 Fulda upowerd[1235]: unhandled action 'bind' on /sys/devices/
Mar 17 09:51:51 Fulda upowerd[1235]: unhandled action 'unbind' on /sys/devices/
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?