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

2023-03-15 Thread Steven Santos
The SANE driver for the TaskAlpha 1800 is from 2014.  It's a compiled
binary.

Starting with Ubuntu 17.10, Ubuntu changed the directory where dll looks
for third party drivers in. This configuration effectively broke backward
compatibility for many third-party drivers. Third party sane drivers in
previous version of sane were located under /usr/lib/sane/, however, the
current version of sane on Ubuntu only looks for 64 bit drivers under the
/usr/lib/x86_64-linux-gnu/sane directory. Many third party scanner issues
can be resolved by placing the proper sym links.

Likewise, Ubuntu 17.10 printer related udev rules appear to be clobbering a
number of third-party scanner rules (more common with all-in-one type
devices). To complicate matters further, the Ubuntu specific sane-backends
rules may clobber part of those printer rules yet again.

Thus far, the only known workaround to these two issues is to symlink the
old drivers to the new folder, and to manually edit the udev rules.

On Tue, Mar 14, 2023 at 10:55 PM jitesh pandey  wrote:

> Dear all,
>
> Since it's been year or so asking for help and I great full for your reply
> but the problem doesn't get solved till date.
> So after the last query I tried some other method like installing the
> older version of sane, installing the older versions of distros in which
> sometimes it works but I cannot save the log as it's not confirm the try
> you are making will work or not, it's like one in hundredths try , I will
> say only one time it works then never. Futher I tried it with Windows OS
> where I found out that it only save in BMP file format not in any other
> format with its old Scan and Fax software only not with modern softwares.
> It feels like it works on old concept of scanning so would love to hear
> your say in this.
>
> Thankyou
>
> On Wednesday, April 27, 2022, jitesh pandey  wrote:
>
>> Dear Ralph, I tried your suggestion, as the output I got was not that big
>> so I am pasting here for better explanation, as you can see we are getting
>> the same invalid argument error.
>>
>> *LIBUSB_DEBUG=10 scanimage -d kyocera_gdi_a3 -T*
>> Output format is not set, using pnm as a default.
>> [timestamp] [threadID] facility level [function call] 
>>
>> 
>> [ 0.36] [7a4b] libusb: debug [libusb_init] libusb v1.0.26.11724
>> [ 0.77] [7a4b] libusb: debug [usbi_add_event_source] add fd 3
>> events 1
>> [ 0.92] [7a4b] libusb: debug [usbi_io_init] using timer for
>> timeouts
>> [ 0.97] [7a4b] libusb: debug [usbi_add_event_source] add fd 4
>> events 1
>> [ 0.000129] [7a4b] libusb: debug [get_kernel_version] reported kernel
>> version is 5.17.3-arch1-1
>> [ 0.000218] [7a4b] libusb: debug [op_init] found usbfs at /dev/bus/usb
>> [ 0.000225] [7a4b] libusb: debug [op_init] max iso packet length is
>> (likely) 98304 bytes
>> [ 0.000238] [7a4b] libusb: debug [op_init] sysfs is available
>> [ 0.000712] [7a4c] libusb: debug [linux_udev_event_thread_main] udev
>> event thread entering
>> [ 0.008081] [7a4b] libusb: debug [linux_get_device_address] getting
>> address for device: usb1 detached: 0
>> [ 0.008149] [7a4b] libusb: debug [linux_get_device_address] scan usb1
>> [ 0.008293] [7a4b] libusb: debug [linux_get_device_address] bus=1
>> dev=1
>> [ 0.008313] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
>> devaddr 1 session_id 257
>> [ 0.008329] [7a4b] libusb: debug [linux_enumerate_device] allocating
>> new device for 1/1 (session 257)
>> [ 0.008614] [7a4b] libusb: debug [linux_get_device_address] getting
>> address for device: 1-3 detached: 0
>> [ 0.008633] [7a4b] libusb: debug [linux_get_device_address] scan 1-3
>> [ 0.008723] [7a4b] libusb: debug [linux_get_device_address] bus=1
>> dev=106
>> [ 0.008731] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
>> devaddr 106 session_id 362
>> [ 0.008739] [7a4b] libusb: debug [linux_enumerate_device] allocating
>> new device for 1/106 (session 362)
>> [ 0.008797] [7a4b] libusb: debug [linux_get_parent_info] dev
>> 0x55ca7ffe46e0 (1-3) has parent 0x55ca7ffe4580 (usb1) port 3
>> [ 0.009175] [7a4b] libusb: debug [linux_get_device_address] getting
>> address for device: 1-4 detached: 0
>> [ 0.009202] [7a4b] libusb: debug [linux_get_device_address] scan 1-4
>> [ 0.009291] [7a4b] libusb: debug [linux_get_device_address] bus=1
>> dev=7
>> [ 0.009304] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
>> devaddr 7 session_id 263
>> [ 0.009313] [7a4b] libusb: debug [linux_enumerate_device] allocating
>> new device for 1/7 (session 263)
>> [ 0.009362] [7a4b] libusb: debug [linux_get_parent_info] dev
>> 0x55ca7ffe4af0 (1-4) has parent 0x55ca7ffe4580 (usb1) port 4
>> [ 0.009606] [7a4b] libusb: debug [linux_get_device_address] getting
>> address for device: 1-5 detached: 0
>> [ 0.009622] [7a4b] libusb: debug 

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

2023-03-15 Thread geb...@mousecar.com
Not an expert , not even very knowledgeable in these matters, but it 
looks to me like a problem with USB:


On 3/14/23 10:29 PM, jitesh pandey wrote:
...

[ 5.947387] [7a4b] libusb: debug [sync_transfer_cb] actual_length=6
[ 5.947399] [7a4b] libusb: debug [libusb_free_transfer] transfer 
0x55ca7ffe02f0

*scanimage: open of device kyocera_gdi_a3 failed: Invalid argument*
[ 5.947455] [7a4b] libusb: debug [libusb_release_interface] 
interface 1

[ 5.947499] [7a4b] libusb: debug [libusb_close]
[ 5.947511] [7a4b] libusb: debug [usbi_remove_event_source] remove 
fd 8



What is the output of "lsusb" (run at a terminal)?


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

2023-03-14 Thread jitesh pandey
Dear all,

Since it's been year or so asking for help and I great full for your reply
but the problem doesn't get solved till date.
So after the last query I tried some other method like installing the older
version of sane, installing the older versions of distros in which
sometimes it works but I cannot save the log as it's not confirm the try
you are making will work or not, it's like one in hundredths try , I will
say only one time it works then never. Futher I tried it with Windows OS
where I found out that it only save in BMP file format not in any other
format with its old Scan and Fax software only not with modern softwares.
It feels like it works on old concept of scanning so would love to hear
your say in this.

Thankyou

On Wednesday, April 27, 2022, jitesh pandey  wrote:

> Dear Ralph, I tried your suggestion, as the output I got was not that big
> so I am pasting here for better explanation, as you can see we are getting
> the same invalid argument error.
>
> *LIBUSB_DEBUG=10 scanimage -d kyocera_gdi_a3 -T*
> Output format is not set, using pnm as a default.
> [timestamp] [threadID] facility level [function call] 
> 
> 
> [ 0.36] [7a4b] libusb: debug [libusb_init] libusb v1.0.26.11724
> [ 0.77] [7a4b] libusb: debug [usbi_add_event_source] add fd 3
> events 1
> [ 0.92] [7a4b] libusb: debug [usbi_io_init] using timer for
> timeouts
> [ 0.97] [7a4b] libusb: debug [usbi_add_event_source] add fd 4
> events 1
> [ 0.000129] [7a4b] libusb: debug [get_kernel_version] reported kernel
> version is 5.17.3-arch1-1
> [ 0.000218] [7a4b] libusb: debug [op_init] found usbfs at /dev/bus/usb
> [ 0.000225] [7a4b] libusb: debug [op_init] max iso packet length is
> (likely) 98304 bytes
> [ 0.000238] [7a4b] libusb: debug [op_init] sysfs is available
> [ 0.000712] [7a4c] libusb: debug [linux_udev_event_thread_main] udev
> event thread entering
> [ 0.008081] [7a4b] libusb: debug [linux_get_device_address] getting
> address for device: usb1 detached: 0
> [ 0.008149] [7a4b] libusb: debug [linux_get_device_address] scan usb1
> [ 0.008293] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=1
> [ 0.008313] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
> devaddr 1 session_id 257
> [ 0.008329] [7a4b] libusb: debug [linux_enumerate_device] allocating
> new device for 1/1 (session 257)
> [ 0.008614] [7a4b] libusb: debug [linux_get_device_address] getting
> address for device: 1-3 detached: 0
> [ 0.008633] [7a4b] libusb: debug [linux_get_device_address] scan 1-3
> [ 0.008723] [7a4b] libusb: debug [linux_get_device_address] bus=1
> dev=106
> [ 0.008731] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
> devaddr 106 session_id 362
> [ 0.008739] [7a4b] libusb: debug [linux_enumerate_device] allocating
> new device for 1/106 (session 362)
> [ 0.008797] [7a4b] libusb: debug [linux_get_parent_info] dev
> 0x55ca7ffe46e0 (1-3) has parent 0x55ca7ffe4580 (usb1) port 3
> [ 0.009175] [7a4b] libusb: debug [linux_get_device_address] getting
> address for device: 1-4 detached: 0
> [ 0.009202] [7a4b] libusb: debug [linux_get_device_address] scan 1-4
> [ 0.009291] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=7
> [ 0.009304] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
> devaddr 7 session_id 263
> [ 0.009313] [7a4b] libusb: debug [linux_enumerate_device] allocating
> new device for 1/7 (session 263)
> [ 0.009362] [7a4b] libusb: debug [linux_get_parent_info] dev
> 0x55ca7ffe4af0 (1-4) has parent 0x55ca7ffe4580 (usb1) port 4
> [ 0.009606] [7a4b] libusb: debug [linux_get_device_address] getting
> address for device: 1-5 detached: 0
> [ 0.009622] [7a4b] libusb: debug [linux_get_device_address] scan 1-5
> [ 0.009701] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=2
> [ 0.009711] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
> devaddr 2 session_id 258
> [ 0.009720] [7a4b] libusb: debug [linux_enumerate_device] allocating
> new device for 1/2 (session 258)
> [ 0.009799] [7a4b] libusb: debug [linux_get_parent_info] dev
> 0x55ca7ffe4c90 (1-5) has parent 0x55ca7ffe4580 (usb1) port 5
> [ 0.010001] [7a4b] libusb: debug [linux_get_device_address] getting
> address for device: 1-5.2 detached: 0
> [ 0.010016] [7a4b] libusb: debug [linux_get_device_address] scan 1-5.2
> [ 0.010101] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=4
> [ 0.010111] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
> devaddr 4 session_id 260
> [ 0.010122] [7a4b] libusb: debug [linux_enumerate_device] allocating
> new device for 1/4 (session 260)
> [ 0.010233] [7a4b] libusb: debug [linux_get_parent_info] dev
> 0x55ca7ffe5340 (1-5.2) has parent 0x55ca7ffe4c90 (1-5) port 2
> [ 0.010571] [7a4b] libusb: debug [linux_get_device_address] getting
> address for 

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

2022-04-27 Thread jitesh pandey
Dear Ralph, I tried your suggestion, as the output I got was not that big
so I am pasting here for better explanation, as you can see we are getting
the same invalid argument error.

*LIBUSB_DEBUG=10 scanimage -d kyocera_gdi_a3 -T*
Output format is not set, using pnm as a default.
[timestamp] [threadID] facility level [function call] 

[ 0.36] [7a4b] libusb: debug [libusb_init] libusb v1.0.26.11724
[ 0.77] [7a4b] libusb: debug [usbi_add_event_source] add fd 3
events 1
[ 0.92] [7a4b] libusb: debug [usbi_io_init] using timer for timeouts
[ 0.97] [7a4b] libusb: debug [usbi_add_event_source] add fd 4
events 1
[ 0.000129] [7a4b] libusb: debug [get_kernel_version] reported kernel
version is 5.17.3-arch1-1
[ 0.000218] [7a4b] libusb: debug [op_init] found usbfs at /dev/bus/usb
[ 0.000225] [7a4b] libusb: debug [op_init] max iso packet length is
(likely) 98304 bytes
[ 0.000238] [7a4b] libusb: debug [op_init] sysfs is available
[ 0.000712] [7a4c] libusb: debug [linux_udev_event_thread_main] udev
event thread entering
[ 0.008081] [7a4b] libusb: debug [linux_get_device_address] getting
address for device: usb1 detached: 0
[ 0.008149] [7a4b] libusb: debug [linux_get_device_address] scan usb1
[ 0.008293] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=1
[ 0.008313] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
devaddr 1 session_id 257
[ 0.008329] [7a4b] libusb: debug [linux_enumerate_device] allocating
new device for 1/1 (session 257)
[ 0.008614] [7a4b] libusb: debug [linux_get_device_address] getting
address for device: 1-3 detached: 0
[ 0.008633] [7a4b] libusb: debug [linux_get_device_address] scan 1-3
[ 0.008723] [7a4b] libusb: debug [linux_get_device_address] bus=1
dev=106
[ 0.008731] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
devaddr 106 session_id 362
[ 0.008739] [7a4b] libusb: debug [linux_enumerate_device] allocating
new device for 1/106 (session 362)
[ 0.008797] [7a4b] libusb: debug [linux_get_parent_info] dev
0x55ca7ffe46e0 (1-3) has parent 0x55ca7ffe4580 (usb1) port 3
[ 0.009175] [7a4b] libusb: debug [linux_get_device_address] getting
address for device: 1-4 detached: 0
[ 0.009202] [7a4b] libusb: debug [linux_get_device_address] scan 1-4
[ 0.009291] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=7
[ 0.009304] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
devaddr 7 session_id 263
[ 0.009313] [7a4b] libusb: debug [linux_enumerate_device] allocating
new device for 1/7 (session 263)
[ 0.009362] [7a4b] libusb: debug [linux_get_parent_info] dev
0x55ca7ffe4af0 (1-4) has parent 0x55ca7ffe4580 (usb1) port 4
[ 0.009606] [7a4b] libusb: debug [linux_get_device_address] getting
address for device: 1-5 detached: 0
[ 0.009622] [7a4b] libusb: debug [linux_get_device_address] scan 1-5
[ 0.009701] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=2
[ 0.009711] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
devaddr 2 session_id 258
[ 0.009720] [7a4b] libusb: debug [linux_enumerate_device] allocating
new device for 1/2 (session 258)
[ 0.009799] [7a4b] libusb: debug [linux_get_parent_info] dev
0x55ca7ffe4c90 (1-5) has parent 0x55ca7ffe4580 (usb1) port 5
[ 0.010001] [7a4b] libusb: debug [linux_get_device_address] getting
address for device: 1-5.2 detached: 0
[ 0.010016] [7a4b] libusb: debug [linux_get_device_address] scan 1-5.2
[ 0.010101] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=4
[ 0.010111] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
devaddr 4 session_id 260
[ 0.010122] [7a4b] libusb: debug [linux_enumerate_device] allocating
new device for 1/4 (session 260)
[ 0.010233] [7a4b] libusb: debug [linux_get_parent_info] dev
0x55ca7ffe5340 (1-5.2) has parent 0x55ca7ffe4c90 (1-5) port 2
[ 0.010571] [7a4b] libusb: debug [linux_get_device_address] getting
address for device: 1-6 detached: 0
[ 0.010591] [7a4b] libusb: debug [linux_get_device_address] scan 1-6
[ 0.010654] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=3
[ 0.010669] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
devaddr 3 session_id 259
[ 0.010680] [7a4b] libusb: debug [linux_enumerate_device] allocating
new device for 1/3 (session 259)
[ 0.010750] [7a4b] libusb: debug [linux_get_parent_info] dev
0x55ca7ffe5730 (1-6) has parent 0x55ca7ffe4580 (usb1) port 6
[ 0.010976] [7a4b] libusb: debug [linux_get_device_address] getting
address for device: 1-6.1 detached: 0
[ 0.010990] [7a4b] libusb: debug [linux_get_device_address] scan 1-6.1
[ 0.011072] [7a4b] libusb: debug [linux_get_device_address] bus=1 dev=5
[ 0.011083] [7a4b] libusb: debug [linux_enumerate_device] busnum 1
devaddr 5 session_id 261
[ 0.011096] [7a4b] libusb: debug [linux_enumerate_device] allocating
new device for 

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

2022-04-26 Thread Ralph Little

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_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_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


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

2022-04-26 Thread Alexander Pevzner

Hi Till,

On 4/26/22 22:22, Till Kamppeter wrote:
WSD (and also eSCL/AirScan) should also also work via USB. You simply 
need to install the ipp-usb package, either from your distro or from the 
Snap Store.


No, WSD doesn't work over USB. Only eSCL works.


--

Wishes, Alexander Pevzner (p...@apevzner.com)



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

2022-04-26 Thread Till Kamppeter
WSD (and also eSCL/AirScan) should also also work via USB. You simply 
need to install the ipp-usb package, either from your distro or from the 
Snap Store.


With this your printer/scanner gets available on localhost:6 (with 
your browser you get the web admin interface there) and with 
sane-airscan installed your device will get automatically found by 
frontends like simple-scan.


   Till

On 26/04/2022 20:18, Mark Dm wrote:

oops sorry I did not notice that one is USB only, so WSD will not work.

On Tue, Apr 26, 2022 at 11:14 AM Mark Dm > wrote:


You say you are using "official driver" but if this scanner is WSD
compliant, then try installing SANE-AirScan. It will not hurt to try.





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

2022-04-26 Thread Mark Dm
You say you are using "official driver" but if this scanner is WSD
compliant, then try installing SANE-AirScan. It will not hurt to try.

On Tue, Apr 26, 2022 at 2:06 AM jitesh pandey  wrote:

> Ok, thanks for reply, now take a look at the following, maybe you could
> find something into it
>
>
> *scanimage --list-devicesdevice `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] < [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] < [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
> [kyocera_gdi_a3] >>sane_exit
> [kyocera_gdi_a3] disconnect_scanner() : INFO : disconnected usb scanner
> device libusb:001:029
> [kyocera_gdi_a3] <
> I think there is problem in naming the scanner as it's not working with 
> *scanimage
> -d [devicename]*
> where devicename I have tried are kyocera, Kyocera_gdi_a3, Kyocera
> Taskalfa 1800, libusb:001:029 etc.
>
> On Mon, Apr 25, 2022 at 10:34 PM Ralph Little  wrote:
>
>> Hi,
>>
>> On Mon, Apr 25, 2022 at 12:27 AM jitesh pandey 
>> wrote:
>>
>>> Sorry for the late reply, the output of my (having Kyocera Taskalfa) is
>>> as follows:
>>>
>>> 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] <>> [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:071
>>> [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:071
>>> [kyocera_gdi_a3] sane_get_devices() : Kyocera scanners found 1
>>> [kyocera_gdi_a3] <>> device `kyocera_gdi_a3:libusb:001:071' is a Kyocera TASKalfa 1800
>>> multifunction device
>>> [kyocera_gdi_a3] >>sane_exit
>>> [kyocera_gdi_a3] disconnect_scanner() : INFO : disconnected usb scanner
>>> device libusb:001:071
>>> [kyocera_gdi_a3] <>>
>>> where the line *[kyocera_gdi_a3] disconnect_scanner() : INFO :
>>> disconnected usb scanner device libusb:001:071 *is the problem
>>> according to me.
>>>
>>
>> That all looks OK. scanimage -L will just probe for devices and list
>> those found.
>> Perhaps generate some diag output with SANE_DEBUG_KYOCERA_GDI_A3 from
>> scanimage when attempting to do a basic scan?
>>
>> Cheers,
>> Ralph
>>
>


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

2022-04-26 Thread Mark Dm
oops sorry I did not notice that one is USB only, so WSD will not work.

On Tue, Apr 26, 2022 at 11:14 AM Mark Dm  wrote:

> You say you are using "official driver" but if this scanner is WSD
> compliant, then try installing SANE-AirScan. It will not hurt to try.
>
> On Tue, Apr 26, 2022 at 2:06 AM jitesh pandey  wrote:
>
>> Ok, thanks for reply, now take a look at the following, maybe you could
>> find something into it
>>
>>
>> *scanimage --list-devicesdevice `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] <> [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] <> [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
>> [kyocera_gdi_a3] >>sane_exit
>> [kyocera_gdi_a3] disconnect_scanner() : INFO : disconnected usb scanner
>> device libusb:001:029
>> [kyocera_gdi_a3] <>
>> I think there is problem in naming the scanner as it's not working with 
>> *scanimage
>> -d [devicename]*
>> where devicename I have tried are kyocera, Kyocera_gdi_a3, Kyocera
>> Taskalfa 1800, libusb:001:029 etc.
>>
>> On Mon, Apr 25, 2022 at 10:34 PM Ralph Little  wrote:
>>
>>> Hi,
>>>
>>> On Mon, Apr 25, 2022 at 12:27 AM jitesh pandey 
>>> wrote:
>>>
 Sorry for the late reply, the output of my (having Kyocera Taskalfa) is
 as follows:

 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] <>>> [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:071
 [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:071
 [kyocera_gdi_a3] sane_get_devices() : Kyocera scanners found 1
 [kyocera_gdi_a3] <>>> device `kyocera_gdi_a3:libusb:001:071' is a Kyocera TASKalfa 1800
 multifunction device
 [kyocera_gdi_a3] >>sane_exit
 [kyocera_gdi_a3] disconnect_scanner() : INFO : disconnected usb scanner
 device libusb:001:071
 [kyocera_gdi_a3] <>>>
 where the line *[kyocera_gdi_a3] disconnect_scanner() : INFO :
 disconnected usb scanner device libusb:001:071 *is the problem
 according to me.

>>>
>>> That all looks OK. scanimage -L will just probe for devices and list
>>> those found.
>>> Perhaps generate some diag output with SANE_DEBUG_KYOCERA_GDI_A3 from
>>> scanimage when attempting to do a basic scan?
>>>
>>> Cheers,
>>> Ralph
>>>
>>


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

2022-04-26 Thread jitesh pandey
Ok, thanks for reply, now take a look at the following, maybe you could
find something into it


*scanimage --list-devicesdevice `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_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_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
[kyocera_gdi_a3] >>sane_exit
[kyocera_gdi_a3] disconnect_scanner() : INFO : disconnected usb scanner
device libusb:001:029
[kyocera_gdi_a3] < wrote:

> Hi,
>
> On Mon, Apr 25, 2022 at 12:27 AM jitesh pandey 
> wrote:
>
>> Sorry for the late reply, the output of my (having Kyocera Taskalfa) is
>> as follows:
>>
>> 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] <> [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:071
>> [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:071
>> [kyocera_gdi_a3] sane_get_devices() : Kyocera scanners found 1
>> [kyocera_gdi_a3] <> device `kyocera_gdi_a3:libusb:001:071' is a Kyocera TASKalfa 1800
>> multifunction device
>> [kyocera_gdi_a3] >>sane_exit
>> [kyocera_gdi_a3] disconnect_scanner() : INFO : disconnected usb scanner
>> device libusb:001:071
>> [kyocera_gdi_a3] <>
>> where the line *[kyocera_gdi_a3] disconnect_scanner() : INFO :
>> disconnected usb scanner device libusb:001:071 *is the problem according
>> to me.
>>
>
> That all looks OK. scanimage -L will just probe for devices and list those
> found.
> Perhaps generate some diag output with SANE_DEBUG_KYOCERA_GDI_A3 from
> scanimage when attempting to do a basic scan?
>
> Cheers,
> Ralph
>


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

2022-04-25 Thread Ralph Little
Hi,

On Mon, Apr 25, 2022 at 12:27 AM jitesh pandey  wrote:

> Sorry for the late reply, the output of my (having Kyocera Taskalfa) is as
> follows:
>
> 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] < [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:071
> [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:071
> [kyocera_gdi_a3] sane_get_devices() : Kyocera scanners found 1
> [kyocera_gdi_a3] < device `kyocera_gdi_a3:libusb:001:071' is a Kyocera TASKalfa 1800
> multifunction device
> [kyocera_gdi_a3] >>sane_exit
> [kyocera_gdi_a3] disconnect_scanner() : INFO : disconnected usb scanner
> device libusb:001:071
> [kyocera_gdi_a3] <
> where the line *[kyocera_gdi_a3] disconnect_scanner() : INFO :
> disconnected usb scanner device libusb:001:071 *is the problem according
> to me.
>

That all looks OK. scanimage -L will just probe for devices and list those
found.
Perhaps generate some diag output with SANE_DEBUG_KYOCERA_GDI_A3 from
scanimage when attempting to do a basic scan?

Cheers,
Ralph


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

2022-04-25 Thread jitesh pandey
Sorry for the late reply, the output of my (having Kyocera Taskalfa) is as
follows:

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_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:071
[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:071
[kyocera_gdi_a3] sane_get_devices() : Kyocera scanners found 1
[kyocera_gdi_a3] <>sane_exit
[kyocera_gdi_a3] disconnect_scanner() : INFO : disconnected usb scanner
device libusb:001:071
[kyocera_gdi_a3] <
wrote:

> This is the packaging of 2014. Back then we used ia32.I guess this model
> is not sold anymore. Since the source is no longer provided, it will not
> change.
>
>
> Le 22 avril 2022 21:42:44 GMT+02:00, Ralph Little  a
> écrit :
>>
>> Hi,
>>
>> On Fri, Apr 22, 2022 at 11:17 AM Thierry Huchard 
>> wrote:
>>
>>> Le 2022-04-22 18:19, Ralph Little a écrit :
>>> > Hi,
>>> On Linux Mint 20.3
>>>
>>>
>>> [20:11:38.072537] [dll] load: searching backend `kyocera_gdi_a3' in
>>> `/usr/lib/x86_64-linux-gnu/sane'
>>> [20:11:38.072549] [dll] load: trying to load
>>> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'
>>> [20:11:38.072980] [dll] load: couldn't open
>>> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1' (No such
>>> file or directory)
>>> [20:11:38.072993] [dll] load: couldn't find backend `kyocera_gdi_a3' (No
>>> such file or directory)
>>> [20:11:38.073004] [dll] load: searching backend `kyocera' in
>>> `/usr/lib/x86_64-linux-gnu/sane'
>>> [20:11:38.073014] [dll] load: trying to load
>>> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'
>>> [20:11:38.073156] [dll] load: couldn't open
>>> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1' (No such file or
>>> directory)
>>> [20:11:38.073167] [dll] load: couldn't find backend `kyocera' (No such
>>> file or directory)
>>> [20:11:38.073177] [dll] load: searching backend `xerox_mfp' in
>>> `/usr/lib/x86_64-linux-gnu/sane'
>>>
>>>
>>> # sudo ln -s /usr/lib/sane/libsane-kyocera*
>>> /usr/lib/x86_64-linux-gnu/sane/
>>>
>>> After the above command, the lib is found:
>>>
>>> [20:15:12.008132] [dll] load: searching backend `kyocera_gdi_a3' in
>>> `/usr/lib/x86_64-linux-gnu/sane'
>>> [20:15:12.008145] [dll] load: trying to load
>>> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'
>>> [20:15:12.008178] [dll] load: dlopen()ing
>>> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'
>>> [20:15:12.008390] [dll] init: initializing backend `kyocera_gdi_a3'
>>> [20:15:12.273300] [dll] init: backend `kyocera_gdi_a3' is version 1.0.1
>>> [20:15:12.273622] [dll] load: searching backend `kyocera' in
>>> `/usr/lib/x86_64-linux-gnu/sane'
>>> [20:15:12.273668] [dll] load: trying to load
>>> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'
>>> [20:15:12.273769] [dll] load: dlopen()ing
>>> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'
>>> [20:15:12.274162] [dll] init: initializing backend `kyocera'
>>> [20:15:12.282507] [dll] init: backend `kyocera' is version 1.0.1
>>> [20:15:12.282725] [dll] load: searching backend `xerox_mfp' in
>>> `/usr/lib/x86_64-linux-gnu/sane'
>>>
>>> Yes, I should have made it clearer that I saw this output from SANE as
>> well.
>> We really need to see if the kyocera backend diag can tell us anything
>> about the specific issue.
>>
>> Cheers,
>> Ralph
>>
> --
> Envoyé de mon appareil Android avec Courriel Ordissimo Mail. Veuillez
> excuser ma brièveté.
>


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

2022-04-22 Thread Thierry Huchard
This is the packaging of 
2014. Back then we used ia32.I guess this model is not sold anymore. Since the 
source is no longer provided, it will not change.


Le 22 avril 2022 21:42:44 GMT+02:00, Ralph Little  a écrit :
>Hi,dir="ltr" class="gmail_attr">On Fri, Apr 22, 2022 at 11:17 AM Thierry Huchard 
>mailto:thie...@ordissimo.com;>thie...@ordissimo.com 
>wrote:Le 2022-04-22 
>18:19, Ralph Little a écrit :
> Hi,
>On Linux Mint 20.3
>
>
>[20:11:38.072537] [dll] load: searching backend `kyocera_gdi_a3 in 
>`/usr/lib/x86_64-linux-gnu/sane
>[20:11:38.072549] [dll] load: trying to load 
>`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1
>[20:11:38.072980] [dll] load: couldnt open 
>`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1 (No such 
>file or directory)
>[20:11:38.072993] [dll] load: couldnt find backend `kyocera_gdi_a3 
>(No 
>such file or directory)
>[20:11:38.073004] [dll] load: searching backend `kyocera in 
>`/usr/lib/x86_64-linux-gnu/sane
>[20:11:38.073014] [dll] load: trying to load 
>`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1
>[20:11:38.073156] [dll] load: couldnt open 
>`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1 (No such file or 
>directory)
>[20:11:38.073167] [dll] load: couldnt find backend `kyocera (No such 
>
>file or directory)
>[20:11:38.073177] [dll] load: searching backend `xerox_mfp in 
>`/usr/lib/x86_64-linux-gnu/sane
>
>
># sudo ln -s /usr/lib/sane/libsane-kyocera*  
>/usr/lib/x86_64-linux-gnu/sane/
>
>After the above command, the lib is found:
>
>[20:15:12.008132] [dll] load: searching backend `kyocera_gdi_a3 in 
>`/usr/lib/x86_64-linux-gnu/sane
>[20:15:12.008145] [dll] load: trying to load 
>`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1
>[20:15:12.008178] [dll] load: dlopen()ing 
>`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1
>[20:15:12.008390] [dll] init: initializing backend `kyocera_gdi_a3
>[20:15:12.273300] [dll] init: backend `kyocera_gdi_a3 is version 1.0.1
>[20:15:12.273622] [dll] load: searching backend `kyocera in 
>`/usr/lib/x86_64-linux-gnu/sane
>[20:15:12.273668] [dll] load: trying to load 
>`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1
>[20:15:12.273769] [dll] load: dlopen()ing 
>`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1
>[20:15:12.274162] [dll] init: initializing backend `kyocera
>[20:15:12.282507] [dll] init: backend `kyocera is version 1.0.1
>[20:15:12.282725] [dll] load: searching backend `xerox_mfp in 
>`/usr/lib/x86_64-linux-gnu/sane
>Yes, I should have made it clearer that I saw this 
>output from SANE as well.We really need to see if the kyocera 
>backend diag can tell us anything about the specific 
>issue.Cheers,Ralph 
>

-- 
Envoyé de mon appareil Android avec Courriel Ordissimo Mail. Veuillez excuser 
ma brièveté.

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

2022-04-22 Thread Ralph Little
Hi,

On Fri, Apr 22, 2022 at 11:17 AM Thierry Huchard 
wrote:

> Le 2022-04-22 18:19, Ralph Little a écrit :
> > Hi,
> On Linux Mint 20.3
>
>
> [20:11:38.072537] [dll] load: searching backend `kyocera_gdi_a3' in
> `/usr/lib/x86_64-linux-gnu/sane'
> [20:11:38.072549] [dll] load: trying to load
> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'
> [20:11:38.072980] [dll] load: couldn't open
> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1' (No such
> file or directory)
> [20:11:38.072993] [dll] load: couldn't find backend `kyocera_gdi_a3' (No
> such file or directory)
> [20:11:38.073004] [dll] load: searching backend `kyocera' in
> `/usr/lib/x86_64-linux-gnu/sane'
> [20:11:38.073014] [dll] load: trying to load
> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'
> [20:11:38.073156] [dll] load: couldn't open
> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1' (No such file or
> directory)
> [20:11:38.073167] [dll] load: couldn't find backend `kyocera' (No such
> file or directory)
> [20:11:38.073177] [dll] load: searching backend `xerox_mfp' in
> `/usr/lib/x86_64-linux-gnu/sane'
>
>
> # sudo ln -s /usr/lib/sane/libsane-kyocera*
> /usr/lib/x86_64-linux-gnu/sane/
>
> After the above command, the lib is found:
>
> [20:15:12.008132] [dll] load: searching backend `kyocera_gdi_a3' in
> `/usr/lib/x86_64-linux-gnu/sane'
> [20:15:12.008145] [dll] load: trying to load
> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'
> [20:15:12.008178] [dll] load: dlopen()ing
> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'
> [20:15:12.008390] [dll] init: initializing backend `kyocera_gdi_a3'
> [20:15:12.273300] [dll] init: backend `kyocera_gdi_a3' is version 1.0.1
> [20:15:12.273622] [dll] load: searching backend `kyocera' in
> `/usr/lib/x86_64-linux-gnu/sane'
> [20:15:12.273668] [dll] load: trying to load
> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'
> [20:15:12.273769] [dll] load: dlopen()ing
> `/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'
> [20:15:12.274162] [dll] init: initializing backend `kyocera'
> [20:15:12.282507] [dll] init: backend `kyocera' is version 1.0.1
> [20:15:12.282725] [dll] load: searching backend `xerox_mfp' in
> `/usr/lib/x86_64-linux-gnu/sane'
>
> Yes, I should have made it clearer that I saw this output from SANE as
well.
We really need to see if the kyocera backend diag can tell us anything
about the specific issue.

Cheers,
Ralph


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

2022-04-22 Thread Thierry Huchard

Le 2022-04-22 18:19, Ralph Little a écrit :

Hi,

On Linux Mint 20.3


[20:11:38.072537] [dll] load: searching backend `kyocera_gdi_a3' in 
`/usr/lib/x86_64-linux-gnu/sane'
[20:11:38.072549] [dll] load: trying to load 
`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'
[20:11:38.072980] [dll] load: couldn't open 
`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1' (No such 
file or directory)
[20:11:38.072993] [dll] load: couldn't find backend `kyocera_gdi_a3' (No 
such file or directory)
[20:11:38.073004] [dll] load: searching backend `kyocera' in 
`/usr/lib/x86_64-linux-gnu/sane'
[20:11:38.073014] [dll] load: trying to load 
`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'
[20:11:38.073156] [dll] load: couldn't open 
`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1' (No such file or 
directory)
[20:11:38.073167] [dll] load: couldn't find backend `kyocera' (No such 
file or directory)
[20:11:38.073177] [dll] load: searching backend `xerox_mfp' in 
`/usr/lib/x86_64-linux-gnu/sane'



# sudo ln -s /usr/lib/sane/libsane-kyocera*  
/usr/lib/x86_64-linux-gnu/sane/


After the above command, the lib is found:

[20:15:12.008132] [dll] load: searching backend `kyocera_gdi_a3' in 
`/usr/lib/x86_64-linux-gnu/sane'
[20:15:12.008145] [dll] load: trying to load 
`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'
[20:15:12.008178] [dll] load: dlopen()ing 
`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera_gdi_a3.so.1'

[20:15:12.008390] [dll] init: initializing backend `kyocera_gdi_a3'
[20:15:12.273300] [dll] init: backend `kyocera_gdi_a3' is version 1.0.1
[20:15:12.273622] [dll] load: searching backend `kyocera' in 
`/usr/lib/x86_64-linux-gnu/sane'
[20:15:12.273668] [dll] load: trying to load 
`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'
[20:15:12.273769] [dll] load: dlopen()ing 
`/usr/lib/x86_64-linux-gnu/sane/libsane-kyocera.so.1'

[20:15:12.274162] [dll] init: initializing backend `kyocera'
[20:15:12.282507] [dll] init: backend `kyocera' is version 1.0.1
[20:15:12.282725] [dll] load: searching backend `xerox_mfp' in 
`/usr/lib/x86_64-linux-gnu/sane'





On Fri, Apr 22, 2022 at 4:06 AM jitesh pandey 
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@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_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] 

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

2022-04-22 Thread Ralph Little
Hi,


On Fri, Apr 22, 2022 at 4:06 AM jitesh pandey  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@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_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_exit
[kyocera] <>sane_init
[kyocera_gdi_a3] sane_init() : Kyocera backend (build 1), version != null,
authorize != null
[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_exit
[kyocera_gdi_a3] <

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

2022-04-22 Thread Thierry Huchard
Hi
it is possible that it is 
necessary to put the packages in form, it dates from 2014...

Thierry


Le 22 avril 2022 17:34:58 GMT+02:00, Thierry Huchard  a 
écrit :
>
>  
>
>  
>  https://www.kyoceradocumentsolutions.fr/fr/support/downloads.html.name-L2ZyL2ZyL21mcC9UQVNLQUxGQTE4MDA=.html
>Le 22 avril 2022 16:29:46 GMT+02:00, Ralph 
>Little skelb...@gmail.com a écrit :style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 
>padding-left: 1ex;">
>
>Hi,
>
>On 2022-04-22 03:35, jitesh pandey
>  wrote:
>
> cite="mid:CAHqqP9NvkFXeDJJcdFwN5ZwpGaRp=ibwpa50nrs8by-rmz_...@mail.gmail.com">
>  
>  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.
>  
>
>
>Could you point me to the download itself? I can't find anything on
>their website for Taskalfa 1800.
>
> cite="mid:CAHqqP9NvkFXeDJJcdFwN5ZwpGaRp=ibwpa50nrs8by-rmz_...@mail.gmail.com">
>  
>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.
>  
>
>
>When you say no success, do you mean that you got no output?
>
>Cheers,
>Ralph
>  
>class='k9mail-signature'>-- Envoyé de mon appareil Android avec Courriel 
>Ordissimo Mail. Veuillez excuser ma brièveté.

-- 
Envoyé de mon appareil Android avec Courriel Ordissimo Mail. Veuillez excuser 
ma brièveté.

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

2022-04-22 Thread Thierry Huchard
https://www.kyoceradocumentsolutions.fr/fr/support/downloads.html.name-L2ZyL2ZyL21mcC9UQVNLQUxGQTE4MDA=.html


Le 22 avril 2022 16:29:46 GMT+02:00, Ralph Little  a écrit :
>
>  
>
>  
>  
>Hi,
>
>On 2022-04-22 03:35, jitesh pandey
>  wrote:
>
>cite="mid:CAHqqP9NvkFXeDJJcdFwN5ZwpGaRp=ibwpa50nrs8by-rmz_...@mail.gmail.com">
>  
>  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.
>  
>
>
>Could you point me to the download itself? I can't find anything on
>their website for Taskalfa 1800.
>
>cite="mid:CAHqqP9NvkFXeDJJcdFwN5ZwpGaRp=ibwpa50nrs8by-rmz_...@mail.gmail.com">
>  
>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.
>  
>
>
>When you say no success, do you mean that you got no output?
>
>Cheers,
>Ralph
>  
>

-- 
Envoyé de mon appareil Android avec Courriel Ordissimo Mail. Veuillez excuser 
ma brièveté.

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

2022-04-22 Thread Ralph Little

Hi,

On 2022-04-22 03:35, jitesh pandey 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*.


Could you point me to the download itself? I can't find anything on 
their website for Taskalfa 1800.




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.


When you say no success, do you mean that you got no output?

Cheers,
Ralph

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

2022-04-22 Thread jitesh pandey
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.

Also tried using strace but I got nothing from it the main part of it is
posting along with which I suppose is the reason

clone(child_stack=0x7f591618feb0,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tid=[25288], tls=0x7f5916190640, child_tidptr=0x7f5916190910) = 25288
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=10}, NULL) = 0
clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=20}, NULL) = 0
futex(0x7f59161f07c8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0,
NULL, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7f59161cc480, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x7f59161cc480, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x7f59161cc480, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x7f59161cc480, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x7f59161cc480, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource
temporarily unavailable)
futex(0x7f59161cc480, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f59161f07cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0,
NULL, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7f59161cc480, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f59161f07c8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0,
NULL, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7f59161cc480, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f59161f07cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0,
NULL, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7f59161cc480, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f59161f07c8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0,
NULL, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7f59161cc480, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f59161f07cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0,
NULL, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7f59161cc480, FUTEX_WAKE_PRIVATE, 1) = 0
timerfd_settime(4, TFD_TIMER_ABSTIME, {it_interval={tv_sec=0, tv_nsec=0},
it_value={tv_sec=24600, tv_nsec=210957754}}, NULL) = 0
ioctl(8, USBDEVFS_SUBMITURB, 0x5576c0fd1cb0) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8,
events=POLLOUT}], 3, 6) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\0\0\0\0\0\0\0", 8)  = 8
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8,
events=POLLOUT}], 3, 6) = 1 ([{fd=8, revents=POLLOUT}])
ioctl(8, USBDEVFS_REAPURBNDELAY, 0x7ffc7f7b6760) = 0
timerfd_settime(4, 0, {it_interval={tv_sec=0, tv_nsec=0},
it_value={tv_sec=0, tv_nsec=0}}, NULL) = 0
ioctl(8, USBDEVFS_REAPURBNDELAY, 0x7ffc7f7b6760) = -1 EAGAIN (Resource
temporarily unavailable)
write(2, "scanimage: open of device kyocer"..., 81scanimage: open of device
kyocera_gdi_a3:libusb:001:019 failed: Invalid argument
) = 81
ioctl(8, USBDEVFS_RELEASEINTERFACE, 0x7ffc7f7b6ad4) = 0
write(3, "\1\0\0\0\0\0\0\0", 8) = 8
close(8)= 0

I am getting desperate as nothing is working with me.