From owner-freebsd-ppc@FreeBSD.ORG Thu Sep 22 06:48:22 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E58091065672; Thu, 22 Sep 2011 06:48:22 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id B58758FC17; Thu, 22 Sep 2011 06:48:22 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LRW00M00W8L2F00@smtpauth1.wiscmail.wisc.edu>; Thu, 22 Sep 2011 01:48:21 -0500 (CDT) Received: from wanderer.tachypleus.net (nl119-197-51.student.uu.se [130.243.197.51]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LRW00DA1W8IYS20@smtpauth1.wiscmail.wisc.edu>; Thu, 22 Sep 2011 01:48:20 -0500 (CDT) Date: Thu, 22 Sep 2011 08:48:17 +0200 From: Nathan Whitehorn In-reply-to: To: Adrian Chadd Message-id: <4E7ADA31.10307@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=130.243.197.51 X-Spam-PmxInfo: Server=avs-14, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.9.22.63615, SenderIP=130.243.197.51 References: <4D05F135-FAD8-4C15-A942-D99F4F552FF6@gmail.com> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110917 Thunderbird/6.0.2 Cc: freebsd-wireless@freebsd.org, Justin Hibbits , FreeBSD PowerPC ML Subject: Re: if_bwi on PowerBook G4 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 06:48:23 -0000 On 09/22/11 02:07, Adrian Chadd wrote: > On 22 September 2011 07:36, Justin Hibbits wrote: >> I'm trying to get a Linksys wireless card working on my PowerBook G4 (PC >> card, not built-in airport), and running into problems. I've loaded the >> firmware, but when I load the module, it prints the following messages, and >> won't try again: >> >> bwi0: mem 0x88000000-0x88001fff >> irq 58 at device 0.0 on cardbus0 >> bwi0: BBP: id 0x4318, rev 0x2, pkg 2 >> bwi0: MAC: rev 9 >> bwi0: PHY: type 2, rev 7, ver 3 >> bwi0: RF: manu 0x17f, type 0x2050, rev 8 >> bwi0: invalid antenna gain in sprom >> >> I've googled, and seen successes on PowerPC, but not with CardBus (which >> isn't enabled by default, so could contribute), and seen reports with the >> same error message, but followed by the antenna gain being read >> successfully. I'm clueless as to how to proceed with this. > > I'd start by looking at the source to see why this is the case. > It's possible there are endian-ness issues in the driver; I've seen > people with issues w/ the broadcom code in Linux when run on PPC. For whatever it's worth, bwn(4) works on my G4 iBook, despite reporting the same error. However, it ends up running at very much the wrong gain, and I need to be 4 times closer to the AP when running FreeBSD than OS X. -Nathan