Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner [SOLVED]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
earshot
Level 1
Level 1
Posts: 6
Joined: Wed Aug 17, 2016 5:55 am

Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner [SOLVED]

Post by earshot »

After upgrading to Mint 20 my scanner ends with an error: Failed to Scan
Simple Scan: Error Communicating with scanner.
Xsane: Error during read: Error during device I/O.
It still works fine under Mint 19.3 (I have a dual boot).

My system:
Release Linux Mint 20 Ulyana 64-bit
Kernel Linux 5.4.0-42-generic x86_64
MATE 1.24.0

$ lsusb
Bus 002 Device 002: ID 04a9:1907 Canon, Inc. CanoScan LiDE 700F
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 004: ID 062a:0000 MosArt Semiconductor Corp. Optical mouse
Bus 008 Device 003: ID 046d:c30e Logitech, Inc. UltraX Keyboard (Y-BL49)
Bus 008 Device 002: ID 0409:55ab NEC Corp. Hub [iMac/iTouch kbd]
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ scanimage -L
device `genesys:libusb:002:002' is a Canon LiDE 700F flatbed scanner

I also tried on a different computer with a fresh Mint 20 Cinnamon with the same result.

The scanner seems to work (I can even save the scan) with simple scan, but xsane clears the result after the error.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner

Post by brian_p »

Try sane-airscan;

https://github.com/alexpevzner/sane-airscan
https://download.opensuse.org/repositor ... .04/amd64/

If it works, I would very much like the output of

Code: Select all

scanimage -L
--
Brian.
earshot
Level 1
Level 1
Posts: 6
Joined: Wed Aug 17, 2016 5:55 am

Re: Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner

Post by earshot »

Thanks but no changes, same results after installing sane-airscan.
BTW: scanimage no longer works after the install of sane-airscan because sane-utils is no longer installed but after reinstall the output remains the same.
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner

Post by brian_p »

earshot wrote: Sat Jul 25, 2020 1:39 pm Thanks but no changes, same results after installing sane-airscan.
BTW: scanimage no longer works after the install of sane-airscan because sane-utils is no longer installed but after reinstall the output remains the same.
The reason I sugested sane-airscan was because I made the assumption that your LiDE 700F understood the IPP-over-USB protocol and ippusbxd was running. Perhaps I was wrong to assume this, but, to satisfy my curiosity, would you please give the outputs of

Code: Select all

systemctl list-units "ippusbxd*" | grep service

Code: Select all

lsusb -v | grep -A 4 bInterfaceClass.*7
--
Brian.
earshot
Level 1
Level 1
Posts: 6
Joined: Wed Aug 17, 2016 5:55 am

Re: Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner

Post by earshot »

$ systemctl list-units "ippusbxd*" | grep service

$ lsusb -v | grep -A 4 bInterfaceClass.*7
can't get debug descriptor: Resource temporarily unavailable
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing

Output of lsusb -v for the scanner:
Bus 002 Device 002: ID 04a9:1907 Canon, Inc. CanoScan LiDE 700F
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x04a9 Canon, Inc.
idProduct 0x1907 CanoScan LiDE 700F
bcdDevice 6.03
iManufacturer 1 Canon
iProduct 2 CanoScan
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0027
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 8
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
brian_p
Level 9
Level 9
Posts: 2702
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner

Post by brian_p »

On Mint 20 ippusbxd is started automatically when an IPP-over-USB device is detected. The empty output from systemctl list-units "ippusbxd*" | grep service indicates that the LiDE 700F is not an IPP-over-USB device. Guessing isn't good :( .

The SANE genesys backend appears to be the only way of scanning. All I can suggest as a way of moving you on is

https://launchpad.net/~rolfbensch/+arch ... u/sane-git
--
Brian.
earshot
Level 1
Level 1
Posts: 6
Joined: Wed Aug 17, 2016 5:55 am

Re: Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner

Post by earshot »

I installed the update from the repository, that seems to have fixed the problems, Thanks.
Davido
Level 1
Level 1
Posts: 2
Joined: Fri Jul 02, 2021 10:06 am

Re: Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner [SOLVED]

Post by Davido »

Hi,
I have the same problem. What update did you install to fix the issue? I've gone to update manager and it confirms "your system is up to date" but I still receive the error with Mint 20 and Canon LIDE 700F.

If you can help that would be great thanks.
earshot
Level 1
Level 1
Posts: 6
Joined: Wed Aug 17, 2016 5:55 am

Re: Mint 20 Canon LiDE 700F Failed to Scan: Error Communicating with scanner [SOLVED]

Post by earshot »

You need to add the update from the PPA.
The previous link does not work anymore, here is the new version
https://launchpad.net/~sane-project/+ar ... ne-release
Follow the instructions "Adding this PPA to your system"
Locked

Return to “Printers & Scanners”