You are not logged in.

#1 2012-02-08 01:11:14

Griffondude
Member
Registered: 2012-01-31
Posts: 7

Installing Ralink RT3370.

I purchased a Belkin F7D1101 V2 for an older laptop.  It uses the Ralink RT3370 chipset.  The rt2800usb driver does not work properly with this device so I tried the Ralink company driver.  It will not compile due to this error:

/lib/modules/3.2.4-1-ARCH/build/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory compilation terminated.

I used to encounter an error relating to the missing modversions.h file but I cured that one by acquiring linux-headers through pacman.  Apparently the headers do no include everything this driver looks for.

Any ideas anyone?

Thanks in advance.

Offline

#2 2012-02-08 12:02:08

ratcheer
Member
Registered: 2011-10-09
Posts: 924

Re: Installing Ralink RT3370.

Which kernel are you on? I have been making rt3562sta for ages (since 2.6.something) and it worked up through 3.2.2, but I could not get it to make when we got up to 3.2.4 a few days ago. My error was different, though.

https://bbs.archlinux.org/viewtopic.php?id=135166

Tim

Last edited by ratcheer (2012-02-08 12:02:46)

Offline

#3 2012-02-08 22:17:30

Bazzaah
Member
Registered: 2010-03-15
Posts: 69

Re: Installing Ralink RT3370.

I had a few problems with 3.2.4 - it wouldn't find the module for my Ralink chip (not the same as yours) even though the .ko file was where it should be. I moved back to 3.2.2 and tried 3.2.5 today which seems to have ironed out whatever problems 3.2.4 contained.

Maybe try that?

Last edited by Bazzaah (2012-02-08 22:19:06)

Offline

#4 2012-02-10 00:32:36

Griffondude
Member
Registered: 2012-01-31
Posts: 7

Re: Installing Ralink RT3370.

I finally got the driver to compile with no errors with new kernel 3.2.5.  I can't seem to load it now.  Anyone have quick advice on exactly where the actual file resides?

I guess I am supposed to run: insmod rt2870sta.ko
I get: Error: could not load module rt2870sta.ko: No such file or directory

Not sure what to do....

Offline

#5 2012-02-10 00:49:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: Installing Ralink RT3370.

I prefer modprobe to insmod.  Don't include the .ko

Did you install the module?  It should be in /lib/modules/<your kernel name>/   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2012-02-10 01:02:48

Griffondude
Member
Registered: 2012-01-31
Posts: 7

Re: Installing Ralink RT3370.

Well, no, I did not do that yet.  I am studying how to do it as we speak.  Any quick hints for a newbie in trouble?

Offline

#7 2012-02-10 01:08:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: Installing Ralink RT3370.

Griffondude wrote:

Well, no, I did not do that yet.  I am studying how to do it as we speak.  Any quick hints for a newbie in trouble?

Lets start with, How did you compile the driver?

I assume you started with aur/rt2870 2.4.0.1-4 ?  Or did you try to compile it by hand?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2012-02-10 01:16:15

Griffondude
Member
Registered: 2012-01-31
Posts: 7

Re: Installing Ralink RT3370.

I downloaded the tar file from the Ralink site, which contains version V2.5.0.3, advertised as the solution for my chipset.  I modified the makefile a bit so it would find what it needed on an Arch system, installed the linux-headers with pacman then finally successfully ran make.  No joy with Kernel 3.4 but with the latest update, I got no errors.  I assumed it worked, but...
I searched through /lib/modules and cannot find the final product, which should be rt2870sta.ko, I think.  Tried modprobe with no luck.

Thanks for helping me out.

Offline

#9 2012-02-10 01:38:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: Installing Ralink RT3370.

Well, (I am going to hammered for saying this), what happens if you just copy the rt2870sta.ko file to the /lib/modules/<your kernel name>/ directory and then modprobe it?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#10 2012-02-10 01:59:47

Griffondude
Member
Registered: 2012-01-31
Posts: 7

Re: Installing Ralink RT3370.

I hope you don't get hammered!  I'll try the AUR driver in the hope it will work out of the box.  I would love to copy the file if I could find it...

Offline

Board footer

Powered by FluxBB