Skip to content

[BUG] Driver loads firmware but times out on activation (Acer Aspire 3 A315-59) #10

@Kay340D

Description

@Kay340D

Hello, and thank you for your incredible work on this driver. I have been testing it and have found a reproducible bug that I hope this report can help solve.

System Information:

Laptop Model: Acer Aspire 3 A315-59-78NS

WiFi Card: MEDIATEK Corp. Device 7902 (PCI ID 14c3:7902)

Operating System: Arch Linux

Kernel Version: 6.16.4-arch1-1

Steps to Reproduce:

Cloned the repository.

Successfully compiled the driver from the linux-6.16/drivers/net/wireless/mediatek/mt76 directory.

Copied both required firmware files (WIFI_MT7902_patch_mcu_1_1_hdr.bin and WIFI_RAM_CODE_MT7902_1.bin) from the Wireless LAN_MTK... folder to /lib/firmware/mediatek/.

Loaded the kernel modules in order (mt76.ko, mt76-connac-lib.ko, mt792x-lib.ko, and mt7902/mt7902e.ko) using sudo insmod.

The system successfully creates a wireless interface (e.g., wlan1).

Attempted to activate the interface with sudo ip link set wlan1 up.

Expected Result:
The wlan1 interface should be activated and change its state to UP.

Actual Result:
The command sudo ip link set wlan1 up hangs for several seconds and then fails with the error: RTNETLINK answers: Connection timed out. The driver appears to crash at this stage.

Relevant dmesg Log:
The log clearly shows that both firmware files are loaded successfully, but the driver then fails with communication timeouts.
code Code
IGNORE_WHEN_COPYING_START
IGNORE_WHEN_COPYING_END

[56739.118391] mt7902e 0000:2a:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220729160652a
[56739.140070] mt7902e 0000:2a:00.0: WM Firmware Version: ____000000, Build Time: 20220729160729
[56739.202851] Firmware init done
[56743.508631] mt7902e 0000:2a:00.0: Message 00020001 (seq 6) timeout
[56746.580586] mt7902e 0000:2a:00.0: Message 00020001 (seq 9) timeout

Additional Steps Taken:
I also tested loading the mt7902e.ko module with the disable_aspm=1 parameter. The result was exactly the same, with the same timeout errors.

Thank you again for all your effort on this project. Please let me know if you need any more information or logs from my system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions