Re: Works fine, now (Was: Re: SANE sees only 1 of 2 scanners)

Peter Kirchgessner (peter@kirchgessner.net)
Tue, 05 Jan 1999 23:27:27 +0100

"John M. Mills" wrote:
>
> First, thanks to those who responded to my help request.
>
> On Tue, 22 Dec 1998, Peter Kirchgessner wrote:
> > "John M. Mills" wrote:
> > > 'xscanimage' offers it as a source, but then actually tries to scan (not
> > > very successfully) on the 4p.
> > do you get both scanners offered as a source ?
> By name, but only one was used, because ...
> > Are both devices listed in the hp.conf-file ?
> This was my fundamental problem: I had *$&^ed-up the soft links to my
> '/dev/sg*' files, and bot logical devices were pointing at the same
> special device.
>
> The whole, gorey story, in case it proves helpful: First, I decided to
> upgrade to SANE 1.00 and the just-released sane-hp-0.72. I therefore did a
> systematic removal of all 0.73-installed files, then:
>
> as 'su':
> 1. Unpacked the sane-1.00.tar.gz
> 2. Unpacked sane-1.00.hp.0.72.tar.gz into /usr/src/sane-1.00/
> 3. Did _not_ run 'patch.hp' -- Should I have run this?

Hi,

This is only necessary if you did not specify all devices in your
hp.conf-file
and start (x)scanimage using hp:/dev/sga

> 4. Ran './configure --prefix=/usr/local' --> specifying 'prefix' _was_
> needed, at least for my Linux 2.0.35/gcc.2.7.2.1 setup.
> 5. Ran 'make > ../sane_build_log 2>&1 &' and
> 'make install > ../sane_install_log 2>&1 &'
> (I have a question on warnings re: 'strndup' usage, and will be
> happy to share the build logs with anyone willing to look.),
> ran 'make install' in ./doc and manually installed tools I wanted.
> 6. Linked /dev/sga and /dev/sgb to /dev/sheetscan and /dev/photoscan, and
> edited dll.conf and hp.conf appropriately (inactivating 'scsi HP').

Inactivating 'scsi HP' should not be necessary with hp-backend V 0.72.

> ...

-- Peter

-- 
Peter Kirchgessner
WWW:    http://www.kirchgessner.net
e-mail: peter@kirchgessner.net

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