Samsung linux scan driver

Блог «Познай Linux!»

Как правило настройка печати через многофункциональное устройство (МФУ) в Linux не вызывает особых проблем. Сложнее дело обстоит со сканером из состава МФУ. В статье описана настройка сканера МФУ Samsung SCX-4725.

Для своих многофункциональных устройств Samsung выпускает Unified Linux Driver, который можно скачать с официального сайта компании. В состав Unified Linux Driver входит инсталятор устанавливающий драйвер. Но по информации отсюда, инсталятор из состава Unified Linux Driver заменяет некоторые библиотеки и бинарные файлы установленные в системе без предупреждения. Как быть? Решение простое — распакуем архив и скопируем необходимые файлы руками.

Для работы драйвера необходимы пакеты libtiff и libstdc++. Они как правило уже установлены, чтобы убедиться в этом выполните в командной строке:

aptitude search ~ilibstdc ~ilibtiff
.
i A libstdc++5 — The GNU Standard C++ Library v3
i A libtiff4 — Tag Image File Format (TIFF) library
.

После распаковки получаем директорию cdroot с необходимыми нам файлами. Ниже таблица, в которой показано какой файл из распакованного архива куда копировать в систему.

Откуда копировать Куда копировать
cdroot/Linux/i386/at_root/usr/lib/libmfp.so.1.0.1 /usr/lib/libmfp.so.1.0.1
cdroot/Linux/i386/at_root/usr/lib/sane/libsane-smfp.so.1.0.1 /usr/lib/sane/libsane-smfp.so.1.0.1
cdroot/Linux/noarch/at_root/etc/sane.d/smfp.conf /etc/sane.d/smfp.conf

Копирование файлов надо производить с правами root. После копирования надо сменить права доступа к файлам. Копирование и смену прав можно выполнить из командной строки, например так:

sudo cp ./cdroot/Linux/noarch/at_root/etc/sane.d/smfp.conf /etc/sane.d/smfp.conf
sudo chmod 644 /etc/sane.d/smfp.conf
sudo chown root:root /etc/sane.d/smfp.conf

После копирования файлов надо «установить» новые динамические библиотеки в систему, выполнив следующие команды:

Чтобы SANE (интерфейс для работы со сканерами в Linux) мог использовать скопированные библиотеки и конфигурационный файл пропишем в файле /etc/sane.d/dll.conf строчку smfp. Из командной строки одной командой это можно сделать так:

Для доступа к сканеру пользователей, надо добавить следующее правило в файл /etc/udev/libsane.rules перед строкой LABEL=»libsane_rules_end»:

Передергиваем питание МФУ (отключаем и через несколько секунд включаем обратно) пробуем сканер в работе от рута и от обычного пользователя выполнив команду:

scanimage -L
.
device ‘smfp:SAMSUNG SCX-4725 Series on USB:0’ is a SAMSUNG SCX-4725 Series on USB:0 Flatbed Scanner
.

Сканер готов к работе. Если необходимо организовать доступ к сканеру по сети то смотрите как это сделать тут. Дополнительно о настройке сканера можно почитать здесь.

Читайте также:  Grep ip address linux

Источник

Arch Linux User Repository

Package Details: samsung-unified-driver-scanner 1.00.39-6

Package Actions

Git Clone URL: https://aur.archlinux.org/samsung-unified-driver.git (read-only, click to copy)
Package Base: samsung-unified-driver
Description: Unified Linux Driver for Samsung printers and scanners.
Upstream URL: http://www.samsung.com
Licenses: custom:samsung
Submitter: ptb
Maintainer: christoph.gysin
Last Packager: christoph.gysin
Votes: 219
Popularity: 0.95
First Submitted: 2010-12-06 00:01 (UTC)
Last Updated: 2022-05-17 13:08 (UTC)

Dependencies (4)

Required by (1)

Sources (2)

Latest Comments

itayf commented on 2023-07-06 14:39 (UTC)

My Xpress M2020W works perfectly, thanks!!

Ritch commented on 2022-07-26 09:22 (UTC)

My Samsung Xpress SL-M2026 worked perfectly!

fow0ryl commented on 2022-05-23 17:20 (UTC)

fow0ryl commented on 2022-05-15 15:47 (UTC)

Please remove line 17 (depends=) in PKGBUILD

There are qualified «depends» statements in function package_samsung-unified-driver-printer and package_samsung-unified-driver-scanner. But «depends» in line 17 overwrites those statements. And because of this i.e sane is installed, even if only printer driver is installed .

sanatan commented on 2022-03-28 09:05 (UTC)

Hello Dear I came across this reddit page https://www.reddit.com/r/archlinux/comments/tpimqh/aur_did_it_again/ You really did help me to make my printer working properly. So Thank You

gabrielelinux commented on 2021-09-30 08:31 (UTC) (edited on 2021-09-30 08:43 (UTC) by gabrielelinux)

@christoph.gysin: Thank you, I tried to install it on a fresh arch install and it works perfectly.

[EDIT]: Seeing news from the coreutils package, it seems that they are trying to fix this wrong chmod behaviour. It will be fixed with the new update to «coreutils» 9.0.2

christoph.gysin commented on 2021-09-30 07:55 (UTC)

@gabrielelinux: Thanks for reporting, should be fixed now.

gabrielelinux commented on 2021-09-29 21:10 (UTC) (edited on 2021-09-29 21:36 (UTC) by gabrielelinux)

I’m having issues installing this AUR package both with paru and with «makepkg -si». The installation stops when the process reaches the «prepare» stage. On terminal it says «An error happened in prepare().».

[EDIT]: Reading similar issues on the AUR packages, like a recent similar issue with the «spotify» package, I think the problem might be related to a change in the chmod command, with the new update of the «coreutils» package. It might affect the installation process because I saw that in the PKGBUILD at the beginning of the prepare() stage, there is a «chmod» command. But this is only an assumption.

maggis commented on 2020-07-20 21:46 (UTC)

I could, but I’m now quite sure it’s not related to the source: previously, I’ve had an ancient version of the driver installed (4.01.17). When upgrading to your package, removing the printer from cups, then re-adding it, the black page issue happened. When restarting cupsd prior to adding the printer, it did not.

So, sorry for the false alarm and thanks for providing this package!

christoph.gysin commented on 2020-07-20 06:56 (UTC) (edited on 2020-07-20 06:57 (UTC) by christoph.gysin)

@maggis This is interesting. I don’t quite understand what fixed this for you, since the tarball at the new URL is indeed identical except for a gzip header timestamp. You can verify this by uncompressing both. The resulting tar is identical:

$ curl -sL http://downloadcenter.samsung.com/content/DR/201704/20170407143829533/uld_V1.00.39_01.17.tar.gz | gzip -cd | sha256sum 4fcb2e88fc74d73e7af9c4273ed16ec7d8a8c98882ac14de2e29ebe8f20f510c - $ curl -sL https://ftp.hp.com/pub/softlib/software13/printers/SS/SL-M4580FX/uld_V1.00.39_01.17.tar.gz | gzip -cd | sha256sum 4fcb2e88fc74d73e7af9c4273ed16ec7d8a8c98882ac14de2e29ebe8f20f510c - 

Can you re-install this package with the URL in the PKGBUILD, and reproduce the problem?

Читайте также:  Replace with sed linux

Copyright © 2004-2023 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.

Источник

Samsung Unified Linux Driver – Printers & Scanners

Latest Samsung Unified Linux Driver package for supported Fedora and RHEL/CentOS distributions. This contains the driver and all the appropriate files required to operate a Samsung printer, scanner or multifunction device. There is support for both network and locally connected devices.

Package information

This package tries to comply as maximum to the Fedora Packaging Guidelines; this means the packages has debuginfo packages, default Fedora’s GCC compile time options (where possible) and standard locations for binaries, data and docs.

  • PPD files for all the Samsung printer functions.
  • UDev rules for detecting and correctly configuring all USB connected devices.
  • CUPS backends for automatic device discovery on the network and filters.
  • Firewall rules to enable network configuration and discovery.
  • Sane backends for the scanner functions.

Sofware installation

To install the repository on a supported Fedora distribution, run as root the following command:

# dnf config-manager --add-repo=https://negativo17.org/repos/fedora-uld.repo

# dnf config-manager —add-repo=https://negativo17.org/repos/fedora-uld.repo

For installation on CentOS and Redhat Enterprise Linux:

# yum-config-manager --add-repo=https://negativo17.org/repos/epel-uld.repo

Then, to install the software, perform the following command:

If you have a networked device, also run these commands as root to enable the required network ports:

# firewall-cmd --zone=public --add-service=uld --permanent # firewall-cmd --zone=public --add-service=uld

# firewall-cmd —zone=public —add-service=uld —permanent # firewall-cmd —zone=public —add-service=uld

Device configuration

From the Printer control panel, progress as normal to install a new printer. If it is locally connected, you will be prompted with the appropriate driver from the packages (like a normal printer).

If it is network connected you can choose two methods: JetDirect, LPR as a “normal” network printer, or you can choose the DNS Service Discovery (DNS-SD) triggered by the driver, as you can see in this picture. By selecting the printer, you will be prompted to accept the appropriate driver from the printer database.

ULD-add-printer

For the scanner functions to operate correctly, there’s nothing to do if the device is locally connected. If the scanner/multifunction printer is network connected, you can issue the following command from a prompt:

$ scanimage -nL device `v4l:/dev/video0' is a Noname Laptop_Integrated_Webcam_HD virtual device device `smfp:net;192.168.1.11' is a Samsung C460 Series on 192.168.1.11 Scanner

$ scanimage -nL device `v4l:/dev/video0′ is a Noname Laptop_Integrated_Webcam_HD virtual device device `smfp:net;192.168.1.11′ is a Samsung C460 Series on 192.168.1.11 Scanner

Читайте также:  Ubuntu one with linux mint

If the device is in standby the command will take around one minute to complete, as the device needs to be waken up. With this, you can just open the Sane control panel, Gimp, Simple Scan or whatever you use and select the scanner from the menu.

ULD-scanner-selection

That’s it, nothing else to be done!

Bugs

The address for contacting me is in the package’s changelog.

Источник

Samsung linux scan driver

Advertisement:
Canagon.com — Website for $499, beautiful premade designs, high-performance hosting on all continents, dedicated support team. Learn more >

Samsung Unified Linux Driver is some equivalent for Samsung Universal Printer Driver and Samsung Universal Scanner Driver for Linux. Installation is complete in few easy steps. Worked for me with USB support and even with wireless driver over Wifi.

    First you have to add line deb http://www.bchemnet.com/suldr/ debian extra to add repository. It can be done by editing file /etc/apt/sources.list or for example directly in GUI Ubuntu Software Center.

And add deb http://www.bchemnet.com/suldr/ debian extra to the end of the text file as a new line.

$ sudo apt-get install samsungmfp-data
$ sudo apt-get install samsungmfp-driver
$ sudo apt-get install samsungmfp-scanner

Optionally install GUI configurator samsungmfp-configurator-qt4, that allows you to manage another Samsung devices by adding and removing them and being able to edit their Properties, but it is also easily done without the configuration tool with default GUI printer CUPS configuration tool system-config-printer, that is pre-installed in Ubuntu, accessible from Dash Home > Printing > Add.

The easiest way for wireless setup for Samsung 3205w from linux is from it’s web interface. Enter browser IP into the browser and in top right corner find Login link. Default ID/password is admin/sec00000. Go to Settings > Network Settings > Wireless and there it is.

Beware: For unknown reasons, long passwords do not work well with WEP2 PSK AES, I had to shorten my password at the router this printer is connecting to from 32 characters to about 16, still OK and secure, but it was pain to figure out that this was the problem.

You should get prompt for something like this:

The following packages will be REMOVED:
libtiff3-samsungmfp samsungmfp-common samsungmfp-configurator-data
samsungmfp-configurator-qt4 samsungmfp-data samsungmfp-driver-4.00.39
samsungmfp-libmfp samsungmfp-network samsungmfp-scanner
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
After this operation, 45.7 MB disk space will be freed.
Do you want to continue [Y/n]? y

Advertisement:
Create your website, $499 / year, hosting included, choose your design and domain, enter content we’ll take care of the rest. Learn more >

Website for $499

Canagon — get a website with professional premade design, premium theme, and premium SSD hosting, free SSL. Drag & drop visual builder, transparent pricing, a lot of great features included. Visit Canagon.com and get inspired by live demos of professional designs.

Источник

Оцените статью
Adblock
detector