Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2010 18:23:43 +0400
From:      =?KOI8-R?Q?=ED=C1=CB=C1=D2=D5=CB=20=F2=CF=CD=C1=CE=20=F7=C1=CC=C5=D2=D8=C5=D7=C9=DE?= <n_diablo_n_f@pochta.ru>
To:        freebsd-stable@freebsd.org
Subject:   Atheros AR2427 in FreeBSD 8.1
Message-ID:  <15043432234b76fe1b2ad7382bfd0e7901412ad1@mail.qip.ru>

next in thread | raw e-mail | index | archive | help
=9A =9A Hello! I have Asus Eee PC 1001PX wich Atheros AR2427. This Wi-Fi=
 officially not supported by driver ath. But in OpenBSD and Linux this c=
ard supported.=0A=0A=9A =9A I added to ath/ath_hal/ar9285_attath.c:=0A=
=0Aar9285Probe(uint16_t vendorid, uint16_t devid)=0Atatic const char* ar=
9285Probe(uint16_t vendorid, uint16_t devid)=0A{=0A=09if (vendorid =3D=
=3D ATHEROS_VENDOR_ID &amp;&amp; devid =3D=3D AR9285_DEVID_PCIE)=0A=09=
=09return "Atheros 9285";=0A=09if (vendorid =3D=3D ATHEROS_VENDOR_ID &am=
p;&amp; devid =3D=3D AR2427_DEVID_PCIE)=0A=09=09return "Atheros 2427";=
=0A=09return AH_NULL;=0A}=0A=0A=9A And to /ath/ath_hal_ah_dev_id.h:=0A=
=0A#define AR2427_DEVID_PCIE =9A =9A0x002c=0A=0A=9A I compile ath module=
 witch debug. And the WiFi has to work. But then i try to connect tp AP=
 witch WEP crypt i see next: "ath0: bb hang detected (0x80), reseting".=
=0A=0A=9A And my home AP DI-524 (WPA-PSK crypt) can not be found.=9A=0A=
=0A=9A By this, I have a few questions. Can anyone help solve this probl=
em and finish the driver. And will the official support for this card in=
 the FreeBSD?=0A=0A=9A Appendix:=0A=0A#kldload if_ath=0A=0Apci0: driver=
 added=0Afound->   vendor=3D0x8086, dev=3D0x27d8, revid=3D0x02=0A   doma=
in=3D0, bus=3D0, slot=3D27, func=3D0=0A   class=3D04-03-00, hdrtype=3D0x=
00, mfdev=3D0=0A   cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D8 (dwo=
rds)=0A   lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0=
 ns)=0A   intpin=3Da, irq=3D22=0A   powerspec 2  supports D0 D3  current=
 D0=0A   MSI supports 1 message, 64 bit=0Apci0:0:27:0: reprobing on driv=
er added=0Afound->   vendor=3D0x8086, dev=3D0x27da, revid=3D0x02=0A   do=
main=3D0, bus=3D0, slot=3D31, func=3D3=0A   class=3D0c-05-00, hdrtype=3D=
0x00, mfdev=3D0=0A   cmdreg=3D0x0001, statreg=3D0x0280, cachelnsz=3D0 (d=
words)=0A   lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00=
 (0 ns)=0A   intpin=3Db, irq=3D21=0Apci0:0:31:3: reprobing on driver add=
ed=0Apci1: driver added=0Apci2: driver added=0Afound->   vendor=3D0x168c=
, dev=3D0x002c, revid=3D0x01=0A   domain=3D0, bus=3D2, slot=3D0, func=3D=
0=0A   class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0=0A   cmdreg=3D0x0407,=
 statreg=3D0x0010, cachelnsz=3D8 (dwords)=0A   lattimer=3D0x00 (0 ns), m=
ingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)=0A   intpin=3Da, irq=3D17=0A =
  powerspec 3  supports D0 D1 D3  current D0=0A   MSI supports 1 message=
=0Apci0:2:0:0: reprobing on driver added=0Aath0:  mem 0xfbff0000-0xfbfff=
fff irq 17 at device 0.0 on pci2=0Apcib2: ath0 requested memory range 0x=
fbff0000-0xfbffffff: good=0Aioapic0: routing intpin 17 (PCI IRQ 17) to l=
apic 0 vector 59=0Aath0: [MPSAFE]=0Aath0: [ITHREAD]=0Aar9285Attach: sc 0=
xc49ca000 st 0x1 sh 0xe678d000=0Aar5416SetPowerMode: AWAKE -> AWAKE (set=
 chip )=0Aar9285Attach: AR_SREV 0xc02ff=0Aar9285Attach: ID 0xc02ff VERSI=
ON 0x3 TYPE 0x0 REVISION 0x2=0Aath_hal_v4kEepromAttach Eeprom Magic =3D=
 0xa55a=0Aath_hal_v4kEepromAttach Eeprom Version 14.13=0Av4kEepromReadCT=
LInfo Numctls =3D 6=0Aar5416SetPowerMode: AWAKE -> AWAKE (set chip )=0Aa=
r9280RfAttach: attach AR9280 radio=0AenableAniMIBCounters: Enable mib co=
unters: OfdmPhyErrBase 0x0 cckPhyErrBase 0x0=0Aar9285Attach: return=0Age=
tchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm=0Agetregstate: EEPROM cc 0=
 rd 0x10=0Agetregstate: EEPROM rd 0x60=0Agetchannels: !avail mode 0x6800=
c (0x2) flags 0x2150=0Agetchannels: !avail mode 0x6800c (0x1) flags 0x14=
0=0Aar5416GetChipPowerLimits: no min/max power for 2412/0xa0=0AChan 2412=
: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max powe=
r for 2417/0xa0=0AChan 2417: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipP=
owerLimits: no min/max power for 2422/0xa0=0AChan 2422: MaxPow =3D 63 Mi=
nPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 2427/0xa0=0A=
Chan 2427: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min=
/max power for 2432/0xa0=0AChan 2432: MaxPow =3D 63 MinPow =3D 0=0Aar541=
6GetChipPowerLimits: no min/max power for 2437/0xa0=0AChan 2437: MaxPow=
 =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 24=
42/0xa0=0AChan 2442: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimi=
ts: no min/max power for 2447/0xa0=0AChan 2447: MaxPow =3D 63 MinPow =3D=
 0=0Aar5416GetChipPowerLimits: no min/max power for 2452/0xa0=0AChan 245=
2: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max pow=
er for 2457/0xa0=0AChan 2457: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChip=
PowerLimits: no min/max power for 2462/0xa0=0AChan 2462: MaxPow =3D 63 M=
inPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 2467/0xa0=
=0AChan 2467: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no=
 min/max power for 2472/0xa0=0AChan 2472: MaxPow =3D 63 MinPow =3D 0=0Aa=
r5416GetChipPowerLimits: no min/max power for 2484/0xa0=0AChan 2484: Max=
Pow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for=
 2412/0x480=0AChan 2412: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPower=
Limits: no min/max power for 2417/0x480=0AChan 2417: MaxPow =3D 63 MinPo=
w =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 2422/0x480=0ACh=
an 2422: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/m=
ax power for 2427/0x480=0AChan 2427: MaxPow =3D 63 MinPow =3D 0=0Aar5416=
GetChipPowerLimits: no min/max power for 2432/0x480=0AChan 2432: MaxPow=
 =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 24=
37/0x480=0AChan 2437: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLim=
its: no min/max power for 2442/0x480=0AChan 2442: MaxPow =3D 63 MinPow=
 =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 2447/0x480=0ACha=
n 2447: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/ma=
x power for 2452/0x480=0AChan 2452: MaxPow =3D 63 MinPow =3D 0=0Aar5416G=
etChipPowerLimits: no min/max power for 2457/0x480=0AChan 2457: MaxPow=
 =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 24=
62/0x480=0AChan 2462: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLim=
its: no min/max power for 2467/0x480=0AChan 2467: MaxPow =3D 63 MinPow=
 =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 2472/0x480=0ACha=
n 2472: MaxPow =3D 63 MinPow =3D 0=0Agetchannels: !avail mode 0x6800c (0=
x20) flags 0xd0=0Agetchannels: !avail mode 0x6800c (0x40) flags 0x150=0A=
getchannels: !avail mode 0x6800c (0x400) flags 0x8140=0Agetchannels: !av=
ail mode 0x6800c (0x200) flags 0x4140=0Agetchannels: !avail mode 0x6800c=
 (0x1000) flags 0x8480=0Agetchannels: !avail mode 0x6800c (0x800) flags=
 0x4480=0Aar5416GetChipPowerLimits: no min/max power for 2412/0x10480=0A=
Chan 2412: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min=
/max power for 2417/0x10480=0AChan 2417: MaxPow =3D 63 MinPow =3D 0=0Aar=
5416GetChipPowerLimits: no min/max power for 2422/0x10480=0AChan 2422: M=
axPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power f=
or 2427/0x10480=0AChan 2427: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipP=
owerLimits: no min/max power for 2432/0x10480=0AChan 2432: MaxPow =3D 63=
 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 2437/0x10=
480=0AChan 2437: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits:=
 no min/max power for 2442/0x10480=0AChan 2442: MaxPow =3D 63 MinPow =3D=
 0=0Aar5416GetChipPowerLimits: no min/max power for 2447/0x10480=0AChan=
 2447: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max=
 power for 2452/0x10480=0AChan 2452: MaxPow =3D 63 MinPow =3D 0=0Aar5416=
GetChipPowerLimits: no min/max power for 2457/0x10480=0AChan 2457: MaxPo=
w =3D 63 MinPow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 2=
462/0x10480=0AChan 2462: MaxPow =3D 63 MinPow =3D 0=0Aar5416GetChipPower=
Limits: no min/max power for 2467/0x10480=0AChan 2467: MaxPow =3D 63 Min=
Pow =3D 0=0Aar5416GetChipPowerLimits: no min/max power for 2472/0x10480=
=0AChan 2472: MaxPow =3D 63 MinPow =3D 0=0Agetchannels: !avail mode 0x68=
00c (0x10000) flags 0x10140=0Agetchannels: !avail mode 0x6800c (0x80000)=
 flags 0x20140=0Agetchannels: !avail mode 0x6800c (0x100000) flags 0x401=
40=0AassignPrivateChannels: private[  0] 2412/0xa0 -> channel 2412=0Aass=
ignPrivateChannels: private[  1] 2417/0xa0 -> channel 2417=0AassignPriva=
teChannels: private[  2] 2422/0xa0 -> channel 2422=0AassignPrivateChanne=
ls: private[  3] 2427/0xa0 -> channel 2427=0AassignPrivateChannels: priv=
ate[  4] 2432/0xa0 -> channel 2432=0AassignPrivateChannels: private[  5]=
 2437/0xa0 -> channel 2437=0AassignPrivateChannels: private[  6] 2442/0x=
a0 -> channel 2442=0AassignPrivateChannels: private[  7] 2447/0xa0 -> ch=
annel 2447=0AassignPrivateChannels: private[  8] 2452/0xa0 -> channel 24=
52=0AassignPrivateChannels: private[  9] 2457/0xa0 -> channel 2457=0Aass=
ignPrivateChannels: private[ 10] 2462/0xa0 -> channel 2462=0AassignPriva=
teChannels: private[ 11] 2467/0x2a0 -> channel 2467=0AassignPrivateChann=
els: private[ 12] 2472/0x2a0 -> channel 2472=0AassignPrivateChannels: pr=
ivate[ 13] 2484/0x2a0 -> channel 2484=0AassignPrivateChannels: 40 public=
, 14 private channels=0Aath_hal_init_channels: cc 0=0Aath_getchannels: e=
eprom rd 96 cc 0 (mapped rd 96 cc 0) location I ecm=0Aath_hal_computetxt=
ime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (r=
ate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_c=
omputetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown=
 phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0A=
ath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime=
: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate=
 ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_comp=
utetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown ph=
y 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath=
_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: u=
nknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix=
 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_compute=
txtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4=
 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_ha=
l_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unkn=
own phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=
=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxt=
ime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (r=
ate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_c=
omputetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown=
 phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0A=
ath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime=
: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate=
 ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_comp=
utetxtime: unknown phy 4 (rate ix 8)=0Aath_hal_computetxtime: unknown ph=
y 4 (rate ix 8)=0Aath_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath=
_hal_computetxtime: unknown phy 4 (rate ix 8)=0Aath_descdma_setup: rx DM=
A: 40 buffers 1 desc/buf=0Aath_descdma_setup: rx DMA map: 0xe679e000 (38=
40) -> 0x2325e000 (3840)=0Aath_descdma_setup: tx DMA: 200 buffers 10 des=
c/buf=0Aath_descdma_setup: tx DMA map: 0xe67cd000 (192000) -> 0x20400000=
 (192000)=0Aath_descdma_setup: beacon DMA: 4 buffers 1 desc/buf=0Aath_de=
scdma_setup: beacon DMA map: 0xe67fd000 (384) -> 0x1570d000 (384)=0Aar52=
12SetupTxQueue: queue 9=0Aar5212SetupTxQueue: queue 8=0Aar5212SetupTxQue=
ue: queue 0=0Aar5212SetupTxQueue: queue 1=0Aar5212SetupTxQueue: queue 2=
=0Aar5212SetupTxQueue: queue 3=0Aath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11=
Mbps=0Aath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18=
Mbps 24Mbps 36Mbps 48Mbps 54Mbps=0Aath0: 11ng MCS: 15Mbps 30Mbps 45Mbps=
 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180M=
bps 240Mbps 270Mbps 300Mbps=0Aath0: AR9285 mac 192.2 RF5133 phy 14.0=0Aa=
th0: Use hw queue 1 for WME_AC_BE traffic=0Aath0: Use hw queue 0 for WME=
_AC_BK traffic=0Aath0: Use hw queue 2 for WME_AC_VI traffic=0Aath0: Use=
 hw queue 3 for WME_AC_VO traffic=0Aath0: Use hw queue 8 for CAB traffic=
=0Aath0: Use hw queue 9 for beacons=0Aath0: using multicast key search=
=0Apci4: driver added=0Apci5: driver added=0A=0A



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