From owner-freebsd-net@FreeBSD.ORG Thu Dec 23 03:15:27 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEF4816A4CE for ; Thu, 23 Dec 2004 03:15:27 +0000 (GMT) Received: from smtp.volant.org (gate.volant.org [207.111.218.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E04943D49 for ; Thu, 23 Dec 2004 03:15:27 +0000 (GMT) (envelope-from patl+freebsd@volant.org) Received: from 64-144-229-193.client.dsl.net ([64.144.229.193] helo=[192.168.0.22]) by smtp.volant.org with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34 (FreeBSD)) id 1ChJRd-000JxM-Pa; Wed, 22 Dec 2004 19:15:19 -0800 Date: Wed, 22 Dec 2004 19:15:16 -0800 From: Pat Lashley To: Sangwoo Shim , Pierre-Luc Drouin Message-ID: <404B0D742CB7FA6E000F4FD9@vanvoght.phoenix.volant.org> In-Reply-To: <20041215091257.GA79274@neo.redjade.org> References: <41BFA531.90001@pldrouin.net> <20041215091257.GA79274@neo.redjade.org> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Scan-Signature: 93879de74cb745b3ae09b2a0ed0009a27cf25bd6 X-Spam-User: nobody X-Spam-Score: -4.9 (----) X-Spam-Score-Int: -48 X-Spam-Report: This mail has matched the spam-filter tests listed below. See http://spamassassin.org/tag/ for details about the specific tests reported. In general, the higher the number of total points, the more likely that it actually is spam. (The 'required' number of points listed below is the arbitrary number above which the message is normally considered spam.) Content analysis details: (-4.9 points total, 5.0 required) -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] cc: freebsd-net@freebsd.org Subject: Re: TCP/IP over USB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 03:15:27 -0000 --On Wednesday, December 15, 2004 18:12:57 +0900 Sangwoo Shim wrote: >> I would like to establish a TCP/IP connection over USB between my >> FreeBSD box and my PDA (Sharp Zaurus SL-6000L) that has a USB host port. >> I've read that udbp can be used for this purpose, but I have not found >> enough information about it to be able to use it. Could someone explain >> me how this can be done? > > FYI, I've talked to YOPY PDA(also StrongArm-based linux PDA) using > udbp + ng_eiface (with minor hack, namely, add DEVICE/VENDOR ID.) > This combination seems to be compatible with linux's usbnet > implementation. But I've told Zaurus doesn't use standard arm linux kernel.. > I think you should hack ng_eiface to set the communication. For another alternative, try: http://www.gank.org/freebsd/cdce.tar.gz Unpack it anywhere, then cd to that directory (as root) and: make make install kldload if_cdce Then plug in the cable from your Zarus - you should wind up with a cdce0 device that you'll need to ifconfig. (You can add an entry to usbd.conf to do that automatically.) I downloaded a copy to use with my YOPY. (I needed to add a config line and the #define statements; but that's all it took. For anyone trying this with their own YOPY, leave off the CDCE_ZAURUS flag from the YOPY config line.) Now that that's out of the way, Sangwoo, could you post the details of your dubp + ng_eiface solution? I might want to switch to that. -Pat