You’re very welcome … thanks for letting me know it helped
On the issue of “somehow rt2870sta loads, despite blacklisting”:
Have you considered that (since kernel 2.6.30?) the kernel itself provides a number of experimental (‘staging’) wireless drivers - including one for rt2870sta?
See the attached screenshot (found 3 instances of rt2870sta,ko – one in the ‘staging’ folder. And that one has been proven worthless to me in the past.
Normally I used to either rename it or replace it there with the newer rt2870sta.ko from self-compiling/installing the driver.
Somehow I forgot to do that yesterday, but my wireless still works OK, so it may not be necessary any longer
The relevant output from lsmod shows: ‘rt2870sta 448934 1’ as module-size.
I also use “checkinstall” instead of “make install” during compilation. That also provides a .deb package…
http://http://linuxforums.org.uk/index.php?action=dlattach;topic=852.0;attach=1871
AFAIK the included staging rt2870sta.ko is a loadable kernel object (module), and not compiled into the kernel itself … so I would have expected it to be blacklistable … but I no longer have an rt2870 based adapter to test it on, so who knows.
I’m pretty certain “staging” drivers are NOT merged into the mainline kernel and are stand-alone drivers, but could be wrong :o
http://www.kroah.com/log/linux/linux-staging-update.html
Searching for and renaming the .ko may have been a good idea though
You’re right that the staging drivers are loadable kernel objects.
I didn’t imply that is was compiled into the kernel. Just that they’re provided at kernel installation and loaded as experimental driver at startup…
Sorry for the misunderstanding. English is not my native langage…
Ko
Sorry for the misunderstanding. English is not my native langage....:-)
You seem pretty damn good at it to me … until you said so I’d never have guessed you weren’t English, you’re certainly better at it than I’d be at whatever your native language is … and better than some Englishmen (probably myself included)
My native language is Dutch…
Having worked for several companies where english was the spoken/written language probably did help…
PS: are those Captcha’s really necessary for posting AND editing posts… (yes, I made some typo’s…) ?
Ko
Captcha(s) are only for the first 5 posts (I’m sure that’s how we set it) to keep spam down … after you’ve made 5 postings, you shouldn’t see them again
Please let me know if you do.
Thanks for telling me…
Ko
You’re right
Ko
Now you can make typos to your hearts content
Mark, it seems you are very patient to help noobs, well thats me… I need help. I just purchased a Rosewill RNXN600UBE and I need to get the drivers installed on 3 different machines all running Ubuntu 11.10. I noticed the driver for this from Rosewill’s website is labeled as the Ralink RT3572, but in the config file it says RT2870 for everything.
I went to Ralink’s website and noticed the RT3572 and the RT2870 drivers for download, to me they look like the same thing. maybe this is my problem? I dont know. (maybe they are different because its a dual band adapter?)
I followed all the instructions and everything went fine, I even used your uploaded build for make install. it seems to have installed, except when I do the modprobe command it seems to do nothing, it takes a second then finishes. It does not make an ra0 network device. Iwconfig shows nothing, and lsmod shows the driver there but nothing is happening.
lsusb says this “Bus 002 Device 005: ID 148f:3572 Ralink Technology, Corp. RT3572 Wireless Adapter”
lsmod says this "rt2870sta 570803 0 " this is the only rt28 driver.
Did I fucked up by installing the RT2870 driver compared to the RT3572? Did my installation fail? What do I do? Please help me Mark, I really reallllllly would appreciate it. I Tip my hat to your patience, and Thank You in advance.
Hi fatguy1121, and welcome to the forum
Can you post the output from:
sudo lshw C network
Thank you so much for the speedy reply.
root@fatguy1121-System-Product-Name:~# sudo lshw -C network
*-network
description: Ethernet interface
product: 88E8056 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:06:00.0
logical name: eth0
version: 12
serial: e0:cb:4e:7a:ef:a5
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 duplex=full firmware=N/A ip=1.2.3.106 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:68 memory:fbdfc000-fbdfffff ioport:d800(size=256) memory:fbdc0000-fbddffff
*-network
description: Ethernet interface
product: 88E8056 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth1
version: 12
serial: e0:cb:4e:7a:f2:eb
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 firmware=N/A latency=0 link=no multicast=yes port=twisted pair
resources: irq:69 memory:fbbfc000-fbbfffff ioport:b800(size=256) memory:fbbc0000-fbbdffff
That is showing the 2 Ethernet ports. Thats all that comes up.
OK first of all you’ll need the 2011_0427_RT3572_Linux_STA_v2.5.0.0.DPO.bz2 driver from the Ralink website -
Go to this page:
http://www.ralinktech.com/en/04_support/license.php?sn=5017#
and fill in your name and email, then click Accept … the file will then download
(you can enter ANY name and email … it’s not checked)
Unpack the driver (I needed to do it twice for some reason)
Then compile/install as usual
IIRC the 2.5.0.0 driver compiles OK in 11.10, if it doesn’t let me know.
I’ve checked it and it DOES contain the ID strings for your card (148f:3572).
If you don’t know how to compie/install, just ask
The unpacked drivers may look like rt2870 as they contain files with that name … but they ARE different.
What do I use for modprobe after install?
If I run
modprobe rt3572
it says
root@fatguy1121-System-Product-Name:~# modprobe rt3572sta
FATAL: Error inserting rt3572sta (/lib/modules/3.0.0-16-generic-pae/kernel/drivers/net/wireless/rt3572sta.ko): Device or resource busy
If you’ve already compiled and installed (ie. already run the make && sudo make install) …
Log off, then on again … then unplug the USB adapter … wait ten seconds … replug it … and send the output from:
dmesg | tail -n 25
and
sudo lshw -C network
root@fatguy1121-System-Product-Name:~# dmesg | tail -n 25
[ 209.462442] Error: Driver 'rt2870' is already registered, aborting...
[ 215.066454] rtusb init rt2870 --->
[ 215.066520] Error: Driver 'rt2870' is already registered, aborting...
[ 1595.030337] usb 1-5: new high speed USB device number 5 using ehci_hcd
[ 1595.351736] rtusb init rt2870 --->
[ 1595.351741] Error: Driver 'rt2870' is already registered, aborting...
[ 1779.959823] HDMI hot plug event: Pin=5 Presence_Detect=1 ELD_Valid=0
[ 1779.964735] HDMI status: Pin=5 Presence_Detect=0 ELD_Valid=0
[ 1780.772260] vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
[ 1780.772808] NVRM: failed to map registers!!
[ 1780.772809] NVRM: RmInitAdapter failed! (0x10:0x32:1351)
[ 1780.772815] NVRM: rm_init_adapter(1) failed
[ 1780.780259] HDMI hot plug event: Pin=5 Presence_Detect=1 ELD_Valid=0
[ 1780.786644] HDMI status: Pin=5 Presence_Detect=1 ELD_Valid=0
[ 1780.799039] HDMI hot plug event: Pin=5 Presence_Detect=0 ELD_Valid=1
[ 1780.806578] HDMI status: Pin=5 Presence_Detect=1 ELD_Valid=1
[ 1781.098923] gnome-settings-[2134]: segfault at 0 ip b42d01d3 sp bfec8f10 error 4 in libxsettings.so[b42cd000+9000]
[ 1781.588519] HDMI: detected monitor ASUS VW266H
[ 1781.588521] at connection type HDMI
[ 1781.588525] HDMI: available speakers: FL/FR
[ 1781.588538] HDMI: supports coding type LPCM: channels = 2, rates = 44100 48000 88200, bits = 16 20 24
[ 1786.296730] usb 1-5: USB disconnect, device number 5
[ 1808.743960] usb 1-5: new high speed USB device number 6 using ehci_hcd
[ 1809.065156] rtusb init rt2870 --->
[ 1809.065161] Error: Driver 'rt2870' is already registered, aborting...
root@fatguy1121-System-Product-Name:~# sudo lshw -C network
*-network
description: Ethernet interface
product: 88E8056 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:06:00.0
logical name: eth0
version: 12
serial: e0:cb:4e:7a:ef:a5
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 duplex=full firmware=N/A ip=1.2.3.106 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:68 memory:fbdfc000-fbdfffff ioport:d800(size=256) memory:fbdc0000-fbddffff
*-network
description: Ethernet interface
product: 88E8056 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: eth1
version: 12
serial: e0:cb:4e:7a:f2:eb
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 firmware=N/A latency=0 link=no multicast=yes port=twisted pair
resources: irq:69 memory:fbbfc000-fbbfffff ioport:b800(size=256) memory:fbbc0000-fbbdffff
Could the old driver I installed “the real RT2870” be conflicting with the new one. considering they are the same name?
No … can you send the output from:
lsmod
I am going to attempt the install on one of my other machines, let me see if thats working…
root@fatguy1121-System-Product-Name:~# lsmod
Module Size Used by
parport_pc 32114 0
ppdev 12849 0
vesafb 13489 1
bnep 17923 2
rfcomm 38408 0
bluetooth 148839 10 bnep,rfcomm
snd_hda_codec_hdmi 31426 8
snd_hda_codec_analog 75090 1
binfmt_misc 17292 1
nvidia 10390874 40
snd_hda_intel 28358 3
snd_hda_codec 91859 3 snd_hda_codec_hdmi,snd_hda_codec_analog,snd_hda_intel
snd_hwdep 13276 1 snd_hda_codec
snd_pcm 80435 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi 13132 0
snd_rawmidi 25241 1 snd_seq_midi
snd_seq_midi_event 14475 1 snd_seq_midi
snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event
snd_timer 28932 2 snd_pcm,snd_seq
snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 55902 16 snd_hda_codec_hdmi,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 12600 1 snd
snd_page_alloc 14108 2 snd_hda_intel,snd_pcm
joydev 17393 0
mxm_wmi 12859 0
psmouse 63474 0
serio_raw 12990 0
usbhid 41905 0
hid 77367 1 usbhid
i7core_edac 23254 0
edac_core 46858 1 i7core_edac
asus_atk0110 17742 0
wmi 18744 1 mxm_wmi
rt2870sta 570803 0
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
firewire_ohci 35846 0
usb_storage 44173 0
firewire_core 56937 1 firewire_ohci
uas 17699 0
crc_itu_t 12627 1 firewire_core
ahci 21634 0
libahci 25761 1 ahci
pata_jmicron 12651 0
sky2 49304 0
floppy 60310 0
[EDIT]
See my next posting first
[END EDIT]
First try
sudo modprobe -r rt2870sta
then
sudo modprobe rt2870sta
If that doesn’t work, try blacklisting rt2870sta … then rebooting
Did you make the edits to the driver for WPA support before compiling and installing ?