From owner-freebsd-bluetooth@FreeBSD.ORG Mon Jan 10 21:48:06 2005 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E81B116A4CE for ; Mon, 10 Jan 2005 21:48:06 +0000 (GMT) Received: from psismtp6.vodafone.es (back.vodafone.es [212.73.32.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id B573743D54 for ; Mon, 10 Jan 2005 21:48:05 +0000 (GMT) (envelope-from jjess@homeunix.com) Received: from zurich.homeunix.com ([212.166.165.150]) byIA4F7S00.5EE for ; Mon, 10 Jan 2005 22:47:52 +0100 Received: from jjess by zurich.homeunix.com with local (Exim 4.42 (FreeBSD)) id 1Co7IX-0000FY-LM; Mon, 10 Jan 2005 22:42:01 +0100 Date: Mon, 10 Jan 2005 22:42:01 +0100 From: Jes To: Maksim Yevmenkin Message-ID: <20050110224201.373ad571@zurich.homeunix.com> In-Reply-To: <41E2E01C.2090003@savvis.net> References: <20050107163705.616cbe5f@zurich.homeunix.com> <41DECEA3.5080500@savvis.net> <20050107195406.0c76f42e@zurich.homeunix.com> <41DEE958.70403@savvis.net> <20050107223725.15a4554d@zurich.homeunix.com> <20050110163125.060d1e26@zurich.homeunix.com> <41E2C546.10801@savvis.net> <41E2E01C.2090003@savvis.net> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: Jes cc: freebsd-bluetooth@freebsd.org Subject: Re: Motorola E1000 and obexapp 1.4.4 in server mode X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 21:48:07 -0000 On Mon, 10 Jan 2005 12:05:48 -0800 Maksim Yevmenkin wrote: > Jes, > > can i ask you to try something else? basically its the same change as > before, but you need to adjust a couple more variables. > > 1) edit /sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h file and > change > > #define RFCOMM_DEFAULT_MTU 127 > > to > > #define RFCOMM_DEFAULT_MTU 667 > > > 2) edit /sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h file and change > > #define NG_BTSOCKET_RFCOMM_SENDSPACE \ > (RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 10) > #define NG_BTSOCKET_RFCOMM_RECVSPACE \ > (RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 10) > > to > > #define NG_BTSOCKET_RFCOMM_SENDSPACE \ > (RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 2) > #define NG_BTSOCKET_RFCOMM_RECVSPACE \ > (RFCOMM_MAX_CREDITS * RFCOMM_DEFAULT_MTU * 2) > > > 3) re-compile ng_btsocket module, i.e. > > # cd /sys/modules/netgraph/bluetooth/socket/ > # make depend > # make > # make install > > > 4) reboot and try again WoW ! now I get everything working ... Those changes are good, tested with both motorola e1000 and sony ericsson z600, obexapp in both server and client mode and rfcomm_pppd. Thanks a lot Max. Bye -- Love at first sight is one of the greatest labor-saving devices the world has ever seen.