From owner-freebsd-current Sat Apr 6 5:15:58 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by hub.freebsd.org (Postfix) with ESMTP id 443C637B405; Sat, 6 Apr 2002 05:15:54 -0800 (PST) Received: from fwd04.sul.t-online.de by mailout07.sul.t-online.com with smtp id 16tpyH-00009m-04; Sat, 06 Apr 2002 15:11:09 +0200 Received: from Magelan.Leidinger.net (520065502893-0001@[217.83.21.92]) by fmrl04.sul.t-online.com with esmtp id 16tpy1-0Kq8oaC; Sat, 6 Apr 2002 15:10:53 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.2/8.12.2) with ESMTP id g36DAlEx000500; Sat, 6 Apr 2002 15:10:51 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200204061310.g36DAlEx000500@Magelan.Leidinger.net> Date: Sat, 6 Apr 2002 15:10:47 +0200 (CEST) From: Alexander Leidinger Subject: Re: usb lpt borked? To: joe@tao.org.uk Cc: julian@elischer.org, current@FreeBSD.ORG, joe@FreeBSD.ORG, msch@snafu.de In-Reply-To: <20020406113151.GA98328@genius.tao.org.uk> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Sender: 520065502893-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 6 Apr, Josef Karthauser wrote: >> Only my USB mice does something bad, it hangs the system hard on >> shutdown. > > Try this which Scott Long submitted a few days ago: > > Index: uhci.c > =================================================================== > RCS file: /usr/home/ncvs/src/sys/dev/usb/uhci.c,v > retrieving revision 1.104 > diff -u -r1.104 uhci.c > --- uhci.c 1 Apr 2002 22:03:37 -0000 1.104 > +++ uhci.c 5 Apr 2002 08:17:03 -0000 > @@ -2051,6 +2051,7 @@ > xfer->pipe->intrxfer = 0; > } > uhci_abort_xfer(xfer, USBD_CANCELLED); > + usb_transfer_complete(xfer); > } > > /* Close a device interrupt pipe. */ Go for it ("Tested by: netchild"), the system now doesn't hangs anymore at shutdown. But now the printer hangs the system with: usb_detach_wait: ulpt0 didn't detach ulpt0: detached when I turn it off (I tried if this fix also solved the ulpt problem, even if the patch didn't looked so to me). Savecore gives me a "Parity error on last dump header", so no backtrace. Bye, Alexander. -- Secret hacker rule #11: hackers read manuals. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message