Using scanner with FreeBSD. A nightmare!

Rob stopspam at users.sourceforge.net
Wed Jun 9 19:40:54 PDT 2004


Warren Block wrote:
> On Thu, 10 Jun 2004, Rob wrote:
> 
>> I have an HP ScanJet 5200C; or better I claimed it in our
>> lab from one of my Windows collegues.
>>
>> I've been struggling with sane, sane-find-scanner and its
>> family commands in the back/front-ends.
>
> Details needed.  Does FreeBSD detect the scanner as a scanner device, or 
> does it just show up as "ugen"?  If you have the scanner on at bootup, 
> this will show in dmesg.  Otherwise, the message should show on ttyv0.

THANKS! for your reply. I'm happy to provide any details and info on
my system and what I am doing; I really want this scanner to work.
So please don't go, and help me through this.

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


This is what I get from

$ cat /var/run/dmesg.boot | grep -i usb
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xbc00-0xbc1f irq 2 at device 29.0 on pci0
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xb000-0xb01f irq 5 at device 29.1 on pci0
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xb400-0xb41f irq 6 at device 29.2 on pci0
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xb800-0xb81f irq 2 at device 29.3 on pci0
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
pci0: <USB controller> at 29.7 irq 9


What should I do next?

> 4.10 does show the HP 5200C in /usr/src/sys/dev/usb/uscanner.c.  If you 
> don't have 4.10 yet, now might be the time.

I'm running 4-Stable, as of this week, June 7th. So that should do.

Rob.




More information about the freebsd-questions mailing list