Sound Not Working on Built-in speaker unless some key is pressed

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
anjalij
Level 1
Level 1
Posts: 1
Joined: Sun Jul 14, 2019 5:25 am

Sound Not Working on Built-in speaker unless some key is pressed

Post by anjalij » Sun Jul 14, 2019 5:39 am

Hello everyone, I am using Linux for the first time and I am using Linux Mint 19.1 on my laptop. Initially everything was good then since few day back my built in speakers are not working unless I press some key in the keyboard. I tried reinstalling media codecs and pulseaudio but nothing works. If I connect a headset it is working fine. Also if I play a music(without headphone) in the background and then press any key, I can hear the music but it plays precisely as long as I press the key. My system info is as follows:

Code: Select all

System:    Host: anjali-Inspiron-14-3467 Kernel: 4.15.0-54-generic x86_64 bits: 64 compiler: gcc 
           v: 7.4.0 Desktop: Cinnamon 4.0.10 wm: muffin dm: LightDM Distro: Linux Mint 19.1 Tessa 
           base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Dell product: Inspiron 14-3467 v: N/A serial: <filter> Chassis: 
           type: 9 serial: <filter> 
           Mobo: Dell model: 0HNKR2 v: A00 serial: <filter> UEFI: Dell v: 2.7.1 date: 09/25/2018 
Battery:   ID-1: BAT0 charge: 35.4 Wh condition: 40.0/41.4 Wh (96%) volts: 16.0/14.8 
           model: LGC-LGC2.80 DELL 7PY0D8A serial: <filter> status: Discharging 
CPU:       Topology: Dual Core model: Intel Core i3-7020U bits: 64 type: MT MCP arch: Kaby Lake 
           rev: 9 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 18432 
           Speed: 1120 MHz min/max: 400/2300 MHz Core speeds (MHz): 1: 1088 2: 1041 3: 1040 
           4: 1045 
Graphics:  Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5921 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Kabylake GT2F v: 4.5 Mesa 19.0.2 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 chip ID: 8086:9d71 
           Sound Server: ALSA v: k4.15.0-54-generic 
Network:   Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Dell 
           driver: ath10k_pci v: kernel port: f040 bus ID: 01:00.0 chip ID: 168c:0042 
           IF: wlp1s0 state: up mac: <filter> 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 
           v: 2.3LK-NAPI port: e000 bus ID: 02:00.0 chip ID: 10ec:8136 
           IF: enp2s0 state: down mac: <filter> 
           Device-3: Atheros type: USB driver: btusb bus ID: 1-8:4 chip ID: 0cf3:e009 
Drives:    Local Storage: total: 931.51 GiB used: 14.18 GiB (1.5%) 
           ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
           speed: 6.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 46.68 GiB used: 11.10 GiB (23.8%) fs: ext4 dev: /dev/sda3 
           ID-2: /home size: 860.98 GiB used: 3.07 GiB (0.4%) fs: ext4 dev: /dev/sda4 
           ID-3: swap-1 size: 7.63 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 48.0 C mobo: 47.0 C 
           Fan Speeds (RPM): cpu: 0 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com tessa main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ bionic partner
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https: //repo.skype.com/deb stable main
Info:      Processes: 205 Uptime: 16m Memory: 3.72 GiB used: 1.25 GiB (33.7%) Init: systemd v: 237 
           runlevel: 5 Compilers: gcc: 7.4.0 alt: 7 Client: Unknown python3.6 client inxi: 3.0.27 
Please guide me to solve this problem.
Thanks in advance.

User avatar
MrEen
Level 12
Level 12
Posts: 4157
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound Not Working on Built-in speaker unless some key is pressed

Post by MrEen » Sun Jul 14, 2019 3:09 pm

Hi anjalij, and welcome to the forum.

What a strange issue you have!! Here's what I would try in your situation.

1. Install and run PulseAudio Volume Control (pavucontrol.) That might fix the issue without even using it to change anything, but you can check the Configuration tab and Output Devices tab to see if the settings make sense.

2. In case PulseAudio's config files are messed up run this in the terminal then restart your player/browser:

Code: Select all

rm -rf ~/.config/pulse; pulseaudio -k
3. Potentially eliminate ALSA as the issue by running this in the terminal: aplay /usr/share/sounds/alsa/Front_Center.wav

If you're still experiencing the same issue, but you heard the voice say "Front, Center" it's either PulseAudio's fault or some setting like a mistyped keyboard shortcut causing the issue. In that case, let's see the output from running inxi -Fxz in the terminal as well as aplay -l. Also start a song or video then pacmd list-sinks and include the output that gives as well.

gittiest personITW
Level 4
Level 4
Posts: 319
Joined: Tue May 28, 2019 4:27 pm

Re: Sound Not Working on Built-in speaker unless some key is pressed

Post by gittiest personITW » Sun Jul 14, 2019 4:41 pm

Hi,
Also, does this problem persist with other media players? VLC / Mplayer / SMPlayer?

It might be that a 'shortcut' or keyboard setting has been changed in pulse.

Post Reply

Return to “Newbie Questions”