All of lore.kernel.org
 help / color / mirror / Atom feed
* Soft jack injection for USB audio?
@ 2021-05-27  4:17 Kai-Heng Feng
  2021-05-27  6:23 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Kai-Heng Feng @ 2021-05-27  4:17 UTC (permalink / raw)
  To: moderated list:SOUND; +Cc: Takashi Iwai, Hui Wang

I have the need to use soft jack injection to debug userpsace, but
currently USB audio doesn't have that ability.

The problem I am facing is that the USB audio doesn't use snd_jack_*
to control the jack, so we can add the support for USB audio
separately.

It's not hard to add the support if we open code soft injection in USB
audio's build_connector_control(), but would it be possible to use
snd_jack_* in USB audio?

Kai-Heng

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Soft jack injection for USB audio?
  2021-05-27  4:17 Soft jack injection for USB audio? Kai-Heng Feng
@ 2021-05-27  6:23 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-05-27  6:23 UTC (permalink / raw)
  To: Kai-Heng Feng; +Cc: Hui Wang, moderated list:SOUND

On Thu, 27 May 2021 06:17:41 +0200,
Kai-Heng Feng wrote:
> 
> I have the need to use soft jack injection to debug userpsace, but
> currently USB audio doesn't have that ability.
> 
> The problem I am facing is that the USB audio doesn't use snd_jack_*
> to control the jack, so we can add the support for USB audio
> separately.
> 
> It's not hard to add the support if we open code soft injection in USB
> audio's build_connector_control(), but would it be possible to use
> snd_jack_* in USB audio?

I haven't checked that path yet, but I see no reason why it wouldn't
work.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-27  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27  4:17 Soft jack injection for USB audio? Kai-Heng Feng
2021-05-27  6:23 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.