From owner-freebsd-current Sat Apr 6 13:14:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from smart.eusc.inter.net (smart.eusc.inter.net [213.73.101.5]) by hub.freebsd.org (Postfix) with ESMTP id A656D37B41A; Sat, 6 Apr 2002 13:14:10 -0800 (PST) Received: from tc10-n67-054.de.inter.net ([213.73.67.54] helo=there) by smart.eusc.inter.net with smtp (Exim 3.22 #3) id 16txVg-00053a-00; Sat, 06 Apr 2002 23:14:09 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Matthias Schuendehuette Reply-To: msch@snafu.de Organization: Micro$oft-free Zone To: Alexander Leidinger , joe@tao.org.uk Subject: Re: usb lpt borked? Date: Sat, 6 Apr 2002 23:14:07 +0200 X-Mailer: KMail [version 1.3.1] Cc: julian@elischer.org, current@FreeBSD.ORG, joe@FreeBSD.ORG References: <200204061310.g36DAlEx000500@Magelan.Leidinger.net> In-Reply-To: <200204061310.g36DAlEx000500@Magelan.Leidinger.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: 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 Am Samstag, 6. April 2002 15:10 schrieb Alexander Leidinger: > 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. */ Works for me as well. I can't say nothing about usb-printing but the mouse issue seems to be solved with this patch. I someone asks me - please commit it ASAP -- Ciao/BSD - Matthias Matthias Schuendehuette , Berlin (Germany) Powered by FreeBSD 4.5-STABLE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message