МФУ Ricoh SP 150SU
Добавлено: 23 окт 2017, 01:40
Пользуюсь Linux Mint 18.2 KDE x64
Приобрёл-таки МФУ Ricoh SP 150SU.
С дровами для принтера проблем не оказалось: пока что исправно печатает и копирует.
Осталось установить драйвер для сканера. Сканер мне больше всего нужен.
Здесь производитель даёт скачать Scanner Driver (есть для Ubuntu 12.04 LTS - для принтера подошло, для сканера тоже должно).
Скачивается файл r75389L2.gz
Этот архив я распаковал. Нашёл там README.txt c вот такой инструкцией:
Сначала я героически смог установить install.sh
Затем сумел вставить строку "alto" в файл /etc/sane.d/dll.conf
С остальным плохо.
1. Оказывается, в начале инструкции есть предупреждение, которое я пропустил:
"Ensure that the SANE package and libusb.so are installed before installing the Ricoh SP 150SU/150SUw driver."
Пытаясь разобраться, что такое SANE package, я установил что-то этой командой:
Теперь надо разобраться с libusb.so
На каком-то сайте по Arch Linux нашёл архив sane 1.0.27-1, но никак не могу понять, что с ним делать.
2. Далее в инструкции указано:
С инструментом vi я разобрался, внёс изменения в /lib/udev/rules.d
Именно внёс изменения, ибо нужные строки были, там не хватало этого кусочка: MODE="0666"
Инструкция оканчивается предложением ввести в терминал команды:
Результат, конечно, отрицательный:
Видимо, что-то не так именно с тем, с чего инструкция начинается (the SANE package and libusb.so).
Ещё на сайте SANE (вот тут), как я понимаю, перечислены модели устройств, у которых есть Sane (до сих пор не совсем понимаю, о чём речь, но это, видимо, важно). Моего Ricoh SP 150SU там нет. Надеюсь, это не крест на всей операции. И вообще, зачем тогда производитель говорит, что устройство идёт на Linux и даёт Scanner Driver? Надеюсь на лучшее.
Помогите подключить сканер! Подскажите, пожалуйста, что делать.
Заранее спасибо!
Приобрёл-таки МФУ Ricoh SP 150SU.
С дровами для принтера проблем не оказалось: пока что исправно печатает и копирует.
Осталось установить драйвер для сканера. Сканер мне больше всего нужен.
Здесь производитель даёт скачать Scanner Driver (есть для Ubuntu 12.04 LTS - для принтера подошло, для сканера тоже должно).
Скачивается файл r75389L2.gz
Этот архив я распаковал. Нашёл там README.txt c вот такой инструкцией:
README for the Linux SANE Ricoh SP 150SU/150SUw scanner driver
Installation:
Installation is manual and requires root (super-user) permissions.
Ensure that the SANE package and libusb.so are installed before installing the Ricoh SP 150SU/150SUw driver.
Enusre that Ricoh SP 150SU/150SUw no plug in your computer before installing the Ricoh SP 150SU/150SUw driver.
Switch to the directory of RICOH-SP-150SU-Scan.tar.gz
Unpack the Ricoh SP 150SU/150SUw driver (libsane-alto.so):
# tar -xvzf RICOH-SP-150SU-Scan.tar.gz
# cd RICOH-SP-150SU-Scan
Install the Ricoh SP 150SU/150SUw driver by shell(verified in Ubuntu10/12;RedHat5/6;OpenSUSE13;SUSE11):
# ./install.sh
If fail you can Install the Ricoh SP 150SU/150SUw driver manualy:
if you work in 32bit version Linux:
If it exists /usr/lib/sane :
# sudo cp -p ./32bit/libsane-alto.so.1.0.22 /usr/lib/sane/
# sudo cp -p ./32bit/alto_ntdcmsdll.so /usr/lib/sane/
# sudo ln -s /usr/lib/sane/libsane-alto.so.1.0.22 /usr/lib/sane/libsane-alto.so
# sudo ln -s /usr/lib/sane/libsane-alto.so.1.0.22 /usr/lib/sane/libsane-alto.so.1
If it exists /usr/local/lib/sane:
# sudo cp -p ./32bit/libsane-alto.so.1.0.22 /usr/local/lib/sane/
# sudo cp -p ./32bit/alto_ntdcmsdll.so /usr/local/lib/sane/
# sudo ln -s /usr/local/lib/sane/libsane-alto.so.1.0.22 /usr/local/lib/sane/libsane-alto.so
# sudo ln -s /usr/local/lib/sane/libsane-alto.so.1.0.22 /usr/local/lib/sane/libsane-alto.so.1
if you work in 64bit version Linux:
If it exists /usr/lib/sane:
# sudo cp -p ./64bit/libsane-alto.so.1.0.22 /usr/lib/sane/
# sudo cp -p ./64bit/alto_ntdcmsdll.so /usr/lib/sane/
# sudo ln -s /usr/lib/sane/libsane-alto.so.1.0.22 /usr/lib/sane/libsane-alto.so
# sudo ln -s /usr/lib/sane/libsane-alto.so.1.0.22 /usr/lib/sane/libsane-alto.so.1
If it exists /usr/local/lib/sane:
# sudo cp -p ./64bit/libsane-alto.so.1.0.22 /usr/local/lib/sane/
# sudo cp -p ./64bit/alto_ntdcmsdll.so /usr/local/lib/sane/
# sudo ln -s /usr/local/lib/sane/libsane-alto.so.1.0.22 /usr/local/lib/sane/libsane-alto.so
# sudo ln -s /usr/local/lib/sane/libsane-alto.so.1.0.22 /usr/local/lib/sane/libsane-alto.so.1
If it exists /usr/local/lib64/sane:
# sudo cp -p ./64bit/libsane-alto.so.1.0.22 /usr/lib64/sane/
# sudo cp -p ./64bit/alto_ntdcmsdll.so /usr/lib64/sane/
# sudo ln -s /usr/lib64/sane/libsane-alto.so.1.0.22 /usr/lib64/sane/libsane-alto.so
# sudo ln -s /usr/lib64/sane/libsane-alto.so.1.0.22 /usr/lib64/sane/libsane-alto.so.1
Ricoh SP 150SU/150SUw SANE DLL Configuration:
1) Add the line "alto" to the /etc/sane.d/dll.conf file.
#sudo vi /etc/sane.d/dll.conf
add the line "alto"
This will cause the Ricoh SP 150SU/150SUw driver to be loaded by SANE.
SANE initializaion is much faster if unneeded
backend modules in dll.conf are commented out.
See Also: man sane-dll
2) Add the following two lines to the /etc/udev/rules.d/XX-libsane.rules file (where XX is two digits):
# Ricoh SP 150SU
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0454", MODE="0666", ENV{libsane_matched}="yes"
# Ricoh SP 150SUw
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0456", MODE="0666", ENV{libsane_matched}="yes"
#sudo vi /etc/udev/rules.d/XX-libsane.rules
If this file is not in /etc/udev/rules.d, it may be in /lib/udev/rules.d.
#sudo vi /lib/udev/rules.d/XX-libsane.rules
USB Configuration / Troubleshooting:
After you have connected the scanner, run:
# sane-find-scanner
If successful, you should see a line similar to this:
found USB scanner (vendor=0x05ca [Language Error], product=0x0454 [Language Error]) at libusb:001:002
or
found USB scanner (vendor=0x05ca [Language Error], product=0x0456 [Language Error]) at libusb:001:003
sane-find-scanner only verifies that the scanner is connected to
your system. To verify that the Ricoh SP 150SU/150SUw driver is loaded, run:
# scanimage -L
If successful, you should see a line similar to this:
device `alto:libusb:001:002' is a Ricoh SP 150SU Scanner
or
device `alto:libusb:001:003' is a Ricoh SP 150SUw Scanner
If the Ricoh SP 150SU/150SUw driver is loaded, you should be ready to start scanning
using SANE applications like scanimage or xsane.
If the Ricoh SP 150SU/150SUw driver isn't loaded, run "man sane" and "man sane-usb"
to get more troubleshooting information. Note that the Ricoh SP 150SU/150SUw driver
uses libusb (Linux kernel 2.4.19 and later).
To determine the options specific to your scanner, run:
# scanimage --help
Options specific to device `alto:libusb:001:003':
-l 0..205mm (in steps of 0.0999908) [0]
Top-left x position of scan area.
-t 0..286.3mm (in steps of 0.0999908) [0]
Top-left y position of scan area.
-x 10.9..215.9mm (in steps of 0.0999908) [215.9]
Width of scan-area.
-y 10.9..297.2mm (in steps of 0.0999908) [297.2]
Height of scan-area.
--mode Color|Gray|Lineart [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--source Flatbed [Flatbed]
Selects the scan source (such as a document-feeder).
--resolution 75|100|150|200|300|600|1200dpi [75]
Sets the resolution of the scanned image.
--preview[=(yes|no)] [no]
Request a preview-quality scan.
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
Option notes:
Defaults are in enclosed in [].
The default scan area is the maximum width and height.
Limitations:
Images are raw (no automatic image enhancement).
Buttons are not supported.
Installation:
Installation is manual and requires root (super-user) permissions.
Ensure that the SANE package and libusb.so are installed before installing the Ricoh SP 150SU/150SUw driver.
Enusre that Ricoh SP 150SU/150SUw no plug in your computer before installing the Ricoh SP 150SU/150SUw driver.
Switch to the directory of RICOH-SP-150SU-Scan.tar.gz
Unpack the Ricoh SP 150SU/150SUw driver (libsane-alto.so):
# tar -xvzf RICOH-SP-150SU-Scan.tar.gz
# cd RICOH-SP-150SU-Scan
Install the Ricoh SP 150SU/150SUw driver by shell(verified in Ubuntu10/12;RedHat5/6;OpenSUSE13;SUSE11):
# ./install.sh
If fail you can Install the Ricoh SP 150SU/150SUw driver manualy:
if you work in 32bit version Linux:
If it exists /usr/lib/sane :
# sudo cp -p ./32bit/libsane-alto.so.1.0.22 /usr/lib/sane/
# sudo cp -p ./32bit/alto_ntdcmsdll.so /usr/lib/sane/
# sudo ln -s /usr/lib/sane/libsane-alto.so.1.0.22 /usr/lib/sane/libsane-alto.so
# sudo ln -s /usr/lib/sane/libsane-alto.so.1.0.22 /usr/lib/sane/libsane-alto.so.1
If it exists /usr/local/lib/sane:
# sudo cp -p ./32bit/libsane-alto.so.1.0.22 /usr/local/lib/sane/
# sudo cp -p ./32bit/alto_ntdcmsdll.so /usr/local/lib/sane/
# sudo ln -s /usr/local/lib/sane/libsane-alto.so.1.0.22 /usr/local/lib/sane/libsane-alto.so
# sudo ln -s /usr/local/lib/sane/libsane-alto.so.1.0.22 /usr/local/lib/sane/libsane-alto.so.1
if you work in 64bit version Linux:
If it exists /usr/lib/sane:
# sudo cp -p ./64bit/libsane-alto.so.1.0.22 /usr/lib/sane/
# sudo cp -p ./64bit/alto_ntdcmsdll.so /usr/lib/sane/
# sudo ln -s /usr/lib/sane/libsane-alto.so.1.0.22 /usr/lib/sane/libsane-alto.so
# sudo ln -s /usr/lib/sane/libsane-alto.so.1.0.22 /usr/lib/sane/libsane-alto.so.1
If it exists /usr/local/lib/sane:
# sudo cp -p ./64bit/libsane-alto.so.1.0.22 /usr/local/lib/sane/
# sudo cp -p ./64bit/alto_ntdcmsdll.so /usr/local/lib/sane/
# sudo ln -s /usr/local/lib/sane/libsane-alto.so.1.0.22 /usr/local/lib/sane/libsane-alto.so
# sudo ln -s /usr/local/lib/sane/libsane-alto.so.1.0.22 /usr/local/lib/sane/libsane-alto.so.1
If it exists /usr/local/lib64/sane:
# sudo cp -p ./64bit/libsane-alto.so.1.0.22 /usr/lib64/sane/
# sudo cp -p ./64bit/alto_ntdcmsdll.so /usr/lib64/sane/
# sudo ln -s /usr/lib64/sane/libsane-alto.so.1.0.22 /usr/lib64/sane/libsane-alto.so
# sudo ln -s /usr/lib64/sane/libsane-alto.so.1.0.22 /usr/lib64/sane/libsane-alto.so.1
Ricoh SP 150SU/150SUw SANE DLL Configuration:
1) Add the line "alto" to the /etc/sane.d/dll.conf file.
#sudo vi /etc/sane.d/dll.conf
add the line "alto"
This will cause the Ricoh SP 150SU/150SUw driver to be loaded by SANE.
SANE initializaion is much faster if unneeded
backend modules in dll.conf are commented out.
See Also: man sane-dll
2) Add the following two lines to the /etc/udev/rules.d/XX-libsane.rules file (where XX is two digits):
# Ricoh SP 150SU
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0454", MODE="0666", ENV{libsane_matched}="yes"
# Ricoh SP 150SUw
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0456", MODE="0666", ENV{libsane_matched}="yes"
#sudo vi /etc/udev/rules.d/XX-libsane.rules
If this file is not in /etc/udev/rules.d, it may be in /lib/udev/rules.d.
#sudo vi /lib/udev/rules.d/XX-libsane.rules
USB Configuration / Troubleshooting:
After you have connected the scanner, run:
# sane-find-scanner
If successful, you should see a line similar to this:
found USB scanner (vendor=0x05ca [Language Error], product=0x0454 [Language Error]) at libusb:001:002
or
found USB scanner (vendor=0x05ca [Language Error], product=0x0456 [Language Error]) at libusb:001:003
sane-find-scanner only verifies that the scanner is connected to
your system. To verify that the Ricoh SP 150SU/150SUw driver is loaded, run:
# scanimage -L
If successful, you should see a line similar to this:
device `alto:libusb:001:002' is a Ricoh SP 150SU Scanner
or
device `alto:libusb:001:003' is a Ricoh SP 150SUw Scanner
If the Ricoh SP 150SU/150SUw driver is loaded, you should be ready to start scanning
using SANE applications like scanimage or xsane.
If the Ricoh SP 150SU/150SUw driver isn't loaded, run "man sane" and "man sane-usb"
to get more troubleshooting information. Note that the Ricoh SP 150SU/150SUw driver
uses libusb (Linux kernel 2.4.19 and later).
To determine the options specific to your scanner, run:
# scanimage --help
Options specific to device `alto:libusb:001:003':
-l 0..205mm (in steps of 0.0999908) [0]
Top-left x position of scan area.
-t 0..286.3mm (in steps of 0.0999908) [0]
Top-left y position of scan area.
-x 10.9..215.9mm (in steps of 0.0999908) [215.9]
Width of scan-area.
-y 10.9..297.2mm (in steps of 0.0999908) [297.2]
Height of scan-area.
--mode Color|Gray|Lineart [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--source Flatbed [Flatbed]
Selects the scan source (such as a document-feeder).
--resolution 75|100|150|200|300|600|1200dpi [75]
Sets the resolution of the scanned image.
--preview[=(yes|no)] [no]
Request a preview-quality scan.
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
Option notes:
Defaults are in enclosed in [].
The default scan area is the maximum width and height.
Limitations:
Images are raw (no automatic image enhancement).
Buttons are not supported.
./install.sh
Затем сумел вставить строку "alto" в файл /etc/sane.d/dll.conf
С остальным плохо.
1. Оказывается, в начале инструкции есть предупреждение, которое я пропустил:
"Ensure that the SANE package and libusb.so are installed before installing the Ricoh SP 150SU/150SUw driver."
Пытаясь разобраться, что такое SANE package, я установил что-то этой командой:
sudo apt-get install sane sane-utils libsane-extras
Теперь надо разобраться с libusb.so
На каком-то сайте по Arch Linux нашёл архив sane 1.0.27-1, но никак не могу понять, что с ним делать.
2. Далее в инструкции указано:
Add the following two lines to the /etc/udev/rules.d/XX-libsane.rules file (where XX is two digits):
# Ricoh SP 150SU
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0454", MODE="0666", ENV{libsane_matched}="yes"
# Ricoh SP 150SUw
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0456", MODE="0666", ENV{libsane_matched}="yes"
#sudo vi /etc/udev/rules.d/XX-libsane.rules
If this file is not in /etc/udev/rules.d, it may be in /lib/udev/rules.d.
#sudo vi /lib/udev/rules.d/XX-libsane.rules
# Ricoh SP 150SU
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0454", MODE="0666", ENV{libsane_matched}="yes"
# Ricoh SP 150SUw
ATTRS{idVendor}=="05ca", ATTRS{idProduct}=="0456", MODE="0666", ENV{libsane_matched}="yes"
#sudo vi /etc/udev/rules.d/XX-libsane.rules
If this file is not in /etc/udev/rules.d, it may be in /lib/udev/rules.d.
#sudo vi /lib/udev/rules.d/XX-libsane.rules
Именно внёс изменения, ибо нужные строки были, там не хватало этого кусочка: MODE="0666"
Инструкция оканчивается предложением ввести в терминал команды:
# sane-find-scanner
# scanimage -L
Результат, конечно, отрицательный:
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
Видимо, что-то не так именно с тем, с чего инструкция начинается (the SANE package and libusb.so).
Ещё на сайте SANE (вот тут), как я понимаю, перечислены модели устройств, у которых есть Sane (до сих пор не совсем понимаю, о чём речь, но это, видимо, важно). Моего Ricoh SP 150SU там нет. Надеюсь, это не крест на всей операции. И вообще, зачем тогда производитель говорит, что устройство идёт на Linux и даёт Scanner Driver? Надеюсь на лучшее.
Помогите подключить сканер! Подскажите, пожалуйста, что делать.
Заранее спасибо!