Re: USB sound devices with FreeBSD-CURRENT

From: Tomasz CEDRO <tomek_at_cedro.info>
Date: Sun, 13 Sep 2020 12:50:28 +0200
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
system.

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 :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Received on Sun Sep 13 2020 - 08:50:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC