[pulseaudio-discuss] Input sound random detection.
Gustavo Duarte
gus.duarte at gmail.com
Tue Aug 9 13:13:07 UTC 2016
Hi,
Thanks Tanu for your feedback.
On these pictures you can see the sound level at 100% display on top bar
sound widget and at Gnome sound settings.
Sound widget:
https://plus.google.com/102144018413535329430/posts/JAvrooEA66p
Sound settings:
https://plus.google.com/102144018413535329430/posts/gWTMYYYwwRA
Video showing, how the sound input is starting to work, after a bit
change on input sound level volume.
https://plus.google.com/102144018413535329430/posts/H9apGEdEzw7
Also i attach pactl output when sound input isn't working.
Thanks in advance.
Gustavo.
On 8/8/16 12:37 PM, Tanu Kaskinen wrote:
> On Mon, 2016-08-08 at 12:06 -0300, Gustavo Duarte wrote:
>> Attached you can find the outputs requested.
> There are changes in the "Capture" and "Internal Mic Boost" volume
> levels in alsa, and in the source volume level in pulseaudio.
>
> In the non-working case:
>
> Capture:
> Front Left: Capture 13 [42%] [3.00dB] [on]
> Front Right: Capture 13 [42%] [3.00dB] [on]
>
> Internal Mic Boost:
> Front Left: 1 [33%] [12.00dB]
> Front Right: 1 [33%] [12.00dB]
>
> Source volume in pulseaudio:
> Volume: 0: 14% 1: 14%
> 0: -51,00 dB 1: -51,00 dB
>
> In the working case:
>
> Capture:
> Front Left: Capture 11 [35%] [0.00dB] [on]
> Front Right: Capture 11 [35%] [0.00dB] [on]
>
> Internal Mic Boost:
> Front Left: 3 [100%] [36.00dB]
> Front Right: 3 [100%] [36.00dB]
>
> Source volume in pulseaudio:
> Volume: 0: 32% 1: 32%
> 0: -29,80 dB 1: -29,80 dB
>
> So in the working case the Capture volume is 3 dB lower, the Internal Mic Boost volume is 24 dB higher, and the total difference (as shown by pulseaudio) is 21.2 dB. That is quite a lot, and perhaps explains why you don't hear anything in the non-working case.
>
> Based on this, the problem would appear to be simply too low source volume. In your original explanation, however, you said that the input volume is 100% when it's not working, and setting the volume in sound settings to 20% makes it work. It would be good to know in more detail what you mean by "sound settings" and "input volume". You could upload somewhere a screenshot of the sound settings when it's not working and input volume is 100%, and while the sound settings are open in this state, run "pactl list" again and send it to the mailing list.
>
> --
> Tanu
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
-------------- next part --------------
Módulo #0
Nombre: module-device-restore
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "4.0"
Módulo #1
Nombre: module-stream-restore
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = "4.0"
Módulo #2
Nombre: module-card-restore
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "4.0"
Módulo #3
Nombre: module-augment-properties
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional static information"
module.version = "4.0"
Módulo #4
Nombre: module-switch-on-port-available
Argumento:
Contador de uso: n/d
Propiedades:
Módulo #5
Nombre: module-alsa-card
Argumento: device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
Contador de uso: 1
Propiedades:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "4.0"
Módulo #6
Nombre: module-udev-detect
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "4.0"
Módulo #7
Nombre: module-bluetooth-policy
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Frédéric Dalleau"
module.description = "When a bluetooth sink or source is added, load module-loopback"
module.version = "4.0"
Módulo #8
Nombre: module-bluetooth-discover
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Joao Paulo Rechi Vita"
module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers"
module.version = "4.0"
Módulo #9
Nombre: module-native-protocol-unix
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "4.0"
Módulo #10
Nombre: module-default-device-restore
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "4.0"
Módulo #11
Nombre: module-rescue-streams
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move their streams to the default sink/source"
module.version = "4.0"
Módulo #12
Nombre: module-always-sink
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Colin Guthrie"
module.description = "Tenga siempre cargado al menos un destino aunque sea uno nulo"
module.version = "4.0"
Módulo #13
Nombre: module-intended-roles
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based of intended roles of devices"
module.version = "4.0"
Módulo #14
Nombre: module-suspend-on-idle
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = "4.0"
Módulo #15
Nombre: module-systemd-login
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Create a client for each login session of this user"
module.version = "4.0"
Módulo #16
Nombre: module-position-event-sounds
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
module.version = "4.0"
Módulo #17
Nombre: module-filter-heuristics
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Colin Guthrie"
module.description = "Detect when various filters are desirable"
module.version = "4.0"
Módulo #18
Nombre: module-filter-apply
Argumento:
Contador de uso: n/d
Propiedades:
module.author = "Colin Guthrie"
module.description = "Load filter sinks automatically when needed"
module.version = "4.0"
Módulo #19
Nombre: module-x11-publish
Argumento: display=:0
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "X11 credential publisher"
module.version = "4.0"
Módulo #20
Nombre: module-x11-bell
Argumento: display=:0 sample=bell.ogg
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "X11 bell interceptor"
module.version = "4.0"
Módulo #21
Nombre: module-x11-cork-request
Argumento: display=:0
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "Synthesize X11 media key events when cork/uncork is requested"
module.version = "4.0"
Módulo #22
Nombre: module-x11-xsmp
Argumento: display=:0 session_manager=local/ceibal:@/tmp/.ICE-unix/1300,unix/ceibal:/tmp/.ICE-unix/1300
Contador de uso: n/d
Propiedades:
module.author = "Lennart Poettering"
module.description = "X11 session management"
module.version = "4.0"
Destino #0
Estado: RUNNING
Nombre: alsa_output.pci-0000_00_1b.0.analog-stereo
Descripción: Audio Interno Estéreo analógico
Controlador: module-alsa-card.c
Especificación de muestra: s16le 2ch 48000Hz
Asignación de canal: front-left,front-right
Módulo propietario: 5
Silencio: no
Volumen: 0: 74% 1: 74%
0: -7,70 dB 1: -7,70 dB
balance 0,00
Volumen base: 100%
0,00 dB
Origen de monitor: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
Latencia: 46260 usec, configurada 46000 usec
Marcas: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Propiedades:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "VT1802 Analog"
alsa.id = "VT1802 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xd0810000 irq 94"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0f04"
device.product.name = "ValleyView High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Estéreo analógico"
device.description = "Audio Interno Estéreo analógico"
alsa.mixer_name = "VIA VT1802"
alsa.components = "HDA:11068446,15585471,00100000 HDA:80862882,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Puertos:
analog-output-speaker: Altavoces (priority: 10000)
analog-output-headphones: Auriculares analógicos (priority: 9000, not available)
Puerto Activo: analog-output-speaker
Formatos:
pcm
Fuente #0
Estado: IDLE
Nombre: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
Descripción: Monitor of Audio Interno Estéreo analógico
Controlador: module-alsa-card.c
Especificación de la Muestra: s16le 2ch 44100Hz
Mapa del Canal: front-left,front-right
Módulo Dueño: 5
Mudo: no
Volume: 0: 100% 1: 100%
0: 0,00 dB 1: 0,00 dB
balance 0,00
Volume Base: 100%
0,00 dB
Monitoreo del destino: alsa_output.pci-0000_00_1b.0.analog-stereo
Latencia: 0 usec, configurado 341333 useg
Banderas: DECIBEL_VOLUME LATENCY
Propiedades:
device.description = "Monitor of Audio Interno Estéreo analógico"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xd0810000 irq 94"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0f04"
device.product.name = "ValleyView High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Formatos:
pcm
Fuente #1
Estado: IDLE
Nombre: alsa_input.pci-0000_00_1b.0.analog-stereo
Descripción: Audio Interno Estéreo analógico
Controlador: module-alsa-card.c
Especificación de la Muestra: s16le 2ch 48000Hz
Mapa del Canal: front-left,front-right
Módulo Dueño: 5
Mudo: no
Volume: 0: 100% 1: 100%
0: 0,00 dB 1: 0,00 dB
balance 0,00
Volume Base: 8%
-66,00 dB
Monitoreo del destino: n/d
Latencia: 48215 usec, configurado 341333 useg
Banderas: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Propiedades:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "VT1802 Analog"
alsa.id = "VT1802 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xd0810000 irq 94"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0f04"
device.product.name = "ValleyView High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Estéreo analógico"
device.description = "Audio Interno Estéreo analógico"
alsa.mixer_name = "VIA VT1802"
alsa.components = "HDA:11068446,15585471,00100000 HDA:80862882,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Puertos:
analog-input-microphone-internal: Micrófono interno (priority: 8900)
analog-input-microphone: Micrófono (priority: 8700, not available)
Puerto Activo: analog-input-microphone-internal
Formatos:
pcm
Entrada de destino #6
Disco: protocol-native.c
Módulo propietario: 9
Cliente: 10
Destino: 0
Especificación de sample: s16le 2ch 48000Hz
Mapa de canal: front-left,front-right
Formato: pcm, format.sample_format = "\"s16le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volumen: 0: 100% 1: 100%
0: 0,00 dB 1: 0,00 dB
balance 0,00
Latencia de búfer: 68333 usec
Latencia de destino: 45488 usec
Método de resample: n/d
Propiedades:
window.icon_name = "skype"
application.icon_name = "skype"
media.role = "phone"
media.name = "Output"
application.name = "Skype"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "28"
application.process.id = "2576"
application.process.user = "ceibal"
application.process.host = "ceibal"
application.process.binary = "skype"
application.language = "es_UY.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "7fa399cd946674ed89a5c33856b0fa6b"
application.process.session_id = "c1"
module-stream-restore.id = "sink-input-by-media-role:phone"
Cliente #0
Controlador: module-systemd-login.c
Módulo dueño: 15
Propiedades:
application.name = "Login Session c1"
systemd-login.session = "c1"
Cliente #2
Controlador: protocol-native.c
Módulo dueño: 9
Propiedades:
application.name = "GNOME Volume Control Media Keys"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "28"
application.id = "org.gnome.VolumeControl"
application.icon_name = "multimedia-volume-control"
application.version = "3.8.6.1"
application.process.id = "1296"
application.process.user = "ceibal"
application.process.host = "ceibal"
application.process.binary = "gnome-settings-daemon"
application.language = "es_UY.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "7fa399cd946674ed89a5c33856b0fa6b"
application.process.session_id = "c1"
Cliente #6
Controlador: module-x11-xsmp.c
Módulo dueño: 22
Propiedades:
application.name = "XSMP Session on gnome-session as 1093f2416a9062bee7147074621293839000000013000036"
xsmp.vendor = "gnome-session"
xsmp.client.id = "1093f2416a9062bee7147074621293839000000013000036"
Cliente #7
Controlador: protocol-native.c
Módulo dueño: 9
Propiedades:
application.name = "GNOME Shell"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "28"
application.id = "org.gnome.Shell"
application.icon_name = "start-here"
application.language = "es_UY.UTF-8"
window.x11.screen = "0"
window.x11.display = ":0"
application.process.id = "1526"
application.process.user = "ceibal"
application.process.host = "ceibal"
application.process.binary = "gnome-shell"
application.process.machine_id = "7fa399cd946674ed89a5c33856b0fa6b"
application.process.session_id = "c1"
Cliente #8
Controlador: protocol-native.c
Módulo dueño: 9
Propiedades:
application.name = "GNOME Shell Volume Control"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "28"
application.id = "org.gnome.VolumeControl"
application.icon_name = "multimedia-volume-control"
application.version = "3.10.4"
application.process.id = "1526"
application.process.user = "ceibal"
application.process.host = "ceibal"
application.process.binary = "gnome-shell"
application.language = "es_UY.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "7fa399cd946674ed89a5c33856b0fa6b"
application.process.session_id = "c1"
Cliente #10
Controlador: protocol-native.c
Módulo dueño: 9
Propiedades:
application.name = "Skype"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "28"
application.process.id = "2576"
application.process.user = "ceibal"
application.process.host = "ceibal"
application.process.binary = "skype"
application.language = "es_UY.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "7fa399cd946674ed89a5c33856b0fa6b"
application.process.session_id = "c1"
application.icon_name = "skype.png"
Cliente #11
Controlador: protocol-native.c
Módulo dueño: 9
Propiedades:
application.name = "pactl"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "28"
application.process.id = "2653"
application.process.user = "ceibal"
application.process.host = "ceibal"
application.process.binary = "pactl"
application.language = "es_UY.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "7fa399cd946674ed89a5c33856b0fa6b"
application.process.session_id = "c1"
Muestra #0
Nombre: bell-window-system
Especificaciones de la muestra: s16le 2ch 44100Hz
Mapa del canal: front-left,front-right
Volumen: (incorrecto)
(incorrecto)
balance 0,00
Duración: 0,1s
Tamaño: 24,0 KiB
Lazy: no
Nombre del archivo: n/d
Propiedades:
media.role = "event"
application.process.id = "1946"
application.name = "gnome-terminal"
event.description = "Evento de campana"
event.id = "bell-window-system"
media.name = "bell-window-system"
media.filename = "/usr/share//sounds/freedesktop/stereo/bell.oga"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "28"
application.id = "org.gnome.Shell"
application.icon_name = "start-here"
application.language = "es_UY.UTF-8"
window.x11.screen = "0"
window.x11.display = ":0"
application.process.user = "ceibal"
application.process.host = "ceibal"
application.process.binary = "gnome-shell"
application.process.machine_id = "7fa399cd946674ed89a5c33856b0fa6b"
application.process.session_id = "c1"
Placa #0
Nombre: alsa_card.pci-0000_00_1b.0
Controlador: module-alsa-card.c
Módulo dueño: 5
Propiedades:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xd0810000 irq 94"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0f04"
device.product.name = "ValleyView High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Audio Interno"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Perfiles:
input:analog-stereo: Estéreo analógico Entrada (sinks: 0, sources: 1, priority. 60)
output:analog-stereo: Estéreo analógico Salida (sinks: 1, sources: 0, priority. 6000)
output:analog-stereo+input:analog-stereo: Estéreo Analógico Dúplex (sinks: 1, sources: 1, priority. 6060)
output:hdmi-stereo: Digital Stereo (HDMI) Salida (sinks: 1, sources: 0, priority. 5400)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Salida + Estéreo analógico Entrada (sinks: 1, sources: 1, priority. 5460)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Salida (sinks: 1, sources: 0, priority. 300)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Salida + Estéreo analógico Entrada (sinks: 1, sources: 1, priority. 360)
off: Apagado (sinks: 0, sources: 0, priority. 0)
Perfil activo: output:analog-stereo+input:analog-stereo
Puertos:
analog-input-microphone-internal: Micrófono interno (priority: 8900, latency offset: 0 usec)
Propiedades:
device.icon_name = "audio-input-microphone"
Parte del perfil(es): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo
analog-input-microphone: Micrófono (priority: 8700, latency offset: 0 usec, not available)
Propiedades:
device.icon_name = "audio-input-microphone"
Parte del perfil(es): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo
analog-output-speaker: Altavoces (priority: 10000, latency offset: 0 usec)
Propiedades:
device.icon_name = "audio-speakers"
Parte del perfil(es): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Auriculares analógicos (priority: 9000, latency offset: 0 usec, not available)
Propiedades:
device.icon_name = "audio-headphones"
Parte del perfil(es): output:analog-stereo, output:analog-stereo+input:analog-stereo
hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
Propiedades:
device.icon_name = "video-display"
Parte del perfil(es): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo
More information about the pulseaudio-discuss
mailing list