From owner-freebsd-usb@FreeBSD.ORG Mon Jul 17 20:23:03 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 29B1B16A4DF for ; Mon, 17 Jul 2006 20:23:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81BDA43D46 for ; Mon, 17 Jul 2006 20:23:02 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.216.90.86] (HELO [10.0.0.249]) by mailfe02.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 238793534; Mon, 17 Jul 2006 22:22:59 +0200 From: Hans Petter Selasky To: Niki Denev Date: Mon, 17 Jul 2006 22:23:06 +0200 User-Agent: KMail/1.7 References: <44BBD1F9.5000804@totalterror.net> <200607172107.18141.hselasky@c2i.net> <44BBE936.4050801@totalterror.net> In-Reply-To: <44BBE936.4050801@totalterror.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607172223.07324.hselasky@c2i.net> 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 20:23:03 -0000 On Monday 17 July 2006 21:47, Niki Denev wrote: > 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. Thanks for testing. > > 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? Yes, there is no danger in the message, but apparently some descriptors are invalid. Could you have made your device attach as "ugen", by not loading "ng_ubt". Then install the port at "/usr/ports/sysutils/udesc_dump", run "udesc_dump" on your device, and post the output? > I think the check that generates the message does not exist in > the code of the old stack. Right. > > > 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'll post some messages to this list when the rewrite is ready for testing. --HPS