From owner-freebsd-bluetooth@FreeBSD.ORG Fri Feb 16 23:37:32 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15B5F16A402 for ; Fri, 16 Feb 2007 23:37:32 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by mx1.freebsd.org (Postfix) with ESMTP id D065913C442 for ; Fri, 16 Feb 2007 23:37:31 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1165917nzh for ; Fri, 16 Feb 2007 15:37:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b2QenAJrQ0nBN8Lg8o7UNHTQQSpP/JJA7Kdr39St/RHw18992wc8TLi8CkgfzTVLVJoR3+JMnGDF9BOj6VP8WEBpA2p/ExjP/28hWoocivsQLm1QmOeWS0Wsrio/m4PAHkfRuwPLPbEJtjklcT+lwJhiTv420DfK09o/G0s1tBg= Received: by 10.65.194.13 with SMTP id w13mr5941108qbp.1171669051174; Fri, 16 Feb 2007 15:37:31 -0800 (PST) Received: by 10.65.137.19 with HTTP; Fri, 16 Feb 2007 15:37:31 -0800 (PST) Message-ID: Date: Fri, 16 Feb 2007 15:37:31 -0800 From: "Maksim Yevmenkin" To: "Eric Anderson" In-Reply-To: <45D5F027.7060401@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45D5F027.7060401@centtech.com> Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: Prioritizing bluetooth devices? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2007 23:37:32 -0000 Eric, > I have just set up my Treo 700p using bluetooth and kpilot to sync > (thanks Bruce/Maksim!!!!). I notice that when I'm doing a backup of my > palm and it's downloading a ton of stuff, my bluetooth connection is > jammed full, so my bluetooth mouse is slow/lags. I don't have a > bluetooth keyboard, but if I did (and if it worked), then I'm certain it > would be present there too. > > So, my question is: is it possible to prioritize the bluetooth profiles > so that HID gets priority over things like serial, LAN, etc? in theory, this should not be happening, because each bluetooth slave has reserved slots in which it can transmit data. also bluetooth hid devices usually set "quality of service" parameters on bluetooth link. so, the problem could be either in the freebsd bluetooth code itself (i.e. it uses very simple packet scheduler that might not behave very well under load) or in packet scheduler in the device's "link manager", i.e. firmware. other than setting "quality of service" parameters on bluetooth link and/or forcing device to use only packets of certain size (i.e. 1,2 or 3-slots, which, btw, likely to reduce throughput) i doubt there is anything else (standard) that can be used to prioritize bluetooth profiles. if you can, please try to switch to bluetooth 2.0 dongle (if you have not already) thanks, max