Re: Ubuntu 12.04 Wifi Drivers
Quote:
Although I dont have a lot of knowledge of modprobe, I would be willing to assume that the issue may have something to do with the 3 warnings and fatal error.
.ko-rrect! A little inside joke there. For the benefit of all the driver dawgs out there, we have a conflict in the mac80211 driver. This one is being loaded:
Quote:
Error inserting mac80211 (/lib/modules/3.2.0-27-generic/updates/cw-3.3/mac80211.ko): Invalid argument
However, a mac80211 driver was built but is not being loaded in compat-wireless. The two versions conflict. Let's try to fix that.
Quote:
I tried installing the
Code:
linux-backports-modules-cw-3.3-precise-generic
package as suggested by the last post in the thread you specified, however this has had no effect.
We are going to remove it.
Code:
sudo apt-get remove --purge linux-backports-modules-cw-3.3-precise-generic
sudo apt-get remove --purge linux-backports-modules-cw-3.3-3.2.0-27-generic
Now reboot and give us a report. If it's not working as expected, let us see:
Code:
sudo modprobe ath9k
dmesg | grep ath9k
Re: Ubuntu 12.04 Wifi Drivers
As usual, its still not working, though I'm hopeful that if we keep trying it will eventually.
Terminal output from your commands is:
Code:
kai@Kai-Lapbuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
kai@Kai-Lapbuntu:~$ sudo modprobe ath9k
kai@Kai-Lapbuntu:~$ dmesg | grep ath9k
[ 6.644495] ath9k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 6.644507] ath9k 0000:02:00.0: setting latency timer to 64
[ 6.644654] ath9k 0000:02:00.0: Failed to initialize device
[ 6.644717] ath9k 0000:02:00.0: PCI INT A disabled
[ 6.644720] ath9k: probe of 0000:02:00.0 failed with error -95
kai@Kai-Lapbuntu:~$
Re: Ubuntu 12.04 Wifi Drivers
Let's broaden the search:
Code:
dmesg | grep -e ath -e 80211
Quote:
though I'm hopeful that if we keep trying it will eventually.
We do too!
Re: Ubuntu 12.04 Wifi Drivers
More and newer information! We are going to modify two other files in the compat-wireless package you compiled and then re-compile it.
In the file drivers/net/wireless/ath/ath9k/hw.c, change around line 680 as I've highlighted:
Code:
case AR9300_DEVID_AR9485_PCIE:
case AR9300_DEVID_AR9330:
case AR9300_DEVID_AR9340:
case AR9300_DEVID_AR9580:
case AR9300_DEVID_AR9462:
case AR9485_DEVID_AR1111:
break;
default:
if (common->bus_ops->ath_bus_type == ATH_USB)
break;
Also modify drivers/net/wireless/ath/ath9k/hw.h around line 51 as highlighted:
Code:
#define AR9300_DEVID_AR9340 0x0031
#define AR9300_DEVID_AR9485_PCIE 0x0032
#define AR9300_DEVID_AR9580 0x0033
#define AR9300_DEVID_AR9462 0x0034
#define AR9300_DEVID_AR9330 0x0035
#define AR9485_DEVID_AR1111 0x0037
#define AR5416_AR9100_DEVID 0x000b
#define AR_SUBVENDOR_ID_NOG 0x0e11
#define AR_SUBVENDOR_ID_NEW_A 0x7065
#define AR5416_MAGIC 0x19641014
Now we recompile:
Code:
cd Desktop/compat-wireless-2012-05-10
sudo su
./scripts/driver-select restore
./scripts/driver-select ath9k
make clean
make
make install
exit
Reboot and give the Wild Man a reason to cheer.
EDIT: Reference for driver dawgs: http://www.spinics.net/lists/linux-w.../msg95047.html
Re: Ubuntu 12.04 Wifi Drivers
Quote:
Originally Posted by
chili555
Let's broaden the search:
Code:
dmesg | grep -e ath -e 80211
Returns:
Code:
kai@Kai-Lapbuntu:~$ dmesg | grep -e ath -e 80211
[ 1.876009] ACPI Error: Method parse/execution failed [\GTFB] (Node ffff880211875e60), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[ 1.876014] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.SPT4._GTF] (Node ffff880211894190), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[ 1.877867] ACPI Error: Method parse/execution failed [\GTFB] (Node ffff880211875e60), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[ 1.877872] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.SPT2._GTF] (Node ffff8802118940a0), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[ 1.881796] ACPI Error: Method parse/execution failed [\GTFB] (Node ffff880211875e60), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[ 1.881801] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.SPT4._GTF] (Node ffff880211894190), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[ 1.889625] ACPI Error: Method parse/execution failed [\GTFB] (Node ffff880211875e60), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[ 1.889630] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.SPT2._GTF] (Node ffff8802118940a0), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
[ 6.649404] cfg80211: Calling CRDA to update world regulatory domain
[ 6.698511] ath9k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 6.698522] ath9k 0000:02:00.0: setting latency timer to 64
[ 6.698670] ath: phy0: Hardware device ID 0x0037 not supported
[ 6.698672] ath9k 0000:02:00.0: Failed to initialize device
[ 6.698735] ath9k 0000:02:00.0: PCI INT A disabled
[ 6.698739] ath9k: probe of 0000:02:00.0 failed with error -95
[ 6.731616] cfg80211: World regulatory domain updated:
[ 6.731618] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 6.731620] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 6.731622] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 6.731623] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 6.731625] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 6.731626] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
I am going to try your newer solution now, and will be post again soon with the results.
Re: Ubuntu 12.04 Wifi Drivers
Quote:
ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.SPT4._GTF] (Node ffff880211894190), AE_AML_BUFFER_LIMIT (20110623/psparse-536)
Mmmmmm...I don't like that one bit but I doubt it's at all related to wireless.
Quote:
will be post again soon with the results.
Looking forward to it.
Re: Ubuntu 12.04 Wifi Drivers
Quote:
Originally Posted by
chili555
More and newer information! We are going to modify two other files in the compat-wireless package you compiled and then re-compile it.
In the file drivers/net/wireless/ath/ath9k/hw.
c, change around line 680 as I've highlighted:
Code:
case AR9300_DEVID_AR9485_PCIE:
case AR9300_DEVID_AR9330:
case AR9300_DEVID_AR9340:
case AR9300_DEVID_AR9580:
case AR9300_DEVID_AR9462:
case AR9485_DEVID_AR1111:
break;
default:
if (common->bus_ops->ath_bus_type == ATH_USB)
break;
Also modify drivers/net/wireless/ath/ath9k/hw.
h around line 51 as highlighted:
Code:
#define AR9300_DEVID_AR9340 0x0031
#define AR9300_DEVID_AR9485_PCIE 0x0032
#define AR9300_DEVID_AR9580 0x0033
#define AR9300_DEVID_AR9462 0x0034
#define AR9300_DEVID_AR9330 0x0035
#define AR9485_DEVID_AR1111 0x0037
#define AR5416_AR9100_DEVID 0x000b
#define AR_SUBVENDOR_ID_NOG 0x0e11
#define AR_SUBVENDOR_ID_NEW_A 0x7065
#define AR5416_MAGIC 0x19641014
Now we recompile:
Code:
cd Desktop/compat-wireless-2012-05-10
sudo su
./scripts/driver-select restore
./scripts/driver-select ath9k
make clean
make
make install
exit
Reboot and give the Wild Man a reason to cheer.
EDIT: Reference for driver dawgs:
http://www.spinics.net/lists/linux-w.../msg95047.html
IT WORKED!
Thank you so much!
You sir are an amazing human being, and should be proud of the fact that you have just helped someone that you don't even know, purely out of kindness.
If there is any more information I can provide, or anything I can do to help prevent others from encountering this issue in the future, please let me know, I will be happy to.
Thank you again.
Re: Ubuntu 12.04 Wifi Drivers
Hi, please use thread tools at the top of the page and mark the thread solved.
Enjoy
Chili555 you are a genius.
Thanks
Re: Ubuntu 12.04 Wifi Drivers
It is done.
Thank you both again.
1 Attachment(s)
Re: Ubuntu 12.04 Wifi Drivers
Thank you very much for your kind words. We are glad it's working!
Quote:
If there is any more information I can provide, or anything I can do to help prevent others from encountering this issue in the future, please let me know, I will be happy to.
You already have. The method to get this device working has been implemented and tested by you. I am quite confident that many others will search and find the solution. I'm glad the Wild Man and I could help.
Please remember that when a newer kernel version, known in Ubuntu-land as linux-image is installed by Update Manager, you'll need to recompile this driver:
Code:
cd Desktop/compat-wireless-2012-05-10
sudo su
./scripts/driver-select restore
./scripts/driver-select ath9k
make clean
make
make install
exit
You might print off these instructions so you'll recall when the time comes. The smart and fast guys like Wild Man, print a pdf and put it in the folder with compat-wireless. Please see attached.