You are not logged in.

#1 2013-04-22 17:35:40

poxpot
Member
Registered: 2013-04-22
Posts: 2

RT3290 wifi problems

Hi everyone.

I've got few wifi troubles with my recent arch installation.
My computer is a hp envy dv6. The network is handled by a rt3290 card.
I see few threads asserting that this card work perflectly with an archlinux "out of the box".

But on my computer,  isn't able to find any network when I try to scan with it.

iwconfig

eno1      no wireless extensions.

lo        no wireless extensions.

wlo1      IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
    

lshw -C network

  *-network DÉSACTIVÉ     
       description: Interface réseau sans fil
       produit: RT3290 Wireless 802.11n 1T/1R PCIe
       fabriquant: Ralink corp.
       identifiant matériel: 0
       information bus: pci@0000:0a:00.0
       nom logique: wlo1
       version: 00
       numéro de série: 08:3e:8e:41:16:d1
       bits: 32 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rt2800pci driverversion=3.8.8-1-ARCH firmware=0.37 latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       ressources: irq:19 mémoire:d4510000-d451ffff

     

if I try  ifconfig wlo1 up:

SIOCSIFFLAGS: Input/output error

(weird, isn't it ?)

Moreover, when I log-in, I got few error message like this :

[ 1808.553043] phy2 -> rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy, aborting.
[ 1808.553058] phy2 -> rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5).

Last edited by poxpot (2013-04-22 17:36:50)

Offline

#2 2013-04-23 09:43:17

MilenKid
Member
Registered: 2013-04-21
Posts: 86

Re: RT3290 wifi problems

Hello. I have RT3090 and I had problems while installing.
If I was restarting from Ubuntu Live CD in Arch install, it was not working. If I was first turning off the computer and after on again, it worked.
I did not need any additional module, and in installed arch works perfectly. To be honest, I don't restart too often (I use only Arch Linux on my computer).

Offline

#3 2013-04-23 10:26:47

MariusMatutiae
Member
Registered: 2012-11-08
Posts: 31

Re: RT3290 wifi problems

Not really a problem with Arch, rather with Linux kernel; your network card is dèsactivé, even though the driver appears to be the correct one. So only solution seems to be to replace the driver with a blonder, newer model. This ralink Web page provides the newest driver I know. Installation is straightforward, configure-make-sudo make install, except for the following two corrections:

Edit the file DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/config.mk and make sure that both lines (close to each other, but not immediately adjacent)

HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
.....
HAS_WPA_SUPPLICANT=y

end with a y. That's the only suggestion I can offer, hope it's enough. Cheers

Offline

#4 2013-05-08 13:34:42

poxpot
Member
Registered: 2013-04-22
Posts: 2

Re: RT3290 wifi problems

Sorry for my inactivity.

Thanks for the answers.

My card works sometimes with the rt2800pci module (which comes natively with the kernel). But it's not stable at all...

I tried to compile the rt3290 module, but I've got few errors. Apparently it's owing to my kernel version (too recent, few changes in this version make me unable to compile this).

Here are the errors ;

/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: attention : unused variable ‘offset’ [-Wunused-variable]
  ULONG offset;
        ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: attention : unused variable ‘Configuration’ [-Wunused-variable]
  ULONG Configuration;
        ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:43:23: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
 static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
                       ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:44:22: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
 static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id  *ent);
                      ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:63:46: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
 static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
                                              ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:85:17: erreur: ‘rt2860_pci_tbl’ undeclared here (not in a function)
     id_table:   rt2860_pci_tbl,
                 ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:86:17: erreur: ‘rt2860_probe’ undeclared here (not in a function)
     probe:      rt2860_probe,
                 ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:5: erreur: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
     remove:     __devexit_p(rt2860_remove_one),
     ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:29: erreur: ‘rt2860_remove_one’ undeclared here (not in a function)
     remove:     __devexit_p(rt2860_remove_one),
                             ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:292:24: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
 static INT __devinit   rt2860_probe(
                        ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:463:23: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
 static VOID __devexit rt2860_remove_one(
                       ^
In file included from /home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18:0,
                 from /home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:32:
include/linux/module.h:87:32: erreur: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
 extern const struct gtype##_id __mod_##gtype##_table  \
                                ^
include/linux/module.h:140:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
   MODULE_GENERIC_TABLE(type##_device,name)
   ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:71:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
 MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
 ^
cc1: some warnings being treated as errors
make[2]: *** [/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Erreur 1
make[1]: *** [_module_/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Erreur 2
make: *** [LINUX] Erreur 2

Last edited by poxpot (2013-05-08 13:35:09)

Offline

#5 2013-05-26 09:30:35

yfvelo
Member
Registered: 2013-05-26
Posts: 1

Re: RT3290 wifi problems

The error seems to be because some macros such as __devexit and __devinit have been deprecated with recent kernel versions.

If you have a recent kernel (≥ 3.8.0), you should edit the code to get rid of references to those macros.  Edit os/linux/pci_main_dev.c like this:
sed -i 's/__devexit/__exit/g' pci_main_dev.c
sed -i 's/__devinit/__init/g' pci_main_dev.c

Offline

#6 2013-05-26 11:22:16

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: RT3290 wifi problems

poxpot wrote:

Sorry for my inactivity.

Thanks for the answers.

My card works sometimes with the rt2800pci module (which comes natively with the kernel). But it's not stable at all...

I tried to compile the rt3290 module, but I've got few errors. Apparently it's owing to my kernel version (too recent, few changes in this version make me unable to compile this).

Here are the errors ;

/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: attention : unused variable ‘offset’ [-Wunused-variable]
  ULONG offset;
        ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: attention : unused variable ‘Configuration’ [-Wunused-variable]
  ULONG Configuration;
        ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:43:23: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
 static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
                       ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:44:22: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
 static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id  *ent);
                      ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:63:46: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
 static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
                                              ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:85:17: erreur: ‘rt2860_pci_tbl’ undeclared here (not in a function)
     id_table:   rt2860_pci_tbl,
                 ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:86:17: erreur: ‘rt2860_probe’ undeclared here (not in a function)
     probe:      rt2860_probe,
                 ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:5: erreur: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
     remove:     __devexit_p(rt2860_remove_one),
     ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:29: erreur: ‘rt2860_remove_one’ undeclared here (not in a function)
     remove:     __devexit_p(rt2860_remove_one),
                             ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:292:24: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
 static INT __devinit   rt2860_probe(
                        ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:463:23: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
 static VOID __devexit rt2860_remove_one(
                       ^
In file included from /home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18:0,
                 from /home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
                 from /home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
                 from /home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:32:
include/linux/module.h:87:32: erreur: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
 extern const struct gtype##_id __mod_##gtype##_table  \
                                ^
include/linux/module.h:140:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
   MODULE_GENERIC_TABLE(type##_device,name)
   ^
/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:71:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
 MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
 ^
cc1: some warnings being treated as errors
make[2]: *** [/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Erreur 1
make[1]: *** [_module_/home/poxpot/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Erreur 2
make: *** [LINUX] Erreur 2

I do have the same card. It's working almost fine since the installation without additional work except the range. I cannot get signal from like ten meters. Je ne peux pas quitter la salle smile

Also had the same error while installing the driver from ralink's site, with reconfigured config.mk.

Please inform if yfvelo's propose works.

Last edited by Gulver (2013-05-26 11:23:37)

Offline

#7 2013-06-19 03:06:38

bmlandis2010
Member
Registered: 2013-06-19
Posts: 4

Re: RT3290 wifi problems

I had the same problems as you guys did, so I created an AUR package big_smile
If you find any problems, let me know so I can fix them.

Offline

#8 2013-06-20 15:45:01

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: RT3290 wifi problems

bmlandis2010 wrote:

I had the same problems as you guys did, so I created an AUR package big_smile
If you find any problems, let me know so I can fix them.

It compiles flawless but yet to be loadable. Can't get it work, probably my noobness is the problem;

installed.
blacklisted previous drivers with a conf file in modprobe.d.
made a load entry in modules-load.d.
modprobe,
reboot.

I also tried with combination of these process yet to work.

Offline

#9 2013-06-20 15:55:29

bmlandis2010
Member
Registered: 2013-06-19
Posts: 4

Re: RT3290 wifi problems

Gulver wrote:

It compiles flawless but yet to be loadable. Can't get it work, probably my noobness is the problem;

installed.
blacklisted previous drivers with a conf file in modprobe.d.
made a load entry in modules-load.d.
modprobe,
reboot.

I also tried with combination of these process yet to work.

Please run these commands and post the output:

uname -a
lspci -vnn

Also, you don't need to manually create a blacklist file in modprobe.d
The package should do that automatically

Offline

#10 2013-06-20 16:35:40

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: RT3290 wifi problems

I was wondering why I had to delete two blacklist files smile

Yet, no diference.

Linux kaboom 3.9.6-1-ARCH #1 SMP PREEMPT Fri Jun 14 08:12:55 CEST 2013 x86_64 GNU/Linux

aaand..

07:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
	Subsystem: Hewlett-Packard Company Device [103c:18ec]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 63510000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-00-87-ae-a9-23-94-68
	Kernel driver in use: rt2860
	Kernel modules: rt2800pci, rt3290sta

07:00.1 Bluetooth [0d11]: Ralink corp. RT3290 Bluetooth [1814:3298]
	Subsystem: Hewlett-Packard Company Device [103c:18ec]
	Flags: bus master, fast devsel, latency 0
	Memory at 63500000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-00-88-ae-a9-23-94-68

08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
	Subsystem: Hewlett-Packard Company Device [103c:183e]
	Flags: bus master, fast devsel, latency 0, IRQ 44
	I/O ports at 3000 [size=256]
	Memory at 63404000 (64-bit, prefetchable) [size=4K]
	Memory at 63400000 (64-bit, prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
	Capabilities: [d0] Vital Product Data
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
	Kernel driver in use: r8169
	Kernel modules: r8169

Last edited by Gulver (2013-06-22 17:54:20)

Offline

#11 2013-07-10 04:47:45

bmlandis2010
Member
Registered: 2013-06-19
Posts: 4

Re: RT3290 wifi problems

I've tried many different patches from different places (including the official rt3290sta package from OpenSUSE) and all of them have caused a kernel panic on my machine. I have used this package before with success but no matter what I try now, it no longer works. So, for now, my AUR project is on hold until Ralink releases a new version of the driver (The latest is from May 2012)

Offline

#12 2013-10-19 00:30:59

bmlandis2010
Member
Registered: 2013-06-19
Posts: 4

Re: RT3290 wifi problems

The AUR package that I created is now fully working.
Please see if it solves your problem.

Offline

#13 2013-10-25 08:34:34

crittico
Member
Registered: 2013-10-25
Posts: 1

Re: RT3290 wifi problems

Same laptop, same card, same struggling through different kernel/driver combinations (i tried different patches, none of them worked with 3.11.x kernels).
For what is worth, regular rt2800pci drivers now works with 3.11.6 on my laptop - it goes offline every now and then but if i restart wpa_supplicant.service it connects again - so you may want to give them another chance...

Cheers

Offline

#14 2015-08-03 10:01:59

baku
Member
Registered: 2015-05-10
Posts: 14

Re: RT3290 wifi problems

Hmm today I had strange issue..
Im using arch since may this year.
Wifi rt3290. No problems. But today somehow wifi stopped working, Ive tried other linux live to check if all is ok with my wifi card, and it was working, and then after rebooting back to arch wifi went up smile super strange

Offline

#15 2015-08-03 14:56:19

baku
Member
Registered: 2015-05-10
Posts: 14

Re: RT3290 wifi problems

But I cant intall this from AUR:

sudo pacman -U rt3290-dkms_2.6.0.0rev1-0ubuntu1~ppa1.tar.gz
[sudo] hasło użytkownika baku: 
wczytywanie pakietów…
błąd:  brak metadanych pakietu w rt3290-dkms_2.6.0.0rev1-0ubuntu1~ppa1.tar.gz
błąd:  'rt3290-dkms_2.6.0.0rev1-0ubuntu1~ppa1.tar.gz': Niepoprawny lub uszkodzony pakiet

Translated: Incorrent or damaged

Offline

#16 2015-08-06 09:16:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,254

Re: RT3290 wifi problems

This thread is 2 years old, whatever problem was there probably doesn't apply anymore and you shouldn't try to install random outdated AUR packages

Last edited by V1del (2015-08-06 09:17:28)

Offline

#17 2015-08-06 09:33:31

betseg
Member
From: Turkey
Registered: 2015-04-25
Posts: 182

Re: RT3290 wifi problems

I had the same problem, I installed this package and the problem is gone.

Last edited by betseg (2015-08-06 09:55:46)

Offline

#18 2015-08-10 09:14:03

xorob0
Member
Registered: 2015-04-15
Posts: 1

Re: RT3290 wifi problems

This problem still occured with my computer. The RT3290 is a hell under linux, the best I can advise anyone with this card who want linux is to go buy a new one on internet, it's not more than 15 € but you will have a far better stability.
Here is the same model I bought and it work perfectly !
http://www.ebay.com/itm/ATHEROS-AR5B225 … 460b53e2d2

Offline

#19 2015-08-10 18:09:46

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,412
Website

Re: RT3290 wifi problems

V1del wrote:

This thread is 2 years old, whatever problem was there probably doesn't apply anymore and you shouldn't try to install random outdated AUR packages

Indeed. Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB