Решено: Gentoo + Samsung SCX-4x21 + sane-xerox_mfp = не работает (уже второй год трахаюсь с этой проблемой....)

Всё о принтерах, сканерах и многофункциональных устройствах. Подключение, настройка, проблемы.

Модератор: Модераторы разделов

Ответить
fat0troll
Сообщения: 2
ОС: Gentoo Linux

Решено: Gentoo + Samsung SCX-4x21 + sane-xerox_mfp = не работает

Сообщение fat0troll »

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


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

valdos-desk devices # 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.

found USB scanner (vendor=0x04e8 [Samsung], product=0x3419 [SCX-4x21 Series]) at libusb:002:014
  # 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.
valdos-desk devices # scanimage -L
device `xerox_mfp:libusb:002:014' is a SAMSUNG ORION multi-function peripheral
valdos-desk devices # 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).
valdos-desk devices #

то есть девайс после обращения засыпает и гудбай.

Как вылечить такое свинское поведеные? "USB selective device suspend/resume" выключен в ядре



значится...


при scanimage -L

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


valdos-desk fat-troll # scanimage -L
device `xerox_mfp:libusb:002:026' is a SAMSUNG ORION multi-function peripheral
valdos-desk fat-troll #

при этом в логах

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


Feb 28 23:41:25 valdos-desk kernel: usb 2-7: usbfs: interface 1 claimed by usblp while 'scanimage' sets config #1
после чего

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

valdos-desk fat-troll # 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).
valdos-desk fat-troll #
при этом

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

Feb 28 23:42:07 valdos-desk kernel: usb 2-7: usbfs: interface 1 claimed by usblp while 'scanimage' sets config #1

воть...

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

valdos-desk fat-troll # scanimage -Tv
[sanei_debug] Setting debug level of xerox_mfp to 255.
[xerox_mfp] sane_init: Xerox backend (build 10) 0x7fff961b619c, 0x4057a0
[xerox_mfp] sane_xerox_mfp_get_devices: 0x7fff961b6208, 0
[xerox_mfp] list_one_device: libusb:002:046
[xerox_mfp] dev_open: open 0x60e7e0
[xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[xerox_mfp] [70] a8 00 43 10 53 41 4d 53 55 4e 47 20 4f 52 49 4f 4e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 11 3f 06 29 00 00 27 d8 00 00 41 a0 00 01 2f 00 00 01 00 00 00 00 41 a0 00 00 36 d8 01 13 05 05 00...
[xerox_mfp] dev_inquiry: found SAMSUNG/ORION
[xerox_mfp] dev_close: closing dev 0x60e7e0
[xerox_mfp] sane_xerox_mfp_open: 'libusb:002:046'
[xerox_mfp] dev_open: open 0x60e7e0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 0, <0>, 0x7fff961b8318, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 0, <0> => 0000000b, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 0, <0>, 0x7fff961b620c, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 0, <0> => 0000000b, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 1
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 2
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 3
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 4
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 5
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 6
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 7
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 8
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 9
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 10
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 9, <0>, 0x60a670, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 9, <0> => 00d7e666, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 7, <0>, 0x7fff961b6208, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 7, <0> => 00000000, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 10, <0>, 0x60a674, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 10, <0> => 01292e14, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 8, <0>, 0x7fff961b6208, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 8, <0> => 00000000, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 7, <0>, 0x7fff961b8310, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 7, <0> => 00000000, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 9
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 9, <1>, 0x7fff961b830c, 0x7fff961b621c
[xerox_mfp] sane_xerox_mfp_control_option: 9, <1> => 00d7e666, 0
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 8, <0>, 0x7fff961b8310, (nil)
[xerox_mfp] sane_xerox_mfp_control_option: 8, <0> => 00000000, 0
[xerox_mfp] sane_xerox_mfp_get_option_descriptor: 0x60e7e0, 10
[xerox_mfp] sane_xerox_mfp_control_option: 0x60e7e0, 10, <1>, 0x7fff961b830c, 0x7fff961b621c
[xerox_mfp] sane_xerox_mfp_control_option: 10, <1> => 01292e14, 0
[xerox_mfp] sane_xerox_mfp_start: 0x60e7e0
[xerox_mfp] :: dev_command(RESERVE_UNIT[0x16], 32)
[xerox_mfp] dev_request: sanei_usb_read_bulk: Error during device I/O
[xerox_mfp] dev_command: dev_request: Error during device I/O
scanimage: sane_start: Error during device I/O
[xerox_mfp] sane_xerox_mfp_cancel: 0x60e7e0
[xerox_mfp] sane_xerox_mfp_close: 0x60e7e0 (libusb:002:046)
[xerox_mfp] dev_close: closing dev 0x60e7e0
valdos-desk fat-troll #

вроде бы, firmware не нужен. Но не выходит каменный цветок =(

извините за сумбурное изложение. Наболело...
Спасибо сказали:
Ответить