TP-LINK TL-WN422G not working

Hello everyone,

I just installed OpenSuse (Tumbleweed) for first time. I cannot connect to Wi-Fi using a TP-LINK TL-WN422G. After trying for a while I just plugged another device (from a different vendor) and worked flawlessly. The TP-LINK TL-WN422G worked fine in other GNU/Linux distributions which were replaced during the installation.

I am not an expert but it seems to me that the device is properly recognized and the kernel modules are loaded:


sudo dmesg

[11054.080314] usb 1-9: new high-speed USB device number 4 using xhci_hcd
[11054.347819] usb 1-9: New USB device found, idVendor=0cf3, idProduct=1006, bcdDevice= 1.08
[11054.347834] usb 1-9: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[11054.347835] usb 1-9: Product: USB2.0 WLAN
[11054.347836] usb 1-9: Manufacturer: ATHEROS
[11054.347837] usb 1-9: SerialNumber: 12345
[11054.457085] usb 1-9: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[11054.457152] usbcore: registered new interface driver ath9k_htc
[11055.544158] usb 1-9: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[11055.794575] ath9k_htc 1-9:1.0: ath9k_htc: HTC initialized with 33 credits

However, no interface seems to be created:


sudo iwconfig
lo        no wireless extensions.

enp10s0   no wireless extensions.

and I cannot see the Wi-Fi networks that are close to the computer.

Digging in internet I found the following thread https://lkml.org/lkml/2020/6/26/432 that makes me suspect that the problem is in the latest versions of the kernel. In such case I would not have any problem with downgrade the kernel if it can be done in a simple way (I am using the nvidia drivers from the repository, I need them because the Nouveau driver did not work properly)

Is there any way to solve this issue?

Thanks in advance

Post:

/usr/sbin/rfkill list all

Thank you for your answer. The command returns nothing at all. After removing the adapter that is working, and plugging again the TL-WN422G I get (dmesg)

  331.424386] usb 1-9: USB disconnect, device number 2
  331.427802] xhci_hcd 0000:02:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
  331.427885] xhci_hcd 0000:02:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
  331.561325] ath: phy0: Reading Magic # failed
  331.561330] ath: phy0: Unable to initialize hardware; initialization status: -5
  331.561332] ath: phy0: Unable to initialize hardware; initialization status: -5
  331.561346] ath9k_htc: Failed to initialize the device
  331.561382] usb 1-9: ath9k_htc: USB layer deinitialized
  333.284473] usb 1-9: new high-speed USB device number 4 using xhci_hcd
  333.552615] usb 1-9: New USB device found, idVendor=0cf3, idProduct=1006, bcdDevice= 1.08
  333.552618] usb 1-9: New USB device strings: Mfr=16, Product=32, SerialNumber=48
  333.552619] usb 1-9: Product: USB2.0 WLAN
  333.552620] usb 1-9: Manufacturer: ATHEROS
  333.552621] usb 1-9: SerialNumber: 12345
  333.578350] usb 1-9: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
  334.659355] usb 1-9: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
  334.909332] ath9k_htc 1-9:1.0: ath9k_htc: HTC initialized with 33 credits


Install rfkill and post as root:

rfkill list all

Thank you. I already have rfkill installed. Both commands gave no output, i.e.:


myuser@localhost:~> sudo rfkill list all
[sudo] password for root: 
myuser@localhost:~> 

I also find this post which may be useful:

I think you’re best advised to wait until the necessary reverts are done…
https://bugzilla.kernel.org/show_bug.cgi?id=208251

For the moment just use the wifi device that works.

Thank you. I am going to wait as I wish to migrate at least two other PCs to OpenSuse Tumbleweed. I really liked the way in which some OpenSuse tools were designed and I am very impressed with this distribution.