[sane-devel] Problem in setting up Xsane (problem half solved)

Stephen Liu satimis at icare.com.hk
Fri Feb 28 17:10:16 GMT 2003


Hi Henning,

Further to my later posting

I take following actions;

as user

su
password

[root at server /]# rpm -qa|grep sane
sane-backends-1.0.7-6
sane-frontends-1.0.7-2
xsane-0.84-2
sane-backends-devel-1.0.7-6

[root at server /]# sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found SCSI scanner "AGFA SNAPSCAN 310 1.90" at device
/dev/sg1
sane-find-scanner: found SCSI scanner "AGFA SNAPSCAN 310 1.90" at device
/dev/sgb

[root at server /]# cd /dev/
[root at server dev]# ln -s sgb scanner
[root at server /]# ls -l /dev/sgb
lrwxrwxrwx    1 root     root            3 Aug 24  2002 /dev/sgb -> sg1
[root at server dev]# cd /
[root at server /]# chmod -c 0777 /dev/sg1
mode of `/dev/sg1' changed to 0777 (rwxrwxrwx)

Start 'xsane'.  After accepting the licence an Error warning popup
xane: no devices available

B.Regards
Stephen


Henning Meier-Geinitz wrote:
 > Hi,
 >
 > On Fri, Feb 28, 2003 at 08:45:54PM +0800, Stephen Liu wrote:
 >
 >># cat /proc/scsi/scsi
 >>Attached devices:
 >>Host: scsi0 Channel: 00 Id: 00 Lun: 00
 >>  Vendor: SONY     Model: CD-RW  CRX160E   Rev: 1.0e
 >>  Type:   CD-ROM                           ANSI SCSI revision: 02
 >>Host: scsi1 Channel: 00 Id: 02 Lun: 00
 >>  Vendor: AGFA     Model: SNAPSCAN 310     Rev: 1.90
 >>  Type:   Scanner                          ANSI SCSI revision: 02
 >
 >
 > Good.
 >
 > Does sane-find-scanner find your scanner? Does it find it if you run
 > as user? If it only works as root, you must set up permissions for the
 > SCSI devices. See man sane-scsi and search for "permission".
 >
 > When it's found by sane-find-scanner, try scanimage -L. If it's not
 > found, show us the output of
 >
 > SANE_DEBUG_SNAPSCAN=255 scanimage -L
 >
 > Bye,
 >   Henning
 > _______________________________________________
 > Sane-devel mailing list
 > Sane-devel at www.mostang.com
 > http://www.mostang.com/mailman/listinfo/sane-devel
 >







More information about the sane-devel mailing list