# Laptop sound: acpi_intel_sst for Intel Smart Sound

<span class="badge badge-ok">works</span> Version 0.69.3 (16 September 2026), FreeBSD 15.x and 16-CURRENT, BSD 3-Clause. Source: [spagu/acpi_intel_sst](https://github.com/spagu/acpi_intel_sst). A port submission is open as [FreeBSD PR 293248](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293248).

## What it does

The driver loads the DSP firmware (`IntcSST2.bin`), talks to the DSP over its IPC mailbox, drives the RT286/ALC3263 codec at I2C0 address 0x1C, runs I2S over SSP0 at 48 kHz and moves the samples with the DesignWare DMA controller. Features: playback, capture, full duplex, headphone jack detection, a parametric EQ with a high-pass filter, a limiter, and 26 sysctls. There is also a GTK3 panel, `sst-panel`, in English, Polish, German, French and Chinese.

Hardware IDs: ACPI `INT3438`, PCI `8086:9CB6`. The Haswell variant (`INT33C8`, `8086:9C76`) should be close but nobody has tested it.

## Why the DSDT needs a patch

Dell's ACPI table only switches the audio DSP on when the operating system says it uses Connected Standby (`S0ID==1`) or another flag (`ANCS==1`). FreeBSD sets neither, so the DSP reports itself as absent. The patched DSDT makes `_SB.PCI0.ADSP._STA` return `0x0F`: present and enabled.

## Install

<ol class="steps">
<li>

Build the driver:

```sh
git clone https://github.com/spagu/acpi_intel_sst.git
cd acpi_intel_sst/src
make
```

</li>
<li>

Install the DSP firmware. The driver needs Intel's redistributable `IntcSST2.bin` in `/boot/firmware/intel/`; the driver's README names the source of the file.

```sh
sudo mkdir -p /boot/firmware/intel
sudo cp IntcSST2.bin /boot/firmware/intel/
```

</li>
<li>

Compile and install the patched DSDT:

```sh
cd acpi_intel_sst/acpi
iasl DSDT_patched.dsl
sudo cp DSDT_patched.aml /boot/acpi_dsdt.aml
```

</li>
<li>

Add to `/boot/loader.conf`:

```sh
acpi_dsdt_load="YES"
acpi_dsdt_name="/boot/acpi_dsdt.aml"
hw.acpi.install_interface="Windows 2012"
hint.hdac.0.disabled="1"
acpi_intel_sst_fw_load="YES"
acpi_intel_sst_load="YES"
ig4_load="NO"
hint.ig4.0.disabled="1"
hint.ig4.1.disabled="1"
```

The firmware module loads first on purpose: on a ZFS root `/boot/firmware` is not readable yet when the driver attaches, and the result is "could not load firmware image". About the `ig4` lines, read the note on the [laptop page](/laptop/).

</li>
<li>

Power off completely. A reboot is not enough for the DSDT change:

```sh
sudo shutdown -p now
```

</li>
<li>

After the cold boot, test the speakers and the mic:

```sh
cat /dev/sndstat
mixer vol=0.8
play -n synth 3 sine 440      # needs audio/sox
mixer mic=0.8
cat /dev/dsp0.1 > /tmp/test.raw &
sleep 5 && kill %1
```

</li>
</ol>

For a quick try without touching the boot setup: `sudo kldload ./src/acpi_intel_sst.ko` (the DSDT and firmware are still required). On 16-CURRENT the user must be in the audio group: `pw groupmod audio -m $USER`.

The panel installs with `cd gui && sudo make install && sst-panel`, or from the bundled port: `cp -R ports/sst-panel /usr/ports/audio/` and `cd /usr/ports/audio/sst-panel && make install clean`.

## Useful sysctls

```sh
sysctl dev.acpi_intel_sst.0.eq_preset=1
sysctl dev.acpi_intel_sst.0.limiter_threshold=3
sysctl dev.acpi_intel_sst.0.resume_ramp_ms=80     # anti-pop fade after resume, default 50
sysctl dev.acpi_intel_sst.0.debug=3
```

If something breaks, `sudo ./scripts/sst_report.sh` collects what a bug report needs.

## Things the changelog remembers

- 0.69.3: nothing could change the volume, not even mute. The DSP's `SET_VOLUME` call "moved a number that reaches nothing analogue", and the codec's amplifier accepted writes but `0x06` and `0x7f` sounded identical. The same release fixed a rate limiter that broke a minute after boot: FreeBSD starts its `ticks` counter just short of overflow, so `ticks - last` came out around minus 2.1 billion.
- 0.69.2: the DSP never frees a stream's resources on `FREE_STREAM`. Playback starts went from 2 of 15 working to 12 of 15.
- 0.69.1: a panic, "sleeping thread holds sst_ipc_send", about 90 seconds into every boot, when PulseAudio opened its first stream.
- Known: the DSP stream stalls for good after about 350 to 450 `SET_VOLUME` calls.
