On Fri, Jul 06, 2018 at 02:56:37PM +0200, Landry Breuil wrote:
> > 
> > To test:
> > 
> > sysctl kern.audio.record=1
> > aucat -f rsnd/1 -o /tmp/foo.wav (if the uaudio device attaches as audio1)
> > 
> > If this actually records sound (mplayer /tmp/foo.wav to check), you've
> > won. if foo.wav is 68 bytes long, then recording doesnt work, interrupts
> > are triggered but no transfers happen..
> 
> I should add to this testing part that you should 'revert' to usb2 for
> proper uaudio(4) testing, usb3/xhci doesnt really work in this usecase
> and will trigger 'error creating pipe: err=INVAL endpt=0x86' errors in
> dmesg.
> 
> If you can, ensure that you use usb2 by disabling usb3 in the bios or
> xhci in the kernel config.

if you're using usb2, you've to connect the audio device to the root hub,
so if you get the "error creating pipe ... " message, try another port.

Reply via email to