Gnome Scan fails to find USB scanner with 'The scan backend returned the following error: Invalid argument'

Bug #312097 reported by swulf
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

Attempting to use Gnome Scan (0.4.1-0ubuntu4) with a Canon CanoScan LIDE 25 USB scanner results in the following error after Gnome Scan goes through its 'Probing devices' phase.

'An error occured while accessing device !
The scan backend returned the following error: Invalid argument'

The scanner is recognized by the Lenovo W500 laptop:

$ scanimage -L
device `v4l:/dev/video0' is a Noname UVC Camera (17ef:4807) virtual device
device `plustek:libusb:005:003' is a Canon CanoScan LiDE25 flatbed scanner
$

Using scanimage directly appears to use the wrong device by default:

$ scanimage
scanimage: open of device v4l:/dev/video0 failed: Invalid argument
$

Some sort of scan can be made manually (although I haven't properly adjusted settings etc.):

$ scanimage -d plustek:libusb:005:003 --format=tiff >test.tiff

This controls the scanner and produces a scanned .tiff image.

I am using Ubuntu 8.10.

I modified the file /etc/sane.d/plustek.conf to identify the scanner properly - see attached.

PS I am selecting 'I don't know' for the package containing the bug because I get an error on submission of this report saying "gnome-scan" does not exist in Ubuntu. Please choose a different package. If you're unsure, please select "I don't know".

Revision history for this message
swulf (swulf) wrote :
Revision history for this message
Étienne BERSAC (bersace) wrote :

Hi,

Please upgrade ot 0.6.1 available on my PPA. Also, please post debug output ($ flegita > log)

Regards,
Étienne

Revision history for this message
FokkerCharlie (charlie-andrews) wrote :

I am also seeing this problem, v 0.4.1. Do you have an apt-line for your PPA for us to try?

Scanner is an all-in-one HP4180, works fine in XSane.

Cheers
Charlie

Revision history for this message
FokkerCharlie (charlie-andrews) wrote :

Ah! Found the details here:

https://launchpad.net/~bersace/+archive/ppa

Works fine now with my setup. Nice one! Is there a plan to add native support for jpg and pdf types?

Charlie

Revision history for this message
mavosaure (mavosaure) wrote :

Hi!

Using Intrepid, I've got exactly the same problem with a multifunction printer & scan HP C5280.
Notice that I'm using a laptop (Dell studio 17) with an integrated webcam.
XSane works without anuy problem.

gnomescan: 0.4.1-0ubuntu4

:~$ scanimage -L
device `v4l:/dev/video0' is a Noname Laptop_Integrated_Webcam_2M virtual device
device `hpaio:/usb/Photosmart_C5200_series?serial=MY88SG215C0559' is a Hewlett-Packard Photosmart_C5200_series all-in-one

:~$ scanimage
scanimage: open of device v4l:/dev/video0 failed: Invalid argument.

Note although that this bug seems to be a duplicate from the #217753
https://bugs.launchpad.net/ubuntu/+source/gnomescan/+bug/217753

I'll try the PPA and I'll give feedback.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.