[Solved] Error & Invalid Argument Messages

Forum rules
Before you post please read this
Post Reply
User avatar
MadMAUL
Level 1
Level 1
Posts: 22
Joined: Thu Feb 14, 2019 2:31 am

[Solved] Error & Invalid Argument Messages

Post by MadMAUL »

I've been using my Canon MG6620 for printing over wifi & it works pretty well. I wanted to scan some things today & tried a few different software in the software manager. I'm currently using gscan2pdf. I was able to get some scanning done at first with some annoying messages but now all I can get is "Error during device I/O" the first time I try to scan & when I try again I get "Invalid Argument" & I have to go power cycle the printer because it's stuck in an endless scanning cycle that never happens. My firewall is currently turned off.
How can I fix this issue? I'm using Linux Mint 19 Cinnamon.
Last edited by MadMAUL on Tue Mar 05, 2019 1:38 pm, edited 1 time in total.
brian_p
Level 6
Level 6
Posts: 1362
Joined: Thu Jan 17, 2019 9:20 am

Re: Error & Invalid Argument Messages

Post by brian_p »

Read the manual and look for MG6600.

Code: Select all

man sane-pixma
Then see what

Code: Select all

sane-find-scanner
and

Code: Select all

scanimage -L
give when the machine is on USB.
--
Brian.
User avatar
MadMAUL
Level 1
Level 1
Posts: 22
Joined: Thu Feb 14, 2019 2:31 am

Re: Error & Invalid Argument Messages

Post by MadMAUL »

Thanks for the commands. Yeah, the MG6600 series isn't listed under

Code: Select all

man sane-pixma

Code: Select all

 Currently, the following models work with this backend:

              PIXMA E510
              PIXMA G2000, G2100
              PIXMA MG2100, MG2200, MG2400, MG2500, MG2900, MG3100, MG3200
              PIXMA MG3500, MG3600, MG4200, MG5100, MG5200, MG5300, MG5400
              PIXMA MG5500, MG5600, MG5700, MG6100, MG6200, MG6300, MG6400
              PIXMA MG7100, MG7500, MG7700, MG8200
I have used it to scan a few things but it's really touchy & is nowhere near reliable.
Last edited by MadMAUL on Thu Feb 28, 2019 6:01 pm, edited 1 time in total.
brian_p
Level 6
Level 6
Posts: 1362
Joined: Thu Jan 17, 2019 9:20 am

Re: Error & Invalid Argument Messages

Post by brian_p »

I am a little lost. On my Mint 19.1 the manual lists the MG6600 but basically says it may or may not work. I neither wish to raise nor diminish your hopes, but there is a discrepancy here.
--
Brian.
User avatar
MadMAUL
Level 1
Level 1
Posts: 22
Joined: Thu Feb 14, 2019 2:31 am

Re: Error & Invalid Argument Messages

Post by MadMAUL »

You are correct. "May or may not" :).

Code: Select all

The  following  models  may use the same Pixma protocol as those listed
       above, but have not yet been  reported  to  work  (or  not).  They  are
       declared  in  the  backend  so  that they get recognized and activated.
       Feedback in the sane-devel mailing list welcome.

              PIXMA E400, E410, E460, E470, E480, E500, E560, E600
              PIXMA E610, E3100
              PIXMA MG3000, MG4100, MG6500, MG6600, MG6800, MG6900, MG8100
              PIXMA MP375R, MP493, MP495, MP740
              PIXMA MX320, MX390, MX430, MX450, MX490, MX710
              PIXMA G3000, G4000
              PIXMA TR7500, TR8500, TS5100, TS6000, TS9000, TS9100, TS9500
              PIXUS MP5
              imageCLASS MF810/820, MF5630, MF5650, MF5750, MF8170c
              imageCLASS MPC190, D550, D570
              i-SENSYS MF220, MF410, MF630, MF5880dn, MF5900
              i-SENSYS MF6680dn, MF8500C
              MAXIFY MB5100, MB5300, MB5400
brian_p
Level 6
Level 6
Posts: 1362
Joined: Thu Jan 17, 2019 9:20 am

Re: Error & Invalid Argument Messages

Post by brian_p »

So now you put the device on USB and do

Code: Select all

sane-find-scanner
and

Code: Select all

scanimage -L
and let us know what you get.
--
Brian.
User avatar
MadMAUL
Level 1
Level 1
Posts: 22
Joined: Thu Feb 14, 2019 2:31 am

Re: Error & Invalid Argument Messages

Post by MadMAUL »

Alright. Give me a bit to try that.

Code: Select all

sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc52b at 001:003: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc52b at 001:002: Access denied (insufficient permissions)
found USB scanner (vendor=0x04a9 [Canon], product=0x177e [MG6600 series]) at libusb:001:005
could not open USB device 0x26e3/0x106c at 001:004: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

Code: Select all

scanimage -L
device `pixma:04A9177E_A083E4' is a CANON Canon PIXMA MG6600 Series multi-function peripheral
Just tried Simple Scan & Gscan2pdf, both worked first try & much faster when connected USB.
Third try with gscan2pdf I got this message - "Error processing with tesseract: Image too small to scale!! (3x36 vs min width of 3)
Line cannot be recognized!!" I assume this is just a gscan2pdf thing as it looks like it scanned successfully.
brian_p
Level 6
Level 6
Posts: 1362
Joined: Thu Jan 17, 2019 9:20 am

Re: Error & Invalid Argument Messages

Post by brian_p »

Just tried Simple Scan & Gscan2pdf, both worked first try & much faster when connected USB.
Third try with gscan2pdf I got this message - "Error processing with tesseract: Image too small to scale!! (3x36 vs min width of 3)
Line cannot be recognized!!" I assume this is just a gscan2pdf thing as it looks like it scanned successfully.
You now know the scanner works on USB. This was the object of the exercise - to eliminate anything network related. Recheck its operation using xsane and with
scanimage > image.pnm
When you are fully satisfied, you could now put the device back on the network (after reading the "NETWORKING SUPPORT" section in the manual) and see how it goes.
--
Brian.
User avatar
MadMAUL
Level 1
Level 1
Posts: 22
Joined: Thu Feb 14, 2019 2:31 am

Re: Error & Invalid Argument Messages

Post by MadMAUL »

Well, thanks for getting me off my keister to try it. I really didn't want to bring it in the same room as my computer but now that it's in here I think I'll complete all my scanning tasks the next few days, return it to the other room, then try & see if it works consistently on wifi. I won't be scanning regularly but when I do I want it to work.
Post Reply

Return to “Printers & Scanners”