[sane-devel] Re: AGFA Snapscan 1236s possible conflict

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 13 Mar 2002 20:17:41 +0100


Hi,

On Wed, Mar 13, 2002 at 06:28:02PM +0000, Richard Davies wrote:
> SANE_DEBUG_SNAPSCAN=255 scanimage -L
> 
> [sanei_debug] Setting debug level of snapscan to 255.
> [snapscan] sane_snapscan_init
> [snapscan] sane_snapscan_init: Snapscan backend version 1.4.7
> [snapscan] add_device(/dev/sg0)
> [snapscan] add_device: Detected (kind of) a SCSI device
> [snapscan] mini_inquiry
> [snapscan] snapscan_cmd
> [snapscan] add_device: Is vendor "LITE-ON" model "LTR-12101B" a supported 
> scanner?
> [snapscan] add_device: "LITE-ON LTR-12101B" is not one of AGFA SnapScan 300, 
> 310, 600, 1212, 1236, e20, e25, e26, e40, e42, e50, e52 or e60
> Acer 300, 310, 610, 610+, 620, 620+, 640, 1240, 3300, 4300 or 5300
> Guillemot MaxiScan A4 Deluxe
> [snapscan] sane_snapscan_get_devices (0xbffff2e8, 0)

Looks like you try to scan from the CD (/dev/sg0) :-)

> Removed the CD Burner and now get.

Did you reboot? Then your scanner will be /dev/sg0 after the reboot.
That's why it is detected mow:

> [snapscan] add_device(/dev/sg0)
> [snapscan] add_device: Detected (kind of) a SCSI device
> [snapscan] mini_inquiry
> [snapscan] snapscan_cmd
> [snapscan] add_device: Is vendor "AGFA" model "SNAPSCAN 1236" a supported 
> scanner?
> [snapscan] snapscani_get_model_id(SNAPSCAN 1236, 4, 1)
> [snapscan] sane_snapscan_get_devices (0xbffff328, 0)
> device `snapscan:/dev/sg0' is a AGFA SNAPSCAN 1236 flatbed scanner

> Replace the CD and the scanner has gone.
> Sane-find-scanner will always find the scanner irrespective of the presence 
> of the CD.

The snapscan backend only looks for the device mentioned in
snapscan.conf. I don't know if this is supported by this backend but
you could try to add both devices to snapscan.conf. Or use something
like "scsi AGFA" in snapscan.conf.

Bye,
  Henning