[sane-devel] scanner.c: read_scanner(0): funky result:-75

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 28 May 2002 20:21:34 +0200


Hi,

On Tue, May 28, 2002 at 01:58:47PM +0100, Major A wrote:
> > scanner.c: open_scanner(6): Unable to access minor data
> > scanner.c: open_scanner(7): Unable to access minor data
> 
> I had this recently with an EPSON USB scanner. Reason: flaky USB
> contact on the PC side.

Usually this means that sanei_usb_find_devices was called. This
function checks all /dev/usb/scanner? and /dev/usbscanner? devices. If
the device file exists but doesn't represent a scanner, the Linux
scanner module prints these warnings. E.g. if /dev/usbscanner0 and
/dev/usbscanner1 exists but only one scanner is connected to the
computer a warning like this will be printed:

scanner.c: open_scanner(1): Unable to access minor data

So this will happen everytime scanimage -L is called, at least with
newer versions of the Linux scanner driver.

Bye,
  Henning