Eu tenho um conector de áudio danificado que fica conectado por uma fração de segundo a cada poucos segundos. Isso faz com que um som de estalidos fraco ocorra quando a saída é comutada para os fones de ouvido e depois de volta.
O que funcionou antes foi remover o módulo-switch-on-port-available do /etc/pulse/default.pa. Desde que eu atualizei para o Ubuntu 18.04 de 16.04 isso não funciona mais. O módulo não é carregado quando você verifica o pactl, mas a saída continua mudando.
Eu tentei muitas coisas, mas nada parece funcionar. Eu até desabilitei os fones removendo os arquivos de configuração em alsa-mixer / paths. De fato, quando eu conecto os fones de ouvido, eles não funcionam. Mas o som crepitante ainda está lá quando eu os desconecto. Os registros de áudio de pulsos continuam dizendo:
( 5.867| 3.700) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now plugged in
( 5.867| 0.000) D: [pulseaudio] device-port.c: Setting port analog-output-lineout to status no
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-stereo to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-stereo+input:analog-stereo to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-21 to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-21+input:analog-stereo to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-40 to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-40+input:analog-stereo to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-41 to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-41+input:analog-stereo to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-50 to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-50+input:analog-stereo to availability status no
( 5.867| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.867| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-51 to availability status no
( 5.868| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.868| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-51+input:analog-stereo to availability status no
( 5.868| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.868| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-71 to availability status no
( 5.868| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.868| 0.000) D: [pulseaudio] card.c: Setting card alsa_card.pci-0000_00_1b.0 profile output:analog-surround-71+input:analog-stereo to availability status no
( 5.868| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 5.888| 0.020) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now unplugged
( 5.888| 0.000) D: [pulseaudio] device-port.c: Setting port analog-output-lineout to status yes
Lineout é a saída que desejo usar. Qualquer idéia sobre como parar a comutação ou desativar a porta do fone de ouvido.
Tags pulseaudio linux ubuntu