I plugged in a mobile headset (in-ear speakers with mic) but this keeps popping up.
Unknown Audio Device
What kind of device did you plug in?
Headphones | Headset | Microphone
Cancel | Sound Settings
Is there any place in the file-system where I can hardcode this setting ?
anjanesh@anjanesh-Latitude-3560:~$ dpkg -l | grep -i jack
ii libjack-jackd2-0:amd64 1.9.9.5+20130622git7de15e7a-1ubuntu1 amd64 JACK Audio Connection Kit (libraries)
Ubuntu 14.04 LTS on my Dell Latitude 3560 laptop.
I have found the source of this window. It is
unity-settings-daemon
's plugin located in line 99 ofplugins/media-keys/what-did-you-plug-in/dialog-window.c
(indialog_create
function, called later bywdypi_dialog_run
):This dialog is shown by PulseAudio event see line 2720 of plugins/media-keys/gsd-media-keys-manager.c:
on_control_card_info_updated
callspa_backend_card_changed
(then it callsget_headset_ports
) :and finally shows dialog with
on_wdypi_popup
andwdypi_dialog_run
.In the installed system this phrase ("What kind of device did you plug in?") is found in:
According to source code clicking on "Sound Settings" will open
unity-control-center sound
.Note: the
libjack-jackd2-0:amd64
package is pre-installed on clean Ubuntu 14.04 LTS.Sound is maintained by PulseAudio and then by Unity Settings Daemon.