From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 15 02:52:13 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFBAC106566B for ; Sun, 15 Nov 2009 02:52:13 +0000 (UTC) (envelope-from jwh@rewt.org.uk) Received: from smtp.as6911.net (smtp.as6911.net [62.84.177.6]) by mx1.freebsd.org (Postfix) with ESMTP id 546448FC0A for ; Sun, 15 Nov 2009 02:52:12 +0000 (UTC) Received: from jasmine.barbary (nat2.kaya.stf.rewt.org.uk [62.84.188.41]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.as6911.net (Postfix) with ESMTPS id 9EF81FEC2; Sun, 15 Nov 2009 02:52:10 +0000 (GMT) Received: from jasmine.barbary (jasmine.barbary [172.16.11.9]) by jasmine.barbary (Postfix) with ESMTP id 0EB88130DBD; Sun, 15 Nov 2009 02:52:09 +0000 (GMT) Date: Sun, 15 Nov 2009 02:52:09 +0000 (GMT) From: Joe Holden X-X-Sender: jwh@jasmine.barbary To: Rui Paulo In-Reply-To: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> Message-ID: References: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros 9280 Issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 02:52:14 -0000 Hi thanks for the response. I have recompiled kernel and attached the dmesg, the errors it gives seem to relate to having no/invalid regdomain in the eeprom: ath0: mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 on pci6 ath0: [ITHREAD] ar9280Attach: sc 0xc2d8d000 st 0x1 sh 0xc2be9000 ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) ar9280Attach: ID 0x852ff VERSION 0x2 TYPE 0x5 REVISION 0x2 ath_hal_v14EepromAttach Eeprom Magic = 0xa55a ath_hal_v14EepromAttach Eeprom Version 14.16 v14EepromReadCTLInfo Numctls = 21 ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) ar9280RfAttach: attach AR9280 radio enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 cckPhyErrBase 0x0 ar9280Attach: return getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm isEepromValid: invalid regulatory domain/country code 0x6b getregstate: invalid EEPROM contents ath0: ath_getchannels: unable to collect channel list from hal, status 12 ar5416Detach: Detaching Ani Disable MIB counters ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip ) device_attach: ath0 attach returned 22 Thanks, J On Fri, 13 Nov 2009, Rui Paulo wrote: > On 10 Nov 2009, at 14:04, Joe Holden wrote: > >> Hi guys, >> >> I've acquired the above chip, but am having trouble getting it to work, it works under Linux so the chip is definitely in a working state, i've attached some info below. >> >> It is a half-height mini pci-e version, >> >> dmesg: >> ath0: mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 on pci6 >> ath0: [ITHREAD] >> ath0: ath_getchannels: unable to collect channel list from hal, status 12 >> device_attach: ath0 attach returned 22 > > Add "options AH_DEBUG" and "options ATH_DEBUG" to your kernel config file; add "hw.ath.debug=0xffffffff" and "hw.ath.hal.debug=0xffffffff" to /boot/loader.conf > > Boot the new kernel and post the dmesg. > -- > Rui Paulo > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 15 04:08:19 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C64241065676; Sun, 15 Nov 2009 04:08:19 +0000 (UTC) (envelope-from jwh@rewt.org.uk) Received: from smtp.as6911.net (smtp.as6911.net [62.84.177.6]) by mx1.freebsd.org (Postfix) with ESMTP id 40AB08FC12; Sun, 15 Nov 2009 04:08:18 +0000 (UTC) Received: from jasmine.barbary (nat2.kaya.stf.rewt.org.uk [62.84.188.41]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.as6911.net (Postfix) with ESMTPS id 263A1FEC2; Sun, 15 Nov 2009 04:08:17 +0000 (GMT) Received: from jasmine.barbary (jasmine.barbary [172.16.11.9]) by jasmine.barbary (Postfix) with ESMTP id BBBAD130DBC; Sun, 15 Nov 2009 04:08:16 +0000 (GMT) Date: Sun, 15 Nov 2009 04:08:16 +0000 (GMT) From: Joe Holden X-X-Sender: jwh@jasmine.barbary To: Rui Paulo In-Reply-To: Message-ID: References: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros 9280 Issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 04:08:19 -0000 Hi, Having inspected the ath code and edited ah_regdomain.c so that it continues to attach, even if there is no regdomain specified, or its invalid, it successfully attached and I was able to set the regdomain and associate. Throughput isn't particularly good, and also there are alot of hardware reset messages, but that doesn't seem to have any ill effects. Thanks, J On Sun, 15 Nov 2009, Joe Holden wrote: > Hi thanks for the response. > > I have recompiled kernel and attached the dmesg, the errors it gives seem to > relate to having no/invalid regdomain in the eeprom: > > ath0: mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 on pci6 > ath0: [ITHREAD] > ar9280Attach: sc 0xc2d8d000 st 0x1 sh 0xc2be9000 > ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) > ar9280Attach: ID 0x852ff VERSION 0x2 TYPE 0x5 REVISION 0x2 > ath_hal_v14EepromAttach Eeprom Magic = 0xa55a > ath_hal_v14EepromAttach Eeprom Version 14.16 > v14EepromReadCTLInfo Numctls = 21 > ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) > ar9280RfAttach: attach AR9280 radio > enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 cckPhyErrBase > 0x0 > ar9280Attach: return > getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm > isEepromValid: invalid regulatory domain/country code 0x6b > getregstate: invalid EEPROM contents > ath0: ath_getchannels: unable to collect channel list from hal, status 12 > ar5416Detach: > Detaching Ani > Disable MIB counters > ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) > ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip ) > device_attach: ath0 attach returned 22 > > Thanks, > J > > On Fri, 13 Nov 2009, Rui Paulo wrote: > >> On 10 Nov 2009, at 14:04, Joe Holden wrote: >> >>> Hi guys, >>> >>> I've acquired the above chip, but am having trouble getting it to work, it >>> works under Linux so the chip is definitely in a working state, i've >>> attached some info below. >>> >>> It is a half-height mini pci-e version, >>> >>> dmesg: >>> ath0: mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 on >>> pci6 >>> ath0: [ITHREAD] >>> ath0: ath_getchannels: unable to collect channel list from hal, status 12 >>> device_attach: ath0 attach returned 22 >> >> Add "options AH_DEBUG" and "options ATH_DEBUG" to your kernel config file; >> add "hw.ath.debug=0xffffffff" and "hw.ath.hal.debug=0xffffffff" to >> /boot/loader.conf >> >> Boot the new kernel and post the dmesg. >> -- >> Rui Paulo >> >> _______________________________________________ >> freebsd-mobile@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 15 12:00:16 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F5EB106574A for ; Sun, 15 Nov 2009 12:00:16 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3EC8FC18 for ; Sun, 15 Nov 2009 12:00:14 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so853947eya.3 for ; Sun, 15 Nov 2009 04:00:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=Ep8eHmH+E+HdGyWA3oeLIhbG+vwnKHQcInlanMVd/gs=; b=D9xqjlffjEuDl1DgfGEYqra8OpEReNb/4QddtGntaXHx53EF45/ODP6WnCKsqnSOnr 2WVDSh3CT256LyaQMytbEh82Th6SjQ0mmAuf1PaKwzZ2GiPggi7dekt2BXUxKF0VU0te Fqcbp/yHHX50TudU9djH+QiMf/wfyS6d0HYYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type:mime-version :subject:date:references:x-mailer; b=PrA5LCUoNOAWe4MQasbdUBhckts6V5edmRhJsa/MvVdM2eTltd3hK0UoUYZMBSLnmD h8wBBL2Pff2jnbhUmqgSi7rPNocXEhN83K5vJSpQvhvtFzIQRTJAeEMTbbIvaAJgi9pq k0JpQwyoExqvzb4k9y1z5MD5PEbkenFrKIPR4= Received: by 10.213.110.14 with SMTP id l14mr1179593ebp.82.1258286413818; Sun, 15 Nov 2009 04:00:13 -0800 (PST) Received: from rui-macbook.lan ([83.144.140.46]) by mx.google.com with ESMTPS id 5sm3639521eyh.18.2009.11.15.04.00.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 15 Nov 2009 04:00:12 -0800 (PST) Sender: Rui Paulo Message-Id: <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org> From: Rui Paulo To: Joe Holden In-Reply-To: Content-Type: multipart/mixed; boundary=Apple-Mail-2-806336713 Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 15 Nov 2009 12:00:10 +0000 References: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> X-Mailer: Apple Mail (2.936) Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros 9280 Issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 12:00:16 -0000 --Apple-Mail-2-806336713 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 15 Nov 2009, at 02:52, Joe Holden wrote: > Hi thanks for the response. > > I have recompiled kernel and attached the dmesg, the errors it gives > seem to relate to having no/invalid regdomain in the eeprom: > > ath0: mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 > on pci6 > ath0: [ITHREAD] > ar9280Attach: sc 0xc2d8d000 st 0x1 sh 0xc2be9000 > ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) > ar9280Attach: ID 0x852ff VERSION 0x2 TYPE 0x5 REVISION 0x2 > ath_hal_v14EepromAttach Eeprom Magic = 0xa55a > ath_hal_v14EepromAttach Eeprom Version 14.16 > v14EepromReadCTLInfo Numctls = 21 > ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) > ar9280RfAttach: attach AR9280 radio > enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 > cckPhyErrBase 0x0 > ar9280Attach: return > getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm > isEepromValid: invalid regulatory domain/country code 0x6b > getregstate: invalid EEPROM contents > ath0: ath_getchannels: unable to collect channel list from hal, > status 12 > ar5416Detach: > Detaching Ani > Disable MIB counters > ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) > ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip ) > device_attach: ath0 attach returned 22 Try the attached patch please. -- Rui Paulo --Apple-Mail-2-806336713 Content-Disposition: attachment; filename=worldb.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="worldb.diff" Content-Transfer-Encoding: 7bit Index: ah_regdomain.c =================================================================== --- ah_regdomain.c (revision 198439) +++ ah_regdomain.c (working copy) @@ -170,6 +170,7 @@ WOR9_WORLD = 0x69, /* World9 (WO9 SKU) */ WORA_WORLD = 0x6A, /* WorldA (WOA SKU) */ + WORB_WORLD = 0x6B, /* WorldB (WOB SKU) */ MKK3_MKKB = 0x80, /* Japan UNI-1 even + MKKB */ MKK3_MKKA2 = 0x81, /* Japan UNI-1 even + MKKA2 */ @@ -432,6 +433,7 @@ {EU1_WORLD, EU1_WORLD, EU1_WORLD, NO_REQ, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT }, {WOR9_WORLD, WOR9_WORLD, WOR9_WORLD, DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT }, {WORA_WORLD, WORA_WORLD, WORA_WORLD, DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT }, + {WORB_WORLD, WORB_WORLD, WORB_WORLD, DISALLOW_ADHOC_11A | DISALLOW_ADHOC_11A_TURB, NO_REQ, PSCAN_DEFER, CTRY_DEFAULT }, }; /* @@ -1681,6 +1683,31 @@ WG1_2467_2467), .chan11g_turbo = BM1(T3_2437_2437)}, + {.regDmnEnum = WORB_WORLD, + .conformanceTestLimit = NO_CTL, + .dfsMask = DFS_FCC3 | DFS_ETSI, + .pscan = PSCAN_WWR, + .flags = DISALLOW_ADHOC_11A, + .chan11a = BM4(W1_5260_5320, + W1_5180_5240, + W1_5745_5825, + W1_5500_5700), + .chan11b = BM7(W1_2412_2412, + W1_2437_2442, + W1_2462_2462, + W1_2472_2472, + W1_2417_2432, + W1_2447_2457, + W1_2467_2467), + .chan11g = BM7(WG1_2412_2412, + WG1_2437_2442, + WG1_2462_2462, + WG1_2472_2472, + WG1_2417_2432, + WG1_2447_2457, + WG1_2467_2467), + .chan11g_turbo = BM1(T3_2437_2437)}, + {.regDmnEnum = NULL1, .conformanceTestLimit = NO_CTL, } --Apple-Mail-2-806336713-- From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 15 20:35:34 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A4621065757; Sun, 15 Nov 2009 20:35:34 +0000 (UTC) (envelope-from jwh@rewt.org.uk) Received: from smtp.as6911.net (smtp.as6911.net [62.84.177.6]) by mx1.freebsd.org (Postfix) with ESMTP id 932E98FC16; Sun, 15 Nov 2009 20:35:32 +0000 (UTC) Received: from jasmine.barbary (nat2.kaya.stf.rewt.org.uk [62.84.188.41]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.as6911.net (Postfix) with ESMTPS id A9283FEC0; Sun, 15 Nov 2009 20:35:31 +0000 (GMT) Received: from jasmine.barbary (jasmine.barbary [172.16.11.9]) by jasmine.barbary (Postfix) with ESMTP id 30162130DBB; Sun, 15 Nov 2009 20:35:35 +0000 (GMT) Date: Sun, 15 Nov 2009 20:35:35 +0000 (GMT) From: Joe Holden X-X-Sender: jwh@jasmine.barbary To: Rui Paulo In-Reply-To: <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org> Message-ID: References: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros 9280 Issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 20:35:34 -0000 Hiya, This patch doesn't seem to apply to the tree (with original ah_regdomain.c checked out using csup): Patching file ah_regdomain.c using Plan A... Hunk #1 failed at 170. Hunk #2 failed at 433. Hunk #3 failed at 1683. Should I be using any special options? Thanks, On Sun, 15 Nov 2009, Rui Paulo wrote: > On 15 Nov 2009, at 02:52, Joe Holden wrote: > >> Hi thanks for the response. >> >> I have recompiled kernel and attached the dmesg, the errors it gives seem >> to relate to having no/invalid regdomain in the eeprom: >> >> ath0: mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 on pci6 >> ath0: [ITHREAD] >> ar9280Attach: sc 0xc2d8d000 st 0x1 sh 0xc2be9000 >> ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) >> ar9280Attach: ID 0x852ff VERSION 0x2 TYPE 0x5 REVISION 0x2 >> ath_hal_v14EepromAttach Eeprom Magic = 0xa55a >> ath_hal_v14EepromAttach Eeprom Version 14.16 >> v14EepromReadCTLInfo Numctls = 21 >> ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) >> ar9280RfAttach: attach AR9280 radio >> enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 cckPhyErrBase >> 0x0 >> ar9280Attach: return >> getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm >> isEepromValid: invalid regulatory domain/country code 0x6b >> getregstate: invalid EEPROM contents >> ath0: ath_getchannels: unable to collect channel list from hal, status 12 >> ar5416Detach: >> Detaching Ani >> Disable MIB counters >> ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) >> ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip ) >> device_attach: ath0 attach returned 22 > > > Try the attached patch please. > > -- > Rui Paulo From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 15 21:04:04 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BD08106566C; Sun, 15 Nov 2009 21:04:04 +0000 (UTC) (envelope-from jwh@rewt.org.uk) Received: from smtp.as6911.net (smtp.as6911.net [62.84.177.6]) by mx1.freebsd.org (Postfix) with ESMTP id 914058FC13; Sun, 15 Nov 2009 21:04:03 +0000 (UTC) Received: from jasmine.barbary (nat2.kaya.stf.rewt.org.uk [62.84.188.41]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.as6911.net (Postfix) with ESMTPS id C99C7FEC2; Sun, 15 Nov 2009 21:04:01 +0000 (GMT) Received: from jasmine.barbary (jasmine.barbary [172.16.11.9]) by jasmine.barbary (Postfix) with ESMTP id 2F0FE130DBC; Sun, 15 Nov 2009 21:04:06 +0000 (GMT) Date: Sun, 15 Nov 2009 21:04:06 +0000 (GMT) From: Joe Holden X-X-Sender: jwh@jasmine.barbary To: Rui Paulo In-Reply-To: Message-ID: References: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros 9280 Issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 21:04:04 -0000 I have applied the patch manually, current tree was as of Friday, will report back on results. Thanks, On Sun, 15 Nov 2009, Joe Holden wrote: > Hiya, > > This patch doesn't seem to apply to the tree (with original ah_regdomain.c > checked out using csup): > > Patching file ah_regdomain.c using Plan A... > Hunk #1 failed at 170. > Hunk #2 failed at 433. > Hunk #3 failed at 1683. > > Should I be using any special options? > > Thanks, > > On Sun, 15 Nov 2009, Rui Paulo wrote: > >> On 15 Nov 2009, at 02:52, Joe Holden wrote: >> >>> Hi thanks for the response. >>> >>> I have recompiled kernel and attached the dmesg, the errors it gives seem >>> to relate to having no/invalid regdomain in the eeprom: >>> >>> ath0: mem 0xdc000000-0xdc00ffff irq 17 at device 0.0 on >>> pci6 >>> ath0: [ITHREAD] >>> ar9280Attach: sc 0xc2d8d000 st 0x1 sh 0xc2be9000 >>> ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) >>> ar9280Attach: ID 0x852ff VERSION 0x2 TYPE 0x5 REVISION 0x2 >>> ath_hal_v14EepromAttach Eeprom Magic = 0xa55a >>> ath_hal_v14EepromAttach Eeprom Version 14.16 >>> v14EepromReadCTLInfo Numctls = 21 >>> ar5416SetPowerMode: AWAKE -> AWAKE (set chip ) >>> ar9280RfAttach: attach AR9280 radio >>> enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 >>> cckPhyErrBase 0x0 >>> ar9280Attach: return >>> getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm >>> isEepromValid: invalid regulatory domain/country code 0x6b >>> getregstate: invalid EEPROM contents >>> ath0: ath_getchannels: unable to collect channel list from hal, status 12 >>> ar5416Detach: >>> Detaching Ani >>> Disable MIB counters >>> ar5212SetPowerMode: AWAKE -> AWAKE (set chip ) >>> ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip ) >>> device_attach: ath0 attach returned 22 >> >> >> Try the attached patch please. >> >> -- >> Rui Paulo > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 16 00:31:36 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CDEB106566B for ; Mon, 16 Nov 2009 00:31:36 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id E8A1E8FC13 for ; Mon, 16 Nov 2009 00:31:35 +0000 (UTC) Received: by bwz5 with SMTP id 5so5459210bwz.3 for ; Sun, 15 Nov 2009 16:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=tW7j36dg0Gat2UgONx+VCau0iXNmm4TXMThHXX87Vbo=; b=RDoR9v8GjljqgZ5FDuvmGFM8Rb3CucSn8+NLzi3lSeEJogjFAR3OXdRzzH9/VhjP5g +laFkYUdshSQJur+v9iIMM+oSIFehUbM+FkN3DYzCgBpCFOMvK06a5fghowtIdd6JGSs uoSbMXnVYG0fVxhcXUOxiwRsKQy6XLgedhyso= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=rkSnitoPBVoRtOx0ZHmaeWVMw4TPnT/6MsmG+zYsjE4zxUmwLELSj/RBiTMouYVNFU sJ43KOEPZRt5UCOY6HM6rs9OJ12xivmT+7MltyQn+7ErWqOS3+HaQOjA1psXBBT5w8UT G578TK/XuCqLkJYd/AdilUDjgIs5noM71O/jw= Received: by 10.216.89.73 with SMTP id b51mr476353wef.125.1258331494800; Sun, 15 Nov 2009 16:31:34 -0800 (PST) Received: from mac-mini.lan (bl6-148-68.dsl.telepac.pt [82.155.148.68]) by mx.google.com with ESMTPS id 5sm3594771eyf.4.2009.11.15.16.31.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 15 Nov 2009 16:31:34 -0800 (PST) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: Date: Mon, 16 Nov 2009 00:31:31 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <7FC5DA08-0119-42D8-9185-DBC56DF80324@freebsd.org> References: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org> To: Joe Holden X-Mailer: Apple Mail (2.1077) Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros 9280 Issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:31:36 -0000 On 15 Nov 2009, at 20:35, Joe Holden wrote: > Hiya, >=20 > This patch doesn't seem to apply to the tree (with original = ah_regdomain.c checked out using csup): >=20 > Patching file ah_regdomain.c using Plan A... > Hunk #1 failed at 170. > Hunk #2 failed at 433. > Hunk #3 failed at 1683. >=20 > Should I be using any special options? Your CWD must be sys/dev/ath/ath_hal/ -- Rui Paulo From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 16 12:30:13 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D05F81065670; Mon, 16 Nov 2009 12:30:13 +0000 (UTC) (envelope-from jwh@rewt.org.uk) Received: from smtp.as6911.net (smtp.as6911.net [62.84.177.6]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC928FC13; Mon, 16 Nov 2009 12:30:12 +0000 (UTC) Received: from jasmine.barbary (nat2.kaya.stf.rewt.org.uk [62.84.188.41]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.as6911.net (Postfix) with ESMTPS id 3585CFED2; Mon, 16 Nov 2009 12:30:11 +0000 (GMT) Received: from jasmine.barbary (jasmine.barbary [172.16.11.9]) by jasmine.barbary (Postfix) with ESMTP id 7DDF8130DBD; Mon, 16 Nov 2009 12:30:10 +0000 (GMT) Date: Mon, 16 Nov 2009 12:30:10 +0000 (GMT) From: Joe Holden X-X-Sender: jwh@jasmine.barbary To: Rui Paulo In-Reply-To: <7FC5DA08-0119-42D8-9185-DBC56DF80324@freebsd.org> Message-ID: References: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org> <7FC5DA08-0119-42D8-9185-DBC56DF80324@freebsd.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros 9280 Issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 12:30:13 -0000 Hi, this patch has meant that it attaches perfectly, however i'm still seeing random lockups, the box is headless (its a wifi bridge), so obtaining the panic/whatever output is a tad difficult, but the box doesn't respond to shutdown requests etc... Other than that, it is working fine. Thanks, On Mon, 16 Nov 2009, Rui Paulo wrote: > On 15 Nov 2009, at 20:35, Joe Holden wrote: > >> Hiya, >> >> This patch doesn't seem to apply to the tree (with original ah_regdomain.c checked out using csup): >> >> Patching file ah_regdomain.c using Plan A... >> Hunk #1 failed at 170. >> Hunk #2 failed at 433. >> Hunk #3 failed at 1683. >> >> Should I be using any special options? > > Your CWD must be sys/dev/ath/ath_hal/ > > -- > Rui Paulo > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 16 15:24:21 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99AF3106566B for ; Mon, 16 Nov 2009 15:24:21 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED9C8FC1B for ; Mon, 16 Nov 2009 15:24:20 +0000 (UTC) Received: by bwz5 with SMTP id 5so6102075bwz.3 for ; Mon, 16 Nov 2009 07:24:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=ije3enFuU1tNu6YEKygzl1DdHVnjy498sH+0BRCH05g=; b=tcJRbhDrxdeGciOn1WJ69GGRYPDl8Bc4OVIpsEs75eL11vhBCAhi2moSorKYxpLTbO aOa7LwMyUb+bn7COzFErQcvHCy14h/20fMmeYYiO6bgoomKeqYN5HWTFxdzUgLSvgXz7 uHrOuJYEbBf3pMCCknwQ9skBSyj4hWChdWCtA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=HqO+hKEQlVO4q5kt4xvpV4DlfkF48/iNkUwgPS+gJDZ+EkEK3YOKe6OzlYWE6p0W89 DUu1VLhf3tOnZPeKUPhqehhT3Ey7gIIhsiYEYauVU8n5Ledp8YthmiJUCxZukyyuULLe QPNdXn1+opltiV/L1rJ1J5CrzIr53uKjwGT20= Received: by 10.204.153.3 with SMTP id i3mr3016768bkw.26.1258385059908; Mon, 16 Nov 2009 07:24:19 -0800 (PST) Received: from ?192.168.20.3? (230.104.108.93.rev.vodafone.pt [93.108.104.230]) by mx.google.com with ESMTPS id 13sm2080401fxm.1.2009.11.16.07.24.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Nov 2009 07:24:18 -0800 (PST) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: Date: Mon, 16 Nov 2009 15:00:26 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <6BB48003-6AB8-4B2E-AF68-98A9C1FDB07A@freebsd.org> References: <5F4CC8D8-3FAB-405C-A94D-4950D13F7E98@freebsd.org> <3B334B9B-54CE-4DB1-A010-9477A75D7BE1@freebsd.org> <7FC5DA08-0119-42D8-9185-DBC56DF80324@freebsd.org> To: Joe Holden X-Mailer: Apple Mail (2.1077) Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros 9280 Issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 15:24:21 -0000 Hi, On 16 Nov 2009, at 12:30, Joe Holden wrote: > Hi, >=20 > this patch has meant that it attaches perfectly, however i'm still = seeing random lockups, the box is headless (its a wifi bridge), so = obtaining the panic/whatever output is a tad difficult, but the box = doesn't respond to shutdown requests etc... Getting a backtrace is fundamental in trying to solve this. Can you = setup a serial console? > Other than that, it is working fine. Ok, I'll commit it. Thanksm -- Rui Paulo From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 17 03:05:02 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 360AE106566B for ; Tue, 17 Nov 2009 03:05:02 +0000 (UTC) (envelope-from avl@logvinov.com) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.211.178]) by mx1.freebsd.org (Postfix) with ESMTP id F016B8FC16 for ; Tue, 17 Nov 2009 03:05:01 +0000 (UTC) Received: by ywh8 with SMTP id 8so5618216ywh.3 for ; Mon, 16 Nov 2009 19:05:01 -0800 (PST) Received: by 10.90.23.3 with SMTP id 3mr6376173agw.106.1258425686711; Mon, 16 Nov 2009 18:41:26 -0800 (PST) Received: from incubus.bsd ([124.64.179.82]) by mx.google.com with ESMTPS id 4sm1359095yxd.70.2009.11.16.18.41.25 (version=SSLv3 cipher=RC4-MD5); Mon, 16 Nov 2009 18:41:26 -0800 (PST) Message-ID: <4B020D47.3050101@logvinov.com> Date: Tue, 17 Nov 2009 10:41:11 +0800 From: Alexander Logvinov User-Agent: Thunderbird 2.0.0.23 (X11/20091030) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: iwn and hardware switch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 03:05:02 -0000 Hello! It seems this is a common problem for modern laptops. I have Hasee HP870 D4 laptop with keyboard WiFi switch (Fn+F2). Unfortunately this key combination doesn't work (no WiFi led indicator lights) and there is no any option in the BIOS about WiFi switching during boot. Is there any chance to get it work? Thanks! # uname -srm FreeBSD 9.0-CURRENT amd64 # dmesg | grep iwn iwn0: mem 0xd8100000-0xd8101fff irq 16 at device 0.0 on pci2 iwn0: MIMO 1T2R, MoW, address 00:1e:65:7a:07:c2 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 36Mbps 48Mbps 54Mbps iwn0: 11na MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps iwn0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps # pciconv -lv iwn0@pci0:2: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 # ifconfig wlan create wlandev iwn0 ssid my_net up wlan0: Ethernet address: 00:1e:65:7a:07:c2 iwn0: iwn_init_locked: radio is disabled by hardware switch -- Best regards, Alexander From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 17 14:02:53 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0319E106566C for ; Tue, 17 Nov 2009 14:02:53 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 85F7B8FC08 for ; Tue, 17 Nov 2009 14:02:52 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so19401fga.13 for ; Tue, 17 Nov 2009 06:02:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=i8VelXQc/jjw05tW3IydvktJ+qqPoPq32QNQMBkmeXg=; b=TqBpQzQ53pXm+sGuQrkhOvtOpzUa4zJZNFvaBvwAzg++s5PCedysqpuetn/iLoOOCY dAZmA0JUymSPbjM7lq7vjc/m2MBOPYDwPGUN6cqM4jrR1QCl7t1zSjt1AdKCbVe1FPXf I7w71glnN6ax3NBZqBdNdnFres6l8NZMNeKxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=AnGixoveew+6j6SKm9b1pnWvX2prju/YtaeCHVlspOsZKLyVP7aifITGGDnY2ea7Ec i2PU15otWIZ05GpjzJTtQ74KYlpckF0MpwS0DuR80s5vfoqPILSMbuZLPtacbij74Yps ONKtft3Z4jC4rjH1/15eVV2xAt38258RUUwys= Received: by 10.87.62.29 with SMTP id p29mr39691fgk.31.1258466571207; Tue, 17 Nov 2009 06:02:51 -0800 (PST) Received: from mac-mini.lan (bl11-193-116.dsl.telepac.pt [85.244.193.116]) by mx.google.com with ESMTPS id e11sm1234227fga.17.2009.11.17.06.02.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 06:02:50 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: <4B020D47.3050101@logvinov.com> Date: Tue, 17 Nov 2009 14:02:24 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <904A208E-6620-4E51-B738-1EAC3EA411FA@gmail.com> References: <4B020D47.3050101@logvinov.com> To: Alexander Logvinov X-Mailer: Apple Mail (2.1077) Cc: freebsd-mobile@freebsd.org Subject: Re: iwn and hardware switch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 14:02:53 -0000 On 17 Nov 2009, at 02:41, Alexander Logvinov wrote: > Hello! >=20 > It seems this is a common problem for modern laptops. I have Hasee > HP870 D4 laptop with keyboard WiFi switch (Fn+F2). Unfortunately this > key combination doesn't work (no WiFi led indicator lights) and there = is > no any option in the BIOS about WiFi switching during boot. Is there = any > chance to get it work? Thanks! I think your laptop's WiFi can be turned on using WMI. Try loading the = acpi_wmi and acpi_hp drivers. If that doesn't work, you probably have to hack acpi_hp to add support = for your laptop. -- Rui Paulo From owner-freebsd-mobile@FreeBSD.ORG Tue Nov 17 16:19:49 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E73E31065698 for ; Tue, 17 Nov 2009 16:19:49 +0000 (UTC) (envelope-from avl@logvinov.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 87A088FC0C for ; Tue, 17 Nov 2009 16:19:49 +0000 (UTC) Received: by fxm27 with SMTP id 27so159429fxm.3 for ; Tue, 17 Nov 2009 08:19:48 -0800 (PST) Received: by 10.103.37.25 with SMTP id p25mr4539384muj.42.1258474788394; Tue, 17 Nov 2009 08:19:48 -0800 (PST) Received: from incubus.bsd ([125.33.217.193]) by mx.google.com with ESMTPS id j10sm17353405mue.6.2009.11.17.08.19.46 (version=SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 08:19:47 -0800 (PST) Message-ID: <4B02CD14.8080801@logvinov.com> Date: Wed, 18 Nov 2009 00:19:32 +0800 From: Alexander Logvinov User-Agent: Thunderbird 2.0.0.23 (X11/20091030) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <4B020D47.3050101@logvinov.com> <904A208E-6620-4E51-B738-1EAC3EA411FA@gmail.com> In-Reply-To: <904A208E-6620-4E51-B738-1EAC3EA411FA@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: iwn and hardware switch X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 16:19:50 -0000 Hello! On 17.11.2009 22:02 Rui Paulo wrote: >> It seems this is a common problem for modern laptops. I have Hasee >> HP870 D4 laptop with keyboard WiFi switch (Fn+F2). Unfortunately this >> key combination doesn't work (no WiFi led indicator lights) and there is >> no any option in the BIOS about WiFi switching during boot. Is there any >> chance to get it work? Thanks! > I think your laptop's WiFi can be turned on using WMI. Try loading the acpi_wmi and acpi_hp drivers. > If that doesn't work, you probably have to hack acpi_hp to add support for your laptop. Nice, it looks good! But unfortunately it doesn't work: # kldload acpi_wmi # kldload acpi_hp acpi_hp0: Couldn't find acpi_wmi device device_attach: acpi_hp0 attach returned 22 # ls /dev/wmistat ls: /dev/wmistat: No such file or directory # sysctl -a | grep -c -i PNP0C14 0 Here is ASL file: http://people.freebsd.org/~avl/misc/foo.asl.gz Let me know if you want more information. Thanks! -- Best regards, Alexander