alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Jack sensing in snd_usb_audio ?
@ 2016-10-12  5:10 Bastien Nocera
  2016-10-12  9:14 ` Felipe Ferreri Tonello
  2016-10-12 10:36 ` Takashi Sakamoto
  0 siblings, 2 replies; 14+ messages in thread
From: Bastien Nocera @ 2016-10-12  5:10 UTC (permalink / raw)
  To: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw,
	linux-usb-u79uwXL29TY76Z2rM5mHXA

Hey,

I recently bought some cheap USB soundcards for a computer that doesn't
have any audio output other than through the HDMI output, and the
screen I'm attaching doesn't have an audio output.

So I'm looking to plug in 2 of those USB soundcards, and switch between
them depending on whether I'm using headphones, or want to use the
standalone speaker.

Obviously, it would be so much nicer if I didn't have to switch between
the outputs by hand, and ignored the "headphones" sound card when not
plugged in.

My questions are:
- does the USB audio driver support jack sensing?
- is this something standard that's just not implemented yet? In which
case, I'd be up for at least trying, given specs.
- or is it something that depends on the device, and in which case, how
would I find out?

Some details about the device itself below.

Cheers

/proc/asound/cards:
 4 [Device         ]: USB-Audio - USB Audio Device
                      GeneralPlus USB Audio Device at usb-0000:00:14.0-9, full speed

$ amixer -c 4
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 30
  Mono:
  Front Left: Playback 16 [53%] [-21.00dB] [on]
  Front Right: Playback 16 [53%] [-21.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch
pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 14 Capture 0 - 30
  Mono: Playback 1 [7%] [-10.50dB] [off] Capture 26 [87%] [27.00dB]
[on]
Simple mixer control 'Auto Gain Control',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-10-28 13:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12  5:10 Jack sensing in snd_usb_audio ? Bastien Nocera
2016-10-12  9:14 ` Felipe Ferreri Tonello
     [not found]   ` <cb965f62-8f42-02cf-b0f3-d841ec559782-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
2016-10-12  9:29     ` Bastien Nocera
2016-10-12 10:36 ` Takashi Sakamoto
     [not found]   ` <9449bd71-7766-5323-9fe8-30e954ca8f45-sodqOivclbsO3cATojSK5Q@public.gmane.org>
2016-10-12 10:58     ` Bastien Nocera
2016-10-12 12:43       ` Clemens Ladisch
     [not found]         ` <b0df4e0b-5d46-f14d-133d-65d40623646e-P6GI/4k7KOmELgA04lAiVw@public.gmane.org>
2016-10-12 15:30           ` [alsa-devel] " Bastien Nocera
     [not found]             ` <1476286253.6699.26.camel-0MeiytkfxGOsTnJN9+BGXg@public.gmane.org>
2016-10-12 16:06               ` Clemens Ladisch
     [not found]                 ` <4773bd69-4df9-00da-4fe6-3d5cbeda7b0a-P6GI/4k7KOmELgA04lAiVw@public.gmane.org>
2016-10-12 16:15                   ` Bastien Nocera
     [not found]                     ` <1476288904.6699.29.camel-0MeiytkfxGOsTnJN9+BGXg@public.gmane.org>
2016-10-18 12:07                       ` Takashi Iwai
     [not found]                         ` <s5ha8e16et1.wl-tiwai-l3A5Bk7waGM@public.gmane.org>
2016-10-18 13:33                           ` Felipe Ferreri Tonello
     [not found]                             ` <eff12d22-c810-cc8b-048f-8072ea77d6fa-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
2016-10-18 14:14                               ` Takashi Iwai
2016-10-28 13:55                         ` Bastien Nocera
     [not found]       ` <1476269923.6699.20.camel-0MeiytkfxGOsTnJN9+BGXg@public.gmane.org>
2016-10-12 13:41         ` Felipe Ferreri Tonello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).