Page 1 of 1

[SOLVED] Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 27th, '14, 11:24
by linuxero
Hi;

On an HP 620 laptop; thw wifi card Ralink RT3090 802.11n 1T/1R PCIe keeps soft-locked under Mageia 4.1 64-bit with KDE installation.

Here are some commands' outputs;

Code: Select all
# rfkill list all
0: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: yes
1: hp-wifi: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
2: hp-gps: GPS
        Soft blocked: yes
        Hard blocked: yes


Code: Select all
lspcidrake
r8169           : Realtek Semiconductor Co., Ltd.|RTL8101E/RTL8102E PCI Express Fast Ethernet controller [NETWORK_ETHERNET] (rev: 02)
rt2800pci       : Ralink corp.|RT3090 Wireless 802.11n 1T/1R PCIe [NETWORK_OTHER]
unknown         : Intel Corporation|82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [STORAGE_SATA] (rev: 03)
lpc_ich         : Intel Corporation|ICH9M LPC Interface Controller [BRIDGE_ISA] (rev: 03)
unknown         : Intel Corporation|82801 Mobile PCI Bridge [BRIDGE_PCI] (rev: 93)
ehci_pci        : Intel Corporation|82801I (ICH9 Family) USB2 EHCI Controller #1 [SERIAL_USB] (rev: 03)
uhci_hcd        : Intel Corporation|82801I (ICH9 Family) USB UHCI Controller #3 [SERIAL_USB] (rev: 03)
uhci_hcd        : Intel Corporation|82801I (ICH9 Family) USB UHCI Controller #2 [SERIAL_USB] (rev: 03)
uhci_hcd        : Intel Corporation|82801I (ICH9 Family) USB UHCI Controller #1 [SERIAL_USB] (rev: 03)
shpchp          : Intel Corporation|82801I (ICH9 Family) PCI Express Port 6 [BRIDGE_PCI] (rev: 03)
shpchp          : Intel Corporation|82801I (ICH9 Family) PCI Express Port 5 [BRIDGE_PCI] (rev: 03)
shpchp          : Intel Corporation|82801I (ICH9 Family) PCI Express Port 3 [BRIDGE_PCI] (rev: 03)
shpchp          : Intel Corporation|82801I (ICH9 Family) PCI Express Port 2 [BRIDGE_PCI] (rev: 03)
shpchp          : Intel Corporation|82801I (ICH9 Family) PCI Express Port 1 [BRIDGE_PCI] (rev: 03)
snd_hda_intel   : Intel Corporation|82801I (ICH9 Family) HD Audio Controller [MULTIMEDIA_AUDIO_DEV] (rev: 03)
ehci_pci        : Intel Corporation|82801I (ICH9 Family) USB2 EHCI Controller #2 [SERIAL_USB] (rev: 03)
uhci_hcd        : Intel Corporation|82801I (ICH9 Family) USB UHCI Controller #6 [SERIAL_USB] (rev: 03)
uhci_hcd        : Intel Corporation|82801I (ICH9 Family) USB UHCI Controller #5 [SERIAL_USB] (rev: 03)
uhci_hcd        : Intel Corporation|82801I (ICH9 Family) USB UHCI Controller #4 [SERIAL_USB] (rev: 03)
unknown         : Intel Corporation|Mobile 4 Series Chipset Integrated Graphics Controller [DISPLAY_OTHER] (rev: 07)
Card:Intel 810 and later: Intel Corporation|Mobile 4 Series Chipset Integrated Graphics Controller [DISPLAY_VGA] (rev: 07)
unknown         : Intel Corporation|Mobile 4 Series Chipset Memory Controller Hub [BRIDGE_HOST] (rev: 07)
hub             : Linux 3.14.24-desktop-1.mga4 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Linux 3.14.24-desktop-1.mga4 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub]
uvcvideo        : Chicony Electronics Co., Ltd.|HP Webcam [2 MP Fixed] [Video|Video Control]
hub             : Linux 3.14.24-desktop-1.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Linux 3.14.24-desktop-1.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Linux 3.14.24-desktop-1.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Linux 3.14.24-desktop-1.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Linux 3.14.24-desktop-1.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub             : Linux 3.14.24-desktop-1.mga4 uhci_hcd|UHCI Host Controller [Hub|Unused|Full speed (or root) hub]


Code: Select all
# journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"
nov 27 10:10:57 globaltms kernel: [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
nov 27 10:10:57 globaltms kernel: psmouse serio4: synaptics: Touchpad model: 1, fw: 7.4, id: 0x1e0b1, caps: 0xd04773/0xa40000/0xa0400, board id: 3655, fw id: 646827
nov 27 10:11:01 globaltms kernel: cfg80211: Calling CRDA to update world regulatory domain
nov 27 10:11:02 globaltms kernel: ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3090, rev 3213 detected
nov 27 10:11:02 globaltms kernel: ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
nov 27 10:11:02 globaltms kernel: ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
nov 27 10:11:02 globaltms kernel: cfg80211: World regulatory domain updated:
nov 27 10:11:02 globaltms kernel: cfg80211:  DFS Master region: unset
nov 27 10:11:02 globaltms kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
nov 27 10:11:02 globaltms kernel: cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211: Calling CRDA for country: ES
nov 27 10:11:02 globaltms kernel: cfg80211: Regulatory domain changed to country: ES
nov 27 10:11:02 globaltms kernel: cfg80211:  DFS Master region: unset
nov 27 10:11:02 globaltms kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
nov 27 10:11:02 globaltms kernel: cfg80211:   (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (5150000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (5250000 KHz - 5350000 KHz @ 80000 KHz), (N/A, 2000 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (5470000 KHz - 5725000 KHz @ 80000 KHz), (N/A, 2698 mBm)
nov 27 10:11:02 globaltms kernel: cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
nov 27 10:12:15 globaltms kernel: IFWLOG: register target


Code: Select all
iwconfig
ens5      no wireless extensions.

wls1      IEEE 802.11bgn  ESSID:"Starbucks-Clientes" 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
         
lo        no wireless extensions.


Any suggestion not to have to unblock it on each reboot?

Thanks,

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 27th, '14, 13:05
by doktor5000
You should try to blacklist hp-wifi, as shown with hp-wmi in https://wiki.mageia.org/en/Setup_wirele ... ic_drivers

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 27th, '14, 15:51
by xxblx
Does
Code: Select all
rfkill unblock all

help you to unblock wifi intarface?

If known solutions from wiki will not help, you may try just to create systemd unit
/etc/systemd/system/rfkill-unblock.service
Code: Select all
[Unit]
Description=Run rfkill unblock all

[Service]
Type=oneshot
ExecStart=/usr/sbin/rfkill unblock all
ExecStop=
Remain AfterExit=yes

[Install]
WantedBy=multi-user.target


Code: Select all
# systemctl enable rfkill-unblock.service
# systemctl start rfkill-unblock.service


It is not a solution of a problem. But at least you will not need to exec manually rfkill unblock after every system startup.

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 27th, '14, 17:10
by doktor5000
The proper solution instead of that workaround is usually to blacklist to relevant vendor-specific wmi module.
Did you at least care to read what I posted previously? Same applies for viewtopic.php?f=25&t=8734&p=53176#p53176

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 27th, '14, 17:40
by xxblx
doctor5000 wrote:Did you at least care to read what I posted previously?

...
xxblx wrote:If known solutions from wiki will not help ...

xxblx wrote:It is not a solution of a problem.


If any problems with my previous post - just remove it.

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 27th, '14, 19:55
by linuxero
Hi;

@dok5000; I tried that before posting, but it does not do any good..!

@xxblx; I'll investigate a bit more while keeping you solution in mind..

Thank you guys

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 27th, '14, 22:10
by doktor5000
linuxero wrote:@dok5000; I tried that before posting, but it does not do any good..!

Which module(s) did you blacklist exactly, and did you reboot afterwards? What does
Code: Select all
rfkill list all
show now?

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 28th, '14, 11:04
by linuxero
I did exactly the same as for the previous post with the same problem, although different wifi card;

Code: Select all
# echo "blacklist hp-wmi" >> /etc/modprobe.d/blacklist-mga.conf


Code: Select all
# rfkill list all
0: phy0: Wireless LAN
             Soft blocked: no
             Hard blocked: yes

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 28th, '14, 11:33
by doktor5000
I mentioned you should blacklist hp-wifi, but anyways.

Hard blocked: yes means usually it's disabled by hardware switch, so either try to enable it via Fn+FX key combo or via hardware switch.

Similar issues: viewtopic.php?f=8&t=4014
http://askubuntu.com/questions/423570/u ... p-pavilion
May also be a bug with newer kernels: https://bugzilla.kernel.org/show_bug.cgi?id=69131

Would be helpful if you can provide the output as root of
Code: Select all
journalctl- ab | grep -i -E 'radio|kill|switch'

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 28th, '14, 19:37
by linuxero
I tried hp-wifi before that, but the result was the same..actually showing four hp-* devices and the soft lock still on..

I have no more access to that laptop now so I created the systemd unit before giving it back..

Thanks anyway

Re: Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 28th, '14, 21:27
by doktor5000
linuxero wrote:I have no more access to that laptop now so I created the systemd unit before giving it back..

So rfkill unblock all will remove the hardblock AND the wifi connection was working successfully with that?

Re: [SOLVED] Ralink RT3090 802.11n 1T/1R PCIe Soft-locked

PostPosted: Nov 28th, '14, 21:57
by linuxero
It is working, but I doubt the hard locking was ever there! I know the result about it in my rfkill, but I had to do
Code: Select all
rfkill unblock 0
, before I wrote the unit, at each boot. Now with the suggested unit there's no need to do it every time :)