Hi all,

On my Fedora Core 5 system, xsane 0.99 in standalone mode works fine
with my scanner; it also works fine from within gimp v2.2.10. But when I
launch it from within gimp v2.3.7, I get a peculiar error message:

 Failed to open device `gimp':
 Invalid argument

Thinking it was a gimp error, I filed a bug report in
bugzilla.gnome.org, but a gimp developer closed it with the comment:

------- Comment #1 from [email protected]  2006-04-06 08:21 UTC -------
Please report this problem to the xsane developers. If it turns out that there
is indeed an incompatibility of the plug-in API, the xsane developers can file
a bug-report against gimp.

Can anyone here help me sort this problem out? Thanks.

--
  Colin Brace
  Amsterdam
From [email protected]  Thu Apr  6 19:25:04 2006
From: [email protected] (Giuseppe Sacco)
Date: Thu Apr  6 19:25:44 2006
Subject: [sane-devel] fujitsu fi-4120c2 problems
Message-ID: <1144351504.3018.10.camel@localhost>

Hi all,
today I have been working with a fi-4120c2 scanner. I used my sane
1.0.17 (debian package 1.0.17-1) but I coundn't scan any page.
I was working on a powerc linux 2.6.16.

sane-find-scanner found the scanner, while scanimage -L did not.

My command line for scanning was:

$ sudo env SANE_DEBUG_SANEI_USB=255 SANE_DEBUG_FUJITSU=255 \
  scanimage  -d fujitsu:libusb:002:010 >immagine 2>log

and the process was looping. I killed it after one minute since the ADF
wasn't loading the sheet.

The log file is like this:

[fujitsu] *** Read CSW
[fujitsu]
[fujitsu] do_usb_cmd: returning 0 bytes:
[fujitsu] wait_scanner
[fujitsu] test_unit_ready
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] <cmd<
[fujitsu] 000: 00 00 00 00 00 00
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
C...............
[sanei_usb] 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00    ................
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 0 bytes
[fujitsu] wrote 0 bytes
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes
[sanei_usb] sanei_usb_write_bulk: trying to write 31 bytes
[sanei_usb] 0000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
C...............
[sanei_usb] 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00    ................
[sanei_usb] sanei_usb_write_bulk: wanted 31 bytes, wrote 0 bytes
[fujitsu] wrote 0 bytes
[fujitsu] *** URB going out:
[fujitsu] 000: 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] 010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[fujitsu] try to write 31 bytes

with the last lines showing the endless loop. The complete log is
available at
http://eppesuigoccas.homedns.org/~giuseppe/sane-1.0.17-fi4120c2.log.bz2

Anyone knows how to workaround or fix the problem?

Thanks,
Giuseppe

Reply via email to