Skip to contentSkip to conversation

ath9k/PCI 168C:002C

DISCUSSION Bernhard Reiter 3 participants 6 messages Feb 1, 2010 – Feb 4, 2010

lore
Share & tools
lore
#0 lore raw

hi,

i'm currently setting up karmic (64bit) an asus eeepc 1005p, and i've found the following in the debian wiki:
http://wiki.debian.org/DebianEeePC/Model/1005P
i'm giving this laptop to another person on wednesday, but until then, i might try to compile the ath9k module with the suggested addition of that PCI id.

unfortunately, i haven't really found anything on how to do this (in a least-invasive fashion). i've looked
into /usr/src/linux-headers-2.6.31-17/drivers/net/wireless/ath/ath9k, but there's only a Kconfig and a Makefile, but no sources.

can you people help me modify, compile and test this module?

bernhard reiter
ps please cc, i'm not a list subscriber

#1 lore raw
Quoted 14 lines · Bernhard Reiter

hi,

i'm currently setting up karmic (64bit) an asus eeepc 1005p, and i've found the following in the debian wiki:
http://wiki.debian.org/DebianEeePC/Model/1005P
i'm giving this laptop to another person on wednesday, but until then, i might try to compile the ath9k module with the suggested addition of that PCI id.

unfortunately, i haven't really found anything on how to do this (in a least-invasive fashion). i've looked
into /usr/src/linux-headers-2.6.31-17/drivers/net/wireless/ath/ath9k, but there's only a Kconfig and a Makefile, but no sources.

Quoted 4 lines

can you people help me modify, compile and test this module?

bernhard reiter
ps please cc, i'm not a list subscriber

Seems more like a "how do I recompile my kernel on Ubuntu" question to me...

Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
#2 lore raw
In reply to Bernhard Reiter

Quoting Bernhard Reiter <[email protected]>:

Quoted 8 lines

hi,

i'm currently setting up karmic (64bit) an asus eeepc 1005p, and i've found the following in the debian wiki:
http://wiki.debian.org/DebianEeePC/Model/1005P
i'm giving this laptop to another person on wednesday, but until then, i might try to compile the ath9k module with the suggested addition of that PCI id.

You can add the ID at the runtime:

echo "168c 002c" > /sys/bus/pci/drivers/ath9k/new_id

Quoted 4 lines

unfortunately, i haven't really found anything on how to do this (in a least-invasive fashion). i've looked
into /usr/src/linux-headers-2.6.31-17/drivers/net/wireless/ath/ath9k, but there's only a Kconfig and a Makefile, but no sources.

You should be able to compile compat-wireless on Ubuntu. Then you can modify ath9k in the compat-wireless sources. But I'm not optimistic. The wiki link suggests that further changes to the driver are needed.

You can also try MadWifi trunk to support the device. It should compile out-of-box. You can use the same trick to add the ID, just replace "ath9k" with "ath_pci".

Signature · 2 lines
Regards,
Pavel Roskin
#3 lore raw

thanks for your hints! unfortunately, as you expected, simply adding the PCI id doesn't do the trick. seems like a couple of people tried it already:
http://forum.ubuntuusers.de/topic/atheros-ar5b95-geht-unter-unr-9-10-nicht/
(in German).

i haven't tried madwifi yet, though.

regards,
bernhard

Am Montag, den 01.02.2010, 11:36 -0500 schrieb Pavel Roskin:

Quoted 28 lines

Quoting Bernhard Reiter <[email protected]>:

Quoted 8 lines

hi,

i'm currently setting up karmic (64bit) an asus eeepc 1005p, and i've found the following in the debian wiki:
http://wiki.debian.org/DebianEeePC/Model/1005P
i'm giving this laptop to another person on wednesday, but until then, i might try to compile the ath9k module with the suggested addition of that PCI id.

You can add the ID at the runtime:

echo "168c 002c" > /sys/bus/pci/drivers/ath9k/new_id

Quoted 4 lines

unfortunately, i haven't really found anything on how to do this (in a least-invasive fashion). i've looked
into /usr/src/linux-headers-2.6.31-17/drivers/net/wireless/ath/ath9k, but there's only a Kconfig and a Makefile, but no sources.

You should be able to compile compat-wireless on Ubuntu. Then you can modify ath9k in the compat-wireless sources. But I'm not optimistic. The wiki link suggests that further changes to the driver are needed.

You can also try MadWifi trunk to support the device. It should compile out-of-box. You can use the same trick to add the ID, just replace "ath9k" with "ath_pci".

#4 lore raw
Quoted 5 lines · Bernhard Reiter

thanks for your hints! unfortunately, as you expected, simply adding the PCI id doesn't do the trick. seems like a couple of people tried it already:
http://forum.ubuntuusers.de/topic/atheros-ar5b95-geht-unter-unr-9-10-nicht/
(in German).

Please try the patch that was posted at
http://bugzilla.kernel.org/show_bug.cgi?id=15180

You can apply it to compat-wireless.

Quoted 1 line

i haven't tried madwifi yet, though.

I was wrong, it won't work as is. The ID should be added to HAL as well. Unfortunately, I don't know which initialization values are needed for the chip, and I cannot figure it out from the ath9k patch.

Signature · 2 lines
Regards,
Pavel Roskin