<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi,<br>
    <br>
    <div class="moz-cite-prefix">On 2022-04-26 02:06, jitesh pandey
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHqqP9OaKPQxWt4WObi60g4AVb+dR9dW4ujYCXa=Ng4H_Apk0w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div>Ok, thanks for reply, now take a look at the following,
            maybe you could find something into it</div>
          <div><br>
          </div>
          <div><b>scanimage --list-devices<br>
              device `kyocera_gdi_a3:libusb:001:029' is a Kyocera
              TASKalfa 1800 multi-functional device</b></div>
          <div><br>
          </div>
          <div>So scanimage list the device as <b>kyocera_gdi_a3 </b>but
            when I test it as<br>
          </div>
          <div><br>
          </div>
          <div>scanimage -d kyocera_gdi_a3 -T<br>
            <b>Output format is not set, using pnm as a default.<br>
              scanimage: open of device kyocera_gdi_a3 failed: Invalid
              argument</b></div>
          <div><br>
          </div>
          <div>So there is no luck in it further without any argument</div>
          <div><br>
          </div>
          <div>SANE_DEBUG_KYOCERA_GDI_A3=255 scanimage -T<br>
            Output format is not set, using pnm as a default.<br>
            [kyocera_debug] Setting debug level of kyocera_gdi_a3 to
            255.<br>
            [kyocera_gdi_a3] >>sane_init<br>
            [kyocera_gdi_a3] sane_init() : Kyocera backend (build 1),
            version != null, authorize != null<br>
            [kyocera_gdi_a3] <<sane_init<br>
            [kyocera_gdi_a3] >>sane_get_devices<br>
            [kyocera_gdi_a3] sane_get_devices() : start reading config
            file kyocera_gdi_a3.conf<br>
            [kyocera_gdi_a3] sane_get_devices() : usb 0x0482 0x0606<br>
            [kyocera_gdi_a3] attach_one_usb()<br>
            [kyocera_gdi_a3] attach_one()<br>
            [kyocera_gdi_a3] connect_scanner() : INFO : connecting usb
            scanner device libusb:001:029<br>
            [kyocera_gdi_a3] connect_scanner() : successfully connected
            to usb scanner<br>
            [kyocera_gdi_a3] attach_one() : vendor 0x482, product 0x606<br>
            [kyocera_gdi_a3] sane_get_devices() : usb 0x0482 0x0607<br>
            [kyocera_gdi_a3] sane_get_devices() : usb 0x0482 0x0608<br>
            [kyocera_gdi_a3] sane_get_devices() : usb 0x0482 0x0609<br>
            [kyocera_gdi_a3] sane_get_devices() : finished reading
            config file kyocera_gdi_a3.conf<br>
            [kyocera_gdi_a3] sane_get_devices() : found Kyocera scanner
            in libusb:001:029<br>
            [kyocera_gdi_a3] sane_get_devices() : Kyocera scanners found
            1 <br>
            [kyocera_gdi_a3] <<sane_get_devices<br>
            [kyocera_gdi_a3] >>sane_open<br>
            [kyocera_gdi_a3] get_device_from_name() : name =
            libusb:001:029<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <blockquote type="cite"
cite="mid:CAHqqP9OaKPQxWt4WObi60g4AVb+dR9dW4ujYCXa=Ng4H_Apk0w@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div>scanimage: open of device kyocera_gdi_a3:libusb:001:029
            failed: Invalid argument<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    This certainly seems to be the source of the problem. <br>
    <br>
    Firstly, I would check that the scanner doesn't require some manual
    operation to ready it for USB scanning.<br>
    <br>
    Secondly, since we don't have access to the Kyocera SANE backend
    source, perhaps we could get some more info from libusb:<br>
    <br>
    <span class="ILfuVd"><span class="hgKElc">LIBUSB_DEBUG=10 </span></span>scanimage
    -d kyocera_gdi_a3 -T<br>
    <br>
    There is likely to be a lot of output. <br>
    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.<br>
    <br>
    Cheers,<br>
    Ralph<br>
    <br>
  </body>
</html>