From owner-freebsd-usb@FreeBSD.ORG Mon Jul 17 19:47:11 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3694A16A4E2 for ; Mon, 17 Jul 2006 19:47:11 +0000 (UTC) (envelope-from niki@totalterror.net) Received: from mail.interbgc.com (mx04.cablebg.net [217.9.224.232]) by mx1.FreeBSD.org (Postfix) with SMTP id 3364543D46 for ; Mon, 17 Jul 2006 19:47:09 +0000 (GMT) (envelope-from niki@totalterror.net) Received: (qmail 38851 invoked from network); 17 Jul 2006 19:47:07 -0000 Received: from niki@totalterror.net by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.2.40/v4374. spamassassin: 2.63. Clear:SA:0(0.1/8.0):. Processed in 0.571033 secs); 17 Jul 2006 19:47:07 -0000 X-Spam-Status: No, hits=0.1 required=8.0 Received: from niked.ddns.cablebg.net (HELO tormentor.totalterror.net) (85.130.14.211) by mx04.interbgc.com with SMTP; 17 Jul 2006 19:47:06 -0000 Received: (qmail 98860 invoked from network); 17 Jul 2006 19:47:03 -0000 Received: from unknown (HELO ?10.0.0.3?) (10.0.0.3) by tormentor.totalterror.net with SMTP; 17 Jul 2006 19:47:03 -0000 Message-ID: <44BBE936.4050801@totalterror.net> Date: Mon, 17 Jul 2006 22:47:02 +0300 From: Niki Denev User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Hans Petter Selasky References: <44BBD1F9.5000804@totalterror.net> <200607172107.18141.hselasky@c2i.net> In-Reply-To: <200607172107.18141.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: USB bluetooth dongles X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 19:47:11 -0000 Hans Petter Selasky wrote: > Looks like there is one byte missing in the packet. Could you try the > following: Edit "/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c" and change > ".bufsize = 0," to ".bufsize = 256 + 16,", in the following piece of code: [...] Now i can issue inquiry command properly, and all devices are discovered. The only thing that looks different to me compared to the old stack is the "usbd_fill_iface_data: invalid wMaxPacketSize" message, that others have also reported, but i think it's safe to ignore them for now? I think the check that generates the message does not exist in the code of the old stack. > I haven't got to the point of rewriting the ural driver yet. You can expect > some improvements coming. That's great, i'll be happy to help. I have ural(4) hardware and can do tests if needed. > I have commited your patch to SVN and p4. > > --HPS Thanks! Regards, Niki Denev