USB sound devices with FreeBSD-CURRENT

Tomasz CEDRO tomek at
Sun Sep 13 10:50:38 UTC 2020

I am using EMU10K1 attached to the sound system over USB on my laptop
and the device needs to be connected on boot - unplug will crash the

If device is plugged in on boot and I add `hw.snd.default_unit=3` to
`/etc/sysctl.conf`, that is before I start X, then I have audio
playback "by default".

In order to have dynamic audio configuration I have found PulseAudio
helpful a lot as it allows you to select which application uses which
input/otput audio device. Note that PulseAudio can lock your audio
hardware and block clean module removal.

I am not sure about current default sound system in FreeBSD if its
still OSS or ALSA, but if you do not want to use PulseAudio, you may
want to try ALSA configuration at `/usr/local/etc/asound.conf` it
allows some more detailed remap.

Good luck :-)


More information about the freebsd-questions mailing list