Проблема установки сканера MFC 215 в MINT 18.02

Как правильно задавать вопросы Правильно сформулированный вопрос и его грамотное оформление способствует высокой вероятности получения достаточно содержательного и по существу ответа. Общая рекомендация по составлению тем: 1. Для начала воспользуйтесь поиском форума. 2. Укажите версию ОС вместе с разрядностью. Пример: LM 19.3 x64, LM Sarah x32 3. DE. Если вопрос касается двух, то через запятую. (xfce, KDE, cinnamon, mate) 4. Какое железо. (достаточно вывод inxi -Fxz в спойлере (как пользоваться спойлером смотрим здесь)) или же дать ссылку на hw-probe 5. Суть. Желательно с выводом консоли, логами. 6. Скрин. Просьба указывать 2, 3 и 4 независимо от того, имеет ли это отношение к вопросу или нет. Так же не забываем об общих правилах Как пример вот
Закрыто
no avatar

Автор темы
levvepr
Сообщения: 4
Зарегистрирован: 29 авг 2019, 12:15
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#1

29 авг 2019, 12:27

Доброго всем здоровья!

MINT 18.2 SONIA

Бился долго, но не получается:

Система видит сканер: Bus 003 Device 002: ID 04f9:0193 Brother Industries, Ltd MFC-215C.

Установил драйвер /home/lev/Рабочий стол/INFO/brscan2-0.2.5-1.amd64.deb.

Программа сканирования не видит сканер.

Похоже к ядру нет допуска?

Код: Выделить всё

"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)".




lev@lev-OptiPlex-960 ~ $ sudo sane-find-scanner -v

This is sane-find-scanner from sane-backends 1.0.25git

# sane-find-scanner will now attempt to detect your scanner. If the

# result is different from what you expected, first make sure your

# scanner is powered up and properly connected to your computer.

searching for SCSI scanners:

checking /dev/scanner... failed to open (Invalid argument)

checking /dev/sg0... failed to open (Invalid argument)

checking /dev/sg1... failed to open (Invalid argument)
.................
.................
checking /dev/sgz... failed to open (Invalid argument)

# No SCSI scanners found. If you expected something different, make sure that

# you have loaded a kernel SCSI driver for your SCSI adapter.

searching for USB scanners:

checking /dev/usb/scanner... failed to open (Invalid argument)

checking /dev/usb/scanner0... failed to open (Invalid argument)

checking /dev/usb/scanner1... failed to open (Invalid argument)
.......................
checking /dev/usbscanner14... failed to open (Invalid argument)

checking /dev/usbscanner15... failed to open (Invalid argument)

could not fetch string descriptor: Pipe error

could not fetch string descriptor: Pipe error

found USB scanner (vendor=0x04f9, product=0x0193) at libusb:003:002

# Your USB scanner was (probably) detected. It may or may not be supported by

# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports

# can't be detected by this program.


"Выбор ранее не выбранного пакета brother-udev-rule-type1.

(Чтение базы данных … на данный момент установлено 318748 файлов и каталогов.)

Подготовка к распаковке …/brother-udev-rule-type1-1.0.2-0.all.deb …

Распаковывается brother-udev-rule-type1 (1.0.2) …

Настраивается пакет brother-udev-rule-type1 (1.0.2) …

ls: невозможно получить доступ к '/etc/udev/rules.d/*.rules'
: Нет такого файла или каталога" - ?

Начиная с момента: "...В файле «40-libsane.rules» в копии строки, в заголовке меняется номер модели сканера с 60 на 25, а двойной ID 04a9:2220, полученный от lsusb нужно разделить на idVendor — 04a9 и idProduct — 2220. В результате, основная и новая строки, друг за другом, будут выглядеть так:..." не получается.


Заранее благодарю за помощь.
Последний раз редактировалось пользователем 3 levvepr; всего редактировалось раз: 29

Аватара пользователя

symon2014
Сообщения: 5924
Зарегистрирован: 16 дек 2017, 21:59
Решено: 36
Откуда: Феодосия
Благодарил (а): 32 раза
Поблагодарили: 747 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#2

29 авг 2019, 13:33

levvepr, Что то это напоминает https://foren.germany.ru/linux/f/35554779.html не ваше?
https://support.brother.com/g/b/downloa ... ng=English
apt search sane

Аватара пользователя

rogoznik
Сообщения: 10015
Зарегистрирован: 27 июн 2017, 13:36
Решено: 128
Откуда: Нижний Тагил
Благодарил (а): 776 раз
Поблагодарили: 1950 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#3

29 авг 2019, 13:42

levvepr, настоятельно рекомендую изучить Панель форматирования текста в темах/ответах
ИзображениеИзображение

no avatar

Автор темы
levvepr
Сообщения: 4
Зарегистрирован: 29 авг 2019, 12:15
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#4

29 авг 2019, 22:36

etamax писал(а):
29 авг 2019, 13:33
levvepr, Что то это напоминает https://foren.germany.ru/linux/f/35554779.html не ваше?
https://support.brother.com/g/b/downloa ... ng=English
apt search sane
Да на Germany.ru я задал такой же вопрос, но проблему не решил.

С указанной страницы загружал драйвер и скрипты.

И сейчас Вашей подсказки, к сожалению не понял.

sudo gedit /lib/udev/rules.d/40-libsane.rules - ПУСТО (нет текста).

Аватара пользователя

symon2014
Сообщения: 5924
Зарегистрирован: 16 дек 2017, 21:59
Решено: 36
Откуда: Феодосия
Благодарил (а): 32 раза
Поблагодарили: 747 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#5

30 авг 2019, 06:41

levvepr писал(а):
29 авг 2019, 22:36
И сейчас Вашей подсказки, к сожалению не понял.
1 - Нужно посмотреть , установлена ли прога сканера apt policy sane
2 - состоит ли пользователь в группах plugdev или scanner
levvepr писал(а):
29 авг 2019, 22:36
sudo gedit /lib/udev/rules.d/40-libsane.rules - ПУСТО (нет текста).
Он не обязательно называется так.
msuser@msuser ~ $ locate *sane.rules
/lib/udev/rules.d/60-libsane.rules
msuser@msuser ~ $

найти , скопировать в /etc и там ставить эксперименты.

no avatar

Автор темы
levvepr
Сообщения: 4
Зарегистрирован: 29 авг 2019, 12:15
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#6

30 авг 2019, 10:45

etamax писал(а):
30 авг 2019, 06:41
1 - Нужно посмотреть , установлена ли прога сканера apt policy sane
Установлена:
Установлен: 1.0.14-11
Кандидат: 1.0.14-11
Таблица версий:
*** 1.0.14-11 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
etamax писал(а):
30 авг 2019, 06:41
2 - состоит ли пользователь в группах plugdev или scanner
Состою, как админ:
groups lev
lev : lev adm cdrom sudo dip plugdev lpadmin scanner sambashare

А вот дальше не получается, т.к. не могу работать в терминале без пошаговой инструкции:

/lib/udev/rules.d/60-libsane.rules
bash: /lib/udev/rules.d/60-libsane.rules: Отказано в доступе

Аватара пользователя

symon2014
Сообщения: 5924
Зарегистрирован: 16 дек 2017, 21:59
Решено: 36
Откуда: Феодосия
Благодарил (а): 32 раза
Поблагодарили: 747 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#7

30 авг 2019, 11:17

levvepr писал(а):
30 авг 2019, 10:45
А вот дальше не получается, т.к. не могу работать в терминале без пошаговой инструкции:
Это и не обязательно. Скопировать нужный файл из /lib/udev/rules.d/60-libsane.rules в /etc/udev/rules.d/60-libsane.rules файловым менеджером с админ правами , например gksu. Редактировать (добавить строку) - sudo nano /etc/udev/rules.d/60-libsane.rules

Аватара пользователя

slant
Сообщения: 4469
Зарегистрирован: 21 июн 2017, 18:09
Решено: 95
Благодарил (а): 51 раз
Поблагодарили: 1966 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#8

30 авг 2019, 11:27

Есть подозрение, что проблема в достаточно старой версии пакета sane в минте. Я на этом уже обжигался как-то. Еще год назад актуальная версия была 1.0.35 а вам до сих пор из репозиториев предлагают 1.0.14. В данном конкретном случае разница в добавленных поддерживаемых моделях, возможно ваша как раз там.

Аватара пользователя

symon2014
Сообщения: 5924
Зарегистрирован: 16 дек 2017, 21:59
Решено: 36
Откуда: Феодосия
Благодарил (а): 32 раза
Поблагодарили: 747 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#9

30 авг 2019, 11:32

slant писал(а):
30 авг 2019, 11:27
Есть подозрение, что проблема в достаточно старой версии пакета sane в минте.
Я бы сказал наоборот , проблемы с этим сканером обсуждаются примерно с середины двухтысячных.

Аватара пользователя

kobolt
Сообщения: 348
Зарегистрирован: 27 авг 2016, 21:53
Решено: 6
Откуда: Чебоксары
Благодарил (а): 40 раз
Поблагодарили: 121 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#10

30 авг 2019, 13:26

свои пять копеек: переткнуть в USB 2 или USB 1. либо запретить в биосе xhci_hcd. такое делал для CanoScan LIDE 25. Вдруг поможет)

no avatar

abulaev2008
Сообщения: 514
Зарегистрирован: 18 ноя 2017, 21:36
Решено: 3
Благодарил (а): 24 раза
Поблагодарили: 70 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#11

30 авг 2019, 14:21

Попробуй по этой ссылке http://support.brother.com/g/s/id/li...en&redirect=on
Или попробуй установить Vuescan

no avatar

Автор темы
levvepr
Сообщения: 4
Зарегистрирован: 29 авг 2019, 12:15
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#12

30 авг 2019, 14:41

abulaev2008 писал(а):
30 авг 2019, 14:21
Попробуй по этой ссылке http://support.brother.com/g/s/id/li...en&redirect=on
По этой ссылке: An unexpected error occurred.
We are now investigating the problem.
Please wait for a while.

no avatar

abulaev2008
Сообщения: 514
Зарегистрирован: 18 ноя 2017, 21:36
Решено: 3
Благодарил (а): 24 раза
Поблагодарили: 70 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#13

30 авг 2019, 15:07

levvepr, https://ubuntuforums.org/showthread.php?t=2381881

I'm using Ubuntu 16.10. I cannot scan from my Brother Machine.

Install the "libusb-0.1-4".

Command : sudo apt-get update

Command : sudo apt-get install libusb-0.1-4



I cannot find the Brother Machine.

Related Distribution : Ubuntu, LinuxMint, Debian

Related Scanner Driver : brscan, brscan2, brscan3

Check if the following directory exist.

For 64bit Users:
/usr/lib/x86_64-linux-gnu/sane
 
For 32bit Users:
/usr/lib/i386-linux-gnu/sane

Type the following command if the above directory exist.

For 64bit Users:
Command : sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane

For 32bit Users:
Command : sudo cp /usr/lib/sane/libsane-brother* /usr/lib/i386-linux-gnu/sane

no avatar

Sergei K.
Сообщения: 622
Зарегистрирован: 10 дек 2016, 00:59
Благодарил (а): 250 раз
Поблагодарили: 269 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#14

31 авг 2019, 16:17

levvepr писал(а):
29 авг 2019, 12:27
Бился долго, но не получается
Если пока ещё не получилось подключить, то попробуй инструкцию вот с этого сайта: https://easylinuxtipsproject.blogspot.c ... nters.html . У меня сейчас Linux Mint 18.3 и тоже древний Brother MFC-290C. Пару лет назад подключил его к старому ноутбуку, а около года назад и к новому ПК. По этой же инструкции подключил Brother DCP-J152W сначала к старому ПК жены, а потом к новому.
У меня очень низкий уровень знаний не только Linux Mint, но и информатики в целом. Но с этой инструкцией получилось неоднократно.
Инструкция на указанной выше странице сайта предназначена для версий Linux Mint 19.х. К сожалению автор удалил с сайта версию для Linux Mint 18.х. Поэтому привожу ниже копию с моими поправками для Linux Mint 18.х. Обратить внимание на важный пункт 10 об изменении записи в другой файл вместо прежнего.
Подключение принтера и сканера к Linux Mint
A Brother printer is nowadays easily installable in Linux Mint. You can apply this how-to:
1. Connect your printer to your computer by means of a USB cable (even when you intend to use it as a network printer later on: for initial installation a USB cable is often needed). Then turn on your printer.
2. Sometimes it's necessary to add a printer or scanner to the system yourself, by means of the application Printers. In that case the application Printers already contains the driver for your printer, but you have to "indicate" the printer first.
So launch the application Printers. You can use the search box in your menu to find it; it's present by default in all editions of Linux Mint.
In Printers, click the button Add (with the + sign) and follow the steps it offers you.
But in some cases this driver doesn't work well: the printed characters are deformed. Or if you have a multifunctional printer, this doesn't get the scanner part operational: you can only print. Or your printer might simply be too new for the database in your version of Linux Mint. In either of those cases, proceed with step 3:
3. Installing the driver manually isn't very difficult either, because Brother has issued a generic install script for that: the Driver Install Tool.
With that, you can install not only the printer driver, but also (for a multifunctional printer) the scanner driver.
You can use it as follows:
4. First remove any existing instance of the Brother printer in the application Printers.
5. Go to the download section of the Brother website and look up your printer model.
For "OS Family" you choose Linux.
For "OS Version" you select Linux (deb).
Click the Search button.

Then click the Driver Install Tool and download linux-brprinter-installer.
Save the downloaded file in the folder Downloads. Don't extract the zipped file, but leave it there just as it is. Note: don't use the installation how-to on the Brother website, but use the installation how-to on my website instead (see below)!
6. Launch a terminal window.
(You can launch a terminal window like this: *Click*)
Now copy/paste the following command into the terminal, in order to unzip the downloaded file (it's one line):
cd ~/Downloads && gunzip -v ~/Downloads/linux-brprinter*
Press Enter.

7. Use copy/paste to transfer the following line to the terminal:
sudo bash ~/Downloads/linux-brprinter*
Press Enter. Type your password when prompted; this will remain entirely invisible, not even asterisks will show, which is normal.
8. Follow the steps that the installer script presents you. When asked for the printer model name, type it and press Enter.
An example is best: for a Brother DCP-1610W you type:
DCP-1610W
Note: is there at the end of the model name a letter between brackets? Then you probably have to omit that last letter (including the brackets).
Example: for the Brother MFC-L9550CDW(T) it becomes:
MFC-L9550CDW
At the question about the Device URI, you answer N for a USB printer and Y for a network printer.
For a network printer, you select in the next question the last option:
(A): Auto. For that, you type the number of that option and you press Enter.

9. Reboot your computer.

10. ВАЖНО! Now you may have to solve a problem with the scanner. In 64-bit Linux Mint 19 (и начиная с какой-то версии Linux Mint 18 — то ли 18.1 или 18.2, или 18.3) the location for the supporting library files has changed, and the driver for the scanner feature doesn't always take that into account. The Brother driver then puts them in /usr/lib64, whereas your operating system expects them in /usr/lib.
So for a 64-bit system, you now need to execute the following three commands in order to make your scanner work well (use copy/paste to transfer them one by one to the terminal, and press Enter after each command):
sudo ln -sf /usr/lib64/libbrscandec*.so* /usr/lib
sudo mkdir -p /usr/lib/sane
sudo ln -sf /usr/lib64/sane/libsane-brother*.so* /usr/lib/sane

11. Then add yourself to the scanner user group. You can use a click-click-click graphical system tool for that, but this varies amongst editions. The terminal works in all editions....
An example is easiest. If your name is Johnny, your username is johnny (no caps), so the terminal command would be:
sudo usermod -a -G scanner johnny

Press Enter.

12.Now open a settings file with Xed, using the following command (use copy/paste to transfer it to the terminal):
xed admin:///lib/udev/rules.d/60-libsane1.rules Эта команда для Linux Mint 19.
(The three consecutive dashes are intentional)
!!! Для Linux Мint 18.3 правильно открыть нужный файл так:
- Первый вариант: sudo nano /lib/udev/rules.d/60-libsane.rules
- Второй вариант: sudo less /lib/udev/rules.d/60-libsane.rules

Press Enter.

13. At the very end of the text in that long text file, you see this line:
# LABEL="libsane_rules_end".
Now add the following two lines right above that line: (use copy/paste to transfer them):
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"

Сохранить измененный файл.

14. Reboot your computer.

15. Printers with wifi: for wireless setup, it's necessary to configure your printer to connect to your wireless network automatically. If your printer has a small display of its own, you should be able to set this up by means of that little display (see your manual).

If your printer doesn't have a display of its own, you might need to boot Windows for this. One time only, because you only need to configure the printer to connect to your wireless network automatically when you turn it on. Reboot into Linux, launch the application Printers, and you should be able to select your network printer wirelessly.

16. You're done! Your printer should work fine now, including the scanner part (when present).

Want more tips?

Do you want more tips and tweaks for Linux Mint? There's a lot more of them on this website!
Последний раз редактировалось пользователем 1 Sergei K.; всего редактировалось раз: 31
Изображение

no avatar

Sergei K.
Сообщения: 622
Зарегистрирован: 10 дек 2016, 00:59
Благодарил (а): 250 раз
Поблагодарили: 269 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#15

31 авг 2019, 16:23

levvepr, попасть на нужную страницу сайта Brother можно по этой ссылке: https://support.brother.com/g/b/product ... content=dl (о ней речь идет в пункте 5 инструкции).
Изображение

no avatar

Sergei K.
Сообщения: 622
Зарегистрирован: 10 дек 2016, 00:59
Благодарил (а): 250 раз
Поблагодарили: 269 раз
Контактная информация:

Проблема установки сканера MFC 215 в MINT 18.02

#16

31 авг 2019, 16:33

P.S. Получилось также подключить Brother MFC-290C и к LMDE3.
Изображение

Закрыто

Вернуться в «Принтеры, Сканеры, МФУ»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 8 гостей