You are not logged in.

#1 2011-07-06 09:29:05

Orosius
Member
Registered: 2008-12-06
Posts: 13

Wifi (rt5390) only works after suspend/hibernate

Hi,

I have a strange problem with my new laptop HP G62. I did a clean install of archlinux, with KDE and everything works fine.
But my wireless connection is giving me trouble. I established that my card is a Ralink rt5390:

 
lspci | grep network
02:00.0 Network controller: Ralink corp. Device 5390

I installed the driver for this thing from AUR and rebooted. Now

 iwconfig 

shows me an interface called wlan0. So far, so good. I then try to bring the network up:

ip link set wlan0 up

and try to see if I can spot any networks

iwlist wlan0 scan

The result is: no scan results. I am sure there are many networks here, so this is bad news.
I browsed some forums and found out there might be some kind of conflict between kernel
modules, so I blacklisted rt2x00pci, rt2x00usb, rt2800pci and rt2800usb in /etc/modprobe.d/modprobe.conf and then
rebooted. The result was the same.

Here is where it gets strange. If I first bring up the network, then put the laptop in sleep mode, and
then wake it up again, scanning for networks works! It gives me a list of about a dozen networks.
So I guess the driver should be ok. I'm thinking that the network card somehow activates when waking
up, but that something prevents it during booting.

Does anybody know what could cause this, and how to solve it? Searching with google gives only solutions
for the reverse problem.

Thanks in advance

Offline

#2 2011-07-07 20:01:07

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Wifi (rt5390) only works after suspend/hibernate

Blacklist that driver too and then modprobe it after boot and see what happens.

Offline

#3 2011-07-07 20:54:33

Orosius
Member
Registered: 2008-12-06
Posts: 13

Re: Wifi (rt5390) only works after suspend/hibernate

Thanks for replying.

I tried your advice, but the result is the same. After I reboot, modprobe rt5390sta, and bring the network up,
I still can't scan any of the networks here. It just says

 wlan0     No scan results 

Offline

#4 2011-07-16 17:16:16

Orosius
Member
Registered: 2008-12-06
Posts: 13

Re: Wifi (rt5390) only works after suspend/hibernate

Seriously. Nobody has any idea?

Offline

#5 2011-07-16 18:24:37

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Wifi (rt5390) only works after suspend/hibernate

Perhaps your device is  USB-connected ?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#6 2011-07-16 18:54:17

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Wifi (rt5390) only works after suspend/hibernate

Try lsusb..........


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2011-07-17 08:27:50

Orosius
Member
Registered: 2008-12-06
Posts: 13

Re: Wifi (rt5390) only works after suspend/hibernate

OK, I tried that.

# lsusb 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 064e:f203 Suyin Corp. 

No wireless network card. But with lspci

# lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
01:00.0 VGA compatible controller: ATI Technologies Inc Robson CE [AMD Radeon HD 6300 Series]
01:00.1 Audio device: ATI Technologies Inc Manhattan HDMI Audio [Mobility Radeon HD 5000 Series]
02:00.0 Network controller: Ralink corp. Device 5390
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

It's right there. I don't know much about these things, but that means its pci, right?
Appreciate your help though.

Offline

#8 2011-07-17 20:02:23

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Wifi (rt5390) only works after suspend/hibernate

One option is to see if you can build it from the ABS.  I found one link to an ubuntu forum where a guy compiled his driver by hand after getting it from theRALink website.  See here:  http://ubuntuforums.org/showthread.php?t=1645716

Just because it looked interesting I am posting a url about RALink getting serious about their driver's being included in open source projects:  http://www.phoronix.com/scan.php?page=n … &px=OTA5MA

Offline

#9 2011-07-19 11:47:04

Orosius
Member
Registered: 2008-12-06
Posts: 13

Re: Wifi (rt5390) only works after suspend/hibernate

Ok, in an act of desperation, I installed Ubuntu 11.04 yesterday and installed the driver from the Ralink website, with the patches from the opensuse website, like explained on this page:

http://atinfinity.wordpress.com/2011/05 … ntu-11-04/

I tried this a hundred times in Arch to no avail, but in Ubuntu it just worked from the first try, no idea why. I'm surfing wirelessly right now. I really love Arch, but I think I'm sticking with Ubuntu for the time being. At least until linux properly supports this damn wireless card. Shouldn't take too long, I think.

Thank you all for your help!!

Offline

#10 2011-07-19 18:22:50

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: Wifi (rt5390) only works after suspend/hibernate

Good for you!  Mark as solved please.  smile

Offline

Board footer

Powered by FluxBB