[sane-devel] Kyocera Scanner not working in any Linux Distro

Ralph Little skelband at gmail.com
Fri Apr 22 17:19:03 BST 2022


Hi,


On Fri, Apr 22, 2022 at 4:06 AM jitesh pandey <jsjpandey at gmail.com> wrote:

> I have a Kyocera Taskalfa 1800 MFP which I am configuring as a scanner
> which is not working in any linux distro (tried with Ubuntu, Fedora, Arch
> Linux and Debian), although the printer is working fine. Although sane
> website is showing nothing like this printer I have downloaded the sane
> library for scanner from the official website but whenever I try to run
> scanner (using scanimage or xsane), the printer awakes and the program (or
> command) shows the error *scanimage: open of device
> kyocera_gdi_a3:libusb:001:019 failed: Invalid argument*.
>
> The things I have already tried are, tried changing the permission of the
> library in sane (libsane_kyocera_gdi_a3) as well as usb manually and
> through udev. I have tried to debug using SANE_KYOCERA_GDI_A3=255 scanimage
>  with no success.
>
>
OK I have installed their package. I have Linux Mint, so Ubuntu-based
distro.

It seems to install correctly and the 2 backends (kyocera and
kyocera_gdi_a3) seem to be loaded up. You can test this with
SANE_DEBUG_DLL=3.

Diag from the backends can be got with SANE_DEBUG_KYOCERA and
SANE_DEBUG_KYOCERA_GDI_A3:

rlittle at rlittlelaptop /usr/lib/sane $ SANE_DEBUG_KYOCERA=255 scanimage -L
[kyocera_debug] Setting debug level of kyocera to 255.
[kyocera] >>sane_init
[kyocera] sane_init() : Kyocera backend (build 1), version != null,
authorize != null
[kyocera] <<sane_init
[kyocera] >>sane_get_devices
[kyocera] sane_get_devices() : start reading config file kyocera.conf
[kyocera] usb 0x0482 0x0495
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices start
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices end
[kyocera] usb 0x0482 0x0496
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices start
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices end
[kyocera] usb 0x0482 0x0497
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices start
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices end
[kyocera] usb 0x0482 0x0498
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices start
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices end
[kyocera] usb 0x0482 0x04FD
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices start
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices end
[kyocera] usb 0x0482 0x04FE
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices start
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices end
[kyocera] usb 0x0482 0x04FF
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices start
[kyocera] sane_get_devices() : kyocera_usb_attach_matching_devices end
[kyocera] sane_get_devices() : finished reading config file kyocera.conf
[kyocera] sane_get_devices() : Kyocera scanners found 0
[kyocera] <<sane_get_devices
device `brother3:net1;dev0' is a Brother MFC-7340 My_Scanner
device `escl:https://10.1.40.144:443' is a HP OfficeJet-6978 platen,adf
scanner
device `airscan:e0:HP-OfficeJet-6978' is a eSCL HP-OfficeJet-6978
ip=10.1.40.144
[kyocera] >>sane_exit
[kyocera] <<sane_exit

...and...

rlittle at rlittlelaptop /usr/lib/sane $ SANE_DEBUG_KYOCERA_GDI_A3=255
scanimage -L
[kyocera_debug] Setting debug level of kyocera_gdi_a3 to 255.
[kyocera_gdi_a3] >>sane_init
[kyocera_gdi_a3] sane_init() : Kyocera backend (build 1), version != null,
authorize != null
[kyocera_gdi_a3] <<sane_init
[kyocera_gdi_a3] >>sane_get_devices
[kyocera_gdi_a3] sane_get_devices() : start reading config file
kyocera_gdi_a3.conf
[kyocera_gdi_a3] sane_get_devices() : usb 0x0482 0x0606
[kyocera_gdi_a3] sane_get_devices() : usb 0x0482 0x0607
[kyocera_gdi_a3] sane_get_devices() : usb 0x0482 0x0608
[kyocera_gdi_a3] sane_get_devices() : usb 0x0482 0x0609
[kyocera_gdi_a3] sane_get_devices() : finished reading config file
kyocera_gdi_a3.conf
[kyocera_gdi_a3] sane_get_devices() : Kyocera scanners found 0
[kyocera_gdi_a3] <<sane_get_devices
device `brother3:net1;dev0' is a Brother MFC-7340 My_Scanner
device `escl:https://10.1.40.144:443' is a HP OfficeJet-6978 platen,adf
scanner
device `airscan:e0:HP-OfficeJet-6978' is a eSCL HP-OfficeJet-6978
ip=10.1.40.144
[kyocera_gdi_a3] >>sane_exit
[kyocera_gdi_a3] <<sane_exit

Obviously I don't see anything detected because I don't have one of these
devices.
Not really sure what the difference between these two backends is or which
one is expected to work with your device.

Perhaps you could try generating some diag output from their backend when
attempting to scan?

Cheers,
Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20220422/85d3d9fe/attachment.htm>


More information about the sane-devel mailing list