Проблема

При сканировании документа МФУ Pantum M6500 первая страница сканируется без ошибок. При повторном запуске сканирования на дисплее МФУ появляется сообщение "Ошибка связи 25".

Диагностика

  • Вывод команды dmesg содержит:
    [  158.793575] usbcore: registered new interface driver usblp
    ...
    [  185.864861] usb 1-1: usbfs: interface 0 claimed by usblp while 'KSaneIface::Fin' sets config #1
    [  198.897101] usb 1-1: usbfs: interface 0 claimed by usblp while 'fly-scan' sets config #1
    [  200.462243] usb 1-1: usbfs: interface 0 claimed by usblp while 'KSaneIface::KSa' sets config #1
    [  224.768681] usb 1-1: usbfs: interface 0 claimed by usblp while 'KSaneIface::KSa' sets config #1
  • Запустить сканирование с отображением диагностической информации:
    SANE_DEBUG_DLL=255 SANE_DEBUG_PANTUM6500=255  SANE_DEBUG_SANEI_USB=4 QT_LOGGING_RULES="ru.astralinux.fly-scan=true;org.kde.ksane=true" fly-scan
    Вывод содержит сообщение:
    Resource busy
    <...>
    org.kde.ksane: "KSaneDoubleOption::readValue():" br-y "value=297"
    org.kde.ksane: Scan first page
    [13:49:13.949760] [dll] sane_start(handle=0x10cba70)
    [13:49:13.949813] [pantum6500] usb_dev_open: open 0x7ec560182300
    [13:49:13.950065] [sanei_usb] com_pantum_sanei_usb_open: libusb complained: Resource busy
    [13:49:13.950087] [sanei_usb] Maybe the kernel scanner driver or usblp claims the interface? Ignoring this error...
    [13:49:13.950273] [sanei_usb] com_pantum_sanei_usb_open: we already have a bulk-in endpoint (address: 0x83), ignoring the new one
    [13:49:13.950296] [sanei_usb] com_pantum_sanei_usb_open: we already have a bulk-out endpoint (address: 0x03), ignoring the new one
    [13:49:13.950310] [sanei_usb] com_pantum_sanei_usb_open: we already have a int-in endpoint (address: 0x84), ignoring the new one
    [13:49:13.950322] [sanei_usb] com_pantum_sanei_usb_open: we already have a bulk-out endpoint (address: 0x03), ignoring the new one
    [13:49:13.950409] [sanei_usb] com_pantum_sanei_usb_open: we already have a bulk-in endpoint (address: 0x83), ignoring the new one
    [13:49:13.950565] [sanei_usb] com_pantum_sanei_usb_open: opened usb device `libusb:001:002' (*dn=0)
    sane_pantum6500_start: dev->doc_source = 100, scanning = 0, reading = 0
    [13:49:13.950757] [pantum6500] bHave_enough_space: check if there is enough space available or not.
    [13:49:13.951028] [pantum6500] bHave_enough_space: mount point is: /sys
    [13:49:13.951221] [pantum6500] bHave_enough_space: mount point is: /proc
    [13:49:13.951405] [pantum6500] bHave_enough_space: mount point is: /dev
    [13:49:13.951600] [pantum6500] bHave_enough_space: mount point is: /dev/pts
    [13:49:13.951820] [pantum6500] bHave_enough_space: mount point is: /run
    [13:49:13.952010] [pantum6500] bHave_enough_space: successfully get root mounting point.
    [13:49:13.952203] [pantum6500] total image size = 2,13
    [13:49:13.952390] [pantum6500] bHave_enough_space: available size is 4,00 GB
    bHave_enough_memory: sizeof(s_info)=112
    , mem_unit=1, freeram=83128320, freeswap=1012658176
    current memory left: 1045M, total image size = 2M
    [13:49:13.952977] [pantum6500] sane_start sanei_thread_begin(reader_process), current pages num = 1. (from 1 to n)
    [13:49:13.954147] [pantum6500] reader_process: 0x7ec560182300
    [13:49:13.954182] [pantum6500] dev_lock_scan: 0x7ec560182300
    [13:49:13.954198] [pantum6500] sendMessageAndReturn: 0x7ec560182300
    [13:49:13.954214] [pantum6500] sendMessageAndReturn: message 0
    [13:49:13.954242] [pantum6500] usb_dev_request, com_pantum_sanei_usb_write_bulk
    [13:49:13.954928] [pantum6500] usb_dev_request, com_pantum_sanei_usb_read_bulk
    (fly-scan висит в статусе "Сканирование")

Возможная причина: Устройство занято модулем usblp. Перейти к решению.


Возможные причины