From owner-freebsd-mobile@FreeBSD.ORG Mon Feb 28 04:07:31 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C88216A4CE for ; Mon, 28 Feb 2005 04:07:31 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7261243D55 for ; Mon, 28 Feb 2005 04:07:29 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j1S45uNu006389; Sun, 27 Feb 2005 21:05:56 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 27 Feb 2005 21:06:09 -0700 (MST) Message-Id: <20050227.210609.37239597.imp@bsdimp.com> To: jamesd.earl@gmail.com From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: Adding Sierra AirCard support from OpenBSD X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 04:07:31 -0000 In message: James Earl writes: : Hi, : : I'm trying to port OpenBSD's support for the Sierra AirCard's over to : FreeBSD. I don't really know what I'm doing... but I just had to give : it a shot. I have three AirCard 555's at the moment. : : I have confirmed that these cards do work with OpenBSD 3.6. : : I've basically focused on these files: : : /sys/dev/pccard/pccard_cis_quirks.c : /sys/dev/pccard/pccarddevs : /etc/pccard.conf : : I'm not sure if I'm missing some additional files that have required : changes or not. From searching through previous posts on this topic, : it sounds as though one subscriber nearly got it working (see : Resources below). I imagine if he had his hands on the OpenBSD : changes he would have gotten it to work. I'm guessing this is : probably amazingly easy for somone who knows what they're doing. : : My diffs can be found here: : : http://urbanex.ca/download/pccard_cis_quirks.c.diff : http://urbanex.ca/download/pccarddevs.diff : : I'm not exactly sure what to put in /etc/pccard.conf: : card "SIERRA" "A555" : config auto "sio" ? : : Upon booting I get: : : pccard1: using CIS quirks for Sierra Wireless, AirCard 555, A555, Rev 1 : pccard1: CIS version PC Card Standard 7.0 : pccard1: CIS info: Sierra Wireless, AirCard 555, A555, Rev 1 : pccard1: Manufacturer code 0x192, product 0xa555 : pccard1: function 1: serial port, ccr addr 700 mask 73 : pccard1: function 1, config table entry 32: I/O Card; irq mask 3fbc; : iomask 0, iospace 3f8-3ff; io8 irqlevel : pccard1: Allocation failed for cfe 32 : pccard1: No config entry could be allocated Looks like you have another serial port using 3f8-3ff (which is generally COM1). I've had communications with insiders that say other serial ports would also work... I've have no time to integrate things, however. Warner