ath9k/PCI 168C:002C
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
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 aKconfigand aMakefile, 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.
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 aKconfigand aMakefile, 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
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_idQuoted 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 aKconfigand aMakefile, 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".
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
Am Montag, den 01.02.2010, 16:23 -0500 schrieb Pavel Roskin:
Quoted 2 lines
Please try the patch that was posted at
http://bugzilla.kernel.org/show_bug.cgi?id=15180
now this works (as i can see from the comment i posted there)!
thanks a lot!
kind regards
bernhard