From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 22 15:58:30 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E98F216A4CE for ; Sat, 22 Jan 2005 15:58:30 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 555B443D31 for ; Sat, 22 Jan 2005 15:58:30 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.2] (chrishodgins.force9.co.uk [84.92.20.141]) j0MFwHsF003634 for ; Sat, 22 Jan 2005 15:58:18 GMT Message-ID: <41F27927.60202@cis.strath.ac.uk> Date: Sat, 22 Jan 2005 16:02:47 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050113) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 6) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk Subject: Re: uscanner problem with HP Scanjet 3400C X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 15:58:31 -0000 -------- Original Message -------- Subject: Re: uscanner problem with HP Scanjet 3400C Date: Sat, 22 Jan 2005 12:32:25 +0000 From: Chris Hodgins To: Chris Hodgins References: <41F23BCF.40901@cis.strath.ac.uk> 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 Chris