Re: Problem with SANE and SCSI scanner

Laura DeWitt (cats-rule@home.net)
Thu, 25 Nov 1999 15:27:09 -0600

Thanks for your help Manuel.

-------------------------------------

sh-2.03$ export SANE_DEBUG_SANEI=128
sh-2.03$ export SANE_DEBUG_CANON=128
sh-2.03$ scanimage --list-devices
[sanei_init_debug]: Setting debug level of canon to 128.
[canon] >> sane_init
[canon] sane_init: sane 1.0.1
[canon] >> attach_one
[canon] >> attach
[canon] attach: opening /dev/scanner
[canon] attach: open failed: Access to resource has been denied
[canon] << attach_one
[canon] << sane_init
[canon] >> sane_get_devices
[canon] << sane_get_devices
[canon] >> sane_exit
[canon] << sane_exit

-------------------------------------

sh-2.03$ scanimage -d canon:/dev/scanner
[sanei_init_debug]: Setting debug level of canon to 128.
[canon] >> sane_init
[canon] sane_init: sane 1.0.1
[canon] >> attach_one
[canon] >> attach
[canon] attach: opening /dev/scanner
[canon] attach: open failed: Access to resource has been denied
[canon] << attach_one
[canon] << sane_init
[canon] >> sane_open
scanimage: open of device canon:/dev/scanner failed: Invalid argument
[canon] >> sane_exit
[canon] << sane_exit

--------------------------------------

> On Wed, 24 Nov 1999, Laura DeWitt wrote:
>
> > Then I followed the instructions to make and install the software.
> >
> > There wasn't a canon.conf file, so I created one and made the first line be
> > /dev/scanner. Then I created a symbolic link from /dev/sga to /dev/scanner
> >
> > I also checked the dll.conf to make sure that canon was there and it was.
> >
> > sh-2.03$ cat /proc/scsi/scsi
> > Attached devices:
> > Host: scsi0 Channel: 00 Id: 02 Lun: 00
> > Vendor: CANON Model: IX-06015C Rev: 2.02
> > Type: Scanner ANSI SCSI revision: 02
> >
> > Does anybody have any ideas why scanimage cannot find my scanner but
> > find-scanner can?
>
> Hi. I'm am the main developer of the Canon backend. Let's see if we can
> sort this out. Please type:
>
> export SANE_DEBUG_SANEI=128
> export SANE_DEBUG_CANON=128
>
> before starting scanimage or xscanimage. Save the (very verbose) debugging
> output in a file and send it to me. Maybe then I can see what's wrong.
>
> Manuel Panea Tel. +49 89 3299 1133
> Rechenzentrum Garching Fax +49 89 3299 1301
> Postfach 1533 E-mail: mpd@rzg.mpg.de
> 85740 Garching Germany http://www.rzg.mpg.de/~mpd
>

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com