[sane-devel] Problem in setting up Xsane (problem half solved)
Stephen Liu
satimis at icare.com.hk
Sat Mar 1 07:49:34 GMT 2003
Hi Henning,
KDE desktop
===========
Further to my late posting as at foot of this email. New discovery,
quite strange;
1) login as 'user'
# chmod -c 777 /dev/sg1
mode of `/dev/sg1' changed to 0777 (rwxrwxrwx)
I am allowed to change the permission even without issuing the command
# su
# password
After logout and re-login to the same 'user'
# ls -l /dev/sg1
crw------- 1 satimis root 21, 1 Apr 11 2002 /dev/sg1
permission cancelled
I also tried inptting 'su' command with the same result
2) login as 'root'
# chmod -c 777 /dev/sg1
mode of `/dev/sg1' changed to 0777 (rwxrwxrwx)
logout and re-login as 'root'
# ls -l /dev/sg1
crwxrwxrwx root 21, 1 Apr 11 2002 /dev/sg1
Permission was still there.
Logout and re-login as 'user'
Permission cancelled.
I could not find out its cause
B.Regards
Stephen
##############################
Henning Meier-Geinitz wrote:
> - snip -
The scanner has been turned before booting PC
# 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/scanner
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
# ls -l /dev/sg1
crwxrwxrwx 1 satimis root 21, 1 Apr 11 2002 sg1
# ls -l /dev/sgb
lrwxrwxrwx 1 root root 3 Aug 24 2002 sgb -> sg1
I think my scanner uses /dev/sg1 (If wrong, please correct me)
as safety measure I also did
# chmod -c 0777 /dev/sg0
mode of `sg0' changed to 0777 (rwxrwxrwx)
> - snip -
> No, please do exactly what I wrote. Hint: capital letters. Use
> copy&paste to make sure that you don't make any mistakes.
# 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 "SONY" model "CD-RW CRX160E" a
supported scanner?
[snapscan] add_device: "SONY CD-RW CRX160E" 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 (0xbffff498, 0)
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[snapscan] sane_snapscan_exit
B.Regards
Stephen
_______________________________________________
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