Dell XPS 13 9343

FreeBSD on a Dell XPS 13 9343

A 2015 laptop with a Broadwell CPU, a sound chip FreeBSD had never heard of and a touchpad that vanished after every suspend. It now plays music, clicks, and wakes up again.

A dark laptop wearing a blue nightcap, a sleeping raspberry imp on its screen and zzz floating above.

The machine: Dell XPS 13 9343, BIOS A20, Core i7-5600U (Broadwell-U, 15 W), HD Graphics 5500, an Intel AX210 Wi-Fi card. It runs FreeBSD 15.1-RELEASE with the GENERIC kernel.

Order of installation

Order for the same laptop on a fresh FreeBSD 15.1:

  1. Fix the GPU hangs first, so the desktop stays up during the rest: i915 GTT fix.
  2. Add sound: acpi_intel_sst. This needs a patched DSDT and a cold boot.
  3. Add the touchpad: ig4 patch. Already in FreeBSD's tree, so a newer release will have it.
  4. Optionally load intel_rapl to watch how much power the CPU burns.

The sound driver's guide disables ig4 (ig4_load="NO"), because the codec and the I2C controllers used to fight over I2C0. The touchpad fix needs ig4. The same fix also ungates the clock that caused the codec's I2C read failed: 60 errors, so the two should now get along, but no tested loader.conf with both has been published yet. Until then, only one of the two can be used.

The Wi-Fi card caused a kernel panic once. That one is in Kernel bugs.

Built with ssg