From owner-freebsd-mobile@FreeBSD.ORG Sun Feb 27 20:06:53 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 389A916A4CE for ; Sun, 27 Feb 2005 20:06:53 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id CABB543D60 for ; Sun, 27 Feb 2005 20:06:52 +0000 (GMT) (envelope-from jamesd.earl@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so702856wri for ; Sun, 27 Feb 2005 12:06:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=serxlzS/4nwt/UZN7xaV5h/2xQFH8oGy9DopbmuM3nyzmMztAfS/xbn95AIjzs8p0TOO1Vjx7ABWjGfLkE9tJ1iNKo9LszMELRbmZ3ElQUm+RIfMgJGa16w3syuKZyY0ESa7j1XbXqtuRt8BR1R+/LakWo7uFHepDBcSrP6V+24= Received: by 10.54.49.9 with SMTP id w9mr2549wrw; Sun, 27 Feb 2005 12:06:51 -0800 (PST) Received: by 10.54.54.57 with HTTP; Sun, 27 Feb 2005 12:06:51 -0800 (PST) Message-ID: Date: Sun, 27 Feb 2005 13:06:51 -0700 From: James Earl To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Adding Sierra AirCard support from OpenBSD X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: James Earl List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 20:06:53 -0000 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 -- Resources: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pcmcia/ http://lists.freebsd.org/mailman/htdig/freebsd-mobile/2004-August/004657.html http://www.sierrawireless.com/SupportDownload/ac555_Linux.asp