Autor Tópico: Fone de Ouvido que não reconhece  (Lida 11235 vezes)

Offline Rubem1287

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Fone de Ouvido que não reconhece
« Online: 04 de Outubro de 2017, 21:24 »
Pessoal tudo bem?

Eu estou com um problema, quando ligo o meu notebook ele não reconhece o fone de ouvido, para resolver preciso desplugar e plugar novamente, estou usando ubuntu 16_04.

Offline druidaobelix

  • Usuário Ubuntu
  • *
  • Mensagens: 5.552
    • Ver perfil
Re:Fone de Ouvido que não reconhece
« Resposta #1 Online: 06 de Outubro de 2017, 13:41 »
Então, @Rubem1287,

Isso pode ser difícil de encontrar a causa já que não há imediatamente uma explícita mensagem de erro, mas vamos lá ver o que é possível, mais adiante se pode também examinar o log do sistema para ver se acusa algo.


1) Certifique-se que o sistema esteja atualizado, executando os comandos abaixo:

Código: [Selecionar]
sudo apt update

Código: [Selecionar]
sudo apt upgrade

Os dois comandos acima devem terminar sem erros de quaisquer espécie.

Não precisa trazer ao tópico o resultado do processamento dessa atualização, não ajuda em nada, a menos que ocorra algum erro, aí sim será necessário examinar do que se trata.


2) Traga ao tópico informações sobre o cenário existente, hardware e software, usando o pacote inxi.

Para poder instalar o pacote inxi o repositório Universe precisa estar habilitado.


Citar
Configurações do sistema/Programas e atualizações/Aplicativos Ubuntu


Se já não estiverem, deixe os quatro checkbox assinalados: main universe restricted multiverse

Click em Fechar, vair pedir para Recarregar (=Reload), faça isso.

Depois, para instalar:


Código: [Selecionar]
sudo apt install inxi

As informações da saída da instalação do pacote inxi não precisa trazer ao tópico, não ajuda em nada, a menos que ocorra um improvável erro.

Isso posto, então faça o comando abaixo e, agora sim, marque a saída com o mouse, copie e cole e ainda com o mouse cole aqui no seu tópico:

Código: [Selecionar]
inxi -FxZ

www.arredondar.org.br
Vencedor Desafio de Impacto Social Google 2016!
Você também pode participar e fazer a diferença.

Offline druidaobelix

  • Usuário Ubuntu
  • *
  • Mensagens: 5.552
    • Ver perfil
Re:Fone de Ouvido que não reconhece
« Resposta #2 Online: 06 de Outubro de 2017, 13:43 »
Traga também ao tópico o resultado dos comandos:

Código: [Selecionar]
aplay -l
(sinal de hífen mais letra ele minúscula no final do comando acima)

Código: [Selecionar]
aplay -L
(sinal de hífen mais letra ele maiúscula no final do comando acima)

Código: [Selecionar]
lspci -knnv | grep -i -A7 "audio"
www.arredondar.org.br
Vencedor Desafio de Impacto Social Google 2016!
Você também pode participar e fazer a diferença.

Offline Rubem1287

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re:Fone de Ouvido que não reconhece
« Resposta #3 Online: 06 de Outubro de 2017, 20:11 »
Resposta do Código: [Selecionar]
inxi -FxZ


System:    Host: rubem-Inspiron-5557 Kernel: 4.13.5-041305-generic x86_64 (64 bit gcc: 7.2.0)
           Desktop: Unity 7.4.0 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Ubuntu 16.04 xenial
Machine:   System: Dell (portable) product: Inspiron 5557
           Mobo: Dell model: 0WT51R v: A00
           Bios: Dell v: 1.2.2 date: 10/26/2016
CPU:       Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10368
           clock speeds: max: 3100 MHz 1: 2600 MHz 2: 2600 MHz 3: 2600 MHz
           4: 2600 MHz
Graphics:  Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
           Card-2: NVIDIA GM108M [GeForce 930M] bus-ID: 01:00.0
           Display Server: X.Org 1.19.3 driver: nvidia
           Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce 930M/PCIe/SSE2
           GLX Version: 4.6.0 NVIDIA 387.12 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.5-041305-generic
Network:   Card-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: 40:49:0f:c0:60:05
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 100 Mbps duplex: full
           mac: f4:8e:38:e4:65:96
           Card-3: Atheros usb-ID: 001-005
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 480.1GB (11.9% used)
           ID-1: /dev/sda model: OCZ size: 480.1GB temp: 35C
Partition: ID-1: / size: 152G used: 54G (37%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 51.0C mobo: 27.8C gpu: 0.0:45C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 237 Uptime: 1:45 Memory: 4854.3/15936.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

Offline Rubem1287

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re:Fone de Ouvido que não reconhece
« Resposta #4 Online: 06 de Outubro de 2017, 20:13 »
Traga também ao tópico o resultado dos comandos:

Código: [Selecionar]
aplay -l

**** Lista de Dispositivos PLAYBACK Hardware ****
placa 0: PCH [HDA Intel PCH], dispositivo 0: ALC3234 Analog [ALC3234 Analog]
  Dispositivo secundário: 0/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 3: HDMI 0 [HDMI 0]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 7: HDMI 1 [HDMI 1]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 8: HDMI 2 [HDMI 2]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 9: HDMI 3 [HDMI 3]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0
placa 0: PCH [HDA Intel PCH], dispositivo 10: HDMI 4 [HDMI 4]
  Dispositivo secundário: 1/1
  Dispositivo secundário #0: subdevice #0



(sinal de hífen mais letra ele minúscula no final do comando acima)

Código: [Selecionar]
aplay -L

default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, ALC3234 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dmix:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample mixing device
dmix:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample mixing device
dmix:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 3
    Direct sample mixing device
dmix:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 4
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 3
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 4
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 3
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 4
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC3234 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 3
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 4
    Hardware device with all software conversions


(sinal de hífen mais letra ele maiúscula no final do comando acima)

Código: [Selecionar]
lspci -knnv | grep -i -A7 "audio"

00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
   Subsystem: Dell Sunrise Point-LP HD Audio [1028:070a]
   Flags: bus master, fast devsel, latency 32, IRQ 281
   Memory at d5320000 (64-bit, non-prefetchable) [size=16K]
   Memory at d5300000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: <access denied>
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel, snd_soc_skl



Offline druidaobelix

  • Usuário Ubuntu
  • *
  • Mensagens: 5.552
    • Ver perfil
Re:Fone de Ouvido que não reconhece
« Resposta #5 Online: 07 de Outubro de 2017, 15:12 »
1. Por primeiro precisa afastar de forma definitiva qualquer possibilidade que seja um problema de hardware, isto é, testar esse fone de ouvido num outro computador e, mais importante, testar outro fone de ouvido nesse computador, para ter certeza que o problema se repete.
Nada resolve ficar procurando no software um problema que é do hardware, vai ficar procurando a vida toda e não vai encontrar nada.

2. Por depois, esclareça a situação:

a) se liga o computador e inicia o sistema com o headphone já plugado o problema ocorre?

b) se não há som no headphone, despluga e pluga novamente e o som volta, se reinicia o sistema (=reboot), o problema persiste, ou seja, é preciso novamente desplugar e plugar? 

3. Finalmente, suposto que o teste físico acima (item 1) tenha sido feito corretamente e a questão persista como sendo de software, então execute os comandos abaixo, tão logo tenha subido o sistema e o problema se apresente e traga o resultado ao tópico.

Para esclarecer o que se pretende: execute os comandos tão logo subiu o sistema e **antes** de replugar, isto é, quando ainda não há som no headphone.

Código: [Selecionar]
speaker-test -t wav -c2
Código: [Selecionar]
aplay /usr/share/sounds/alsa/Front_Center.wav
Se não funcionar dessa forma acima, experimente executar acrescentando o sudo (e informe aqui que precisou usar o sudo, pois isso tem consequências):

Código: [Selecionar]
sudo aplay /usr/share/sounds/alsa/Front_Center.wav
Consegue ouvir o som na execução de ambos os comandos acima?

Com o mouse copie a saída e traga ao tópico o que resultou dos comandos.

« Última modificação: 07 de Outubro de 2017, 18:54 por druidaobelix »
www.arredondar.org.br
Vencedor Desafio de Impacto Social Google 2016!
Você também pode participar e fazer a diferença.

Offline Von_Doom

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re:Fone de Ouvido que não reconhece
« Resposta #6 Online: 02 de Julho de 2021, 06:10 »
Estou com o mesmo problema no Ubuntu 20.04.

Preciso desconectar o phone e conectar novamente para ter som.

Se reinicio o computador, preciso desconectar novamente.

Não é problema no hardware, tenho Windows no mesmo PC, em outro HD e lá funciona normalmente.
Leandro "Von Doom"
Salvador-BA