[sane-devel] Problem in setting up Xsane (problem half solved)
Frank
Frank at snapafun.co.nz
Sat Mar 1 04:16:36 GMT 2003
On Sat, 01 Mar 2003 06:10, Stephen Liu wrote:
Hi Stephen
As a technically inclined newbie I tried what you did and discovered the below
difference. Maybe might help you?
" 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
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
In the following section I was sure to include exactly what sane-find-scanner
returned. In your case might I suggest : ( NB -Do not go as su! )
#cd /dev
#chmod -c 0777 sg1
I not sure why but I think in ensures 777 status to your sg1 file as local and
not possibly only as root. [ This also allowed me to see the double entry I
did know I had of my scanner when I issued xsane. I was given given a choice
in my case to select xxx/scanner or xxx/scanner0. Hmmmm........ Both worked.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
"
" [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
" >
"
"
"
"
" _______________________________________________
" Sane-devel mailing list
" Sane-devel at www.mostang.com
" http://www.mostang.com/mailman/listinfo/sane-devel
"
"
--
Regards
Frank
Frank at snapafun.co.nz
025853824
More information about the sane-devel
mailing list