Date: Sun, 13 Sep 2020 12:50:28 +0200 From: Tomasz CEDRO <tomek@cedro.info> To: Graham Perrin <grahamperrin@gmail.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: USB sound devices with FreeBSD-CURRENT Message-ID: <CAM8r67A0595XkcskgxOMN8O=22-xexcdC63tC%2BME=5zQtcBD0Q@mail.gmail.com> In-Reply-To: <9551111b-5dfb-c42b-6f58-81f6c8b8bbd1@gmail.com> References: <9551111b-5dfb-c42b-6f58-81f6c8b8bbd1@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM8r67A0595XkcskgxOMN8O=22-xexcdC63tC%2BME=5zQtcBD0Q>