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

John M. Mills (jmills@jmills.gtri.gatech.edu)
Sun, 27 Dec 1998 19:52:06 -0500 (EST)

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?
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').
as myself:
7. Ran 'rm -rf ~/.gimp' and changed ownership of all of '~/ .sane/*' to
myself (for some reason, some were 'root' owned).

Now it runs very well and properly selects either scanner.

Thanks also to the 'sane-hp' developer(s) - this is really very functional
and a great step forward over the backend in SANE-0.73.

The question on Linux's success in distinguishing 'sga' and 'sgb' was not
an issue -- find-scanner, scanimage -L, xscanimage, etc. all seem to work
fine.

Thanks again to all who answered.

John M. Mills, Senior Research Engineer -- john.mills@gtri.gatech.edu
Georgia Tech Research Institute, Georgia Tech, Atlanta, GA 30332-0834
Phone contacts: 404.894.0151 (voice), 404.894.6285 (FAX)
"Give someone a fish and they can eat for a day. Teach them to use the
InterNet and they won't bother you for weeks." - from posted news item

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