Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2009 08:39:29 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-acpi@freebsd.org
Cc:        Cengiz Tas <cengztr@googlemail.com>
Subject:   Re: atheros wireless adapter in freebsd 8
Message-ID:  <200912210839.29385.jhb@freebsd.org>
In-Reply-To: <7fd903a60912190734p9d78c2btebaebad70fa5b3c6@mail.gmail.com>
References:  <7fd903a60912190734p9d78c2btebaebad70fa5b3c6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Atheros 5424/2424> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912210839.29385.jhb>