Re: your mail

Kevin Charter (charter@cs.ualberta.ca)
Wed, 1 Dec 1999 17:01:37 -0700 (MST)

> jubeo te salvere
>
> i have problems to run my snapscan300 at an aha1502-adapter under linux
> everything seems ok, i did the following
> 1)
> during booting
> <4>aha152x: processing commandline: ok
> <4>aha152x: BIOS test: passed, detected 1 controller(s)
> <4>aha152x0: vital data: PORTBASE=0x140, IRQ=10, SCSI ID=7, reconnect=enabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
> <4>aha152x: trying software interrupt, ok.
> <4>scsi0 : Adaptec 152x SCSI driver; $Revision: 1.7 $
> <4>scsi : 1 host.
> <4> Vendor: AGFA Model: SnapScan Rev: 1.40
> <4> Type: Scanner ANSI SCSI revision: 02
> <4>Detected scsi generic sga at scsi0, channel 0, id 2, lun 0
> <4>scsi : detected total.
> 2)
> >cat /proc/scsi/scsi
> Attached devices:
> Host: scsi0 Channel: 00 Id: 02 Lun: 00
> Vendor: AGFA Model: SnapScan Rev: 1.40
> Type: Scanner ANSI SCSI revision: 02
> 3)
> >find-scanner
> find-scanner: found scanner "AGFA SnapScan 1.40" at device /dev/scanner
> find-scanner: found scanner "AGFA SnapScan 1.40" at device /dev/sg0
> find-scanner: found scanner "AGFA SnapScan 1.40" at device /dev/sga
> 4)
> > ls -l /dev/sga /dev/sg0 /dev/scanner
> lrwxrwxrwx 1 root root 3 Nov 27 22:38 /dev/scanner -> sg0
> crw-rw---- 1 root scanner 21, 0 Apr 5 1999 /dev/sg0
> lrwxrwxrwx 1 root scanner 3 May 5 1999 /dev/sga -> sg0
> 5)
> > sgcheck
>
> Assignment of generic SCSI devices,
> device host/channel/ID/LUN type(numeric type) vendor model:
>
> /dev/sg0 0/0/2/0 Scanner AGFA SnapScan
> 6)
> > scanimage snapscan:/dev/scanner
> scanimage: no SANE devices found
> :i ignored the pnm's in dll.conf, snapscan is available
>
> everything looks great, but nothing does work, its grazy, please give me a hint

Who were you logged in as? Your permissions on /dev/sg0 don't
allow read/write access for normal users.

Try doing

chmod o+rw /dev/sg0

(you must be root to do this) and then try again.

As well:

1. what version of SANE are you using?
2. did you get one of the updated SnapScan backends from
http://www.cs.ualberta.ca/~charter/SnapScan/snapscan.html?

Kevin

-- 
Kevin Charter              
charter@cs.rice.edu | charter@cs.ualberta.ca
http://www.cs.rice.edu/~charter | http://www.cs.ualberta.ca/~charter

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