From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 00:06:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F23BB16A4C0 for ; Tue, 26 Aug 2003 00:06:58 -0700 (PDT) Received: from mailhub02.unibe.ch (mailhub02.unibe.ch [130.92.9.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1713243FAF for ; Tue, 26 Aug 2003 00:06:57 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub02.unibe.ch (Postfix) with ESMTP id A4EB77647D; Tue, 26 Aug 2003 08:46:14 +0200 (MEST) Received: from mailhub02.unibe.ch ([127.0.0.1]) by localhost (mailhub02 [127.0.0.1:10024]) (amavisd-new) with LMTP id 18091-01-90; Tue, 26 Aug 2003 08:46:13 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub02.unibe.ch (Postfix) with ESMTP id 8797B76488; Tue, 26 Aug 2003 08:46:13 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h7Q6kDK10820; Tue, 26 Aug 2003 08:46:13 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h7Q6kCI18375; Tue, 26 Aug 2003 08:46:12 +0200 (MEST) Date: Tue, 26 Aug 2003 08:46:12 +0200 From: Tobias Roth To: Lee Damon Message-ID: <20030826064612.GA18330@speedy.unibe.ch> References: <200308252024.h7PKOKnx034111@castle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308252024.h7PKOKnx034111@castle.org> User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: Bernd Walter cc: current@freebsd.org Subject: Re: IBM T30 bluetooth - success (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 07:06:59 -0000 eh? i silently assumed that it already was commited! i used bluetooth on my T30 on -current which is maybe three weeks old and it works! and to make this very clear, it did NOT work on a -current from around the time when i sent that email below. the patch fixed it back then, nothing else did. so, now i am confused... On Mon, Aug 25, 2003 at 01:24:20PM -0700, Lee Damon wrote: > Does anyone have an estimate of when this patch will be checked in? > > Please? > > thanks, > nomad > > ------- Forwarded Messages > > Date: Mon, 16 Jun 2003 23:37:38 +0200 > From: Tobias Roth > To: Lee Damon > Subject: Re: IBM T30 bluetooth - success > Message-ID: <20030616213737.GB3469@speedy.unibe.ch> > References: <200306162122.h5GLM2wJ032890@castle.org> > > > --PNTmBPCT7hxwcZjr > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Mon, Jun 16, 2003 at 02:22:02PM -0700, Lee Damon wrote: > > What did you do? > > in short, whining to some people about usb being broken until > someone (Bernd Walter) came up with a patch :-) > > Other than that, I just followed Pavs tutorials at > > http://www.oook.cz/bsd > > good luck, t. > > --PNTmBPCT7hxwcZjr > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename="usb_working.diff" > > Index: usb_subr.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/usb/usb_subr.c,v > retrieving revision 1.54 > diff -u -r1.54 usb_subr.c > --- usb_subr.c 14 Jan 2003 23:07:43 -0000 1.54 > +++ usb_subr.c 14 Jun 2003 16:01:38 -0000 > @@ -964,6 +964,7 @@ > usbd_device_handle dev; > struct usbd_device *hub; > usb_device_descriptor_t *dd; > + usb_port_status_t ps; > usbd_status err; > int addr; > int i; > @@ -1020,12 +1021,14 @@ > up->device = dev; > dd = &dev->ddesc; > /* Try a few times in case the device is slow (i.e. outside specs.) */ > - for (i = 0; i < 3; i++) { > + for (i = 0; i < 15; i++) { > /* Get the first 8 bytes of the device descriptor. */ > err = usbd_get_desc(dev, UDESC_DEVICE, 0, USB_MAX_IPACKET, dd); > if (!err) > break; > usbd_delay_ms(dev, 200); > + if ((i & 3) == 3) > + usbd_reset_port(up->parent, port, &ps); > } > if (err) { > DPRINTFN(-1, ("usbd_new_device: addr=%d, getting first desc " > > --PNTmBPCT7hxwcZjr-- > > ------- Message 2 > > Date: Tue, 17 Jun 2003 07:07:25 +0200 > From: Bernd Walter > To: Lee Damon > Cc: freebsd-current@freebsd.org > Subject: Re: IBM T30 bluetooth - success > Message-ID: <20030617050724.GC596@cicely12.cicely.de> > > On Mon, Jun 16, 2003 at 04:31:25PM -0700, Lee Damon wrote: > > I can second that success. Any chance of getting this patch checked in? > > I just wait on a review. > > - -- > B.Walter BWCT http://www.bwct.de > ticso@bwct.de info@bwct.de > > > ------- End of Forwarded Messages