[sane-devel] Re: SCSI Epson 1640SU and sane in SPARC Solaris8

Johan Bengtsson elijah@dd.chalmers.se
Thu, 4 Apr 2002 09:22:33 +0200 (MEST)


On Wed, 3 Apr 2002, Donald Parsons wrote:

> Johan,
> I am new to unix scanners. I have made a few unsuccessful attempts to get the 
> same scanner and Solaris8 working. Having read your posts about permissions in 
> [sane-devel] I see that my attempts were way off base. I got no device set up.
> 	SCSI saw the scanner with ok> probe-scsi but not in dmesg | grep scsi.
> 	
> Can I ask a few questions?
> 	1. Is 'sgen' operation dependent on the version of Sol 8? Did you use 
> any patches? (I am using the Jan 01 release /01/01).

I don't know, but I think we have a later version.

> 	2. Did you use the www.icephyre.net/pkg 
> SANE_1.0.6+XSANE_0.82-SPARC.pkg.bz2 ?

No, I compiled it myself.

> 	3.What is the indication for using Epson "processor" rather than 
> "scanner"?

Look at the output from probe-scsi-all.

> 	4. Would you mind sharing with me the key permissions needed and your 
> final editing of the configuration files?

* epson.conf:

eru:elijah 9:09 /opt/pd/etc/sane.d > more epson.conf 
# epson.conf
#
# here are some examples for how to configure the EPSON backend
#
# SCSI scanner:
scsi EPSON
/dev/scsi/processor/c1t5d0

* sgen.conf:

gorthaur:elijah 9:12 ~ > more /kernel/drv/sgen.conf 
# $Id: sgen_epson.conf,v 1.2 2002/03/27 11:11:04 elijah Exp $
#
# sgen config file for the scanners
#
# sbl, 010820
#modified for epson by elijah 2002-03-26

device-type-config-list="processor";

name="sgen" class="scsi" target=5 lun=0;

* Make sure that the epson backend is uncommented in dll.conf

gorthaur:/# ls -laL /dev/scsi/processor/c1t5d0
crw-rw-rw-   1 root     other    151,  5 Mar 27 12:14 /dev/scsi/processor/c1t5d0

> For /kernel/drv/sgen.conf are you using your modified sgen_epson in place of 
> "sgen"?

No.

> I do not know exactly how you are using  "/usr/sbin/devfsadm -v -i sgen".

I suggest you read the man pages for the devfsadm, modinfo, modload and
modunload commands.

> When the sgen device nodes are created by devfsadm do you then edit 
> ..../sane.d/epson.conf for device location and ../sane.d/dll.conf?

See above.

Best regards,
Johan Bengtsson

-- 
http://www.dd.chalmers.se/~elijah/