LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2022, 10:28 AM   #1
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Rep: Reputation: Disabled
Kyocera Scanner not working in any Linux Distro


I have Kyocera Taskalfa 1800 MFP which I am configuring as 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 library in sane (libsane_kyocera_gdi_a3) as well as usb manually and through udev. I have tried to debug using
Code:
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
Code:
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=100000}, NULL) = 0
clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=200000}, 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, 60000) = 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, 60000) = 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.
 
Old 04-17-2022, 10:45 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
Quote:
Although sane website is showing nothing like this printer I have downloaded the sane library for scanner from the official website
Is this the manufacturer's Kyocera_SANE_v1.1.0228.zip Linux Scanner driver?

Last edited by allend; 04-19-2022 at 04:35 AM. Reason: Edited incorrect lnk
 
Old 04-17-2022, 10:50 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,893

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
https://www.kyoceradocumentsolutions.../index_en.html
you can select here your printer and linux driver download, although I have no idea if you have made it already
this error message looks like a compatibility issue (or config?) not a simple permission.
did you try to get official support?

@allend, your link is incorrect, here is it again:
https://dlc.kyoceradocumentsolutions...1800._.EN.html

Last edited by pan64; 04-17-2022 at 10:51 AM.
 
Old 04-17-2022, 01:13 PM   #4
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
Thanks for so quick reply. Tried both of the drivers you cannot make it run
 
Old 04-17-2022, 02:05 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,650

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by jiteshpandey View Post
Thanks for so quick reply. Tried both of the drivers you cannot make it run
Interesting; especially since you said you already HAD it working previously:
https://www.linuxquestions.org/quest...er-4175666690/

...with having pretty much the same error you posted three years ago. Just a different USB port.

Last edited by TB0ne; 04-17-2022 at 05:29 PM.
 
Old 04-17-2022, 09:00 PM   #6
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
Yes that was working with deleting default udev config file but now nothing is working again
 
Old 04-18-2022, 01:22 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,893

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
Quote:
Originally Posted by jiteshpandey View Post
Yes that was working with deleting default udev config file but now nothing is working again
in that case it is probably an udev rule related issue. The official installation should set it up correctly, but we have no any information about that, so cannot help on that.
 
Old 04-18-2022, 09:02 PM   #8
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
So is there any way I can find out whats the library is trying to access which I can modify in order to make it work
 
Old 04-19-2022, 12:27 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,893

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
libusb:001:019 this is what the library trying to access, but it is not a valid/usable device.
 
1 members found this post helpful.
Old 04-19-2022, 07:54 AM   #10
jiteshpandey
Member
 
Registered: Oct 2017
Posts: 58

Original Poster
Rep: Reputation: Disabled
And how to make is usable/valid
 
Old 04-19-2022, 08:12 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,650

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by jiteshpandey View Post
And how to make is usable/valid
Since you claim to have had this working in the past, have you gone through those steps again??? And have you just tried plugging this in to a different USB port?? Maybe a USB 2 port, instead of 3 or vice/versa?? 4
 
  


Reply

Tags
sane, scanner, strace, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Canon Pixma MG6600 Color Printer/Scanner ~ scanner not working bobbypee47 Linux - Hardware 14 12-25-2017 10:00 PM
Linux vs Kyocera KPC650 EVDO Card JHoward001 Linux - Kernel 1 11-18-2006 09:56 AM
Linux vs Kyocera KPC650 EVDO Card JHoward001 Linux - Newbie 0 10-31-2006 12:14 PM
Kyocera 7135 on Linux DrSkeezix Linux - Hardware 1 03-04-2006 09:47 PM
Well looks like Kyocera Hates LINUX!!!! kcox920 Linux - Hardware 1 12-30-2003 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration