On Thu, Apr 6, 2023, at 4:32 PM, Bruno wrote: >>Synopsis: Can't record audio from USB microphone >>Category: system >>Environment: > System : OpenBSD 7.2 > Details : OpenBSD 7.2 (GENERIC.MP) #7: Sat Feb 25 14:07:58 MST > 2023 > > r...@syspatch-72-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 >>Description: > On a Lenovo ThinkPad T440P, can't start recording any audio from a > guitar amp (that "acts" like a regular USB microphone for the sake of > audio recording) via aucat or any other software with errors "can't > set interface" and "audio device gone, stopping" >>How-To-Repeat: > 1. Connect USB microphone (USB guitar amp in this case) to the > computer via a USB 2.0 port and power it up. Everything pops up as > expected in dmesg, the device is uaudio0 (audio1, "Mustang LT 40S"). > 2. Start a test recording with aucat (it's under snd/1 in this case): > $ aucat -f snd/1 -o recording.wav > 3. Immediately see two errors spewed out to dmesg: > uaudio0: can't set interface > audio1: failed to start recording > and another one thrown by aucat itself: > snd/1: audio device gone, stopping > after which aucat closes.
Did you enable the recording sysctl? https://www.openbsd.org/faq/faq13.html#enablerec Brian Conway