Atheros AR2427 на Asus Eee PC 1001PX

Решение проблем связванных с работой железа. Проблемы программно-аппаратной совместимости.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-28 18:52:59

Да, видно, вот например:
сс -O2 -pipe -DAH_DEBUG ,,,

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-28 18:59:14

strings драйвер.ко | grep debug
а дайте ssh? или у вас не прямой айпи

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-28 19:04:14

Я бы с радостью дал Вам доступ по ssh :) Но айпишник не прямой.
По команде "strings if_ath.ko | grep debug" вывел "Atheros HAL debbuging printfs hw.ath.hal.debug"

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-28 19:07:31

может не тот драйвер грузите?

ну тогда удалите с ah_osdep.c
строку if (ath_hal_debug & mask)
а скобку оставте
так уже 100% должен дебаг сыпатся

HALDEBUG(

- if (ath_hal_debug & mask) {
+ {

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-28 19:17:50

Сделал, как Вы просили. Эффекта тот же самый - никакой дополнительной информации. Может не там смотрю? На экране ничего не появляется, в dmesg всё по старому, в /var/log тоже ничего. Хотя информация крайне важная.

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-28 19:23:23

там там смотрите

а загрузите ваш скомпиленый ko драйвер
сюда
rghost.ru

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-28 19:31:20


Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-28 19:38:12

модуль правильно собран

может дествительно не там ищите
что на нулевой консоли?
а /var/log/debug
?

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-28 19:44:11

На нулевой консоли ничего, только то, что можно увидеть в dmesg. В /var/log/debug.log Только одна запись о создании этого лога и всё.


Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-28 19:57:08

или с бучером можете скооперироватся
он вам vpn доступ даст
вы соеденитесь по vpn
а он уже к вам через тунель на ssh зайдет

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-28 20:10:36

Большое спасибо :) Рад, что дело хоть как-то по чуть-чуть сдвигается с мёртвой точки. А то уже неделю шарю по Интернету и такое ощущение, что всем всё равно, что FreeBSD не работает с AR2427, хотя с виду кажется, что больших изменений в драйвере не надо. Очень странно, что никого это не интересует :)
Почитал Ваши ссылки, сейчас забил в конфиг ядра AH_DEBUG и ATH_DEBUG. На пересборку на маленьком нетбуке понадобиться минут 20-30. А я пойду развеюсь на улице :)
Прикрепляю архив с изменённым драйвером и выводы dmsg и pciconf. Я кончено не драйверо писец, так что ругайте. Посмотрите, может кто более опытный разберётся.
http://rghost.ru/2220912

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35456
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Alex Keda » 2010-07-29 7:27:12

походу, нескомпилилось, или на улице загулял =))
Убей их всех! Бог потом рассортирует...

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-29 15:32:39

Да нет, всё скомпилилось. И не загулял. Вчера уже просто лениво было сидеть и разбираться :) Вот сегодня запустил, посмотрел, что выводит в дебаге. Прошу:

Код: Выделить всё

#kldload if_ath
pci0: driver added
found->	vendor=0x8086, dev=0x27d8, revid=0x02
domain=0, bus=0, slot=27, func=0
class=04-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0006, statreg=0x0010, cachelnsz=8 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=22
powerspec 2  supports D0 D3  current D0
MSI supports 1 message, 64 bit
pci0:0:27:0: reprobing on driver added
found->	vendor=0x8086, dev=0x27da, revid=0x02
domain=0, bus=0, slot=31, func=3
class=0c-05-00, hdrtype=0x00, mfdev=0
cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
attimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=21
pci0:0:31:3: reprobing on driver added
pci1: driver added
pci2: driver added
found->	vendor=0x168c, dev=0x002c, revid=0x01
domain=0, bus=2, slot=0, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0407, statreg=0x0010, cachelnsz=8 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=17
powerspec 3  supports D0 D1 D3  current D0
MSI supports 1 message
pci0:2:0:0: reprobing on driver added
ath0: <Atheros 2427> mem 0xfbff0000-0xfbffffff irq 17 at device 0.0 on pci2
pcib2: ath0 requested memory range 0xfbff0000-0xfbffffff: good
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 59
ath0: [MPSAFE]
ath0: [ITHREAD]
ar9280Attach: sc 0xc47ac000 st 0x1 sh 0xe6778000
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
ar9280Attach: ID 0xc02ff VERSION 0x3 TYPE 0x0 REVISION 0x2
ath_hal_v14EepromAttach Eeprom Magic = 0xa55a
Byte swap EEPROM contents.
Bad EEPROM checksum 0x83c2 (Len=1628)
ar5416Detach:
Detaching Ani
Disable MIB counters
ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip )
ath0: unable to attach hardware; HAL status 7
device_attach: ath0 attach returned 6
pci4: driver added
pci5: driver added

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-29 16:04:59

добавте в
ar9280_attach.c
строку HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: AR_SREV 0x%x\n", val);

Код: Выделить всё

/* Read Revision from Chips before talking out of reset */
val = OS_REG_READ(ah, AR_SREV);
HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: AR_SREV 0x%x\n", val);
HALDEBUG(ah, HAL_DEBUG_ATTACH,
вот так должно выглядить
и пересобирайте
нужнен дебаг с значением AR_SREV

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-29 16:10:50

PS
перенесите эти изменения в файл ar9285_attach.c
и заодно перенесите детект AR2427 в этот файл
что бы он там срабатывал
а не в ar9280_attach.c

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-29 16:28:32

Сейчас попробую сначала в ar9280. Но в вызове ф-ии HALDEBUG, которую Вы предолжили не хватает параметров для %s.

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-29 16:38:02

Код: Выделить всё

HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: AR_SREV 0x%x\n", __func__, val);
давайте сразу в ar9285
в ar9280 будет тоже самое
но в 9285 есть веротяность что безчексум не будет

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-29 17:03:08

Теперь всё по порядку :)
Сначала я всё таки собрал с аттачам в ar9280. Вывело следующее:

Код: Выделить всё

pci0: driver added
found->	vendor=0x8086, dev=0x27d8, revid=0x02
	domain=0, bus=0, slot=27, func=0
	class=04-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x0010, cachelnsz=8 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=22
	powerspec 2  supports D0 D3  current D0
	MSI supports 1 message, 64 bit
pci0:0:27:0: reprobing on driver added
found->	vendor=0x8086, dev=0x27da, revid=0x02
	domain=0, bus=0, slot=31, func=3
	class=0c-05-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=21
pci0:0:31:3: reprobing on driver added
pci1: driver added
pci2: driver added
found->	vendor=0x168c, dev=0x002c, revid=0x01
	domain=0, bus=2, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0407, statreg=0x0010, cachelnsz=8 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=17
	powerspec 3  supports D0 D1 D3  current D0
	MSI supports 1 message
pci0:2:0:0: reprobing on driver added
ath0: <Atheros 2427> mem 0xfbff0000-0xfbffffff irq 17 at device 0.0 on pci2
pcib2: ath0 requested memory range 0xfbff0000-0xfbffffff: good
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 59
ath0: [MPSAFE]
ath0: [ITHREAD]
ar9280Attach: sc 0xc45c3000 st 0x1 sh 0xe678d000
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
ar9280Attach: AR_SREV 0xc02ff
ar9280Attach: ID 0xc02ff VERSION 0x3 TYPE 0x0 REVISION 0x2
ath_hal_v14EepromAttach Eeprom Magic = 0xa55a
Byte swap EEPROM contents.
Bad EEPROM checksum 0x83c2 (Len=1628)
ar5416Detach:
Detaching Ani
Disable MIB counters
ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
ar5416SetPowerMode: AWAKE -> FULL-SLEEP (set chip )
ath0: unable to attach hardware; HAL status 7
device_attach: ath0 attach returned 6
Потом закомментировал код в аттаче ar9280 и добавил это дело в 9285. Сказало следующее:

Код: Выделить всё

pci0: driver added
found->	vendor=0x8086, dev=0x27d8, revid=0x02
	domain=0, bus=0, slot=27, func=0
	class=04-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0006, statreg=0x0010, cachelnsz=8 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=22
	powerspec 2  supports D0 D3  current D0
	MSI supports 1 message, 64 bit
pci0:0:27:0: reprobing on driver added
found->	vendor=0x8086, dev=0x27da, revid=0x02
	domain=0, bus=0, slot=31, func=3
	class=0c-05-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=21
pci0:0:31:3: reprobing on driver added
pci1: driver added
pci2: driver added
found->	vendor=0x168c, dev=0x002c, revid=0x01
	domain=0, bus=2, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0407, statreg=0x0010, cachelnsz=8 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=17
	powerspec 3  supports D0 D1 D3  current D0
	MSI supports 1 message
pci0:2:0:0: reprobing on driver added
ath0: <Atheros 2427> mem 0xfbff0000-0xfbffffff irq 17 at device 0.0 on pci2
pcib2: ath0 requested memory range 0xfbff0000-0xfbffffff: good
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 0 vector 59
ath0: [MPSAFE]
ath0: [ITHREAD]
ar9285Attach: sc 0xc49ca000 st 0x1 sh 0xe678d000
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
ar9285Attach: AR_SREV 0xc02ff
ar9285Attach: ID 0xc02ff VERSION 0x3 TYPE 0x0 REVISION 0x2
ath_hal_v4kEepromAttach Eeprom Magic = 0xa55a
ath_hal_v4kEepromAttach Eeprom Version 14.13
v4kEepromReadCTLInfo Numctls = 6
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
ar9280RfAttach: attach AR9280 radio
enableAniMIBCounters: Enable mib counters: OfdmPhyErrBase 0x0 cckPhyErrBase 0x0
ar9285Attach: return
getchannels: cc 0 regDmn 0xf0 mode 0xffffff ecm
getregstate: EEPROM cc 0 rd 0x10
getregstate: EEPROM rd 0x60
getchannels: !avail mode 0x6800c (0x2) flags 0x2150
getchannels: !avail mode 0x6800c (0x1) flags 0x140
ar5416GetChipPowerLimits: no min/max power for 2412/0xa0
Chan 2412: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2417/0xa0
Chan 2417: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2422/0xa0
Chan 2422: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2427/0xa0
Chan 2427: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2432/0xa0
Chan 2432: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2437/0xa0
Chan 2437: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2442/0xa0
Chan 2442: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2447/0xa0
Chan 2447: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2452/0xa0
Chan 2452: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2457/0xa0
Chan 2457: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2462/0xa0
Chan 2462: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2467/0xa0
Chan 2467: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2472/0xa0
Chan 2472: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2484/0xa0
Chan 2484: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2412/0x480
Chan 2412: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2417/0x480
Chan 2417: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2422/0x480
Chan 2422: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2427/0x480
Chan 2427: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2432/0x480
Chan 2432: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2437/0x480
Chan 2437: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2442/0x480
Chan 2442: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2447/0x480
Chan 2447: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2452/0x480
Chan 2452: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2457/0x480
Chan 2457: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2462/0x480
Chan 2462: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2467/0x480
Chan 2467: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2472/0x480
Chan 2472: MaxPow = 63 MinPow = 0
getchannels: !avail mode 0x6800c (0x20) flags 0xd0
getchannels: !avail mode 0x6800c (0x40) flags 0x150
getchannels: !avail mode 0x6800c (0x400) flags 0x8140
getchannels: !avail mode 0x6800c (0x200) flags 0x4140
getchannels: !avail mode 0x6800c (0x1000) flags 0x8480
getchannels: !avail mode 0x6800c (0x800) flags 0x4480
ar5416GetChipPowerLimits: no min/max power for 2412/0x10480
Chan 2412: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2417/0x10480
Chan 2417: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2422/0x10480
Chan 2422: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2427/0x10480
Chan 2427: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2432/0x10480
Chan 2432: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2437/0x10480
Chan 2437: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2442/0x10480
Chan 2442: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2447/0x10480
Chan 2447: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2452/0x10480
Chan 2452: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2457/0x10480
Chan 2457: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2462/0x10480
Chan 2462: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2467/0x10480
Chan 2467: MaxPow = 63 MinPow = 0
ar5416GetChipPowerLimits: no min/max power for 2472/0x10480
Chan 2472: MaxPow = 63 MinPow = 0
getchannels: !avail mode 0x6800c (0x10000) flags 0x10140
getchannels: !avail mode 0x6800c (0x80000) flags 0x20140
getchannels: !avail mode 0x6800c (0x100000) flags 0x40140
assignPrivateChannels: private[  0] 2412/0xa0 -> channel 2412
assignPrivateChannels: private[  1] 2417/0xa0 -> channel 2417
assignPrivateChannels: private[  2] 2422/0xa0 -> channel 2422
assignPrivateChannels: private[  3] 2427/0xa0 -> channel 2427
assignPrivateChannels: private[  4] 2432/0xa0 -> channel 2432
assignPrivateChannels: private[  5] 2437/0xa0 -> channel 2437
assignPrivateChannels: private[  6] 2442/0xa0 -> channel 2442
assignPrivateChannels: private[  7] 2447/0xa0 -> channel 2447
assignPrivateChannels: private[  8] 2452/0xa0 -> channel 2452
assignPrivateChannels: private[  9] 2457/0xa0 -> channel 2457
assignPrivateChannels: private[ 10] 2462/0xa0 -> channel 2462
assignPrivateChannels: private[ 11] 2467/0x2a0 -> channel 2467
assignPrivateChannels: private[ 12] 2472/0x2a0 -> channel 2472
assignPrivateChannels: private[ 13] 2484/0x2a0 -> channel 2484
assignPrivateChannels: 40 public, 14 private channels
ath_hal_init_channels: cc 0
ath_getchannels: eeprom rd 96 cc 0 (mapped rd 96 cc 0) location I ecm
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_hal_computetxtime: unknown phy 4 (rate ix 8)
ath_descdma_setup: rx DMA: 40 buffers 1 desc/buf
ath_descdma_setup: rx DMA map: 0xe679e000 (3840) -> 0x2325e000 (3840)
ath_descdma_setup: tx DMA: 200 buffers 10 desc/buf
ath_descdma_setup: tx DMA map: 0xe67cd000 (192000) -> 0x20400000 (192000)
ath_descdma_setup: beacon DMA: 4 buffers 1 desc/buf
ath_descdma_setup: beacon DMA map: 0xe67fd000 (384) -> 0x1570d000 (384)
ar5212SetupTxQueue: queue 9
ar5212SetupTxQueue: queue 8
ar5212SetupTxQueue: queue 0
ar5212SetupTxQueue: queue 1
ar5212SetupTxQueue: queue 2
ar5212SetupTxQueue: queue 3
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbps
ath0: AR9285 mac 192.2 RF5133 phy 14.0
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons
ath0: using multicast key search
pci4: driver added
pci5: driver added
При попытка сканирования:

Код: Выделить всё

#ifconfig ath0 up scan
ath_init: if_flags 0x8803
ath_stop_locked: invalid 0 if_flags 0x8803
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
>>>2 ar5416Reset: AR_PHY_DAG_CTRLCCK=0x3b5
>>>2 ar5416Reset: AR_PHY_ADC_CTL=0xa000
ar9285SetTransmitPower Channel=2412 CfgCtl=241
ar9285SetTransmitPower AR_PHY_POWER_TX_RATE3=0x26262626 AR_PHY_POWER_TX_RATE4=0x26262626
ar5212ResetTxQueue: reset queue 0
setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x1 eol 0x1 urn 0x0
ar5212ResetTxQueue: reset queue 1
setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x3 eol 0x3 urn 0x0
ar5212ResetTxQueue: reset queue 2
setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x7 eol 0x7 urn 0x0
ar5212ResetTxQueue: reset queue 3
setTxQInterrupts: tx ok 0x0 err 0x0 desc 0xf eol 0xf urn 0x0
ar5212ResetTxQueue: inactive queue 4
ar5212ResetTxQueue: inactive queue 5
ar5212ResetTxQueue: inactive queue 6
ar5212ResetTxQueue: inactive queue 7
ar5212ResetTxQueue: reset queue 8
setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x10f eol 0x10f urn 0x0
ar5212ResetTxQueue: reset queue 9
setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x30f eol 0x10f urn 0x0
ar5416InitBB 2GHz channel
ar5416Reset: done
ath_calcrxfilter: RX filter 0x17, STA if_flags 0x8803
ath_update_mcast: MC filter 00000000:00000000
ar5416StartPcuReceive: Start PCU Receive
ar5416AniReset: chan 2412/0xa0 restore 1 opmode 1
ar5416AniControl: immunity level out of range (0 > 0)
ar5416AniControl: spur immunity level out of range (0 > 0)
ar5416AniControl: firstep level out of range (0 > 0)
ar5416AniRestart: Writing ofdmbase=0   cckbase=0
ar5416SetInterrupts: 0x800965 => 0xc0001071
ar5416SetInterrupts: new IMR 0x14b7
ar5416SetInterrupts: enable IER

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-29 17:05:46

вообщем все работает
теперь вам в другую тему
о том как wifi на бсд поднимать)))

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-29 17:08:00

>bu7cher
закоммить а?

>вампир
убирайте дебаг
собирайте нормально
и читайте мануалы о wifi

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-29 17:29:01

Ну коммитить, по мне, ещё очень и очень рано. Во-первых я думаю надо создать отельный сишник и хидер, и все зависимые файлы специально под AR2427 и внести изменения в драйвер так, чтобы он всё таки выдавал, что работает AR2427. Теперь, про Wi-Fi, это я сдуру кончено скан пуситл. Надо было сначало устройство создать. Создал, на свою голову, запустил скан. Теперь ядро столько хлама выводит и остановиться не может.

Гость
проходил мимо

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение Гость » 2010-07-29 17:34:46

Во-первых я думаю надо создать отельный сишник и хидер, и все зависимые файлы специально под AR2427 и внести изменения в драйвер так, чтобы он всё таки выдавал, что работает AR2427.
AR2427 это AR9285
все нужные изменения это автодетект
и все
никакие лишние изменения не нужны

кстати на бсдпортале это ваша тема по AR2427?
если не ваша сходите и им поможите

Аватара пользователя
VampireNF
ефрейтор
Сообщения: 60
Зарегистрирован: 2010-07-27 20:28:31
Откуда: Санкт-Петербург

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение VampireNF » 2010-07-29 17:41:29

Нет, на БСД портале не моя тема. Но я на неё долго "молился", что там наконец-то решат проблему. Думаете такой "тяп-ляп" это нормальная поддержка AR2427? :)
Теперь так, что за бескончный вывод мне в консоль был? Вот кусок этого мата:

Код: Выделить всё

Jul 29 18:29:15  kernel: ath_tx_handoff: 0: 00000000 07ee76e8 213f002e 0120002a 00010000 0000001b
Jul 29 18:29:15  kernel: ath_tx_handoff: TXDP[1] = 0x20415cc0 (0xe67e2cc0) depth 1
Jul 29 18:29:15  kernel: ar5212StartTxDma: queue 1
Jul 29 18:29:15  kernel: ath_intr: status 0x48
Jul 29 18:29:15  kernel: ath_tx_processq: tx queue 1 head 0x20415cc0 link 0xe67e2cc0
Jul 29 18:29:15  kernel: Q1[  0] (DS.V:0xe67e2cc0 DS.P:0x20415cc0) L:00000000 D:07ee76e8 F:0413
Jul 29 18:29:15  kernel: 213f002e 0120002a 00010000 0000001b 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00021084 00000000 3f000000 3f000000 3f000000 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000ath_intr: status 0xc8
Jul 29 18:29:15  kernel: 
Jul 29 18:29:15  kernel: ath_tx_processq: tx queue 1 head 0x20415cc0 link 0xe67e2cc0
Jul 29 18:29:15  kernel: Q1[  0] (DS.V:0xe67e2cc0 DS.P:0x20415cc0) L:00000000 D:07ee76e8 F:0413 *
Jul 29 18:29:15  kernel: 213f002e 0120002a 00010000 0000001b 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00021084 00000000 3f000000 3f000000 3f000000 00808080 00000001
Jul 29 18:29:15  kernel: 72daf5d9 00000000 00000000 80808080 80808080 80808080 80808080 00000001
Jul 29 18:29:15  kernel: ath_chan_set: 10 (2457 MHz, flags 0x480)
Jul 29 18:29:15  kernel: ar5416SetInterrupts: 0xc0001071 => 0x0
Jul 29 18:29:15  kernel: ar5416SetInterrupts: disable IER
Jul 29 18:29:15  kernel: ar5416SetInterrupts: new IMR 0x0
Jul 29 18:29:15  kernel: ath_draintxq: tx queue [9] 0, link 0
Jul 29 18:29:15  kernel: ath_tx_stopdma: tx queue [0] 0, link 0
Jul 29 18:29:15  kernel: ath_tx_stopdma: tx queue [1] 0x20415cc0, link 0
Jul 29 18:29:15  kernel: ath_tx_stopdma: tx queue [2] 0, link 0
Jul 29 18:29:15  kernel: ath_tx_stopdma: tx queue [3] 0, link 0
Jul 29 18:29:15  kernel: ath_tx_stopdma: tx queue [8] 0, link 0
Jul 29 18:29:15  kernel: ar5416StopPcuReceive: Stop PCU Receive 
Jul 29 18:29:15  kernel: ath_stoprecv: rx queue 0x2325e000, link 0xe679eea0
Jul 29 18:29:15  kernel: R[ 0] (DS.V:0xe679e000 DS.P:0x2325e000) L:2325e060 D:07f99800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000043 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[ 1] (DS.V:0xe679e060 DS.P:0x2325e060) L:2325e0c0 D:07f9a000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000043 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[ 2] (DS.V:0xe679e0c0 DS.P:0x2325e0c0) L:2325e120 D:07f9a800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000043 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[ 3] (DS.V:0xe679e120 DS.P:0x2325e120) L:2325e180 D:07f9c000
Jul 29 18:29:15  kernel: 2807a3b0 00000800 2807a3b0 28077774
Jul 29 18:29:15  kernel: 2807a3b0 2807a31c 2807a3b4 28077774 2807a3b9 2807a3b4 2807a3bc
Jul 29 18:29:15  kernel: R[ 4] (DS.V:0xe679e180 DS.P:0x2325e180) L:2325e1e0 D:07f9c800
Jul 29 18:29:15  kernel: 2807a62c 00000800 2807a634 2807a63c
Jul 29 18:29:15  kernel: 2807a645 2807a64b 2807a614 2807a651 2807a656 2807a65b 2807a662
Jul 29 18:29:15  kernel: R[ 5] (DS.V:0xe679e1e0 DS.P:0x2325e1e0) L:2325e240 D:07f9d000
Jul 29 18:29:15  kernel: 2807a6b8 00000800 2807a6cb 2807a6d2
Jul 29 18:29:15  kernel: 2807a33d 2807a321 2807a6db 2807a6f0 2807a6f3 2807a6f6 2807a634
Jul 29 18:29:15  kernel: R[ 6] (DS.V:0xe679e240 DS.P:0x2325e240) L:2325e2a0 D:07f9d800
Jul 29 18:29:15  kernel: 00000001 00000800 2807a74f 2807a755
Jul 29 18:29:15  kernel: 2807a75b 2807a75f 00000010 00000000 00000004 00000094 00000004
Jul 29 18:29:15  kernel: R[ 7] (DS.V:0xe679e2a0 DS.P:0x2325e2a0) L:2325e300 D:07f9e000
Jul 29 18:29:15  kernel: 6ffffffc 00000800 6ffffffd 00000005
Jul 29 18:29:15  kernel: 6ffffff0 00000588 6ffffffa 000001f5 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[ 8] (DS.V:0xe679e300 DS.P:0x2325e300) L:2325e360 D:07f9e800
Jul 29 18:29:15  kernel: 2808738c 00000800 28058e90 28078ad4
Jul 29 18:29:15  kernel: 28073890 280603a0 28072470 28081280 2807b06c 28058030 2805ff70
Jul 29 18:29:15  kernel: R[ 9] (DS.V:0xe679e360 DS.P:0x2325e360) L:2325e3c0 D:07f9f000
Jul 29 18:29:15  kernel: 28071620 00000800 28079180 28087c54
Jul 29 18:29:15  kernel: 2807bfd8 2807ee20 2807b004 2807cf94 2805fe50 2804dfe0 2807b0a0
Jul 29 18:29:15  kernel: R[10] (DS.V:0xe679e3c0 DS.P:0x2325e3c0) L:2325e420 D:07f86000
Jul 29 18:29:15  kernel: 280743d0 00000800 2804d658 28079100
Jul 29 18:29:15  kernel: 28058f10 2807b08c 28060d70 28087c58 28080a44 28087c24 28058e60
Jul 29 18:29:15  kernel: R[11] (DS.V:0xe679e420 DS.P:0x2325e420) L:2325e480 D:07f86800
Jul 29 18:29:15  kernel: 2807d248 00000800 28060bb0 2807b074
Jul 29 18:29:15  kernel: 28054360 00000000 2808c000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[12] (DS.V:0xe679e480 DS.P:0x2325e480) L:2325e4e0 D:07f87000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[13] (DS.V:0xe679e4e0 DS.P:0x2325e4e0) L:2325e540 D:07f87800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[14] (DS.V:0xe679e540 DS.P:0x2325e540) L:2325e5a0 D:07f88000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[15] (DS.V:0xe679e5a0 DS.P:0x2325e5a0) L:2325e600 D:07f88800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[16] (DS.V:0xe679e600 DS.P:0x2325e600) L:2325e660 D:07f89000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[17] (DS.V:0xe679e660 DS.P:0x2325e660) L:2325e6c0 D:07f89800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 28077961 00000000 00000000 2808a000 2808a208
Jul 29 18:29:15  kernel: R[18] (DS.V:0xe679e6c0 DS.P:0x2325e6c0) L:2325e720 D:07f8a000
Jul 29 18:29:15  kernel: 00000000 00000800 2807d260 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[19] (DS.V:0xe679e720 DS.P:0x2325e720) L:2325e780 D:07f8a800
Jul 29 18:29:15  kernel: 00000124 00000800 00000000 2804c5dc
Jul 29 18:29:15  kernel: 00000005 2804c588 2804c09c 00000025 2804c130 00000029 00000000
Jul 29 18:29:15  kernel: R[20] (DS.V:0xe679e780 DS.P:0x2325e780) L:2325e7e0 D:07f8c000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000002 00000002 00000000 00000000
Jul 29 18:29:15  kernel: R[21] (DS.V:0xe679e7e0 DS.P:0x2325e7e0) L:2325e840 D:07f8c800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[22] (DS.V:0xe679e840 DS.P:0x2325e840) L:2325e8a0 D:07f8d000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[23] (DS.V:0xe679e8a0 DS.P:0x2325e8a0) L:2325e900 D:07f8d800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[24] (DS.V:0xe679e900 DS.P:0x2325e900) L:2325e960 D:07f8e000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[25] (DS.V:0xe679e960 DS.P:0x2325e960) L:2325e9c0 D:07f8e800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[26] (DS.V:0xe679e9c0 DS.P:0x2325e9c0) L:2325ea20 D:07f8f000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[27] (DS.V:0xe679ea20 DS.P:0x2325ea20) L:2325ea80 D:07f8f800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[28] (DS.V:0xe679ea80 DS.P:0x2325ea80) L:2325eae0 D:07f90000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[29] (DS.V:0xe679eae0 DS.P:0x2325eae0) L:2325eb40 D:07f90800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[30] (DS.V:0xe679eb40 DS.P:0x2325eb40) L:2325eba0 D:07f91000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[31] (DS.V:0xe679eba0 DS.P:0x2325eba0) L:2325ec00 D:07f91800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[32] (DS.V:0xe679ec00 DS.P:0x2325ec00) L:2325ec60 D:07f79800
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[33] (DS.V:0xe679ec60 DS.P:0x2325ec60) L:2325ecc0 D:07f7a000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[34] (DS.V:0xe679ecc0 DS.P:0x2325ecc0) L:2325ed20 D:07f7a800
Jul 29 18:29:15  kernel: ffffffff 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 29 18:29:15  kernel: R[35] (DS.V:0xe679ed20 DS.P:0x2325ed20) L:2325ed80 D:07f7c000
Jul 29 18:29:15  kernel: 00000000 00000800 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000001 28053480 28053450 280534f0 280533b0
Jul 29 18:29:15  kernel: R[36] (DS.V:0xe679ed80 DS.P:0x2325ed80) L:2325ede0 D:07f7c800
Jul 29 18:29:15  kernel: 00000000 00000800 00030003 00000001
Jul 29 18:29:15  kernel: 0001ec00 00000034 00118ad0 00000000 00200034 00280004 00200020
Jul 29 18:29:15  kernel: R[37] (DS.V:0xe679ede0 DS.P:0x2325ede0) L:2325ee40 D:07f7d000
Jul 29 18:29:15  kernel: 0001cb80 00000800 00001000 00000002
Jul 29 18:29:15  kernel: 00101a9c 00101a9c 00101a9c 000000c0 000000c0 00000006 00000004
Jul 29 18:29:15  kernel: R[38] (DS.V:0xe679ee40 DS.P:0x2325ee40) L:2325eea0 D:07f7d800
Jul 29 18:29:15  kernel: 
Jul 29 18:29:15  kernel: 00000000 00000800 000005ee 000001fa
Jul 29 18:29:15  kernel: 
Jul 29 18:29:15  kernel: 000009d2 000003f0 00000000 00000816 00000833 00000694 00000530
Jul 29 18:29:15  kernel: 
Jul 29 18:29:15  kernel: R[39] (DS.V:0xe679eea0 DS.P:0x2325eea0) L:2325eea0 D:07f7e000
Jul 29 18:29:15  kernel: 000004aa 00000800 00000000 00000570
Jul 29 18:29:15  kernel: 00000000 00000a30 000008dd 00000a71 00000a70 000009b4 000000e0
Jul 29 18:29:15  kernel: ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
Jul 29 18:29:15  reboot: rebooted by root
Jul 29 18:29:15  kernel: ar5416SetPowerMode: AWAKE -> AWAKE (set chip )
Jul 29 18:29:15  kernel: >>>2 ar5416Reset: AR_PHY_DAG_CTRLCCK=0x3b5
Jul 29 18:29:15  kernel: >>>2 ar5416Reset: AR_PHY_ADC_CTL=0xa000
Jul 29 18:29:15  kernel: ar9285SetTransmitPower Channel=2457 CfgCtl=242
Jul 29 18:29:15  kernel: ar9285SetTransmitPower AR_PHY_POWER_TX_RATE3=0x27272727 AR_PHY_POWER_TX_RATE4=0x27272727
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: reset queue 0
Jul 29 18:29:15  kernel: setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x30f eol 0x10f urn 0x0
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: reset queue 1
Jul 29 18:29:15  kernel: setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x30f eol 0x10f urn 0x0
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: reset queue 2
Jul 29 18:29:15  kernel: setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x30f eol 0x10f urn 0x0
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: reset queue 3
Jul 29 18:29:15  kernel: setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x30f eol 0x10f urn 0x0
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: inactive queue 4
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: inactive queue 5
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: inactive queue 6
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: inactive queue 7
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: reset queue 8
Jul 29 18:29:15  kernel: setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x30f eol 0x10f urn 0x0
Jul 29 18:29:15  kernel: ar5212ResetTxQueue: reset queue 9
Jul 29 18:29:15  kernel: setTxQInterrupts: tx ok 0x0 err 0x0 desc 0x30f eol 0x10f urn 0x0
Jul 29 18:29:15  kernel: ar5416InitBB 2GHz channel
Jul 29 18:29:15  kernel: ar5416InitCal: enable ADC Gain Calibration.
Jul 29 18:29:15  kernel: ar5416InitCal: enable ADC DC Calibration.
Jul 29 18:29:15  kernel: ar5416InitCal: enable IQ Calibration.
Jul 29 18:29:15  kernel: ar5416SetupMeasurement: start ADC Gain calibration
Jul 29 18:29:15  kernel: ar5416Reset: done
Jul 29 18:29:15  kernel: ath_calcrxfilter: RX filter 0x17, STA if_flags 0x8803
Jul 29 18:29:15  kernel: ath_update_mcast: MC filter 00000000:00000000
Jul 29 18:29:15  kernel: ar5416StartPcuReceive: Start PCU Receive 
Jul 29 18:29:15  kernel: ar5416AniReset: chan 2457/0x480 restore 1 opmode 1 setup
Jul 29 18:29:15  kernel: ar5416AniControl: immunity level out of range (0 > 0)
Jul 29 18:29:15  kernel: ar5416AniControl: spur immunity level out of range (0 > 0)
Jul 29 18:29:15  kernel: ar5416AniControl: firstep level out of range (0 > 0)
Jul 29 18:29:15  kernel: ar5416AniRestart: Writing ofdmbase=0   cckbase=0
Jul 29 18:29:15  kernel: ar5416SetInterrupts: 0x800965 => 0xc0001071
Jul 29 18:29:15  kernel: ar5416SetInterrupts: new IMR 0x14b7
Jul 29 18:29:15  kernel: ar5416SetInterrupts: enable IER
Jul 29 18:29:15  kernel: ath_tx_dmasetup: m 0xc46d3700 len 42
Jul 29 18:29:15  kernel: NODS 1c:4b:d6:b6:65:ac->ff:ff:ff:ff:ff:ff(ff:ff:ff:ff:ff:ff) probe_req 1M
Jul 29 18:29:15  kernel: 4000 0000 ffff ffff ffff 1c4b d6b6 65ac ffff ffff ffff e01e 0000 0108 8284 8b96 0c12 1824 3204 3048 606c
Jul 29 18:29:15  kernel: ath_tx_handoff: 0: 00000000 07edaee8 213f002e 0120002a 00010000 0000001b
Jul 29 18:29:15  kernel: ath_tx_handoff: TXDP[1] = 0x20416080 (0xe67e3080) depth 1
Jul 29 18:29:15  kernel: ar5212StartTxDma: queue 1
Jul 29 18:29:15  kernel: ath_intr: status 0x48
Jul 29 18:29:15  kernel: ath_tx_processq: tx queue 1 head 0x20416080 link 0xe67e3080
Jul 29 18:29:15  kernel: Q1[  0] (DS.V:0xe67e3080 DS.P:0x20416080) L:00000000 D:07edaee8 F:0413
Jul 29 18:29:15  kernel: 213f002e 0120002a 00010000 0000001b 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00021084 00000000 3f000000 3f000000 3f000000 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000ath_intr: status 0xc8
Jul 29 18:29:15  kernel: 
Jul 29 18:29:15  kernel: ath_tx_processq: tx queue 1 head 0x20416080 link 0xe67e3080
Jul 29 18:29:15  kernel: Q1[  0] (DS.V:0xe67e3080 DS.P:0x20416080) L:00000000 D:07edaee8 F:0413 *
Jul 29 18:29:15  kernel: 213f002e 0120002a 00010000 0000001b 00000000 00000000
Jul 29 18:29:15  kernel: 00000000 00021084 00000000 3f000000 3f000000 3f000000 00808080 00000001
Jul 29 18:29:15  kernel: 72de634a 00000000 00000000 80808080 80808080 80808080 80808080 00000001
Делал так:

Код: Выделить всё

 ifconfig wlan0 create wlandev ath0
ifconfig wlan0 up scan

bu7cher
сержант
Сообщения: 220
Зарегистрирован: 2008-02-21 18:28:55
Откуда: Киров
Контактная информация:

Re: Atheros AR2427 на Asus Eee PC 1001PX

Непрочитанное сообщение bu7cher » 2010-07-29 17:44:17

Гость писал(а):>bu7cher
закоммить а?
На сколько я понял, патч представляет собой нечто такое:

Код: Выделить всё

> svn diff -x -p
Index: ath_hal/ar5416/ar9285_attach.c
===================================================================
--- ath_hal/ar5416/ar9285_attach.c	(revision 210560)
+++ ath_hal/ar5416/ar9285_attach.c	(working copy)
@@ -402,6 +402,8 @@ ar9285Probe(uint16_t vendorid, uint16_t devid)
 {
 	if (vendorid == ATHEROS_VENDOR_ID && devid == AR9285_DEVID_PCIE)
 		return "Atheros 9285";
+	if (vendorid == ATHEROS_VENDOR_ID && devid == AR2427_DEVID_PCIE)
+		return "Atheros 2427";
 	return AH_NULL;
 }
 AH_CHIP(AR9285, ar9285Probe, ar9285Attach);
Index: ath_hal/ah_devid.h
===================================================================
--- ath_hal/ah_devid.h	(revision 210560)
+++ ath_hal/ah_devid.h	(working copy)
@@ -78,6 +78,7 @@
 #define AR9280_DEVID_PCI	0x0029          /* AR9280 PCI Merlin */
 #define AR9280_DEVID_PCIE	0x002a          /* AR9280 PCI-E Merlin */
 #define AR9285_DEVID_PCIE	0x002b          /* AR9285 PCI-E Kite */
+#define AR2427_DEVID_PCIE	0x002c          /* AR2427 PCI-E Kite w/o 11n */
 
 #define	AR_SUBVENDOR_ID_NOG	0x0e11		/* No 11G subvendor ID */
 #define AR_SUBVENDOR_ID_NEW_A	0x7065		/* Update device to new RD */
Мне интересно посмотреть на вывод:

Код: Выделить всё

# ifconfig -v wlan0 list chan
Судя по линуксовому патчу, они отключают поддержку 11n, не надо ли и нам такое же сделать?
нет ничего невозможного