GZ302-Linux-Setup

GZ302 Component Obsolescence Analysis (December 2025)

Executive Summary

This document analyzes the obsolescence status of GZ302-Linux-Setup components as of December 2025, based on upstream Linux kernel support evolution (6.14-6.18). The repository has transitioned from a hardware enablement tool (fixing broken hardware) to a performance optimization toolkit (tuning working hardware).

Last Updated: December 8, 2025
Analysis Period: Early 2025 (Kernel 6.14) → Late 2025 (Kernel 6.18)
Target Hardware: ASUS ROG Flow Z13 (GZ302EA-XS99/XS64/XS32)


Kernel Evolution Timeline

Linux 6.14 (Early 2025)

Linux 6.15-6.16 (Mid 2025)

Linux 6.17 (September 2025)

Linux 6.18 (Late 2025)


Component-by-Component Analysis

1. WiFi (MediaTek MT7925)

Repository Implementation (gz302-minimal.sh)

# Applies modprobe configuration
options mt7925e disable_aspm=1

Upstream Status

| Kernel | Status | Native Support | Action Required | |——–|——–|—————-|—————–| | 6.14-6.15 | Jitter issues | ❌ No | Apply workaround | | 6.16 | Improved | ⚠️ Partial | Apply workaround | | 6.17+ | Production | ✅ Yes | Remove workaround |

Analysis:

Verdict: OBSOLETE for Kernel 6.17+ HARMFUL if applied unnecessarily

Recommendation:


2. Input & Tablet Mode (ASUS WMI)

Repository Implementation

Upstream Status

| Kernel | Status | Native Support | Action Required | |——–|——–|—————-|—————–| | 6.14-6.16 | No ACPI events | ❌ No | Use daemon | | 6.17+ | SW_TABLET_MODE | ✅ Yes | Remove daemon |

Analysis:

Verdict: OBSOLETE for Kernel 6.17+ Creates conflicts if used

Integration:


3. Audio (Cirrus Logic CS35L41)

Repository Implementation

Upstream Status

| Kernel | Status | Native Support | Action Required | |——–|——–|—————-|—————–| | 6.14-6.18 | Missing quirk | ❌ No | Apply patch | | Future | Pending upstream | ⚠️ TBD | Monitor kernel commits |

Analysis:

Verdict: VALID (REQUIRED) Still necessary as of December 2025

Note: CachyOS with linux-g14 patchset may include this quirk already


4. Graphics & AI (Strix Halo Memory Management)

Repository Implementation

# GRUB kernel parameters
amdgpu.gttsize=131072  # 128MB Graphics Translation Table
amd_iommu=off          # Disable IOMMU for lower latency

Upstream Status

| Use Case | Kernel Support | Optimization Needed | Impact | |———-|—————-|———————|——–| | Desktop/Gaming | 6.16+ stable | ❌ No | Obsolete for general use | | AI/LLM Workloads | 6.16+ stable | ✅ Yes | Valid for performance |

Analysis:

General Computing (Desktop/Gaming):

AI/LLM Workloads:

Recommendation:


5. Power Management & RGB

Repository Implementation

Upstream Status

These are userspace optimization tools, not hardware fixes

Analysis:

Verdict: VALID (VALUABLE) Core toolkit functionality

Positioning: These tools represent the future direction of the repository:


Distribution-Specific Guidance

Fedora 43 (Kernel 6.17+)

Obsolete Components:

Required Components:

Recommendation: Minimal hardware fixes + toolkit utilities


Ubuntu 25.10 (Kernel 6.17)

Similar to Fedora 43

Additional Consideration:

Secure Boot: Custom modules require manual signing/MOK enrollment


Arch Linux / CachyOS (Kernel 6.18+)

Obsolete Components:

CachyOS Specific:

Recommendation: Toolkit utilities only (pwrcfg, rrcfg, RGB)


OpenSUSE Tumbleweed (Kernel 6.18+)

Status: Similar to Arch (rolling release)

Package Availability:


Transition Strategy for Existing Users

If You Installed Before September 2025 (Kernel < 6.17)

Your system has obsolete workarounds that may harm performance/battery:

  1. Check your kernel: uname -r
  2. If >= 6.17, remove obsolete components:
    # Remove WiFi ASPM workaround
    sudo rm -f /etc/modprobe.d/mt7925.conf
       
    # Disable tablet mode daemon (if installed)
    sudo systemctl disable --now gz302-tablet.service
       
    # Remove input forcing
    sudo sed -i '/enable_touchpad=1/d' /etc/modprobe.d/hid-asus.conf
       
    # Reload modules
    sudo modprobe -r mt7925e && sudo modprobe mt7925e
    sudo modprobe -r hid_asus && sudo modprobe hid_asus
    
  3. Keep valid components:
    • Audio quirks (still needed)
    • pwrcfg and rrcfg tools
    • RGB control
    • AI optimizations (if used)
  4. Reboot to apply changes

Fresh Installation (December 2025+)

Use kernel-aware installation:

The updated gz302-minimal.sh and gz302-main.sh scripts now detect your kernel version and apply only necessary fixes.

What happens automatically:


Future Repository Direction

The “GZ302 Toolkit” Philosophy

OLD (Early 2025):

NEW (Late 2025):

Remaining Value Propositions

  1. Audio Quirks: Until upstream merges GZ302 CS35L41 quirk
  2. Power Management: GZ302-specific TDP profiles (10W-90W range)
  3. AI/LLM Optimization: Strix Halo memory tuning for large models
  4. RGB Control: Keyboard backlight convenience
  5. Distribution Parity: Equal support across Arch/Debian/Fedora/OpenSUSE

Obsolescence as Success

The obsolescence of hardware fixes represents the success of the Linux community:


Technical Details: Kernel Commits

Key Upstream Commits (Kernel 6.17)

asus-wmi Tablet Mode:

commit: [TBD - platform/x86: asus-wmi branch]
Author: Linux kernel developers
Date: September 2025
Title: platform/x86: asus-wmi: Fix ROG button mapping, tablet mode on ASUS ROG Z13

Changes:
- Updated ACPI event mapping for GZ302 sensor hub
- Enabled SW_TABLET_MODE broadcast
- Fixed keyboard detachment detection

mt7925e WiFi Performance:

commit: [TBD - wireless-next branch]
Author: MediaTek engineers
Date: August-September 2025
Title: wifi: mt7925: Fix ASPM L1/L0 state transitions

Changes:
- Corrected PCIe power state handling
- Eliminated jitter in active transfers
- Enabled battery-friendly power saving

Distribution Kernel Adoption Timeline

Distribution Kernel Version Release Date GZ302 Status
Arch Linux 6.17.4 Oct 19, 2025 ✅ Full support
Fedora 43 6.17.x Dec 2025 ✅ Full support
Ubuntu 25.10 6.17.0 Oct 10, 2025 ✅ Full support
OpenSUSE TW 6.18.x Nov 2025 ✅ Full support

Validation & Testing

How to Verify Your System Needs

Test 1: WiFi Performance (Check if workaround needed)

# Check current configuration
cat /etc/modprobe.d/mt7925.conf 2>/dev/null

# Test WiFi stability (run for 5 minutes)
ping -c 300 -i 1 8.8.8.8 | awk '{ print $7 }' | grep time=
# Look for consistent <50ms times (good)
# High variance or >100ms indicates problems

Test 2: Tablet Mode (Check if kernel handles it)

# Monitor input events
evtest | grep -i tablet
# Expected on 6.17+: SW_TABLET_MODE events when detaching keyboard
# If no events, kernel support missing

Test 3: Audio (Check if quirk needed)

# Test speaker output
speaker-test -t wav -c 2
# If no sound + dmesg shows "Failed to sync masks", quirk needed

Glossary

ASPM: Active State Power Management - PCIe link power saving
GTT: Graphics Translation Table - GPU memory address mapping
SW_TABLET_MODE: Kernel input event for 2-in-1 convertible state
CS35L41: Cirrus Logic audio amplifier chip
DSDT: Differentiated System Description Table (ACPI firmware table)
asus-wmi: ASUS Windows Management Instrumentation driver (Linux)
Strix Halo: AMD codename for Ryzen AI MAX+ 395 APU architecture


References


Document Maintenance: This document should be updated when:

Version: 3.0.0 (December 8, 2025)