From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 12:36:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 238721065675 for ; Mon, 2 Aug 2010 12:36:08 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id D08658FC1B for ; Mon, 2 Aug 2010 12:36:07 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OfuFS-0002tZ-MA; Mon, 02 Aug 2010 13:36:06 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OfuFS-0002AP-FP; Mon, 02 Aug 2010 13:36:06 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o72Ca67n038409; Mon, 2 Aug 2010 13:36:06 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o72Ca6UZ038408; Mon, 2 Aug 2010 13:36:06 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 2 Aug 2010 13:36:06 +0100 From: Anton Shterenlikht To: Roland Smith Message-ID: <20100802123605.GB38334@mech-cluster241.men.bris.ac.uk> References: <20100727092348.GA45883@mech-cluster241.men.bris.ac.uk> <20100801135442.GA56091@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100801135442.GA56091@slackbox.erewhon.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: Intel PCI-E 4965AGN wireless iwn(4) isn't detected on Compaq 6715s laptop - USB bus? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 12:36:08 -0000 On Sun, Aug 01, 2010 at 03:54:42PM +0200, Roland Smith wrote: > On Tue, Jul 27, 2010 at 10:23:49AM +0100, Anton Shterenlikht wrote: > > Hi > > > > I've HP Compaq 6715s laptop. I'm trying > > to get wireless working. The laptop has > > Intel 4965 4965AGN wireless WiFi PCI-E card 802.11N AGN > > which is supported by iwn(4). I compiled iwn support > > into the kernel as suggested by the man page. > > Did you also compile in the correct firmware module? > yes, I did >From my kernel config file: device iwn device iwnfw and this is from dmesg (verbose boot): % grep iwn /var/run/dmesg.boot firmware: 'iwn6050fw' version 0: 463692 bytes loaded at 0xffffffff80a42184 firmware: 'iwn1000fw' version 0: 335056 bytes loaded at 0xffffffff808aa884 firmware: 'iwn4965fw' version 0: 187972 bytes loaded at 0xffffffff808fc634 firmware: 'iwn5000fw' version 0: 353240 bytes loaded at 0xffffffff8092a554 firmware: 'iwn5150fw' version 0: 337400 bytes loaded at 0xffffffff80980a04 firmware: 'iwn6000fw' version 0: 454608 bytes loaded at 0xffffffff809d30d4 % so the modules are loaded but the device didn't attach. > > However, the card doesn't appear in dmesg or > > in pciconf -lv. > > Hmm. My 5100 AGN is correctly detected and used; > > iwn0@pci0:14:0:0: class=0x028000 card=0x12018086 chip=0x42328086 rev=0x00 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Carte Intel WiFi Link 5100 AGN (Intel WiFi Link 5100)' > class = network > > iwn0: mem 0xf2200000-0xf2201fff irq 18 at device 0.0 on pci14 > iwn0: MIMO 1T2R, MoW, address 00:22:fa:a3:b6:50 > iwn0: [ITHREAD] > iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M well.. I get nothing: % pciconf -lv|grep iwn % > > > The laptop has a wireless toggle button, which is supposed > > to enable/disable wireless. There is also an LED, which > > lights on when wireless is enabled, and goes off > > when wireless is off. Well, at least this is what > > should happen. > > > > On boot the LED is on. > > > > If I press the button to disable wireless, the LED goes > > off and in dmesg I see: > > > > ugen0.2: at usbus0 (disconnected) > > > > When I switch wireless back on again I see in dmesg: > > > > ugen0.2: at usbus0 > > Does this mean that wireless sits on USB bus? > > I don't think so. I think this is some kind of management interface? I get the > same messages when I switch off my 5100 AGN. > > > Does this give me a clue about how to debug > > the problem further? > > It puzzles me that it is not seen in the pciconf output. Could it be that the > wireless is disabled in the laptop's BIOS? I can't see any wireless BIOS option. I reset to default options, so now the only "disabled" options are under "Device Configurations" Swap Fn/Ctrl Keys Disable Fan Always on while on AC Power Disable Windows Vista(TM) Direct App Launch Disable The default options also show under "Built-In Device Options": Embedded Bluetooth Device Radio Enable Wake on LAN Enable but these shouldn't really be affecting WLAN. Maybe I should check the connectors on the card. The old Broadcom card had 2 connectors, this Intel card has 3, so I connected only terminals 1 and 2 to the laptop - there are no other wires. Maybe I should have another look at this.. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423