Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2002 16:09:10 +0300 (EEST)
From:      Andrew Bliznak <andrew@ort.lviv.net>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        Alexander Leidinger <Alexander@Leidinger.net>, <julian@elischer.org>, <current@FreeBSD.ORG>, <joe@FreeBSD.ORG>
Subject:   Re: usb lpt borked?
Message-ID:  <Pine.LNX.4.44.0204061608150.23169-100000@ort.lviv.net>
In-Reply-To: <20020406113151.GA98328@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 6 Apr 2002, Josef Karthauser wrote:

After this patch my usb mouse work again in console and X !!!

> On Sat, Apr 06, 2002 at 09:28:26AM +0200, Alexander Leidinger wrote:
> > On  5 Apr, Julian Elischer wrote:
> > > 
> > > ok guys we seem to be going backwards on this one..
> > > 
> > > 3 months ago this worked perfectly
> > > 2 months ago it crashed after each document (on close())
> > > now it crashes on open().. at least in the old kernel
> > > I could get my printouts :-)
> > 
> > A Mar 12 kernel should work ok.
> > 
> > > ps shows the lpd daemon sleeping 'usbsyn' just before the crash..
> > > no crashdumps yet.. will try, though I don't know if
> > > the new crashdump code produces usable dumps yet..
> > > (I guess I'm going to find out :-)
> > 
> > I've seen no ulpt related panics, it just doesn't print (VIA KT133A).
> > 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. */
> 
> 
> 
> Joe
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0204061608150.23169-100000>