No sound from laptop speakers

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
eijig

No sound from laptop speakers

Post by eijig »

Hello,

I just did a fresh install of LM 19 XFCE and I'm not getting any sound. I've looked in pavucontrol and alsamixer, nothing looks wrong to me.

inxi -F

Code: Select all

System:    Host: ThinkPad-T520 Kernel: 4.15.0-24-generic x86_64 bits: 64 Desktop: Xfce 4.12.3
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 4239CTO v: ThinkPad T520 serial: N/A
           Mobo: LENOVO model: 4239CTO serial: N/A UEFI: LENOVO v: 8AET65WW (1.45 ) date: 05/14/2015
Battery    BAT0: charge: 32.6 Wh 36.4% condition: 89.5/93.6 Wh (96%)
CPU:       Dual core Intel Core i5-2520M (-MT-MCP-) cache: 3072 KB
           clock speeds: max: 3200 MHz 1: 1750 MHz 2: 1230 MHz 3: 1452 MHz 4: 1319 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile version: 3.3 Mesa 18.0.5
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-24-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e
           IF: enp0s25 state: down mac: f0:de:f1:4b:64:93
           Card-2: Intel Wireless 7260 driver: iwlwifi
           IF: wlp3s0 state: up mac: 80:86:f2:11:86:04
Drives:    HDD Total Size: 128.0GB (14.2% used)
           ID-1: /dev/sda model: C300 size: 128.0GB
Partition: ID-1: / size: 108G used: 9.2G (9%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 705M used: 219M (34%) fs: ext4 dev: /dev/sda2
           ID-3: swap-1 size: 8.46GB used: 0.00GB (0%) fs: swap dev: /dev/dm-3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 45.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 1975
Info:      Processes: 216 Uptime: 17 min Memory: 778.7/7859.5MB Client: Shell (bash) inxi: 2.3.56
pacmd list-sinks

Code: Select all

1 sink(s) available.
  * index: 4
    name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: RUNNING
    suspend cause:
    priority: 9039
    volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 22.85 ms
    max request: 4 KiB
    max rewind: 64 KiB
    monitor source: 6
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 2
    linked by: 2
    configured latency: 23.22 ms; range is 0.50 .. 371.52 ms
    card: 0 <alsa_card.pci-0000_00_1b.0>
    module: 7
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "CX20590 Analog"
        alsa.id = "CX20590 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 0xf2520000 irq 33"
        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 = "1c20"
        device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller (ThinkPad T520)"
        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 = "Analog Stereo"
        device.description = "Built-in Audio Analog Stereo"
        alsa.mixer_name = "Conexant CX20590"
        alsa.components = "HDA:14f1506e,17aa21cf,00100000 HDA:80862805,80860101,00100000"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
            properties:
                device.icon_name = "audio-speakers"
        analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "audio-headphones"
    active port: <analog-output-speaker>
aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  
cat /proc/asound/card0/codec* | grep Codec

Code: Select all

Codec: Conexant CX20590
Codec: Intel CougarPoint HDMI
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from laptop speakers

Post by MrEen »

Hi eijig, and welcome to the forum. I assume you're trying to get sound from the laptops built-in speakers. Do you get sound from headphones (if you have some to test?)

The first thing to try is deleting the files in ~/.config/pulse/ then issue pulseaudio -k in the terminal. Wait a moment then test sound.

Next I would suggest a reload of alsa with sudo alsa force-reload (hopefully this fixes the oddity I saw in your list-sinks output of 1 sink with index 4 instead of 0.)

If you haven't already, I suggest installing pavucontrol. Sometimes playing with the settings in that can coax sound out of a computer. It will be listed as PulseAudio Volume Control in your menu or can be run by typing pavucontrol in the terminal.

Hope that helps.
eijig

Re: No sound from laptop speakers

Post by eijig »

Yes, they're the built-in speakers. Unfortunately, I don't have any headphones to test with.

I've tried your suggestions, but the sound still doesn't work, it looks like the output from pacmd list-sinks did change some, though.

Thanks for the quick response!

Code: Select all

1 sink(s) available.
  * index: 0
    name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: RUNNING
    suspend cause:
    priority: 9039
    volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 21.33 ms
    max request: 4 KiB
    max rewind: 64 KiB
    monitor source: 0
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 1
    linked by: 1
    configured latency: 23.22 ms; range is 0.50 .. 371.52 ms
    card: 0 <alsa_card.pci-0000_00_1b.0>
    module: 7
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "CX20590 Analog"
        alsa.id = "CX20590 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 0xf2520000 irq 33"
        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 = "1c20"
        device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller (ThinkPad T520)"
        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 = "Analog Stereo"
        device.description = "Built-in Audio Analog Stereo"
        alsa.mixer_name = "Conexant CX20590"
        alsa.components = "HDA:14f1506e,17aa21cf,00100000 HDA:80862805,80860101,00100000"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
            properties:
                device.icon_name = "audio-speakers"
        analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "audio-headphones"
    active port: <analog-output-speaker>
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from laptop speakers

Post by MrEen »

Hi again, eijig. See if this helps. In the terminal type xed admin:///etc/modprobe.d/alsa-base.conf (you may be asked for your password twice) and scroll to the bottom of the file and add this line: options snd-hda-intel model=thinkpad then save the file. Now either reboot or type the following three lines into the terminal:

Code: Select all

killall pulseaudio
sudo alsa force-reload
pulseaudio -D
If that doesn't help, follow the same steps again, using options snd-hda-intel model=lenovo instead.

Good luck.
getaway
Level 3
Level 3
Posts: 103
Joined: Tue Jul 15, 2014 3:11 am
Location: Bretagne, France

Re: No sound from laptop speakers

Post by getaway »

Hello there

I enter this topic, just to say that I had the very same problem of no sound coming out of my laptop speakers.
It happened after a Sylvia to Tara update. At first, after the update, everything worked fine, but suddenly no sound came neither from internal speakers, nor from earphones. And from that time neither could I use my bluetooth speakers because not recognized by the sound system of the laptop.
After reading the last advice from MrREen, I tried the update of alsa.base.conf, adding the following
"options snd-hda-intel model=asus" (because my laptop's brand is Asus). And internal speakers and earphones started working again :) :) :)

I still have a problem with my bluetooth speaker, wich is recognized for a bluetooth device, but is not taken into account in the sound system!
If you have any advice...
Linuxmint Cinnamon Tricia 19.3 64 bits
Asus UX430U
newbuss

Re: No sound from laptop speakers

Post by newbuss »

Hi Eijig,

Did you ever get your speaker sound working? I have the same issue with my Asus C300.

Thanks!!
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound from laptop speakers

Post by MrEen »

Hi newbuss, and welcome to the forum.

Unfortunately, eijig hasn't been back since their last post.

I think it is best for you to start your own thread and please include the results of typing the following in the terminal: inxi -Fxz and aplay -l

Also please include any steps you've taken to try to resolve your issue.

Thanks and good luck.
User avatar
karlchen
Level 23
Level 23
Posts: 18173
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: No sound from laptop speakers

Post by karlchen »

<moderator on> Moved edjimucator's post to a separate thread here: Zenbook Mint 19 Cinnamon: No sound from laptop speakers </moderator off>
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
Paulski25

Re: No sound from laptop speakers

Post by Paulski25 »

Copy and paste from other thread:

Hi,

Not sure if you already passed this station, but here is my take:
I had a similar problem with a Zenbook and Mint 18.3 Cinamon (and a dual boot with Windows 10). No sound from internal speakers, but external sound (hdmi & headphone) works.

After trying most things mentioned in this posting and others and even re-install Mint, the problem remained.

In the end the solution was quite simple:
Disable quick boot both in Windows and in bios. Apparently the internal speaker goes into hibernation mode and does not wake up.
https://www.windowscentral.com/how-disa ... st-startup
arunjain109

Re: No sound from laptop speakers

Post by arunjain109 »

Thanks this helped me and able to get the voice from Vaio speakers
Locked

Return to “Sound”