Samsung Unified Linux Driver Repository Forum

SULDR => Scanning => Topic started by: pi4630 on September 03, 2018, 02:09:36

Title: SCX 3400 on ubuntu 18.04.1
Post by: pi4630 on September 03, 2018, 02:09:36
Printer Model = SCX-3400
Linux distro = ubuntu 18.04.1
USB connected
suldr-driver 3.00.65 version 4
suld-network 2
suld ppd 1

I have upated my distro from 16.04 to 18.04 (the above driver version worked flawlessy with the old distro), and now have problems making the scanner work. SimpleScan does not have any scanner entry, VueScan doesn't work neither.

sane-find-scanner yields
found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x344f [SCX-3400 Series]) at libusb:003:004
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)

I don't know about the permission problem above. My user is part of lp.

Edited /lib/udev/rules.d/60-libsane1.rules by adding
# Samsung SCX-3400
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344f", ENV{libsane_matched}="yes"

Still to no avail. Any hint?

Thanks
#pi4630
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: bchemnet on September 03, 2018, 10:34:00
try this in a terminal:
ls -l /dev/bus/usb/003/

And see who owns 001.  If it is not root/lp, you may need to add your user to another group, and/or chown that device to match a group that you are in.

If it is owned by root/lp and you are sure that you are in lp, try logging out & back in, then seeing if you can access it.
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: pi4630 on September 03, 2018, 13:44:10
pasqualino@Asus:~$ ls -l /dev/bus/usb/003/
insgesamt 0
crw-rw-r-- 1 root root 189, 256 Sep  3 19:16 001
crw-rw-r-- 1 root root 189, 257 Sep  3 19:16 002
crw-rw-r-- 1 root root 189, 258 Sep  3 19:16 003

001 is owned by root.

I installed 'members'. From terminal

pasqualino@Asus:~$ members lp
lp hplip pasqualino barbara

pasqualino is me. This is odd. I tried now and it worked! I didn't change anything, I restart quite often this morning, and now it just works?!?

Thanks!

Title: Weird behaviour of SCX 3400 on Ubuntu 18.04.1
Post by: JJ Henry on October 24, 2018, 11:57:00
After my latest upgrade, my scanner quit to scan.
Printing is as good as always.
But the weird thing is that if the multi-function is in power-save mode and I try to scan something (using simple scan), it gets awake, almost ready to scan, but... the scanning head doesn't move at all.

Suggestion?
Thanx folks
JJ
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: pi4630 on October 24, 2018, 13:06:41
Check if lib/udev/rules.d/60-libsane1.rules got overwritten (see above) and report back.
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: JJ Henry on October 25, 2018, 09:22:52
I think so.
The file 60-libsane1.desktop reports Sept 13th, that could be my last upgrading date.

It contains at the end:

# Samsung SCX-3400 aka JJ-Scanner
ATTRS{type}=="3", ATTRS{vendor}=="Samsung", ATTRS{model}=="SCX-3400", ENV{libsane_matched}="yes"
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: pi4630 on October 25, 2018, 13:11:39
That line seems not correct. Check the one I've posted earlier. It should read exactly as there (except for the # comments).
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: JJ Henry on October 25, 2018, 13:43:33
Hi, as you told me I've just pasted the lines:

# Samsung SCX-3400
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344f", ENV{libsane_matched}="yes"

into 60-libsane1.desktop file.

Rebooted, but still doesn't work.
 
Quote
It should read exactly as there (except for the # comments).

Does it mean I'm supposed to uncomment it?
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: pi4630 on October 26, 2018, 00:48:15
To avoid misunderstandings:

1) You should edit the 60-libsane1.rules file, which is located in /lib/udev/rules.d/ (You're mentioning a .desktop file, that doesn't sound correct to me). You need to be a superuser to do so (sudo).
2) Have the appropriate packages from suldr installed. These are: suldr-driver 3.00.65 version 4, suld-network 2, and suld ppd 1. Make sure you follow setting up Suldr's repository as explained here https://www.bchemnet.com/suldr/

@Suldr: it's a damn pity you're shutting this down. Is there anything we/I can do to prevent this?

#pasquale
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: JJ Henry on October 26, 2018, 06:54:03
Seems now it's working

I've installed the suld-driver2-1.00.39 package

Thanx for now.
I'll let you know
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: bchemnet on October 27, 2018, 15:36:02
@Suldr: it's a damn pity you're shutting this down. Is there anything we/I can do to prevent this?

I am exploring some options.  It is clear that many people do not want this to go away.
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: JJ Henry on October 31, 2018, 13:28:38
Nothing to do... it scanned really bad, back and white and with a low resolution.
Un-usable.
I tried to change some settings, but nothing moves anymore

Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: pi4630 on November 01, 2018, 06:31:55
Try again replacing the driver packages (see the above).

Let me know about your timezone; maybe we can do a videocall and I can help you doing things while you share your screen with me.

#pasquale

Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: JJ Henry on November 01, 2018, 13:24:18
Pasquale, I'm Italian from Italy.
Where are you?
I tried to contact you by private message, but it seems you're not allowed to.

Ciao
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: pi4630 on November 02, 2018, 09:18:02
I'm italian, too :D

Drop me a mail here: p.imbemba (at) gmail.com so we can take further appointment!

bye
#pasquale

p.s.: I don't know why I'm not allowed to PM

Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: pi4630 on November 08, 2018, 01:11:02
So, we had our remote session and everthing is fine now.

Basically, it boils down to this:

- Have the correct SULDR package version installed;
- Have /lib/udev/rules.d/60-libsane1.rules edited as explained;
- Make sure user accounts are part of lp group;

Cheers!
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: pat on November 18, 2018, 09:21:45
please check this post : https://www.bchemnet.com/suldr/forum/index.php?topic=358.0
Title: Re: SCX 3400 on ubuntu 18.04.1
Post by: Wey on December 21, 2018, 02:45:04
Hi all, firstly, sorry about my english. I will try to explain how finally can operate my scanner SCX-3400

Maybe, some step was unnecessary, who knows...

All starts in https://www.gaggl.com/2012/04/installing-samsung-multifunction-printer-ubuntu-11-10/

Add repository:
    :~$ sudo vi /etc/apt/sources.list
    #Samsung Unified Driver Repo
    deb https://www.bchemnet.com/suldr/ debian extra
    # deb-src http://www.bchemnet.com/suldr/ debian extra

Try to search samsung drivers...bad luck
    :~$ aptitude search samsung
         "" nothing ""

Search, download and install appropiate driver
    https://www.bchemnet.com/suldr/supported.html
    https://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-1.00.36.tar.gz
    *run install.sh as root (also add $user to lp group)

Patch sane config files
   /etc/sane.d/xerox_mfp.conf
   /lib/udev/rules.d/40-libsane.rules

Made some links
    sudo ln -sfr /usr/lib/sane/libsane-smfp* /usr/lib/x86_64-linux-gnu/sane

Here, still not working... :-/

Install Suld-scanner-usblp-fix
    https://www.ubuntudoc.com/how-to-install-a-samsung-printer-on-ubuntu/

BINGO!! simple-scan, xsane,...can scan now!!

Un saludo y gracias!!!!