Canon MF 4018
Canon MF 4018
Перестал работать сканер в этом МФУ, хотя он еще с Мандривы 2008 работал без проблем. Как исправить?
Re: Canon MF 4018
Не пойму почему на сайте http://www.sane-project.org/man/sane-pixma.5.html мой МФУ значит в поддерживаемых, а списке драйверов в ROSA нет ни одного imageCLASS
Re: Canon MF 4018
А sane-find-scanner что говорит?
Re: Canon MF 4018
вроде видит
Код: Выделить всё
[serge@serge ~]$ sane-find-scanner
# 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.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
found USB scanner (vendor=0x04a9 [Canon Inc.], product=0x26b4 [MF4010]) at libusb:004:006
found USB scanner (vendor=0x0bda, product=0x0129) at libusb:004:003
# 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.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
[serge@serge ~]$
Re: Canon MF 4018
Сканер находит.
scanimage -L что говорит?
И из чего не сканирует?
scanimage -L что говорит?
И из чего не сканирует?
Re: Canon MF 4018
а этот не видит
XSane тоже не видит
Код: Выделить всё
[root@serge serge]# 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).[
[serge@serge ~]$ scanimage
scanimage: no SANE devices found
Re: Canon MF 4018
А от пользователя сканер видит в выводе lsusb ?
Re: Canon MF 4018
Можно попробовать обновить бэкэнд sane
http://abf-downloads.rosalinux.ru/rosa2 ... n/release/
http://abf-downloads.rosalinux.ru/rosa2 ... n/release/
http://abf-downloads.rosalinux.ru/rosa2 ... n/release/
http://abf-downloads.rosalinux.ru/rosa2 ... n/release/
Re: Canon MF 4018
Код: Выделить всё
[serge@serge ~]$ lsusb
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 005: ID 0cf3:3004 Atheros Communications, Inc.
Bus 004 Device 011: ID 04a9:26b4 Canon, Inc. MF4010 series
Bus 004 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 004 Device 005: ID 2232:1028
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[serge@serge ~]$
Код: Выделить всё
[root@serge serge]# lsusb
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 005: ID 0cf3:3004 Atheros Communications, Inc.
Bus 004 Device 012: ID 04a9:26b4 Canon, Inc. MF4010 series
Bus 004 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 004 Device 005: ID 2232:1028
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@serge serge]#
Re: Canon MF 4018
обновление не помогло
вото только sane-config показывает странное расположение библиотек
никакой папки lsane у меня нет
вото только sane-config показывает странное расположение библиотек
Код: Выделить всё
[serge@serge ~]$ sane-config --version
1.0.24
[serge@serge ~]$ sane-config --ldflags
[serge@serge ~]$ sane-config --libs
-lsane
[serge@serge ~]$ sane-config --cflags
[serge@serge ~]$ sane-config --prefix
/usr
[serge@serge ~]$ sane-config --exec-prefix
/usr
[serge@serge ~]$ locate lsane
[serge@serge ~]$
Re: Canon MF 4018
Странно то, что сканер видно, он есть в базе dll.conf Sane, но не хочет работать.
Re: Canon MF 4018
документация конечно устарела http://ljm.home.xs4all.nl/SANE-faq.html#84
Как посмотреть через /proc на каком usb сидит сканнер? а то у меня нет /proc/bus/usb/
Как посмотреть через /proc на каком usb сидит сканнер? а то у меня нет /proc/bus/usb/
Re: Canon MF 4018
/proc/bus/usb сейчас нету.
Сканер вот где: found USB scanner (vendor=0x04a9 [Canon Inc.], product=0x26b4 [MF4010]) at libusb:004:006
Я пока попробую еще посмотреть как устроен sane сейчас в Федоре - возможно нужны какие то патчи еще.
Сканер вот где: found USB scanner (vendor=0x04a9 [Canon Inc.], product=0x26b4 [MF4010]) at libusb:004:006
Я пока попробую еще посмотреть как устроен sane сейчас в Федоре - возможно нужны какие то патчи еще.
- DELTA-79
- Сообщения: 1925
- Зарегистрирован: 14 янв 2012, 14:07
- Откуда: Георгиевск Ставропольский кр.
- Контактная информация:
Re: Canon MF 4018
Присоединяюсь к вопросу ув. tverskoy. Сегодня коснулось отсканировать на моем Epson L210 и ситуация та же. Причем при запуске SANE выдается окошко "поиск устройств" и через секунду программа закрывается... Похоже тему придется развернуть...
Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / 4 Gb RAM / NVIDIA GeForce GT 240 / Rosa 2012.1 R5 х86_64
Re: Canon MF 4018
Вопрос - когда пропало сканирование? По правилам udev разницы в 204 и 208 systemd нету.
- DELTA-79
- Сообщения: 1925
- Зарегистрирован: 14 янв 2012, 14:07
- Откуда: Георгиевск Ставропольский кр.
- Контактная информация:
Re: Canon MF 4018
Здесь сказать уже не могу... Долго он мне не был нужен.
Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / 4 Gb RAM / NVIDIA GeForce GT 240 / Rosa 2012.1 R5 х86_64
Re: Canon MF 4018
sane обновлял не я, поэтому сейчас надо понять в какой части проблема.DELTA-79 писал(а):Здесь сказать уже не могу... Долго он мне не был нужен.
Re: Canon MF 4018
Мой HP-шный сканер из мфу работает прекрасно, так что скорее всего проблема связана именно с кэноном.
Re: Canon MF 4018
Пробуем вот это:
http://abf-downloads.rosalinux.ru/rosa2 ... n/release/
http://abf-downloads.rosalinux.ru/rosa2 ... n/release/
Перезагрузиться только после установки не забываем и добавить сканер заново.
http://abf-downloads.rosalinux.ru/rosa2 ... n/release/
http://abf-downloads.rosalinux.ru/rosa2 ... n/release/
Перезагрузиться только после установки не забываем и добавить сканер заново.
Re: Canon MF 4018
у меня без изменений- видит, но не работает
Re: Canon MF 4018
Подключите сканер и дайте сюда вывод dmesgtverskoy писал(а):у меня без изменений- видит, но не работает
Еще - если от root запустить scanimage -L что-то меняется?
Re: Canon MF 4018
Переподключил, вот последние сточки dmesg
очень интересна первая строка про блокировку systemd. Еще у меня Konsole подвисает, сейчас жду когда отомрет
Код: Выделить всё
[ 2881.529874] INFO: task systemd:1 blocked for more than 120 seconds.
[ 2881.529877] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 2881.529880] systemd D f00a1de4 0 1 0 0x00000000
[ 2881.529884] f00a1e58 00000086 ecb3e680 f00a1de4 c012477a f00c2670 e4eba000 0000027d
[ 2881.529890] c09d3880 c09d3880 00000001 0000027d f0787880 f0078000 f00a1e24 00000246
[ 2881.529895] f0779880 00000246 f00a1e48 ea6cdaec 00000000 f00a1e30 c01c0b3c 00000000
[ 2881.529900] Call Trace:
[ 2881.529909] [<c012477a>] ? native_smp_send_reschedule+0x3a/0x50
[ 2881.529914] [<c01c0b3c>] ? call_rcu+0x1c/0x20
[ 2881.529918] [<c0408480>] ? idr_remove+0x130/0x210
[ 2881.529923] [<c065d613>] schedule+0x23/0x60
[ 2881.529926] [<c065b535>] schedule_timeout+0x215/0x290
[ 2881.529930] [<c027e9c0>] ? inotify_remove_from_idr+0x80/0x1e0
[ 2881.529934] [<c027c879>] ? fsnotify_create_event+0x29/0x160
[ 2881.529938] [<c016e4a0>] ? default_wake_function+0x10/0x20
[ 2881.529941] [<c015f8f0>] ? autoremove_wake_function+0x20/0x50
[ 2881.529944] [<c065c72f>] wait_for_completion+0x6f/0xc0
[ 2881.529947] [<c016e490>] ? try_to_wake_up+0x240/0x240
[ 2881.529950] [<c0164647>] __synchronize_srcu+0xb7/0xf0
[ 2881.529953] [<c0164110>] ? srcu_reschedule+0xb0/0xb0
[ 2881.529956] [<c01646bc>] synchronize_srcu+0x1c/0x20
[ 2881.529959] [<c027cada>] fsnotify_destroy_group+0x1a/0x30
[ 2881.529962] [<c027e772>] inotify_release+0x22/0x50
[ 2881.529965] [<c0244691>] __fput+0xc1/0x1f0
[ 2881.529967] [<c02447cd>] ____fput+0xd/0x10
[ 2881.529971] [<c015c311>] task_work_run+0x81/0xa0
[ 2881.529974] [<c0102871>] do_notify_resume+0x61/0xa0
[ 2881.529977] [<c065ec65>] work_notifysig+0x30/0x37
[ 3079.078106] EXT4-fs (sda1): re-mounted. Opts: data=ordered,commit=600
[ 3079.260732] EXT4-fs (sda6): re-mounted. Opts: data=ordered,commit=600
[ 4851.832927] usblp2: nonzero read bulk status received: -71
[ 5296.053069] usb 4-2: USB disconnect, device number 7
[ 5296.056050] usblp2: removed
[ 5298.893891] usb 4-2: new high-speed USB device number 8 using ehci-pci
[ 5299.097877] usb 4-2: New USB device found, idVendor=04a9, idProduct=26b4
[ 5299.097907] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5299.097913] usb 4-2: Product: MF4010
[ 5299.097918] usb 4-2: Manufacturer: Canon Inc.
[ 5299.097923] usb 4-2: SerialNumber: SDF770285384Q
[ 5299.128205] usblp 4-2:1.1: usblp2: USB Bidirectional printer dev 8 if 1 alt 0 proto 2 vid 0x04A9 pid 0x26B4
[root@serge serge]# 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).
[root@serge serge]#
- Вложения
-
- dmsg.txt
- (72.55 КБ) 1160 скачиваний
Re: Canon MF 4018
Тогда пробуем так (от root)
Не помогает - пробуем
После добавления надо проверить groups что добавилось.
Код: Выделить всё
usermod -G scanner -a serge
Код: Выделить всё
usermod -G usb -a serge
Re: Canon MF 4018
в scanner добавился, ну в usb уже был добавлен - не помогает
Re: Canon MF 4018
Остается последнее что делаем по разрешениям:tverskoy писал(а):в scanner добавился, ну в usb уже был добавлен - не помогает
в /lib/udev/rules.d/60-libsane.rules находим вот эту строку
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="26b4", MODE="0644", GROUP="usb", ENV{libsane_matched}="yes"
и меняем в ней 0644 на 0666
и перегружаемся.
Re: Canon MF 4018
сканер по прежнему не работает, scanimage -L не видит ни от рута не от пользователя
Re: Canon MF 4018
Уже очень интересно, так как мы разрешили все что можно...tverskoy писал(а):сканер по прежнему не работает, scanimage -L не видит ни от рута не от пользователя
Ставим тогда xsane и пробуем его от пользователя и рута. Вывод если будет то сюда плиз.
Re: Canon MF 4018
xsane не видит, а заодно предупреждает
вывода нетRe: Canon MF 4018
Могу добавить что на чистой R2 ситуация такая же, загрузился с флешки. sane-find-scanner сканер видит, а scanimage -L нет.
А почему в образ R2 не добавили XSane?
А почему в образ R2 не добавили XSane?
Re: Canon MF 4018
Решил сам собрать sane-backends, правда не совсем удачно, укажите куда копать
Итог моей деятельности:
Ура! Хотя бы веб камеру увидел, а вот с usb проблема, хотя я делал ./configure --enable-libusb_1_0 --disable-latex , ну еще собралось без поддержки сети, gfoto2. В добавок к зависимостям что требовал ваш спек установил libcups-devel, cups в логе сборке пробегал, ну и в конце написал что собран с поддержкой cups.
Чем отличается libusb от libusbx ? А то чую нужно первое, а оно конфликтует со вторым.

Код: Выделить всё
[serge@serge ~]$ sane-find-scanner
# 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.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
# Also you need support for SCSI Generic (sg) in your operating system.
# If using Linux, try "modprobe sg".
could not open USB device 0x046d/0xc52b at 003:002: Access denied (insufficient permissions)
could not open USB device 0x0cf3/0x3004 at 003:003: Access denied (insufficient permissions)
could not open USB device 0x04a9/0x26b4 at 004:006: Access denied (insufficient permissions)
could not open USB device 0x0bda/0x0129 at 004:003: Access denied (insufficient permissions)
could not open USB device 0x2232/0x1028 at 004:004: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 004:001: Access denied (insufficient permissions)
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
[serge@serge ~]$ scanimage -L
device `v4l:/dev/video0' is a Noname WebCam SC-03FFL11939N virtual device
Чем отличается libusb от libusbx ? А то чую нужно первое, а оно конфликтует со вторым.
Re: Canon MF 4018
еще обьясните что должно быть в /etc/ld.so.conf
у меня там "include /etc/ld.so.conf.d/*.conf"Other Information
=================
ld.so.conf configuration:
"/usr/local/lib/sane" or "/usr/lib/sane" MUST NOT be listed in
/etc/ld.so.conf. If your scanner is not detected or only Video for Linux
devices are found, check for one of the above lines in ld.so.conf.
A line "/usr/local/lib" or "/usr/lib" in ld.so.conf is ok, however.
Re: Canon MF 4018
Сканер в R4 работает.
Теперь о принтерной части в R4. С драйверами в репозитариях вобще беспорядок, в x86_64 есть только пакет cndrv-common версии 2.7, а х86 есть оба пакета, но разных версий - один 2.7 другой 2.5.
Скачал с сайта Canon драйвера версии 2.9, в x86_64 эти драйвера работают. А сейчас у меня установлена 32битная система, при попытке печати вываливается ошибка, что не хватает какого-то фильтра. Как починить?
P.S.
Завел баг на багзилле.
Теперь о принтерной части в R4. С драйверами в репозитариях вобще беспорядок, в x86_64 есть только пакет cndrv-common версии 2.7, а х86 есть оба пакета, но разных версий - один 2.7 другой 2.5.
Скачал с сайта Canon драйвера версии 2.9, в x86_64 эти драйвера работают. А сейчас у меня установлена 32битная система, при попытке печати вываливается ошибка, что не хватает какого-то фильтра. Как починить?
P.S.
Завел баг на багзилле.