Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 12:13:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 272718] Blue Yeti microphone does not work
Message-ID:  <bug-272718-19105-msLYxCA3sF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272718-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272718-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272718

--- Comment #8 from Florian Walpen <dev@submerge.ch> ---
Ok, I missed the pcm1 part too in the error messages. Sorry, no clues here,=
 I
can only provide some random things to check out:

Check if your microphone really is a USB 1 device. The bandwith would be
sufficient though. If not, try without USB hub or a different USB slot.

Make sure there are no sound servers running: pulseaudio, pipewire, sndio,
jack...

Try to record at 48kHz, not 44.1kHz, to match your current sample rate. That
should get rid of the feeder_rate() in this vchan chain:

{hardware} -> feeder_root(0x00200010) -> feeder_rate(0x00200010 q:1 48000 ->
44100) -> feeder_volume(0x00200010) -> {userland}

Alternatively set all your sample rates for the device to 44.1kHz, through
"sysctl dev.pcm.2.rec.vchanrate=3D44100" and "sysctl
dev.pcm.2.play.vchanrate=3D44100". That should reflect in /dev/sndstat too.

Check the volumes and recording channel settings in "mixer". Look for error
messages if you try to set them.

Your device may need simultaneous duplex operation. Start a very simple
virtual_oss instance that applies 2 channels 16bit@48kHz for both playback =
and
recording.

Try to disable vchan conversion completely, set both "sysctl
dev.pcm.2.rec.vchans=3D0" and "sysctl dev.pcm.2.play.vchans=3D0". Then star=
t the
simple virtual_oss instance again.

Increase the hw.usb.uaudio.debug level in sysctl. This prints debug output =
to
/var/log/messages. Beware that above some threshold, each USB message is
logged, which can flood your logs quickly.

Try 13.2-RELEASE instead of CURRENT.


All in all though it looks like your main recording dsp device did get a fe=
ed:

[pcm2:record:dsp2.r0]: spd 48000, fmt 0x00200010, flags 0x00002108, 0x00000=
005
interrupts 68187, overruns 0, feed 68187, hfree 3072, sfree 4096
[b:3072/1536/2|bs:4096/2048/2]

but your virtual dsp device, which should get data from the main dsp device,
did not:

pcm2:record:dsp2.r0[pcm2:virtual:dsp2.vr0]: spd 44100/48000, fmt 0x00200010,
flags 0x10001108, 0x00000029, pid 3231 (audacity)
interrupts 0, overruns 0, feed 0, hfree 0, sfree 32768
[b:0/0/0|bs:32768/8192/4]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272718-19105-msLYxCA3sF>