ФФФФФФУУУУУУХХХХ!!!!
Вспомнил, порылся и завел.
Итак. Пошаговая инструкция для LMDE.
1. Удаляем
sane-utils
2. Проверяем отсутствие
sane-find-scanner и
scanimage
3.

- Скачиваем
libsane_1.0.22-1_i386.deb (где я его нашел - я хз.)
3а. Устанавливаем ее
4.
Тута скачиваем
sane-backends-1.0.22.tar.gz
5.
Здеся качаем архив с патчем под нашу МФУ.
6. В домашнем каталоге создаем каталог
sane в котором будем "варить кашу":
7. Туда распаковываем содержимое архива
sane-backends-1.0.22.tar.gz
8. Так же в папку
sane вытягиваем файл
sane-backends-1.0.22-canon-4410.patch
9. Далее по образу и подобию:
Код: Выделить всё
fujitsu sane # apt-get install autoconf automake libtool autotools-dev dpkg-dev fakeroot patch libusb-dev build-essential
fujitsu sane # ls
1 2 sane-backends-1.0.22 sane-backends-1.0.22-canon-4410.patch
fujitsu sane # cp sane-backends-1.0.22-canon-4410.patch sane-backends-1.0.22/
fujitsu sane # cd sane-backends-1.0.22/
fujitsu sane-backends-1.0.22 # ls
acinclude.m4 ChangeLog-1.0.15 ChangeLog-1.0.6 COPYING ltmain.sh README README.solaris
aclocal.m4 ChangeLog-1.0.16 ChangeLog-1.0.7 depcomp m4 README.aix README.unixware2
AUTHORS ChangeLog-1.0.17 ChangeLog-1.0.8 doc Makefile README.beos README.unixware7
backend ChangeLog-1.0.18 ChangeLog-1.0.9 frontend Makefile.am README.darwin README.windows
ChangeLog ChangeLog-1.0.19 compile include Makefile.in README.djpeg README.zeta
ChangeLog-1.0.0 ChangeLog-1.0.2 config.guess INSTALL missing README.freebsd sane-backends-1.0.22-canon-4410.patch
ChangeLog-1.0.1 ChangeLog-1.0.20 config.log install-sh mkinstalldirs README.hp-ux sane-backends.lsm
ChangeLog-1.0.10 ChangeLog-1.0.21 config.status japi NEWS README.linux sanei
ChangeLog-1.0.12 ChangeLog-1.0.3 config.sub lib po README.netbsd testsuite
ChangeLog-1.0.13 ChangeLog-1.0.4 configure libtool PROBLEMS README.openbsd tools
ChangeLog-1.0.14 ChangeLog-1.0.5 configure.in LICENSE PROJECTS README.os2
fujitsu sane-backends-1.0.22 # patch -p1 -i sane-backends-1.0.22-canon-4410.patch
fujitsu sane-backends-1.0.22 # ./configure
fujitsu sane-backends-1.0.22 # make
fujitsu sane-backends-1.0.22 # make install
10. Подключаем МФУ к компу-ноуту и переводим его в режим "Удаленный сканнер" (это наклацивается на самой МФУ.)
11. Проверяем:
Код: Выделить всё
fujitsu sane-backends-1.0.22 # sane-find-scanner -q
found USB scanner (vendor=0x04a9 [Canon Inc], product=0x2737 [MF4410]) at libusb:002:005
fujitsu sane-backends-1.0.22 # scanimage -L
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-2XweJ7/pkcs11: No such file or directory
device `pixma:04A92737_111978301774' is a CANON Canon imageCLASS MF4410 multi-function peripheral
fujitsu sane-backends-1.0.22 # scanimage -A
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-2XweJ7/pkcs11: No such file or directory
All options specific to device `pixma:04A92737_111978301774':
Scan mode:
--resolution auto||75|150|300|600dpi [75]
Sets the resolution of the scanned image.
--mode auto|Color|Gray [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--source Flatbed [Flatbed]
Selects the scan source (such as a document-feeder).
--button-controlled[=(yes|no)] [no]
When enabled, scan process will not start immediately. To proceed,
press "SCAN" button (for MP150) or "COLOR" button (for other models).
To cancel, press "GRAY" button.
Gamma:
--custom-gamma[=(auto|yes|no)] [inactive]
Determines whether a builtin or a custom gamma-table should be used.
--gamma-table auto|0..255,... [inactive]
Gamma-correction table. In color mode this option equally affects the
red, green, and blue channels simultaneously (i.e., it is an intensity
gamma table).
Geometry:
-l auto|0..216.747mm [0]
Top-left x position of scan area.
-t auto|0..297.011mm [0]
Top-left y position of scan area.
-x auto|0..216.747mm [216.747]
Width of scan-area.
-y auto|0..297.011mm [297.011]
Height of scan-area.
Buttons:
--button-update
Update button state
--button-1 <int> [0]
Button 1
--button-2 <int> [0]
Button 2
11.
Код: Выделить всё
fujitsu sane-backends-1.0.22 # touch /etc/udev/rules.d/40-scanner-permissions.rules
fujitsu sane-backends-1.0.22 # nano /etc/udev/rules.d/40-scanner-permissions.rules
Вставляем следующее:
Код: Выделить всё
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE:="0666"
SUBSYSTEM=="usb_device",MODE:="0666"
и сохраняем.
12. Добавляем своего пользователя в группу scanner
13. Перегружаемся.
14. Проверяем под пользователем:
Код: Выделить всё
aaa@fujitsu ~/Рабочий стол $ sane-find-scanner -q
found USB scanner (vendor=0x04a9 [Canon Inc], product=0x2737 [MF4410]) at libusb:002:004
aaa@fujitsu ~/Рабочий стол $ scanimage -L
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-jJ1129/pkcs11: No such file or directory
device `pixma:04A92737_111978301774' is a CANON Canon imageCLASS MF4410 multi-function peripheral
aaa@fujitsu ~/Рабочий стол $ scanimage -A
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-jJ1129/pkcs11: No such file or directory
All options specific to device `pixma:04A92737_111978301774':
Scan mode:
--resolution auto||75|150|300|600dpi [75]
Sets the resolution of the scanned image.
--mode auto|Color|Gray [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--source Flatbed [Flatbed]
Selects the scan source (such as a document-feeder).
--button-controlled[=(yes|no)] [no]
When enabled, scan process will not start immediately. To proceed,
press "SCAN" button (for MP150) or "COLOR" button (for other models).
To cancel, press "GRAY" button.
Gamma:
--custom-gamma[=(auto|yes|no)] [inactive]
Determines whether a builtin or a custom gamma-table should be used.
--gamma-table auto|0..255,... [inactive]
Gamma-correction table. In color mode this option equally affects the
red, green, and blue channels simultaneously (i.e., it is an intensity
gamma table).
Geometry:
-l auto|0..216.747mm [0]
Top-left x position of scan area.
-t auto|0..297.011mm [0]
Top-left y position of scan area.
-x auto|0..216.747mm [216.747]
Width of scan-area.
-y auto|0..297.011mm [297.011]
Height of scan-area.
Buttons:
--button-update
Update button state
--button-1 <int> [0]
Button 1
--button-2 <int> [0]
Button 2
15. Осталось заморозить пакет libsane иначе при первом же обновлении все улетит в трубу.
Код: Выделить всё
aaa@fujitsu ~/Рабочий стол $ su
Пароль:
fujitsu Рабочий стол # echo 'libsane' hold | dpkg --set-selections
fujitsu Рабочий стол #
Все. Дальше осталось навести красоту в виде баш-скриптов для сканирования в цвете или же в оттенках серого и та дэ.
Спасибо интернету.