From owner-freebsd-current@FreeBSD.ORG Thu Jul 1 17:25:34 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BC01616A4D1; Thu, 1 Jul 2004 17:25:33 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i61HPXCS005256; Thu, 1 Jul 2004 13:25:33 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i61HPW5m005255; Thu, 1 Jul 2004 13:25:32 -0400 (EDT) (envelope-from green) Date: Thu, 1 Jul 2004 13:25:32 -0400 From: Brian Fundakowski Feldman To: "Bruce A. Mah" Message-ID: <20040701172532.GC1034@green.homeunix.org> References: <20040701154429.GA3543@tomcat.kitchenlab.org> <20040701164523.GA1034@green.homeunix.org> <1088702269.3601.40.camel@tomcat.kitchenlab.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1088702269.3601.40.camel@tomcat.kitchenlab.org> User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: Re: Sony Clie PEG-TJ37 vs. FreeBSD CURRENT (long) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 17:25:34 -0000 On Thu, Jul 01, 2004 at 10:17:49AM -0700, Bruce A. Mah wrote: > On Thu, 2004-07-01 at 09:45, Brian Fundakowski Feldman wrote: > > On Thu, Jul 01, 2004 at 08:44:29AM -0700, Bruce A. Mah wrote: > > > Hi-- > > > > > > Has anyone gotten a Sony Clie PEG-TJ37 (PalmOS 5.2.1-based PDA) to > > > establish a PPP connection with a 5-CURRENT/i386 machine over USB? > > > (If anyone has a TJ25 or TJ35, that's pretty close and I'd like to > > > hear from you too.) > > > > > > I've been trying for awhile now without much success. I'm generally > > > following the instructions from: > > > > > > http://gja.space4me.com/things/Palm_TungstenC_Freebsd.html > > > > > > I had to apply the following patches to allow the uvisor driver to > > > recognize the TJ37's USB ID: > > > [...] > > > > Heya, Bruce; I happened to be screwing with the uvisor driver a lot > > yesterday to try to get my phone working (which it still doesn't... > > no real explanation why...). Try also merging in these diffs; you > > should at least be able to adjust the part where it's choosing which > > "port" to attach to the ucom device so that it chooses whichever you > > are supposed to be able to do PPP over (right now, it's at the > > HotSync port, but it's also untested :) > > Brian, you rock. With your patches (applied verbatim): > > tomcat:bmah% ifconfig tun0 > tun0: flags=8051 mtu 1500 > inet 10.1.1.1 --> 10.1.1.2 netmask 0xffffffff > Opened by PID 28304 > tomcat:bmah% ping 10.1.1.2 > PING 10.1.1.2 (10.1.1.2): 56 data bytes > 64 bytes from 10.1.1.2: icmp_seq=0 ttl=255 time=7.724 ms > 64 bytes from 10.1.1.2: icmp_seq=1 ttl=255 time=6.757 ms > 64 bytes from 10.1.1.2: icmp_seq=2 ttl=255 time=6.553 ms > 64 bytes from 10.1.1.2: icmp_seq=3 ttl=255 time=7.384 ms > > (If I had needed to adjust the port for the ucom connection, that would > have been in the block of code with "XXX Should attach a ucom for each > connection", yes?) > > Have to go off and do ${REALWORK} now...I'm looking forward to playing > with this more tonight (might finally be able to HotSync all my data > onto this new gadget). > > Thanks! Great, glad it works! Yeah, that's the part where you'd potentially want to attach them all; since you're the one with the hardware in a position to really test it, I'd appreciate if you'd add the appropriate USB_DEBUG printfs for the PALM4 (!VISOR) case to see what ports are really available and hopefully get someone who really knows the USB/device drivers to finish making multiple ucom attachment work. I really wonder why in most cases we're diverging from NetBSD's USB drivers at all such that most changes are a "porting" effort :-/ -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\