Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2005 12:35:55 +0000
From:      Chris Hodgins <chodgins@cis.strath.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: uscanner problem with HP Scanjet 3400C
Message-ID:  <41F248AB.2060609@cis.strath.ac.uk>
In-Reply-To: <41F23BCF.40901@cis.strath.ac.uk>
References:  <41F23BCF.40901@cis.strath.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@paranoia:/usr/obj/usr/src/sys/paranoia  i386
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 

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

chris@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



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