The rt2860 and rt2870 chipsets from Ralink is used in many wireless USB cards
Update on November, 2011: The device drivers in newer stock kernels fully support rtxxx0 devices for which I once prepared the RPM files below. Hence from Fedora 16 onwards, I am dropping my support on these RPMS; the RPMs will not be shipped by RPMFusion.
Ralink provides native linux drivers on their website:
http://www.ralinktech.com/support.php?s=2
but they don't compile against Fedora kernels. The Fedora kernel devs backported some features from kernel 2.6.27 down to 2.6.25 and 2.6.26 and this breaks the driver code for these kernel versions.
The following howto is for installing patched drivers that work with current Fedora kernels.
Rpmfusion is dribble/livna/freshrpms repositories merged together and will not cause conflicts with them.
Having made that clear, let me explain two different ways of installing the kernel module from rpmfusion.
Note: rt2860 users: Replace every rt2870 you see below with rt2860 and you'll be fine.
Note: rt2870 users: If your card does not work with the rt2870 driver, please try the rt3070 one. It may (or may not) support your card.
Note: rt3070 users: Replace every rt2870 you see below with rt3070 and you'll be fine
1. If you want to add the rpmfusion repo to your repo's:
If you have the livna repository enabled, doing a yum update will automatically install the rpmfusion repo. For all other cases you can visit
this link, which explains how to add the rpmfusion repository. In short do (one line)
After this run aCode:rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
and the rt2870 driver will be installed for the latest kernel.Code:yum install rt2870
2. If you don't want to add the rpmfusion repo to your repo's (MORE ADVANCED):
EITHER:
A- Browse through rpmfusion repository and grab your rpm files
You need 3 files:
rt2870-<version>.noarch.rpm
kmod-rt2870-<version>.<your_arch>.rpm
kmod-rt2870-<kernel-version>-<version>-<your_arch>.rpm
Install them altogether because they'll depend on each other
OR:Code:rpm -ivh *rt2870*.rpm
B- Download the source RPM's and compile them yourself.
Go to rpmfusion-testing's SRPM directory. You should download 2 src.rpm's:
rt2870-<version>.src.rpm
rt2870-kmod-<version>.src.rpm
Make sure you have a RPM BUILD environment. This page explains how to create one.
You can then build your rpm's via (don't do this as root!)
Now you will have 2 RPM's in your ~/rpmbuild/RPMS directory.Code:rpmbuild --rebuild rt2870-<version>.src.rpm rpmbuild --rebuild rt2870-kmod-<version>.src.rpm --define "kernels $(uname -r)" --target $(uname -m)
One will be under arch the other will be in your own arch.
So these command will install them. As root:
Here,Code:cd /home/<user_name>/rpmbuild/RPMS/ rpm -ivh */*rt2870*.rpm
<user_name> is the user who ran the above rpmbuild commands.