Следуя этим шагам из этого вопроса, мне удалось обнаружить мой сканер по сети с помощью scanimage -L, но я все еще получаю сообщение об ошибке с scanimage -T:
[sanei_debug] Setting debug level of pixma to 5.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.17.24
[pixma] Scanner model found: Name MX920(Canon PIXMA MX920 Series) matches MX920 series
[pixma] pixma_collect_devices() found Canon PIXMA MX920 Series at bjnp://10.0.0.5:8612
[pixma] pixma_find_scanners() found 1 devices
[pixma] Scanner model found: Name MX920(Canon PIXMA MX920 Series) matches MX920 series
[pixma] pixma_collect_devices() found Canon PIXMA MX920 Series at bjnp://10.0.0.5:8612
[pixma] pixma_open(): Canon PIXMA MX920 Series
[pixma] *mp150_open***** This is a generation 4 scanner. *****
[pixma] Reader task started
[pixma] Reader task id=139912999573248 (threaded)
scanimage: scanning image of size 638x877 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1914 bytes... [bjnp] bjnp_open_tcp: ERROR - Can not connect to scanner: Connection refused
[pixma] Reader task terminated: EINVAL
[pixma] read_image():reader task closed the pipe:0 bytes received, 1678578 bytes expected
FAIL Error: Invalid argument
[pixma] pixma_close(): Canon PIXMA MX920 Series
[bjnp] bjnp_open_tcp: ERROR - Can not connect to scanner: Connection refused
То же самое с брандмауэр деактивирован или sudo
$ dpkg -l | grep sane
ii libsane:amd64 1.0.26~git20151121-1 amd64 API library for scanners
ii libsane-common 1.0.26~git20151121-1 all API library for scanners -- documentation and support files
ii libsane-hpaio 3.15.7-0ubuntu4 amd64 HP SANE backend for multi-function peripherals
ii sane 1.0.14-11 amd64 scanner graphical frontends
ii sane-utils 1.0.26~git20151121-1 amd64 API library for scanners -- utilities
rc xsane 0.998-6ubuntu1 amd64 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.998-6ubuntu1 all featureful graphical frontend for SANE (Scanner Access Now Easy)
uname дает:
Linux 4.2.0-27-generic x86_64 GNU/Linux
Еще одна точность, у меня есть два других ноутбука на Kubuntu 14.04 32 бит и 64 бит. 32bits работает, а 64-битные - нет.
ii libsane:amd64 1.0.26-git20160214-wily0 amd64 API library for scanners
ii libsane-common 1.0.26-git20160214-wily0 amd64 API library for scanners -- documentation and support files
ii libsane-hpaio 3.15.7-0ubuntu4 amd64 HP SANE backend for multi-function peripherals
ii sane 1.0.14-11 amd64 scanner graphical frontends
ii sane-utils 1.0.26-git20160214-wily0 amd64 API library for scanners -- utilities
rc xsane 0.998-6ubuntu1 amd64 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.998-6ubuntu1 all featureful graphical frontend for SANE (Scanner Access Now Easy)
По-прежнему такая же ошибка. scangear работает, конечно, потому что он не использует libsane, но я хочу использовать Java librairie jfreesane.
Стандартный MAJ для система сделана, потому что librairies работают как обычно.
Спасибо за вашу помощь / время