scanimage только распознает сканер как ADF внезапно

Я использовал scanimage отсканировать некоторые документы с моим Братом постраничный сканер DS-620 со следующей командой:

    scanimage --device 'dsseries:usb:0x04F9:0x60E0' \
      --format=tiff \
      --mode 'Gray' \
      --resolution 300 \
      -l 90 \
      -t 90 \
      --brightness -20 \
      --contrast 15 \
      > ex.tiff

Я тестировал различные параметры на-t, который я думаю, что установил на 500, когда середина пути посредством сканирования, когда устройство полистовой подачи остановилось и я полагаю, что segfault ошибка была брошена (извините, я потерял точное сообщение об ошибке и не могу копировать его, хотя, -t имеет максимальное значение 355,6 в устройстве определенная страница справочника, которая возможно объясняет segfault). После этого вышеупомянутая команда и scanimage -T (для тестирования), оба дают ошибку sane_start: Document feeder out of documents. Ниже зависимой от устройств опции для --source говорит, что единственной опцией является ADF, который я думаю, является неправильным. Сканер работал отлично, прежде чем это произошло. Я попытался отключить сканер, перезагрузив мой компьютер, и пробуя xsane, простое сканирование и т.д. с отрицательными результатами. Я отправил часть из того, что я думаю, важная информация ниже.

У кого-либо есть какие-либо подсказки относительно того, что пошло не так, как надо и как фиксировать/диагностировать эту проблему?


Я нахожусь на Ubuntu 14.04. scanimage и libsane версии:

desktop:~$ scanimage --version
scanimage (sane-backends) 1.0.23; backend version 1.0.23

Драйвер установил с веб-сайта Брата:

libsane-dsseries_1.0.5-1_amd64.

Журнал изменений для драйвера:

x64-dsscanner (1.0.5-1) unstable; urgency=low

  * Fix duplex cut image error.

 -- Brother Industries, Ltd. <>  Thu, 21 Nov 2013 14:42:01 +0800

Устройство определенная информация:

desktop:~$ scanimage --help -d 'dsseries:usb:0x04F9:0x60E0'
Usage: scanimage [OPTION]...

Start image acquisition on a scanner device and write image data to
standard output.

Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options (e.g. --device-name=epson).
-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    --format=pnm|tiff      file format of output file
-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
-L, --list-devices         show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
                           can be specified: %d (device name), %v (vendor),
                           %m (model), %t (type), %i (index number), and
                           %n (newline)
-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
                           `out%d.tif' by default depending on --format
    --batch-start=#        page number to start naming files with
    --batch-count=#        how many pages to scan in batch mode
    --batch-increment=#    increase page number in filename by #
    --batch-double         increment page number by two, same as
                           --batch-increment=2
    --batch-prompt         ask for pressing a key before scanning a page
    --accept-md5-only      only accept authorization requests using md5
-p, --progress             print progress messages
-n, --dont-scan            only set options, don't actually scan
-T, --test                 test backend thoroughly
-A, --all-options          list all available backend options
-h, --help                 display this help message and exit
-v, --verbose              give even more status messages
-B, --buffer-size=#        change input buffer size (in kB, default 32)
-V, --version              print version information

Options specific to device `dsseries:usb:0x04F9:0x60E0':
  Scan mode:
    --mode LineArt|Gray|Color [Gray]
        Selects the scan mode (e.g., lineart, monochrome, or color).
    --resolution 75..600dpi (in steps of 1) [300]
        Sets the resolution of the scanned image.
    --preview[=(yes|no)] [no]
        Request a preview-quality scan.
    --source ADF [ADF]
        Selects the scan source (such as a document-feeder).
  Geometry:
    -l 0..215.9mm [0]
        Top-left x position of scan area.
    -t 0..355.6mm [0]
        Top-left y position of scan area.
    -x 0..215.9mm [215.9]
        Width of scan-area.
    -y 0..355.6mm [355.6]
        Height of scan-area.
  MultiFeed Detection:
    --ultrasonic Disable [Disable]
        Use ultrasonic sensor to detect multifeed
  Enhancement:
    --brightness -100..100% (in steps of 1) [0]
        Controls the brightness of the acquired image.
    --contrast -100..100% (in steps of 1) [0]
        Controls the contrast of the acquired image.
    --gamma-table 0..255,...
        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).
    --red-gamma-table 0..255,...
        Gamma-correction table for the red band.
    --green-gamma-table 0..255,...
        Gamma-correction table for the green band.
    --blue-gamma-table 0..255,...
        Gamma-correction table for the blue band.

Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.

List of available devices:
    dsseries:usb:0x04F9:0x60E0

Непоследовательное поведение для обнаружения сканеров: Иногда, если я выхожу sudo sane-find-scanner Я получаю это, это не находит сканера usb и этого sudo scanimage -L перечисляет мой сканер. Ранее и без любой идентифицируемой причины sudo sane-find-scanner просто зависает и sudo scanimage -L получает меня системная ошибка Ubuntu и отчет проблема диалоговые окна, которые я не могу, вставка копии, но важные части, кажется:

  • ProblemType: катастрофический отказ
  • SegvAnalysis: Segfault произошел в: 0x0: не может получить доступ к памяти в адресе 0x0 пк (0x00000000) не расположенный в известном регионе VMA (необходимый исполняемый регион)!
  • SegvReason: выполнение ПУСТОГО VMA
  • Сигнал: 11

Я в замешательстве с этим ошибочным поведением.

Без sudo:

desktop:~$ scanimage -L
device `dsseries:usb:0x04F9:0x60E0' is a BROTHER DS-620 sheetfed scanner

desktop:~$ 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.

could not open USB device 0x8087/0x8000 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x8087/0x8008 at 001:002: 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 004:001: Access denied (insufficient permissions)
could not open USB device 0x04f9/0x60e0 at 003:005: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc016 at 003:004: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc315 at 003:003: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003: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.

desktop:~$ sudo 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.

  # 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.

Используя scanimage -n --device 'dsseries:usb:0x04F9:0x60E0' etc... дает корректное сообщение для успешного сканирования:

scanimage: rounded value of br-x from 305.9 to 215.9
scanimage: rounded value of br-y from 445.6 to 355.6

Если я могу протестировать другой сканер, я отправлю результаты.

1
задан 15 March 2016 в 07:46

0 ответов

Другие вопросы по тегам:

Похожие вопросы: