From owner-freebsd-wireless@FreeBSD.ORG Wed Oct 10 14:27:41 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96A8611C; Wed, 10 Oct 2012 14:27:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A5018FC14; Wed, 10 Oct 2012 14:27:41 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so821215pbb.13 for ; Wed, 10 Oct 2012 07:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Xkj3eV5vbtfOxnlq74kppt18cXiigH66wUaYmhsj00Y=; b=twcw+c/N2tI+rgD4r4HElOxJBgUI3uVwmEkD5g47iNl7YWi1Gt7MVPG1h1WjKd9y8Y lc+m8gPEe56J0t3hu0hUr7+ndiyaCdN3uj9uC3LCI7oKL6MmoqF1X9/EGAAZhTwkK2A6 U2IlaGu/ZZMBr3trx056DUbTgkInRFX3d671yMgVnhgKSYVuUkbEpwROHhhhdHqBZ9H3 LzAmS0czwHueVMmKU3Dxeg7lePPLScScvv7VsDsqB7vzBtzvvNa1wRaZ2y1Wt14DbBsa F4W5RCywN0n82/HJ3bnmzsz+A3pRyTnkU3KSCAosYXss4ooPtLpfv08Ggd3rVFxGmNBV i74g== MIME-Version: 1.0 Received: by 10.66.89.37 with SMTP id bl5mr63311822pab.55.1349879260878; Wed, 10 Oct 2012 07:27:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.223.136 with HTTP; Wed, 10 Oct 2012 07:27:40 -0700 (PDT) In-Reply-To: <86txu277vn.fsf@venux.xbsd.name> References: <86ehl96o4i.fsf@venux.xbsd.name> <86y5jfye1u.fsf@venux.xbsd.name> <86txu277vn.fsf@venux.xbsd.name> Date: Wed, 10 Oct 2012 07:27:40 -0700 X-Google-Sender-Auth: LLPfvK5-UdmWUh7IUaSBIqJpZwo Message-ID: Subject: Re: What driver should I use for 'intel centrino wireless-N 2200 BGN' ? From: Adrian Chadd To: Kevin Oberman , Andreas Nilsson , freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Oct 2012 14:27:41 -0000 No, just give Bermhard time to see and reply :) adrian On 10 October 2012 06:51, Denise H. G. wrote: > > On 2012/10/10 at 12:32, Kevin Oberman wrote: >> >> On Tue, Oct 9, 2012 at 6:23 AM, Denise H. G. wrote: >>> >>> On 2012/10/09 at 00:44, Kevin Oberman wrote: >>>> >>>> On Mon, Oct 8, 2012 at 9:36 AM, Andreas Nilsson wrote: >>>>> On Mon, Oct 8, 2012 at 2:21 PM, Denise H. G. wrote: >>>>> >>>>>> Hi list, >>>>>> >>>>>> I tried ipw, iwn, and iwi, but ended up with no luck. What's more, it >>>>>> seems that the wireless adapter has not been even detected by the >>>>>> system. I ran 'pciconf -l' and got this line which seems to be my >>>>>> wireless adapter: >>>>>> >>>>>> none3@pci0:3:0:0: class=0x028000 card=0x42228086 chip=0x08918086 >>>>>> rev=0xc4 hdr=0x00 >>>>>> >>>>>> Is there a driver for that under FreeBSD 9.1-PRERELEASE? >>>>>> >>>>>> Thanks! >>>>>> >>>>> >>>>> Man page for iwi says >>>>> The iwi driver provides support for Intel PRO/Wireless 2200BG/2915ABG >>>>> >>>>> Do you have legal.intel_iwi.license_ack=1 in loader.conf ? >>>>> >>>>> Perhaps you need to check if the device id is listed in the source code? >>>> >>>> Yes. Some vendors (e.g. Lenovo, HP) have private PCIIDs on their >>>> cards, so they may not be in the source. Adding them is trivial, but, >>>> should this be the issue, please open a PR to have it added to the >>>> source in SVN. >>> >>> I tried to add some device ids into the source code of the drivers, but >>> with no luck. Maybe I am doing it the wrong way. >> >> The card ID in the code is 4220 and yours has is 4222. Edit >> /sys/dev/iwi/if_iwi.c and add: >> { 0x8086, 0x4222, "Intel(R) PRO/Wireless 2200BG" }, >> after line 123. >> >> If you are loading the module, you can just rebuild that. Otherwise >> you will need to rebuild the kernel. If you are not familiar with >> building a module, rebuilding the whole thing, kernel and modules, is >> probably the best idea. >> >> Note that I don't currently have any 2200BG card, so I have not done >> any testing. I looked at the pci.ids file and it does not seem to have >> an entry for 0x4220, but does have one for 0x4222, so I am a bit >> confused, but the pci.ids file is not relevant to the driver. It's >> just an oddity. > > Thanks for your help. I've added the card's id to if_iwn.c and rebuilt > the kernel. When system boots, the card is recognized. But the driver > says it cannot load the firmware for this specific card. I guess more > work is to be done to get this card running. > > I took a look at the code in if_iwn.c. It seems it is pretty hard coded > for the known cards. If a new card is to be supported, much work may be > needed to do it. > > Anyway, thank you. I think I might need a USB wireless solution now. > >> -- >> R. Kevin Oberman, Network Engineer >> E-mail: kob6558@gmail.com >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"