Re: Guidance for a USB microphone that always need a reset to work
- In reply to: Hans Petter Selasky : "Re: Guidance for a USB microphone that always need a reset to work"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Oct 2022 06:15:13 UTC
On Tue, 2022-10-25 at 22:17 +0200, Hans Petter Selasky wrote: > On 10/25/22 19:49, Trenton Schulz wrote: > > Hello, > > > > I have a Blue Yeti USB microphone that I've used for a couple years > > with FreeBSD. It works fine… eventually. > > > > When I first plug it in, it is recognized, and I can choose it as a > > recording source, but it refuses to record anything. I'm not sure > > exactly what the problem is, but mictests.com will complain that > > the > > "track is paused" and nothing can unpause it. Maybe it can't be > > opened? > > > > Regardless, I found that when I had the system booted to Windows > > and > > rebooted to FreeBSD, the microphone would work. So, I somehow hit > > upon > > the idea of running > > > > usbconfig -d ugenX.Y reset > > > > And surprise, it works with no Windows! It seems that I always need > > to > > issue a reset from a cold boot or a plug-in to get the microphone > > to > > work. It will never work without the reset. > > > > The reset isn't a big problem, I normally remember to do it when I > > plug > > it in, but it does feel like something that could be automated > > away. I > > started to make a devd rule to run reset on device attach, but this > > won't work (with good reason because I saw that this would easily > > result in an endless loop). > > > > So, I thought maybe there might be some suggestions to maybe make > > this > > work on the inital plug-in. Maybe it is a bug or quirk? Is there > > any > > additional information anyone would need? > > > > Best regards, > > > > Did you do any tracing using usbdump ? Maybe some USB control > requests > are too fast or get stalled. No, I haven't done any tracing with usbdump. I guess I would start the dump at to the bus where I plug the microphone in? I'll do this a little later this week and report back. > > Windows is pretty slow attaching the drivers BTW compared to FreeBSD. > Yes, now that you mention it, I have noticed a couple of times that the microphone will take a while before it is recognized on Windows. Best regards, -- Trenton