Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 21:00:50 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Rob <stopspam@users.sourceforge.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Using scanner with FreeBSD. A nightmare!
Message-ID:  <20040609204934.T35931@wonkity.com>
In-Reply-To: <40C7CA35.9020704@users.sourceforge.net>
References:  <40C7C47D.7060902@users.sourceforge.net> <20040609202124.L35804@wonkity.com> <40C7CA35.9020704@users.sourceforge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Jun 2004, Rob wrote:

> The scanner is connected via USB. I unplugged it, plugged it back again.
> This is what I get in the console:
>
>   uscanner0: at uhub1 port 1 (addr 2) disconnected
>   uscanner0: detached
>   uscanner0: Hewlett-Packard HP ScanJet 5200C, rev 1.00/1.00, addr 2

Okay, I think you already said that sane-find-scanner finds it.  For 
comparison, here's mine:

speedy# sane-find-scanner /dev/uscanner0
   # No SCSI scanners found. If you expected something different, make sure that
   # you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04b8, product=0x010a) at /dev/uscanner0

Now it's just a matter of specifying the scanner device name in 
/usr/local/etc/sane.d/hp.conf.  My copy of SANE has this for the 5200C:

usb 0x03f0 0x0401

These should match the codes returned by your scanner.  If they don't, 
add another line to hp.conf.  Then, *I think* you need the line

/dev/uscanner0

at the end of the hp.conf file.

That should work for root.  However, you will need to change permissions 
on the device or change group membership for it to work for other users.

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040609204934.T35931>