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

Ralph Little skelband at gmail.com
Wed Apr 27 03:36:19 BST 2022


Hi,

On 2022-04-26 02:06, jitesh pandey wrote:
> Ok, thanks for reply, now take a look at the following, maybe you 
> could find something into it
>
> *scanimage --list-devices
> device `kyocera_gdi_a3:libusb:001:029' is a Kyocera TASKalfa 1800 
> multi-functional device*
>
> So scanimage list the device as *kyocera_gdi_a3 *but when I test it as
>
> scanimage -d kyocera_gdi_a3 -T
> *Output format is not set, using pnm as a default.
> scanimage: open of device kyocera_gdi_a3 failed: Invalid argument*
>
> So there is no luck in it further without any argument
>
> SANE_DEBUG_KYOCERA_GDI_A3=255 scanimage -T
> Output format is not set, using pnm as a default.
> [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] attach_one_usb()
> [kyocera_gdi_a3] attach_one()
> [kyocera_gdi_a3] connect_scanner() : INFO : connecting usb scanner 
> device libusb:001:029
> [kyocera_gdi_a3] connect_scanner() : successfully connected to usb scanner
> [kyocera_gdi_a3] attach_one() : vendor 0x482, product 0x606
> [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() : found Kyocera scanner in 
> libusb:001:029
> [kyocera_gdi_a3] sane_get_devices() : Kyocera scanners found 1
> [kyocera_gdi_a3] <<sane_get_devices
> [kyocera_gdi_a3] >>sane_open
> [kyocera_gdi_a3] get_device_from_name() : name = libusb:001:029

> scanimage: open of device kyocera_gdi_a3:libusb:001:029 failed: 
> Invalid argument

This certainly seems to be the source of the problem.

Firstly, I would check that the scanner doesn't require some manual 
operation to ready it for USB scanning.

Secondly, since we don't have access to the Kyocera SANE backend source, 
perhaps we could get some more info from libusb:

LIBUSB_DEBUG=10 scanimage -d kyocera_gdi_a3 -T

There is likely to be a lot of output.
Perhaps stick into a file and give us a link to somewhere to download, 
or if the problematic part is obvious, then give let us see that segment 
with a bit of surrounding context.

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


More information about the sane-devel mailing list