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" >