uscanner problem with HP Scanjet 3400C

Chris Hodgins chodgins at cis.strath.ac.uk
Sat Jan 22 04:31:36 PST 2005


Chris Hodgins wrote:
> Hi,
> 
> I am trying to get my HP ScanJet 3400C scanner to work with FreeBSD 5.3. 
>  Whenever I plug it into the usb port on my laptop I get in dmesg:
> 
> uscanner0: Hewlett Packard ScanJet 3400cse, rev 1.00/0.00, addr 2
> uscanner0: setting config no failed
> device_attach: uscanner0 attach returned 6
> uhub0: port 1, set config at addr 2 failed
> uhub0: device problem, disabling port 1
> 
> Naturally after that sane can't find it.  This is a device that is fully 
> supported now with Sane and one that uscanner claims to support.  I am 
> happy to do any testing required to get this to work.
> 
> This problem seems to have been around for a while now and I have found 
> a few unanswered threads about it on google.
> 
> Thanks for your help.
> Chris Hodgins
> 
> # uname -a
> FreeBSD paranoia 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Fri Dec  3 18:15:16 
> GMT 2004     root at paranoia:/usr/obj/usr/src/sys/paranoia  i386
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 

I just recompiled my kernel to include uscanner support and USB_DEBUG.

chris at paranoia:/usr/src/sys/i386/conf$ diff -u paranoia paranoia_usb_debug
--- paranoia    Sat Oct 30 18:33:02 2004
+++ paranoia_usb_debug  Sat Jan 22 12:08:02 2005
@@ -108,3 +108,6 @@
  device         ukbd            # Keyboard
  device         umass           # Disks/Mass storage - Requires scbus 
and da
  device         ums             # Mouse
+device         uscanner
+
+options                USB_DEBUG

I was expecting a lot more output in dmesg about my problem but only one 
extra line appeared:

uscanner0: Hewlett Packard ScanJet 3400cse, rev 1.00/0.00, addr 2
uscanner0: setting config no failed
device_attach: uscanner0 attach returned 6
uhub_explore: usb_new_device failed, error=STALLED
uhub0: device problem, disabling port 2

Have I done something wrong in getting the USB_DEBUG option into my 
kernel?  Should I just of ran this instead? :

# make -DUSB_DEBUG -KERNCONF=paranoia buildkernel

Or should I add it to make.conf somewhere?

Chris



More information about the freebsd-questions mailing list