You are not logged in.
Pages: 1
Topic closed
Hey,
Yesterday I installed arch on my old desktop pc. Now I have some problems to run my Wlan.
Networkmanager always tells me that the Wireless was locked by a hardware switch, even if there is none.
First I thought I have to load some kernel modules. According to lsusb I have a Ralink RT2570 Wireless Adapter.
# lsusb
Bus 002 Device 007: ID 0db0:4023 Micro Star International Lexar Mobile Card Reader
Bus 002 Device 006: ID 0bc7:0006 X10 Wireless Technology, Inc. Wireless Transceiver (ACPI-compliant)
Bus 002 Device 005: ID 0db0:6855 Micro Star International Bluetooth Device
Bus 002 Device 004: ID 148f:2570 Ralink Technology, Corp. RT2570 Wireless Adapter
Bus 002 Device 002: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubTherefor I tried to load the suitable module as it is described in the wiki
So I wrote the 'rt2500usb' module in a file in /etc/modprobe.d/ .
lsmod shows that the modules where loaded:
# lsmod
Module Size Used by
...
rt2500usb 32768 0
rt2x00usb 20480 1 rt2500usb
rt2x00lib 45056 2 rt2x00usb,rt2500usb
...However the wlan is still locked and rfkill returns:
# rfkill list
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yesI tried to unlock it with 'rfkill unblock all' with no effect.
May someone can give me a hint what's wrong?
Thanks in advance
Offline
You probably need to unlock it with a keyboard shortcut, i.e. physically pressing a key, often Fn + a function key to remove the hardblock
Offline
@wilco: he said this is a desktop pc not a laptop so I doubt there is a FN+ something combination.
Does a reboot help?
Is your wifi module actually a real USB device or is it wired to your mainboard? If you are able to unplug it that might help.
I have only seen issues like this on laptops so far.
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
Try to delete the module (modprobe -r XXX) or shutdown the driver if you can (ifconfig X down) and after, run rfkill to unblock your wireless card.
Offline
Thanks for your aid
@dice unfortunately it is a fix wired device
@Mercader1902 When I unloaded the module rfkill didn't show me the device. I also tried ifconfig X down but the wireless is still disabled
Offline
Maybe try to load the windows driver with ndiswrapper, unload it and then load the linux driver.
https://bugzilla.kernel.org/show_bug.cgi?id=15679#c13
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Jin, Jîyan, Azadî
Offline
@progandy thanks for the tipp. I am going to try ndiswrapper the next days. However the version from the AUR seems to be outdated.
@Head_on_a_Stick I tried to blacklist wmi but with no effect.
Because I was uncertain whether my Hardware works. I tried to boot an old live-System (I think it was Ubuntu 7.10) and the Wireless worked out of the box. With a current live system I experienced the same issue. As it is described in @progandys link it seems to be related to some changes in the kernel ...
Offline
Because I was uncertain whether my Hardware works. I tried to boot an old live-System (I think it was Ubuntu 7.10) and the Wireless worked out of the box. With a current live system I experienced the same issue. As it is described in @progandys link it seems to be related to some changes in the kernel ...
Have you tried the LTS kernel?
https://www.archlinux.org/packages/?q=linux-lts
Jin, Jîyan, Azadî
Offline
Let's try a long shot. What does the output of iwpriv have to say?
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
@Head_on_a_Stick I just tried the lts and the 3.10 kernel without effect.
@ewaller iwprif returns:
$ iwpriv
wlp0s29f7u6u1 no private ioctls.Offline
No joy there ![]()
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
Anyway, thank you all for the support. However I think I am going to get a new device. That might be an easier solution.
Offline
I found a workaround. https://github.com/huppiflupp/rt2570-rf … /README.md
Inside the RT2570 chip there is a register called MAC_CSR19. It controls eight GPIO (general-purpose input/output) pins on the chip itself.
GPIO7 (bit 7 of MAC_CSR19) is used as the hardware radio kill signal. When this bit is 0, the Linux driver believes a hardware kill switch is asserting "radio OFF". When it is 1, the radio is allowed to run.
The Linux rt2500usb driver initialises GPIO7 as an output but never sets it high. So bit 7 stays at 0 forever, and rfkill permanently reports Hard blocked: yes.
The Windows driver sets bit 7 high at startup, which is why WiFi works in Windows.
This is a bug in the Linux driver. The fix is to write the correct value to MAC_CSR19 so that bit 7 is 1.
The register address in the chip is 0x0426. The value we need to write is 0xFE80:
Bits Value Meaning
15–9 1111111 GPIO 1–7 configured as outputs (unchanged)
8 0 GPIO 0 configured as input (unchanged)
7 1 GPIO7 output HIGH — releases the kill block
6–0 0000000 Other GPIO values (unchanged)
Offline
Please file a bug report upstream and don't necrobump 10+ year old topics.
https://wiki.archlinux.org/title/Genera … mpty_posts
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
Pages: 1
Topic closed