Using scanner with FreeBSD. A nightmare!

Rob stopspam at users.sourceforge.net
Wed Jun 9 22:57:48 PDT 2004


Christian Hiris wrote:
> On Thursday 10 June 2004 05:27, Rob wrote:
> 
>>dev/uscanner0... open ok, but vendor and product could NOT be identified
>>found USB scanner (UNKNOWN vendor and product) at device /dev/uscanner0
>>[...]

I have made some progress just now.

I did a listing of /dev/usb* and found only "/dev/usb" and "/dev/usb0"

I realised that the boot process initializes 4 usb ports:

# grep -i usb /var/run/dmesg.boot
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


So I did a MAKEDEV of the other 3 usb devices usb1, usb2 and usb3 in /dev.

And see what I get now:

# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
  port 1 powered
  port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
  port 1 addr 2: full speed, self powered, config 1, HP ScanJet 5200C(0x0401), Hewlett-Packard(0x03f0), rev 1.00
  port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
  port 1 powered
  port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
  port 1 powered
  port 2 powered

# sane-find-scanner
[...]
found USB scanner (vendor=0x03f0, product=0x0401) at /dev/uscanner0

So, I think I am now on the right track.

I will have to figure out how to continue from here.
But at least my mood has changed 180 degrees!!!

Thanks for keeping me going on this.

If you have some ideas how I should proceed from here, please tell me.

Thanks again!

Rob.




More information about the freebsd-questions mailing list