From owner-freebsd-bluetooth@FreeBSD.ORG Thu Feb 22 22:11:27 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 E3E2616A406 for ; Thu, 22 Feb 2007 22:11:27 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id B633513C48E for ; Thu, 22 Feb 2007 22:11:27 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l1MMBMDn045223; Thu, 22 Feb 2007 16:11:22 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <45DE150E.3000500@centtech.com> Date: Thu, 22 Feb 2007 16:11:26 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Maksim Yevmenkin References: <45D5F027.7060401@centtech.com> <45D68F37.7040105@centtech.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2630/Thu Feb 22 13:12:40 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.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: Thu, 22 Feb 2007 22:11:28 -0000 On 02/17/07 22:05, Maksim Yevmenkin wrote: > On 2/16/07, Eric Anderson wrote: > > [...] > >>>> 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. >> The system was idle (CPU-wise) but I had the bluetooth link slammed >> transferring the entire contents of my palm (about 50MB). I've never >> had a problem otherwise, even when keeping both CPU's (this is a Core 2 >> Duo system) hammered. As soon as the transfer stopped, mouse was again >> responsive. > > did you notice if the system's interrupt load was high? > >>> 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) >> As far as I know, this is a 2.0 dongle already (came with my laptop - >> Dell D820, so it's built in). > > it is csr chip based daughter card that looks like usb device, is it not? > > thanks, > max I don't know about the 'csr chip' part, but yes, it looks like an internal usb device. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------