From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 1 02:27:29 2005 Return-Path: X-Original-To: freebsd-bluetooth@FreeBSD.org 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 4983F16A41F; Mon, 1 Aug 2005 02:27:29 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEE8F43D49; Mon, 1 Aug 2005 02:27:28 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.18.175.161]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IKI003ULUTRQN90@vms048.mailsrvcs.net>; Sun, 31 Jul 2005 21:27:28 -0500 (CDT) Date: Sun, 31 Jul 2005 22:26:19 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <1121287483.60360.21.camel@hood.oook.cz> To: pav@FreeBSD.org Message-id: <1122863179.663.22.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT References: <42D558B3.1060603@centtech.com> <42D55B3D.50605@savvis.net> <42D55D5D.8030604@centtech.com> <42D57496.2050102@savvis.net> <42D57C67.7020500@centtech.com> <1121287483.60360.21.camel@hood.oook.cz> Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: Palm sync over bluetooth? 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: Mon, 01 Aug 2005 02:27:29 -0000 On Wed, 2005-07-13 at 22:44 +0200, Pav Lucistnik wrote: > Eric Anderson píše v st 13. 07. 2005 v 15:41 -0500: > > Maksim Yevmenkin wrote: > > > Eric, > > > > > >>>> Does anyone have a cookbook, or howto on this? I think I'm missing > > >>>> a piece somewhere.. > > >>> > > >>> > > >>> depends on what do you mean by "sync" :) intelligent sync, i.e > > >>> something like syncml etc. is not supported at the moment. its not > > >>> really a bluetooth fault, its just no one wrote a tool (or at least i > > >>> do not know of any) that properly does syncml over obex over > > >>> bluetooth (or whatever palm supports). i'd like to add syncml support > > >>> to obexapp(1), but not have much free time at the moment. > > >>> > > >>> it should be possible to transfer files/etc. from/to palm using obex > > >>> with obexapp(1) from ports (comms/obexapp). > > >> > > >> > > >> :) ok, I'll try to state more clearly.. > > >> > > >> I'd like to get my palm t5 to sync (using the 'hotsync' in the palm) > > >> over bluetooth, instead of serial cable, or even usb, using jpilot (or > > >> pilot-xfer which jpilot uses I believe). pilot-xfer can use a serial > > >> port (/dev/something) or network (net:any for ip). > > >> > > >> I was thinking that since my palm supports syncing over bluetooth > > >> (uses it like a serial port), I should be able to make my FreeBSD box > > >> connect the bluetooth to a pseudo tty device, which I could then have > > >> pilot-xfer use. Does this seem reasonable? > > > > > > > > > man rfcomm_sppd(1) > > > > From the man page, I was under the impression that would allow me to do > > the opposite. For instance, connect to another computer's serial device > > over bluetooth, instead of the palm connecting to the computer. > > That's exactly how it is with serial and USB - computer connects to > Palm, then you start Hotsync application on Palm. > > I do mine slightly roundabout way -- using network sync. Setup is as follows: -- working bluetooth hardware ;) in my case D-Link DBT-120 -- load USB stack + ng_ubt -- optionally (?) configure /etc/bluetooth/hosts -- rc.bluetooth start ubt0 -- configure /etc/bluetooth/hcsecd.conf with proper PIN and start hcsecd -- start sdpd -- start rfcomm_pppd -d -s -C 1 -l bluetooth -- in /etc/ppp/pppd.conf bluetooth: set dial "\"\" READY GO" set ifaddr 192.168.1.1 192.168.1.2 disable chap disable deflate disable mppe disable pred1 disable shortseq disable vjcomp disable ipv6cp set timeout 0 set lqrperiod 10 enable lqr accept lqr # Do not use PPP authentication. Assume that # Bluetooth connection was authenticated already disable pap deny pap disable chap deny chap -- start pi-csd for network sync nohup /usr/local/bin/pi-csd -q -H -a 192.168.1.1 -n 255.255.255.0 & Only quirky thing there is "dial" line in ppp configuration -- I use it on USB since it seems that some characters are being dropped between ucom being created and devd starting necessary application, so I kept it here for consistency as well. You will have to configure your Palm for network sync (provided that it knows how ;) and set your target computer (not necessarily one you have bluetooth on). This is pretty straightforward on my Clie T615C. PILOTPORT has to be set to "net:any", same setting could be used in jPilot. I have not had much luck with Evolution, but that might have been due to the lack of motivation. If you need more detail, just ask. Any suggestions on improving this setup is more then welcome. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)