aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.38k stars 748 forks source link

Edimax AC600 (+potentially other devices) no longer working after c7f8f6e3633bd91a9f359eb3406beb972e58cd7b #1153

Open olaf-otto opened 1 month ago

olaf-otto commented 1 month ago

I am compiling the drivers from source on RPI Raspian 32 bit on a Raspberry Pi Zero W following the procedure documented here: https://edimax.freshdesk.com/support/solutions/articles/14000032146-how-to-install-ew-7811-ac600-series-and-ew-7822uac-adapters-on-raspberry-pi

The resulting driver worked perfectly fine a week ago. Starting with commit ("Remove leftovers of Intel WIDI and take a general cleanup"), the driver has stopped working. The USB device is recognized and the module gets loaded, but any interaction with the device results in timeouts, e.g. "Failed to read scan data : Resource temporarily unavailable". In addition, detaching the USB Edimax AC600 causes a kernel freeze.

Unfortunately I am unfamiliar with the code base and lack C expertise, thus I have no patch suggestion to contribute.

Reaper1121 commented 1 month ago

This issue is URGENT and needs to be fixed ASAP.

I am one of the people that uses this driver with "TP-Link Archer T2U PLUS [RTL8821AU]" on Arch Linux via DKMS, when my PC boots up I am greeted with a kernel panic from the driver, a NULL pointer dereference as seen in this screenshot:

Kernel panic screenshot

I can confirm that rolling back to 63cf0b4584aa8878b0fe8ab38017f31c319bde3d fixes the issue.

ObsidianMaximus commented 1 month ago

Can confirm that the recent commits (as mentioned above) have caused my "TP Link Archer T2U Plus" to not work on both Debian and Ubuntu server.

I use nmcli to connect to wifi networks.

When I issued "nmcli d wifi list", it did not list any networks, even after running "nmcli r wifi on".

And getting the same null pointer error as above on boot.

Going back to 63cf0b4 commit fixed it.

kstepanovdev commented 1 month ago

Can confirm. The recent commit doesn't work with "TP Link Archer T2U Plus".

Rolling back to https://github.com/aircrack-ng/rtl8812au/commit/63cf0b4584aa8878b0fe8ab38017f31c319bde3d fixes the issue.

georgiyozhegov commented 1 month ago

I have the same problem with TP Link Archer T2U Plus. I have Arch Installed and recently, after update to 6.9.1 linux kernel wifi just stopped work. In GNOME control center wifi section is available, but there are no networks listed (but they're exist). Maybe it's a problem with wpa_supplicant, but I'm not sure.

Logs:

 4:05:53 PM NetworkManager: <info>  [1716293153.1723] device (p2p-dev-wlp0s29u1u8): supplicant management interface state: disconnected -> inactive
 4:05:53 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
 4:05:53 PM NetworkManager: <info>  [1716293153.1639] device (p2p-dev-wlp0s29u1u8): supplicant management interface state: inactive -> disconnected
 4:05:53 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-ASSOC-REJECT status_code=1
 4:05:53 PM NetworkManager: <info>  [1716293153.1625] device (p2p-dev-wlp0s29u1u8): supplicant management interface state: interface_disabled -> inactive
 4:05:53 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
 4:05:53 PM NetworkManager: <info>  [1716293153.1624] device (wlp0s29u1u8): supplicant interface state: interface_disabled -> inactive
 4:05:53 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-ASSOC-REJECT status_code=1
 4:05:53 PM NetworkManager: <info>  [1716293153.1171] device (p2p-dev-wlp0s29u1u8): supplicant management interface state: disconnected -> interface_disabled
 4:05:39 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
 4:05:39 PM NetworkManager: <warn>  [1716293139.6667] device (wlp0s29u1u8): Activation: failed for connection 'Hotspot'
 4:05:29 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
 4:05:29 PM NetworkManager: <warn>  [1716293129.2151] device (wlp0s29u1u8): set-hw-addr: failed to set MAC address to B2:0C:28:F3:7A:CA (scanning) (NME_UNSPEC)
 4:05:24 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
 4:05:24 PM NetworkManager: <info>  [1716293124.7318] device (wlp0s29u1u8): state change: prepare -> failed (reason 'config-failed', sys-iface-state: 'managed')
 4:05:24 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-ASSOC-REJECT status_code=1
 4:05:24 PM NetworkManager: <warn>  [1716293124.7317] device (wlp0s29u1u8): set-hw-addr: failed to reset MAC address to 6C:5A:B0:F0:92:2C (preserve) (NME_UNSPEC)
 4:05:10 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
 4:05:10 PM NetworkManager: <warn>  [1716293110.0117] device (wlp0s29u1u8): set-hw-addr: failed to set MAC address to 56:85:67:44:AE:38 (scanning) (NME_UNSPEC)
 4:04:49 PM wpa_supplicant: wlp0s29u1u8: CTRL-EVENT-SCAN-FAILED ret=-16
 4:00:04 PM NetworkManager: <info>  [1716292804.8243] device (p2p-dev-wlp0s29u1u8): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
 4:00:03 PM kernel: rtl88XXau 1-1.8:1.0 wlp0s29u1u8: renamed from wlan0

UPDATE: And yeah, reverting to 63cf0b4 fixes the issue.

onestan commented 3 weeks ago

Can confirm. The recent commit doesn't work with "TP Link Archer T2U Plus".

* That adapter is greyed out in nm-applet.

* `ip link` shows its `state DORMANT`. Turning it on via `ip link set "interface_name" up` gives nothing.

* `nmcli device wifi list ifname "interface_name"` shows empty available options

Rolling back to 63cf0b4 fixes the issue.

Absolutely the same situation for me

juceda commented 1 week ago

Same for me... :/