Skip to content

Instantly share code, notes, and snippets.

@rraks
rraks / KernelCrash.md
Last active August 30, 2025 06:06
Fixing random crashes in Asus Vivobook S14 (TP3407SA)

I had been experience very frequent random crashes on this laptop, especially while screen sharing. These crashes result in frozen screens and blinking caps lock. You will not find any logs in journalctl. I had trouble getting kdump logs or pstore. Using lower cstates, disabling gpu power saving, etc didn't help. Finally what worked was below -

  1. Use latest kernels or zen kernels
  2. Setup TPM, default values will be enough
  3. Enable the new experimental xe drivers for Intel Arc Graphics. Modify your grub cmd (GRUB_CMDLINE_LINUX_DEFAULT) to add below
@rraks
rraks / VivobookSound.md
Last active July 13, 2025 12:55
Making the speaker work on Asus Vivobook S14 Flip TP3407SA

Tested on Linux kernel 6.14, CachyOS.

Any linux distribution on Kernel 6+ has non functioning speakers. The problem is caused by Linux sound drivers incorrectly powering on the speaker amplifiers with driver TAS2781. While the driver remains to be fixed(?)[2], a quick hack can be found on the e2e forums [1]. Further, in [3] you will find scripts and a daemon that gets the same chip working for lenovo laptops. To get the same working for Asus Vivobook S14 Flip TP3407SAs

  1. First find the i2c bus for the TIAS2781 chip