Skip to contentSkip to conversation

My atheros doesn't seem to be in the hardware list, and as a result is not detected or used by ATH9k

ath9k-devel shrewd.user 5 participants 22 messages Sep 24, 2009 – Sep 26, 2009

lore
Share & tools
lore
#0 lore raw

could someone add this so that ath9k picks it up?

lspci -vxx

05:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0
Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
00: 8c 16 1c ff 07 00 10 00 01 00 00 02 08 00 00 00
10: 04 00 bf fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090925/30ff44db/attachment.htm

#1 lore raw

Hi,

ath9k is meant only for 802.11n chipsets. What you are using is 802.11abg and as such will use ath5k drivers.

good luck

Kind regards,

vania

Quoted 25 lines · shrewd.user

could someone add this so that ath9k picks it up?

lspci -vxx

05:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
00: 8c 16 1c ff 07 00 10 00 01 00 00 02 08 00 00 00
10: 04 00 bf fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#2 lore raw

5008 is the first 802.11n card...

2009/9/24 Vania Toperich <[email protected]>:

Quoted 45 lines

Hi,

ath9k is meant only for 802.11n chipsets. What you are using is 802.11abg and as such will use ath5k drivers.

good luck

Kind regards,

vania

Quoted 21 lines · shrewd.user

could someone add this so that ath9k picks it up?

lspci -vxx

05:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
? ? Flags: bus master, fast devsel, latency 0, IRQ 11
? ? Memory at febf0000 (64-bit, non-prefetchable) [size=64K] ? ? Capabilities: [40] Power Management version 2
? ? Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
? ? Capabilities: [60] Express Legacy Endpoint, MSI 00 ? ? Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
? ? Capabilities: [100] Advanced Error Reporting <?>
? ? Capabilities: [140] Virtual Channel <?>
00: 8c 16 1c ff 07 00 10 00 01 00 00 02 08 00 00 00
10: 04 00 bf fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00

Quoted 4 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#3 lore raw

you are right, i am sorry for mistake.

Quoted 53 lines · gentoo.lubomir

5008 is the first 802.11n card...

2009/9/24 Vania Toperich <[email protected]>:

Quoted 40 lines

Hi,

ath9k is meant only for 802.11n chipsets. What you are using is 802.11abg and as such will use ath5k drivers.

good luck

Kind regards,

vania

Quoted 21 lines · shrewd.user

could someone add this so that ath9k picks it up?

lspci -vxx

05:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
00: 8c 16 1c ff 07 00 10 00 01 00 00 02 08 00 00 00
10: 04 00 bf fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00

Quoted 4 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Quoted 5 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

author
#4 lore raw

yes from what i can tell it's actually the most powerful atheros card at the moment with 3 x 3 MIMO.

is there a bug tracker or something more appropriate to submit my problem or is this the correct place?

also how does one normally go about adding their hardware so it gets picked up by a driver? do the developers need more information?

thanks.

2009/9/25 Vania Toperich <[email protected]>

Quoted 63 lines

you are right, i am sorry for mistake.

On Sep 24, 2009, at 5:05 PM, gentoo.lubomir wrote:

5008 is the first 802.11n card...

Quoted 55 lines

2009/9/24 Vania Toperich <[email protected]>:

Hi,

Quoted 40 lines

ath9k is meant only for 802.11n chipsets. What you are using is 802.11abg and as such will use ath5k drivers.

good luck

Kind regards,

vania

On Sep 24, 2009, at 4:21 PM, shrewd.user wrote:

could someone add this so that ath9k picks it up?

Quoted 20 lines

lspci -vxx

05:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
00: 8c 16 1c ff 07 00 10 00 01 00 00 02 08 00 00 00 10: 04 00 bf fe 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 00 00

Quoted 5 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Quoted 6 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

_______________________________________________

ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090925/50e6c9cf/attachment.htm

author
#6 lore raw

If it isn't the most powerful Atheros chip atm then what is? also i believe the notation is: AxB:C

where C is the number of streams, i don't actually know what the stream value is, i assume it's at least 2 and possibly 3.

2009/9/25 Luis R. Rodriguez <[email protected]>

Quoted 12 lines · Aaron b
Quoted 1 line

yes from what i can tell it's actually the most powerful atheros card at

the

Quoted 1 line

moment with 3 x 3 MIMO.

This is incorrect, 3 chains do not imply 3 streams. I've tried to clarify this here:

http://wireless.kernel.org/en/developers/Documentation/ieee80211/802.11n

Luis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090925/4267e219/attachment-0001.htm

#7 lore raw
Quoted 1 line · Aaron b

If it isn't the most powerful Atheros chip atm then what is?

Define "most powerful".

Quoted 3 lines

also i believe the notation is: AxB:C
where C is the number of streams, i don't actually know what the stream value is, i assume it's at least 2 and possibly 3.

For the device you mentioned (AR5416) its 2.

AR5416 and AR9280 are 2 stream.

AR9285 is 1 stream.

All AR9280s are 2 stream and have a 2x2 RX/TX chain configuration.

The AR5416 has an 3x2 RX/TX chain configuration but it must be noted this then means one stream can use two chains with selection diversity -- sort of like antenna diversity but for one chain.

AR9285 devices are 1-stream and use antenna diversity with some enhancements, I think one of the enhancements is LNA, which I believe means we get to dynamically configure the power amplifier depending on the noise on the driver and I think this helps with noisy environments.

AR9170 is 2 stream 2x2 chain config.

AR9271 (USB) is 1 stream with antenna diversity support (and LNA IIRC).

Luis

author
#8 lore raw

i would define most powerful as most robust, ie, works from the longest range / has the greatest transmission rate all else being equal. my atheros 5008 is the following combination: AR5416/AR5133

http://www.atheros.com/pt/AR50083NX.htm

according to that website it is 3x3 MIMO with 3 radio's 3 antenna's

although i do find this interesting we're a fair bit away from my problem of ath9k not even recognising my chip at all regardless of it's awesome :(

2009/9/25 Luis R. Rodriguez <[email protected]>

Quoted 27 lines · Aaron b
Quoted 1 line

If it isn't the most powerful Atheros chip atm then what is?

Define "most powerful".

Quoted 3 lines

also i believe the notation is: AxB:C
where C is the number of streams, i don't actually know what the stream value is, i assume it's at least 2 and possibly 3.

For the device you mentioned (AR5416) its 2.

AR5416 and AR9280 are 2 stream.

AR9285 is 1 stream.

All AR9280s are 2 stream and have a 2x2 RX/TX chain configuration.

The AR5416 has an 3x2 RX/TX chain configuration but it must be noted this then means one stream can use two chains with selection diversity -- sort of like antenna diversity but for one chain.

AR9285 devices are 1-stream and use antenna diversity with some enhancements, I think one of the enhancements is LNA, which I believe means we get to dynamically configure the power amplifier depending on the noise on the driver and I think this helps with noisy environments.

Quoted 6 lines

AR9170 is 2 stream 2x2 chain config.

AR9271 (USB) is 1 stream with antenna diversity support (and LNA IIRC).

Luis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090925/1e45d17b/attachment.htm

#9 lore raw
Quoted 2 lines · Aaron b

although i do find this interesting we're a fair bit away from my problem of ath9k not even recognising my chip at all regardless of it's awesome :(

What is your lspci and lspci -n output ?

author
#10 lore raw

lspci :

05:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)

lspci -n :

05:00.0 0200: 168c:ff1c (rev 01)

2009/9/25 Luis R. Rodriguez <[email protected]>

Quoted 7 lines · Aaron b
Quoted 2 lines

although i do find this interesting we're a fair bit away from my problem

of

Quoted 1 line

ath9k not even recognising my chip at all regardless of it's awesome :(

What is your lspci and lspci -n output ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090925/e3c02e25/attachment.htm

#11 lore raw
Quoted 8 lines · Aaron b

lspci :

05:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)

lspci -n :

05:00.0 0200: 168c:ff1c (rev 01)

Please try this patch, either against wireless-testing or compat-wireless.

Luis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff1c.patch
Type: text/x-diff
Size: 870 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090924/d65da80a/attachment.patch

author
#12 lore raw

thanks mate, i will do my best with this when i get back to my laptop :) (this will require doing some new stuff but i should be able to handle it) any chance future versions of the driver will detect my card?

thanks again for the help.
2009/9/25 Luis R. Rodriguez <[email protected]>

Quoted 6 lines · Aaron b
Quoted 5 lines

lspci :

05:00.0 Ethernet controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)

Quoted 8 lines
Quoted 3 lines

lspci -n :

05:00.0 0200: 168c:ff1c (rev 01)

Please try this patch, either against wireless-testing or compat-wireless.

Luis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090925/23d89bb0/attachment.htm

#13 lore raw
Quoted 5 lines · Aaron b

thanks mate, i will do my best with this when i get back to my laptop :) (this will require doing some new stuff but i should be able to handle it) any chance future versions of the driver will detect my card?

thanks again for the help.

If you test it and i you say it works then perhaps, the device ID seems strange, you sure its not a busted EEPROM? Anyway, test it and provide the output.

Luis

author
#14 lore raw

I will do my best to get it working, otherwise i will just get another one i suppose.
i got the thing from ebay to replace a chip that didn't play nice with linux and my university wifi, i have
no idea why it has a strange device ID.

2009/9/25 Luis R. Rodriguez <[email protected]>

Quoted 6 lines · Aaron b
Quoted 2 lines

thanks mate, i will do my best with this when i get back to my laptop :) (this will require doing some new stuff but i should be able to handle

it)

Quoted 2 lines

any chance future versions of the driver will detect my card?

Quoted 8 lines
Quoted 1 line

thanks again for the help.

If you test it and i you say it works then perhaps, the device ID seems strange, you sure its not a busted EEPROM? Anyway, test it and provide the output.

Luis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090925/b1ab3b41/attachment.htm

author
#15 lore raw

ok i got back to my laptop, and i did the following (i hope correctly)

i applied the patch file using the 'patch -p1 < ff1c.patch' (after putting the patch file in the root directory of compat wireless) then make and make install.

i rebooted the system, and now i do get some atheros related information in dmesg which leads me to believe i correctly patched and installed the new drivers (first timer)

but it seems to have ended in another problem here is what dmesg has to say:

[   10.239414] ath9k 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ
18
[   10.239428] ath9k 0000:05:00.0: setting latency timer to 64
[   10.239543] ath9k 0000:05:00.0: failed to initialize device
[   10.239556] ath9k 0000:05:00.0: PCI INT A disabled
[   10.239564] ath9k: probe of 0000:05:00.0 failed with error -95

what is the verdict? is this a dud card? (at the moment i'm thinking yes.)

thanks for all the help guys.

2009/9/25 Aaron b <[email protected]>

Quoted 6 lines

I will do my best to get it working, otherwise i will just get another one i suppose.
i got the thing from ebay to replace a chip that didn't play nice with linux and my university wifi, i have
no idea why it has a strange device ID.

Quoted 19 lines

2009/9/25 Luis R. Rodriguez <[email protected]>

Quoted 15 lines · Aaron b
Quoted 3 lines

thanks mate, i will do my best with this when i get back to my laptop :) (this will require doing some new stuff but i should be able to handle

it)

Quoted 3 lines

any chance future versions of the driver will detect my card?

thanks again for the help.

If you test it and i you say it works then perhaps, the device ID seems strange, you sure its not a busted EEPROM? Anyway, test it and provide the output.

Luis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090926/f22fdacc/attachment.htm

#16 lore raw
Quoted 12 lines · Aaron b

ok i got back to my laptop, and i did the following (i hope correctly)

i applied the patch file using the 'patch -p1 < ff1c.patch' (after putting the patch file in the root directory of compat wireless)? then make and make install.

i rebooted the system, and now i do get some atheros related information in dmesg which leads me to believe i correctly patched and installed the new drivers (first timer)

but it seems to have ended in another problem here is what dmesg has to say:

Quoted 8 lines

[?? 10.239414] ath9k 0000:05:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[?? 10.239428] ath9k 0000:05:00.0: setting latency timer to 64 [?? 10.239543] ath9k 0000:05:00.0: failed to initialize device [?? 10.239556] ath9k 0000:05:00.0: PCI INT A disabled
[?? 10.239564] ath9k: probe of 0000:05:00.0 failed with error -95

what is the verdict? is this a dud card? (at the moment i'm thinking yes.)

Most likely yes, you may want to enable debugging and see if some more useful information comes out:

http://wireless.kernel.org/en/users/Drivers/ath9k/debug

Luis

author
#17 lore raw

excuse my new-at-this ness,

this would require recompiling my kernel correct? (i should be able to handle that)

2009/9/26 Luis R. Rodriguez <[email protected]>

Quoted 26 lines · Aaron b
Quoted 3 lines

ok i got back to my laptop, and i did the following (i hope correctly)

i applied the patch file using the 'patch -p1 < ff1c.patch' (after

putting

Quoted 1 line

the patch file in the root directory of compat wireless) then make and

make

Quoted 3 lines

install.

i rebooted the system, and now i do get some atheros related information

in

Quoted 4 lines

dmesg which leads me to believe i correctly patched and installed the new drivers (first timer)

but it seems to have ended in another problem here is what dmesg has to

say:

Quoted 2 lines
[   10.239414] ath9k 0000:05:00.0: PCI INT A -> GSI 18 (level, low) ->

IRQ

Quoted 7 lines

18

[   10.239428] ath9k 0000:05:00.0: setting latency timer to 64
[   10.239543] ath9k 0000:05:00.0: failed to initialize device
[   10.239556] ath9k 0000:05:00.0: PCI INT A disabled
[   10.239564] ath9k: probe of 0000:05:00.0 failed with error -95

what is the verdict? is this a dud card? (at the moment i'm thinking

Quoted 9 lines

yes.)

Most likely yes, you may want to enable debugging and see if some more useful information comes out:

http://wireless.kernel.org/en/users/Drivers/ath9k/debug

Luis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090926/e56f370c/attachment.htm

#18 lore raw
Quoted 4 lines · Aaron b

excuse my new-at-this ness,

this would require recompiling my kernel correct? (i should be able to handle that)

If using compat-wireless no, you just need to edit config.mk and make sure to uncomment CONFIG_ATH9K_DEBUG as follows:

CONFIG_ATH9K_DEBUG=y

Then make clean, and make.

Luis

#19 lore raw
Quoted 6 lines · Luis R. Rodriguez
Quoted 4 lines · Aaron b

excuse my new-at-this ness,

this would require recompiling my kernel correct? (i should be able to handle that)

Quoted 6 lines

If using compat-wireless no, you just need to edit config.mk and make sure to uncomment CONFIG_ATH9K_DEBUG as follows:

CONFIG_ATH9K_DEBUG=y

Then make clean, and make.

Don't forget you also have ./scripts/driver-select so you can select only ath9k if you want to only compile and install that.

Luis

author
#20 lore raw

i recompiled the ath9k driver with debug support, but i'm a little confused as to how i read the debug output, i mounted debugfs as per the linked wiki, and indeed the folder /sys/kernel/debug/ath9k exists (i don't think it did previously) but there's nothing in there, what am i doing wrong?

2009/9/26 Luis R. Rodriguez <[email protected]>

Quoted 10 lines · Luis R. Rodriguez
Quoted 9 lines · Aaron b
Quoted 4 lines

excuse my new-at-this ness,

this would require recompiling my kernel correct? (i should be able to handle that)

If using compat-wireless no, you just need to edit config.mk and make sure to uncomment CONFIG_ATH9K_DEBUG as follows:

Quoted 9 lines
Quoted 3 lines

CONFIG_ATH9K_DEBUG=y

Then make clean, and make.

Don't forget you also have ./scripts/driver-select so you can select only ath9k if you want to only compile and install that.

Luis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090926/91aa07df/attachment-0001.htm

#21 lore raw
Quoted 1 line · Aaron b

i recompiled the ath9k driver with debug support, but i'm a little confused as to how i read the debug output, i mounted debugfs as per the linked wiki, and indeed the folder /sys/kernel/debug/ath9k exists (i don't think it did previously) but there's nothing in there, what am i doing wrong?

sudo rmmod ath9k
sudo dmesg -c > /dev/null
sudo modprobe ath9k debug=0xfffffff

sudo dmesg -c > log

Paste the log.

Luis