kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #22515
[Bug 1049466] Re: Need support of Ralink RT3290 wifi support
For those on Ubuntu 13.10 with kernel 3.11, problem is caused by changes
to rt2x00pci kernel module:
https://bugzilla.kernel.org/show_bug.cgi?id=61621. Patch has been
submitted to kernel developers:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/rt2x00/rt2x00pci.c?id=9483f40d8d01918b399b4e24d0c1111db0afffeb.
To get it to work before those changes are included in Ubuntu, rebuild
the kernel with the patch:
Rebuild kernel with patch:
------------------------
apt-get source linux-image-$(uname -r)
sudo apt-get build-dep linux-image-$(uname -r)
cd linux-3.11.0
patch -p1 < ../rt2x00pci.diff
fakeroot debian/rules clean
fakeroot debian/rules binary-headers binary-generic
Install:
------------------------
cd ..
sudo dpkg -i linux-headers*
sudo dpkg -i linux-image*
sudo reboot
Copy everything between ===== to rt2x00pci.diff
==================================================================================================
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c
index 76d95de..dc49e52 100644
--- a/drivers/net/wireless/rt2x00/rt2x00pci.c
+++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
@@ -105,13 +105,11 @@ int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops)
goto exit_release_regions;
}
- pci_enable_msi(pci_dev);
-
hw = ieee80211_alloc_hw(sizeof(struct rt2x00_dev), ops->hw);
if (!hw) {
rt2x00_probe_err("Failed to allocate hardware\n");
retval = -ENOMEM;
- goto exit_disable_msi;
+ goto exit_release_regions;
}
pci_set_drvdata(pci_dev, hw);
@@ -152,9 +150,6 @@ exit_free_reg:
exit_free_device:
ieee80211_free_hw(hw);
-exit_disable_msi:
- pci_disable_msi(pci_dev);
-
exit_release_regions:
pci_release_regions(pci_dev);
@@ -179,8 +174,6 @@ void rt2x00pci_remove(struct pci_dev *pci_dev)
rt2x00pci_free_reg(rt2x00dev);
ieee80211_free_hw(hw);
- pci_disable_msi(pci_dev);
-
/*
* Free the PCI device data.
*/
==================================================================================================
** Bug watch added: Linux Kernel Bug Tracker #61621
http://bugzilla.kernel.org/show_bug.cgi?id=61621
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1049466
Title:
Need support of Ralink RT3290 wifi support
Status in “linux” package in Ubuntu:
Fix Released
Status in “linux-firmware” package in Ubuntu:
Fix Released
Status in “linux” source package in Precise:
Invalid
Status in “linux-firmware” source package in Precise:
Fix Released
Status in “linux” source package in Quantal:
Invalid
Status in “linux-firmware” source package in Quantal:
Won't Fix
Status in “linux” source package in Raring:
Fix Released
Status in “linux-firmware” source package in Raring:
Fix Released
Status in “linux” package in Baltix:
Opinion
Status in “linux” package in Gentoo Linux:
New
Bug description:
RT3290 wifi chip is becoming common on consumer notebooks. Its support
starts from 3.6 so support on 12.10 may need lbm-cw.
commit a89534edaaa7008992b878680490e9b02a665563
Author: Woody Hung <Woody.Hung@xxxxxxxxxxxx>
Date: Wed Jun 13 15:01:16 2012 +0800
rt2x00 : RT3290 chip support v4
This patch support the new chipset rt3290 wifi implementation in rt2x00.
It initailize the related mac, bbp and rf register in startup phase.
And this patch modify the efuse read/write method for the different efuse data offset of rt3290.
Signed-off-by: Woody Hung <Woody.Hung@xxxxxxxxxxxx>
Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1049466/+subscriptions
Follow ups