Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2009 16:34:26 +0100
From:      Cengiz Tas <cengztr@googlemail.com>
To:        freebsd-acpi@freebsd.org
Subject:   atheros wireless adapter in freebsd 8
Message-ID:  <7fd903a60912190734p9d78c2btebaebad70fa5b3c6@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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

sysctl hw.aci
-------------------
hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: NONE
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 1
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.acline: 1
hw.acpi.battery.life: 100
hw.acpi.battery.time: -1
hw.acpi.battery.state: 1
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 26.8C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 0
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: -1
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 127.0C
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._TC1: -1
hw.acpi.thermal.tz0._TC2: -1
hw.acpi.thermal.tz0._TSP: -1
hw.acpi.thermal.tz1.temperature: 48.0C
hw.acpi.thermal.tz1.active: -1
hw.acpi.thermal.tz1.passive_cooling: 1
hw.acpi.thermal.tz1.thermal_flags: 0
hw.acpi.thermal.tz1._PSV: 95.0C
hw.acpi.thermal.tz1._HOT: -1
hw.acpi.thermal.tz1._CRT: 127.0C
hw.acpi.thermal.tz1._ACx: 95.0C 55.0C -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz1._TC1: 0
hw.acpi.thermal.tz1._TC2: 10
hw.acpi.thermal.tz1._TSP: 2
hw.acpi.cpu.cx_lowest: C1

adding hw.acpi.osname="Windows 2001", "Window 2006" or "Linux" to
loader.conf doesn't change anything.
kenv confirmed the parameter's new value after reboot. sysctl doesn't get
this information.

if necessary i could upload my asl dump. is there any site i could use for
dmesg respectively asl dump files?

cheers,
cengiz



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