From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 21 15:16:37 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7620F1065693 for ; Mon, 21 Dec 2009 15:16:37 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4BD8FC13 for ; Mon, 21 Dec 2009 15:16:37 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id E1AC446B0C; Mon, 21 Dec 2009 10:16:36 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id E3F6A8A01B; Mon, 21 Dec 2009 10:16:35 -0500 (EST) From: John Baldwin To: freebsd-acpi@freebsd.org Date: Mon, 21 Dec 2009 08:39:29 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <7fd903a60912190734p9d78c2btebaebad70fa5b3c6@mail.gmail.com> In-Reply-To: <7fd903a60912190734p9d78c2btebaebad70fa5b3c6@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912210839.29385.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 21 Dec 2009 10:16:35 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Cengiz Tas Subject: Re: atheros wireless adapter in freebsd 8 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 15:16:37 -0000 On Saturday 19 December 2009 10:34:26 am Cengiz Tas wrote: > hi ... > > i'm am using linux since 1994. the last few years i used archlinux although > i allways thought about giving freebsd a try. so i did when freebsd 8 was > released. > unfortunately i can' get my atheros wireless adapter working in freebsd due > to acpi problems i guess. in linux it's working fine. > the wireless adapter is part of a fujitsu siemens u9200 notebook. > > some linux outputs: > > lspci -v > ---------- > 06:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless > Network Adapter (rev 04) > Subsystem: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express > Adapter (rev 01) > Flags: bus master, fast devsel, latency 0, IRQ 18 > Memory at fa000000 (64-bit, non-prefetchable) [size=64K] > Capabilities: [40] Power Management version 2 > Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit- > Capabilities: [60] Express Legacy Endpoint, MSI 00 > Capabilities: [90] MSI-X: Enable- Count=1 Masked- > Capabilities: [100] Advanced Error Reporting > Capabilities: [140] Virtual Channel > Kernel driver in use: ath5k > Kernel modules: ath5k > > dmesg | grep -i ath > --------------------------- > > ath5k 0000:06:00.0: enabling device (0104 -> 0106) > ath5k 0000:06:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 > ath5k 0000:06:00.0: setting latency timer to 64 > ath5k 0000:06:00.0: registered as 'phy0' > ath: EEPROM regdomain: 0x30 > ath: EEPROM indicates we should expect a direct regpair map > ath: Country alpha2 being used: AM > ath: Regpair used: 0x30 > ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70) > > > i have read the very well written freebsd handbook and especially the acpi > part. but the hints didn't help me getting my wireless adapter working. > > here are the necessary outputs from freebsd: > > pciconf -lv > --------------- > ath0@pci0:4:0:0: class=0x020000 card=0x3067168c chip=0x001c168c > rev=0x04 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'HDAUDIOFUNC_01&VEN_1095&DEV_1392&SUBSYS_10280242&REV_1000 > (USBVID_147E&PID_20165&B71A446&0&1)' > class = network > subclass = ethernet > > dmesg | grep -a ath > ---------------------------- > ath0: at device 0.0 on pci4 > pcib2: ath0 requested unsupported memory range 0-0xffffffff (decoding 0-0, > 0-0) > ath0: 0x10000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). > ath0: cannot map register space > device_attach: ath0 attach returned 6 This is more of a PCI bus resource allocation problem. It is a known issue but not an easy one to resolve. -- John Baldwin