From owner-freebsd-bluetooth@FreeBSD.ORG Sun Jan 3 16:13:04 2010 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF3BE106566C for ; Sun, 3 Jan 2010 16:13:03 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smtp6.freeserve.com (smtp5.freeserve.com [193.252.22.151]) by mx1.freebsd.org (Postfix) with ESMTP id 86F278FC17 for ; Sun, 3 Jan 2010 16:13:02 +0000 (UTC) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3526.me.freeserve.com (SMTP Server) with ESMTP id 0226C1C00088 for ; Sun, 3 Jan 2010 17:13:00 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3526.me.freeserve.com (SMTP Server) with ESMTP id 62FF51C00089 for ; Sun, 3 Jan 2010 17:13:00 +0100 (CET) Received: from rya-online.net (unknown [89.194.194.250]) by mwinf3526.me.freeserve.com (SMTP Server) with SMTP id 46AFC1C00088 for ; Sun, 3 Jan 2010 17:12:59 +0100 (CET) X-ME-UUID: 20100103161259289.46AFC1C00088@mwinf3526.me.freeserve.com Received: (nullmailer pid 1740 invoked by uid 1000); Sun, 03 Jan 2010 16:13:00 -0000 Date: Sun, 3 Jan 2010 16:13:00 +0000 (GMT) To: freebsd-bluetooth@freebsd.org In-Reply-To: <1261078487.624140.2170.nullmailer@galant.ukfsn.org> References: <20091201125054.44a00147@zelz27> <1259694948.961003.27487.nullmailer@galant.ukfsn.org> <1259695873.086896.28523.nullmailer@galant.ukfsn.org> <1260285672.503038.542.nullmailer@galant.ukfsn.org> <1260905798.329544.2767.nullmailer@galant.ukfsn.org> <1260983092.17657.10.camel@RabbitsDen> <1261078487.624140.2170.nullmailer@galant.ukfsn.org> User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1262535180.378790.1755.nullmailer@galant.ukfsn.org> From: Iain Hibbert Subject: Re: obex transfer speeds 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: Sun, 03 Jan 2010 16:13:04 -0000 On Thu, 17 Dec 2009, Iain Hibbert wrote: > On Wed, 16 Dec 2009, Alexandre "Sunny" Kovalenko wrote: > > Sent to: > > * Motorola Razor V3xx ~85 KBytes/sec > > * Nokia N810 ~120 KBytes/sec > > * ThinkPad T500 (running Windows) ~150 KBytes/sec > > Yes, these are much more realistic figures than mine thanks.. I note that > the Bluetooth page on wikipedia lists a HTC device that has 2.0 but not > EDR and I wonder if that is the case for my phone too (HTC Elf). I will do > some more research next week when I might have some time.. Ok, some more research.. My slowness seems to be a combination of several issues. To start with, using the same system but with a CSR 2.0+EDR dongle rather than the inbuilt BCM2045B device I get 40-50KBytes/sec (about 3x before). But, capturing the transfer of a 1Mb datafile shows that windows mobile itself is not very clever at sending RFCOMM flow-control credits in what is basically a one-sided connection (data is only flowing out). It seems to have space for about 55 packets in its buffer but doesn't send credits until it has [just about] run out, sigh. So I get the following scenario: < ACL data: handle 12 flags 0x02 dlen 135 L2CAP(d): cid 0x0070 len 131 [psm 3] RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 127 fcs 0x5a < ACL data: handle 12 flags 0x02 dlen 135 L2CAP(d): cid 0x0070 len 131 [psm 3] RFCOMM(d): UIH: cr 1 dlci 8 pf 0 ilen 127 fcs 0x5a > HCI Event: Number of Completed Packets (0x13) plen 5 handle 12 packets 2 that repeats for a while, sending, sending.. > HCI Event: Number of Completed Packets (0x13) plen 5 handle 12 packets 2 > HCI Event: Number of Completed Packets (0x13) plen 5 handle 12 packets 2 > HCI Event: Number of Completed Packets (0x13) plen 5 handle 12 packets 2 and runs out of steam.. > ACL data: handle 12 flags 0x02 dlen 9 L2CAP(d): cid 0x0041 len 5 [psm 3] RFCOMM(d): UIH: cr 0 dlci 8 pf 1 ilen 0 fcs 0x9c credits 51 until the credits arrive and we may start sending again. Doubling the RFCOMM frame size or altering the OBEX mtu made small differences but not very significant. Setting up transfers with my NetBSD laptop and obexapp at each end using different dongles showed that the BCM2045B itself is pretty slow, in that it never really got much over 20KBytes/sec whereas two CSR 2.0+EDR dongles managed a solid 60KBytes/sec with the more regular credit flow. The rates are still less than Sunny so I guess there could also be improvements to be made in the stack itself, and it would probably be easier to test if I had more hardware or could compare the same equipment with a different OS. iain From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jan 8 10:14:44 2010 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C412E106566B for ; Fri, 8 Jan 2010 10:14:44 +0000 (UTC) (envelope-from gamato@users.sf.net) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.freebsd.org (Postfix) with ESMTP id 7EFC08FC1B for ; Fri, 8 Jan 2010 10:14:44 +0000 (UTC) Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id F1054BC8B65 for ; Fri, 8 Jan 2010 09:51:20 +0000 (UTC) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id E0B4628129 for ; Fri, 8 Jan 2010 10:51:20 +0100 (CET) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id qGldE641QONo for ; Fri, 8 Jan 2010 10:51:20 +0100 (CET) Received: from port5.iol.cz (unknown [192.168.30.95]) by antivir5.iol.cz (Postfix) with ESMTP id C5B402812F for ; Fri, 8 Jan 2010 10:51:20 +0100 (CET) X-SBRS: None X-SBRS-none: None X-RECVLIST: MTA-OUT-IOL X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqkBAFuORktasinI/2dsb2JhbAAIhFWObsAghC8E Received: from 200.41.broadband11.iol.cz (HELO [192.168.11.3]) ([90.178.41.200]) by port5.iol.cz with ESMTP; 08 Jan 2010 10:51:20 +0100 Message-ID: <4B470017.9000704@users.sf.net> Date: Fri, 08 Jan 2010 10:51:19 +0100 From: martinko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.6) Gecko/20100102 SeaMonkey/2.0.1 MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.stable To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: kernel: warning: attempt to domain_add(bluetooth) after domainfinalize() 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, 08 Jan 2010 10:14:44 -0000 Hi, I've been seeing the following on 7.x and 8.0 during boot: Jan 8 09:38:49 mb-aw1n-bsd kernel: WARNING: attempt to domain_add(bluetooth) after domainfinalize() It did not happen on 6.x. Is it a known issue ? Regards, Martin From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jan 8 18:48:03 2010 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE951065676 for ; Fri, 8 Jan 2010 18:48:03 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 978D98FC14 for ; Fri, 8 Jan 2010 18:48:03 +0000 (UTC) Received: by pzk15 with SMTP id 15so11816695pzk.3 for ; Fri, 08 Jan 2010 10:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ze1ZEpUZRgaGECn0HH1M5IOq5Q8Ych69vfsPy+59c8o=; b=uvmLLA8+uOxIfsz3sxW8/PJSPrEwp47BiHbbXGoDWma2/HI8Z/5TJ48pcTLWyeV0/d 0T8DtSDAoBIqHeXojVal3wiw/UMTohVW8bs6bXZBdG34WDaSwJL5VIdPc2gutMyvp5Eh JWBn0L7l9hV9AWBtegdAgLOXvezASvDlYw/wQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WTSUxC4Ign8dv8rQ1by09OO8778Aj23y3UQHF3c2KJPX8LuqL2ZSGfns+3wK1PvNBr Rb5B3XcfiHMV7KzMw+AqL4lMrHqYMS/qnAHkJNotYmRPNnpT8FCunk2xkvleWxX2+X7u RDbWL9WyYOA9uJCAlZStbzZfH3D9HyEF7zzqI= MIME-Version: 1.0 Received: by 10.114.21.13 with SMTP id 13mr3809819wau.225.1262976473801; Fri, 08 Jan 2010 10:47:53 -0800 (PST) In-Reply-To: <4B470017.9000704@users.sf.net> References: <4B470017.9000704@users.sf.net> Date: Fri, 8 Jan 2010 10:47:53 -0800 Message-ID: From: Maksim Yevmenkin To: martinko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org Subject: Re: kernel: warning: attempt to domain_add(bluetooth) after domainfinalize() 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, 08 Jan 2010 18:48:03 -0000 2010/1/8 martinko : > Hi, > > I've been seeing the following on 7.x and 8.0 during boot: > > Jan 8 09:38:49 mb-aw1n-bsd kernel: WARNING: attempt to > domain_add(bluetooth) after domainfinalize() > > It did not happen on 6.x. Is it a known issue ? short answer: its not really an "issue". please just ignore it. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jan 8 18:53:11 2010 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90A1C1065672 for ; Fri, 8 Jan 2010 18:53:11 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 6B8D18FC08 for ; Fri, 8 Jan 2010 18:53:11 +0000 (UTC) Received: by pzk15 with SMTP id 15so11819897pzk.3 for ; Fri, 08 Jan 2010 10:53:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=KUre+XJaXPaWBv/dQn/GkF8iP/SBruG5vjEIFNibRXo=; b=eh0qL/aFklUbHadDgLo1Z0apNkA8NbLAIsug7xLBYycEDsgKJ31ksUxr46lCgDoTBX aDSImQ5reYpZSXzZCYuWpWtTYvpDKV7IRrSi7uhfzy79ez/gBH/T0UcmAq6TKGJfXRtR fgcGiFmmu/EcQb4PeySmG71esKu2W/yKnXflE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=BaGhKCvp/uwWZpgUv9tNW5HfRoohnNMYrQNnwSPWj0+LYUjMsSgmDl6pY/Ca3z4Rdo 5AgoUo3XLlrtMpE6qSbADjO0AgDCx7MKWXCGQL1e6/m7gvH8zOgXCi1qIITJu9AfmW3Z tgs2WotJSbGp5hQ2cgEyrMIaMzErg/vPygH5A= MIME-Version: 1.0 Received: by 10.114.236.13 with SMTP id j13mr2858553wah.120.1262976787626; Fri, 08 Jan 2010 10:53:07 -0800 (PST) Date: Fri, 8 Jan 2010 10:53:07 -0800 Message-ID: From: Maksim Yevmenkin To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: obexapp-1.4.13 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, 08 Jan 2010 18:53:11 -0000 hello, obexapp-1.4.13 was released at http://people.freebsd.org/~emax/obexapp/obexapp-1.4.13.tar.gz this release mostly contains various cleanups and nitpicks submitted by different people. there should not be any functional changes. well, almost :) one thing that has changed is that output of the 'ls' command will no longer contain user/group names anymore. instead user/group id will always be returned. i'd like to thank all the people who sent me the patches. thank you for all your work! thanks, max