From owner-freebsd-bugs Sun Aug 25 3:48:30 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 050B337B400; Sun, 25 Aug 2002 03:48:23 -0700 (PDT) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC6CC43E72; Sun, 25 Aug 2002 03:48:21 -0700 (PDT) (envelope-from hmg@meier-geinitz.de) Received: from fwd11.sul.t-online.de by mailout10.sul.t-online.com with smtp id 17iuwF-000693-06; Sun, 25 Aug 2002 12:48:11 +0200 Received: from vortex.meier-geinitz.de (520024250054-0001@[217.82.46.199]) by fmrl11.sul.t-online.com with esmtp id 17iuw6-1OijHkC; Sun, 25 Aug 2002 12:48:02 +0200 Received: from hmg1.meier-geinitz.de ([192.168.0.1] helo=hmg1) by vortex.meier-geinitz.de with esmtp (Exim 3.35 #1 (Debian)) id 17iuwY-00075S-00; Sun, 25 Aug 2002 12:48:30 +0200 Received: from hmg by hmg1 with local (Exim 3.35 #1 (Debian)) id 17iuwX-0000kM-00; Sun, 25 Aug 2002 12:48:29 +0200 Date: Sun, 25 Aug 2002 12:48:29 +0200 From: Henning Meier-Geinitz To: Nate Lawson Cc: Henning Meier-Geinitz , freebsd-bugs@FreeBSD.org, freebsd-gnats-submit@freebsd.org Subject: Re: kern/41281: USB scanning works only once Message-ID: <20020825104829.GA2807@vortex.meier-geinitz.de> References: <20020824205802.GA568@vortex.meier-geinitz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Sender: 520024250054-0001@t-dialin.net Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Aug 24, 2002 at 02:23:12PM -0700, Nate Lawson wrote: > On Sat, 24 Aug 2002, Henning Meier-Geinitz wrote: > > > > ps axlww: > > > > UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND > > 0 92 1 0 2 0 924 580 select Is ?? 0:00.00 /usr/sbin/usbd > > 0 113 1 114 2 0 920 524 select Is ?? 0:00.00 moused -p /dev/psm0 -t auto > > 0 131 123 0 18 0 1312 948 pause I v0 0:00.02 -csh (csh) > > 0 140 131 0 10 0 1028 828 wait I v0 0:00.01 bash > > 0 150 140 0 0 0 868 364 uscnrb I+ v0 0:00.00 ./testusb /dev/uscanner0 > > What is "testusb"? That's the test program used to make sure it's not a SANE bug. See How-To-Repeat section of the original bug report (http://www.freebsd.org/cgi/query-pr.cgi?pr=41281), specifically: http://groups.yahoo.com/group/usb-bsd/message/1549 The program intends to simply read a register from the scanner. > For some reason, you're just not getting any IO back > from the scanner (it's blocking in usbd_bulk_transfer() forever). That's also my impression. However, the scanner isn't defective, the same happens with all the Mustek scanners based on the Mustek 1017 chipset and it doesn't happen with Linux (and Windows). Maybe the answer is lost somewhere on its way though the USB layer? > Please > compile your kernel with USB_DEBUG, reboot, and try again. I'd like the > dmesg output. I think I did that in the logs mentioned in How-To-Repeat, see: http://groups.yahoo.com/group/usb-bsd/message/1550 If I missed anything I can try again. > Be sure to reply-all to keep GNATS in the cc. Ok, but I did that in my last mail. gnats was'n in any of the To: or CC: headers. Now it is. Bye, Henning To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message