|
Bugzilla – Full Text Bug Listing |
| Summary: | Acer/Benq USB scanner not working | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Alexander Lavrinenko <lavrinenko_alex> |
| Component: | Other | Assignee: | Johannes Meixner <jsmeix> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Alpha 1 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Debug log according to given howto | ||
|
Description
Alexander Lavrinenko
2005-10-21 12:04:34 UTC
You reported a problem for Suse Linux 10.1 alpha1. Did it work for Suse Linux 10.0 (or 9.3)? How did you install 10.1? Was it a new installation from scratch or a complete update from which previous version or only a partial update of which exact packages? See http://portal.suse.com/sdb/en/2004/10/jsmeix_scanner-setup-92.html "Trouble-Shooting (Debugging)" and attach the different debug outputs as different plain text attachments to this bug. This was new install at the PC which had never had before Linux on it. This scanner works well in windows with drivers available from ftp.acer.ru. Right now I don't have access to hardware, I will post debug outputs tomorrow. Created attachment 55174 [details]
Debug log according to given howto
Next time please read the instructions more carefully:
export SANE_DEBUG_backend=128
is useless.
Regardless of the missing log for the backend, it is no problem
in the SANE software but a USB problem because for some time
USB I/O works but then for an unknown reason there is a USB I/O
error and "sanei_usb" reports:
--------------------------------------------------------------------
[sanei_usb] sanei_usb_read_bulk: trying to read 8 bytes
[sanei_usb] sanei_usb_read_bulk: read failed:
Resource temporarily unavailable
scanimage: open of device snapscan:libusb:001:018 failed:
Error during device I/O
--------------------------------------------------------------------
The matching source code in sanei/sanei_usb.c is:
---------------------------------------------------------------------------
sanei_usb_read_bulk
...
if (read_size < 0)
{
DBG (1, "sanei_usb_read_bulk: read failed: %s\n", strerror (errno));
---------------------------------------------------------------------------
I don't know why EAGAIN (i.e. "Resource temporarily unavailable")
happens on your system.
What is worse is that a subsequent try doesn't work for you
i.e. in your case the resource has become permanently unavailable.
Only a guess:
The error happens after sanei_usb_write_bulk successfully wrote
30246 bytes.
I assume this is the firmware which is uploaded to your scanner.
It seems after the firmware upload your scanner has become unavailable.
Are you sure that you use the exact right firmware for your scanner?
Note that we cannot help you here because we don't have such a scanner.
Try the following:
A)
Use the scanner under Windows (i.e. scan something).
This will make sure that the Windows driver uploads the firmware.
Keep the scanner switched on and boot Linux.
Change /etc/sane.d/snapscan.conf not to upload any firmware.
Do the above test (scanimage -d snapscan:libusb:xxx:yyy -T).
B)
Switch the scanner and the comuter completely off the power
(i.e. disconnect any power supply).
This should make sure that both the scanner and the USB hardware
are in a clean state.
Boot Linux.
Change /etc/sane.d/snapscan.conf to upload the firmware.
Do the above test (scanimage -d snapscan:libusb:xxx:yyy -T).
Well, seems that ths piece of hardware works very unreliable. I'm closing this ticket - it sometimes works, and tends to fail most of time even under Win. |