Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2024 13:50:28 -0800
From:      Craig Leres <leres@freebsd.org>
To:        freebsd-usb@freebsd.org
Subject:   How to configure a U24XL adc/dac for digital input
Message-ID:  <dc162262-1ba7-4e3e-a4b2-2d05e918654f@freebsd.org>

next in thread | raw e-mail | index | archive | help
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 installed the driver and control panel on a windows system and it can 
easily switch between inputs. I installed wireshark and usbpcap and made 
some short captures one for switching from digital to analog and another 
switching back to digital:

     https://xse.com/leres/scratch/u24xl-analog.pcapng
     https://xse.com/leres/scratch/u24xl-digital.pcapng

I believe the "URB_CONTROL out" packet is used to switch inputs; looking 
at the two versions of that packet I see "data fragment" is 01 when 
going to analog and 02 when going to digital.

Could someone please give me some hints on how I might send these 
packets under FreeBSD?

		Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dc162262-1ba7-4e3e-a4b2-2d05e918654f>