LINUX.ORG.RU

Не работает сканер в Canon MF4018


0

1

Перестал работать сканер в Canon MF4018, хотя он лет пять до этого работал
Система сканер видит, но не работает с ним:

[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 ~]$ 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]# 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]#
Все выводы от рута и пользователя одинаковы. Как починить?

Как починить?

написать разрабам sane с приложением выхлопа консоли, а если они ответят, что у них все ок, то можно взять лопату и пойти мочить сборщиков вашего дистрибутива

Kompilainenn ★★★★★ ()
Ответ на: комментарий от Tverskoy

ну согласись, что если пять лет работало, а щас внезапно отвалилось, то при отсутствии изменений в sane виноваты сборщики дистра

и да, а почему ДВА сканера находит?

Kompilainenn ★★★★★ ()
Последнее исправление: Kompilainenn (всего исправлений: 1)
Ответ на: комментарий от Kompilainenn

Она встроенная
Решил сам собрать sane-backends, правда не совсем удачно, укажите куда копать :) Итог моей деятельности:

[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
Ура! Хотя бы веб камеру увидел, а вот с usb проблема, хотя я делал ./configure --enable-libusb_1_0 --disable-latex , ну еще собралось без поддержки сети, gfoto2.
Чем отличается libusb от libusbx ? А то чую нужно первое, а оно конфликтует со вторым.
еще объясните что должно быть в /etc/ld.so.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.

у меня там «include /etc/ld.so.conf.d/*.conf»

Tverskoy ()
Последнее исправление: Tverskoy (всего исправлений: 2)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.