From owner-freebsd-gnome@FreeBSD.ORG  Tue May  3 13:15:21 2005
Return-Path: <owner-freebsd-gnome@FreeBSD.ORG>
Delivered-To: freebsd-gnome@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CDCEC16A4CE
	for <gnome@FreeBSD.org>; Tue,  3 May 2005 13:15:21 +0000 (GMT)
Received: from mvs6.plala.or.jp (c158134.vh.plala.or.jp [210.150.158.134])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C446443D62
	for <gnome@FreeBSD.org>; Tue,  3 May 2005 13:15:20 +0000 (GMT)
	(envelope-from bland@FreeBSD.org)
Received: from hub.bbnest.net ([60.34.9.82]) by mvs6.plala.or.jp with ESMTP
          id <20050503131516.DUGD19989.mvs6.plala.or.jp@hub.bbnest.net>;
          Tue, 3 May 2005 22:15:16 +0900
Received: from [10.0.0.2] (bland@nest.bbnest.net [10.0.0.2])
	by hub.bbnest.net (8.13.3/8.13.1) with ESMTP id j43DFEDx042570;
	Tue, 3 May 2005 22:15:14 +0900 (JST)
	(envelope-from bland@FreeBSD.org)
Message-ID: <42777955.9020105@FreeBSD.org>
Date: Tue, 03 May 2005 22:15:01 +0900
From: Alexander Nedotsukov <bland@FreeBSD.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050417
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Roland van Laar <the_mip_rvl@myrealbox.com>
References: <1114598119.34418.19.camel@localhost.McMaster.CA>
	<8061fbee050429193161f9b5aa@mail.gmail.com>
	<8061fbee05042919363856e4bd@mail.gmail.com>
	<1115119679.69520.5.camel@localhost>
In-Reply-To: <1115119679.69520.5.camel@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: Corey Smith <corsmith@gmail.com>
cc: gnome@FreeBSD.org
Subject: Re: Fwd: Patch to gnomepilot2 for USB support under FreeBSD 5.x
X-BeenThere: freebsd-gnome@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: GNOME for FreeBSD -- porting and maintaining
	<freebsd-gnome.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-gnome>,
	<mailto:freebsd-gnome-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-gnome>
List-Post: <mailto:freebsd-gnome@freebsd.org>
List-Help: <mailto:freebsd-gnome-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-gnome>,
	<mailto:freebsd-gnome-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 03 May 2005 13:15:22 -0000

Roland,

The answer is native usb palm connection (-p usb:/dev/ugen0) does not 
work. Though you can always use slower serial over usb link. AFAIK next 
pilot-link release 0.13 will use libusb and get support for latest 
direct usb protocol changes. This probably give us a bigger chances.

All the best,
Alexander.

Roland van Laar wrote:

>Hello,
>
>I was quite happe when I read this email :)
>I've looked into it in the past, but couldn't find an easy way to get it
>"native" usb to work. 
>
>On Fri, 2005-04-29 at 22:36 -0400, Corey Smith wrote: 
>  
>
>>FYI:
>>
>>Here is a quick walkthrough of my setup:
>>
>>5.3-RELEASE
>>cd /usr/ports/palm/gnomepilot2 && make install
>>cd /usr/ports/mail/evolution && make -DWITH_PILOT install
>>kldload uvisor
>>
>>gnomepilot2 uses the pilot-link package under the hood.
>>
>>You should be able to test pilot-link with something like:
>>
>>pilot-xfer --port /dev/ucom0 --list
>>
>>The trick is to run this command within a few seconds of pressing the
>>sync button on your cradle so that /dev/ucom0 actually exists when it
>>starts.  If you get a list of the databases on your palm then things
>>are working.
>>
>>My patch for gnomepilot2 simply checks for the palm device every
>>timeout and then starts the conduits if it exists.
>>    
>>
>
>Up to here everything works 
>  
>
>>To configure evolution:
>>
>>Start evolution and open: Tools->Pilot settings
>>Set your device to "/dev/ucom0"
>>I'm able to sync at high speed without a problem: 115200
>>    
>>
>
>When I select /dev/ucom0 and serial with a speed of 9600 everything
>works. Although I have to first press the hotsync button before I start
>gpilotd to let it find /dev/ucom0 and sync.
>
>  
>
>>You should enable the evolution conduits at this point and be able to sync.
>>
>>So how do you get gpilotd to startup when you start gnome?
>>
>>Add the pilot-applet to your gnome notification area.  Then log-out
>>and save your settings.  Now when you login to gnome the pilot applet
>>will start and startup gpilotd.  
>>    
>>
>
>This works :)
>
>  
>
>>Then whenever you hit the hotsync
>>button on your cradle a notification window will pop-up and show the
>>sync status.
>>    
>>
>
>The problem is that when I press the hotsync button gpilotd starts to
>give these messages:
>
>
>gpilotd-Message: Shutting down devices
>gpilotd-Message: Rereading configuration...
>gpilotd-Message: Watching Cradle1 (/dev/ucom0)
>
>/* I press the hotsync button */
>
>gpilotd-Message: setting PILOTRATE=115200
>
>(gpilotd:70207): gpilotd-WARNING **: pi_accept_to: Operation timed out
>
>(gpilotd:70207): gpilotd-WARNING **: pi_accept_to: timeout was 2 secs
>gpilotd-Message: setting PILOTRATE=115200
>
>(gpilotd:70207): gpilotd-WARNING **: pi_accept_to: Operation timed out
>
>(gpilotd:70207): gpilotd-WARNING **: pi_accept_to: timeout was 2 secs
>gpilotd-Message: setting PILOTRATE=115200
>
>(gpilotd:70207): gpilotd-WARNING **: pi_accept_to: Operation timed out
>
>etc
>
>  
>
>>Let me know if you experience any problems.
>>    
>>
>
>Let me know if you need more information.
>
>Roland van Laar
>
>  
>
>>-Corey Smith
>>    
>>
>
>
>_______________________________________________
>freebsd-gnome@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>  
>