Date: Fri, 1 Mar 2024 18:58:11 -0800 From: Craig Leres <leres@freebsd.org> To: freebsd-usb@freebsd.org Subject: Re: How to configure a U24XL adc/dac for digital input Message-ID: <b4f8b273-688c-416e-86e7-c677b66a796e@freebsd.org> In-Reply-To: <dc162262-1ba7-4e3e-a4b2-2d05e918654f@freebsd.org> References: <dc162262-1ba7-4e3e-a4b2-2d05e918654f@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/1/24 13:50, Craig Leres wrote: > I've been using an ESI U24XL for about 8 years to simultaneously record > and play back S/PDIF (using in-house C programs under FreeBSD). Recently > recording stopped working (playback is still fine) and I believe the > cause is that the device has somehow switched to using its analog input. I figured out how to fix this; some how I clobbered/reset my mixer config for the U24XL. Appended shows how I fixed it... Sorry for the noise. Craig // starting point tiny 25 # mixer -f /dev/mixer2 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer pcm2 is currently set to 100:100 Recording source: line // change default input tiny 27 # mixer -f /dev/mixer2 =rec pcm2 Recording source: pcm2 // verifiy tiny 28 # mixer -f /dev/mixer2 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer pcm2 is currently set to 100:100 Recording source: pcm2 // view saved mixer state tiny 29 # cat /var/db/mixer2-state ; echo '' vol 75:75 pcm 75:75 line 75:75 pcm2 100:100 =rec line // update tiny 30 # mixer -f /dev/mixer2 -s > /var/db/mixer2-state // view new mixer state tiny 29 # cat /var/db/mixer2-state ; echo '' vol 75:75 pcm 75:75 line 75:75 pcm2 100:100 =rec pcm2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b4f8b273-688c-416e-86e7-c677b66a796e>