I tested the hotplug ãrecord and catch the picture, this interface reset doesn't cause any problem.
In snd_usb_endpoint_configure, It set false to interface to deselect altsetting at first.
But , if skip the interface clear (ex. ep->cur_rate = 0;), there is no sound output.
----
主ãé¢ï¼Re: åå¤: Re: åå¤: Re: [PATCH] ALSA: usb-audio: fix Hamedal C20 usb camero disconnect issue æ¥ãæï¼2022-11-07 16:15 å件人ï¼Takashi Iwai æ¶ä»¶äººï¼è¾è¶
On Mon, 07 Nov 2022 02:33:57 +0100, è¾è¶ wrote:
Yes, the audio device is a UAC1 device, and it used
set_sample_rate_v1 to
set sample.
So, I add a quirk to keep up the USB interface up even if the
audio stream
is closed.
Well, my question is also about the parameter changes. This interface reset doesn't cause any problem? Or we should skip the interface clear there, too? Takashi
主ãé¢ï¼Re: åå¤: Re: [PATCH] ALSA: usb-audio: fix Hamedal C20 usb
camero
disconnect issue æ¥ãæï¼2022-11-04 17:59 å件人ï¼Takashi Iwai æ¶ä»¶äººï¼è¾è¶
On Fri, 04 Nov 2022 10:50:48 +0100, è¾è¶ wrote:
I 'm sorry, I don't know whether you receiver my mail for 'lsusb
-v' to
Hamedal C20
I received your previous mails including lsusb -v output. But the post was filtered out by some reason?
So the audio device looks like a UAC1 device. And this one requires to keep up the USB interface up even if the audio stream is closed (not about the parameter changes)?
Takashi