From owner-freebsd-hackers@FreeBSD.ORG Thu May 12 04:02:12 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBB9916A4CE for ; Thu, 12 May 2005 04:02:12 +0000 (GMT) Received: from smtp.andrew.cmu.edu (smtp.andrew.cmu.edu [128.2.10.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C61543D67 for ; Thu, 12 May 2005 04:02:12 +0000 (GMT) (envelope-from dga+@cs.cmu.edu) Received: from [192.168.15.50] (dsl093-060-134.pit1.dsl.speakeasy.net [66.93.60.134]) (user=dga2 mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.12.10/8.12.10) with ESMTP id j4C42AhV009096 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 12 May 2005 00:02:11 -0400 Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <30cdb79b408d7736a392342696db90c0@cs.cmu.edu> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-hackers@freebsd.org From: David Andersen Date: Thu, 12 May 2005 00:01:36 -0400 X-Mailer: Apple Mail (2.622) Subject: hacked up "driver" for AirPrime / Audiovox PC5220 EVDO card X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 04:02:13 -0000 As a bit of a followup to my earlier post - I've cobbled together a brief howto + driver for the AirPrime PC5220 EVDO card for FreeBSD. The code is just a stripped down version of the existing uplcom.c driver - the EVDO card looks like a serial port, but it doesn't actually need things like dtr, etc., since there's not a real serial device attached. In essense, all the resulting driver does is find the USB device IDs and attach them to a ucom. So the code is kind of ugly and stupid, but I'm sure someone could make something elegant from it. :-) It works - I've had pings running through it for the last day or so - but I haven't tested it extensively. The thread I started earlier about the "remove the card and the machine crashes" bug with the USB subsystem probably makes it a little less attractive until that's fixed too. Tested only under -stable near 5.4 release. http://www.cs.cmu.edu/~dga/dot/fbsd_pc5220/ (If anyone could test it in an EVDO-enabled area and see if bumping the bitrate up in their PPP config just works like I think it should, let me know! You should be able to get a full speed EVDO connection... I think.) -Dave