Sound not working despite devices detected. Lenovo M90 Pro Gen4

Dear Forum,

i'm back again at Zorin. This time on a Lenovo M90Pro Gen 4. Installed the latest Zorin version a couple of weeks ago but could only setup the PC today. Ran the updater and everything.

The problem is: No sound. In the settings the devices are detected and the small white bar showing amplitude is pulsating for output and input device. They are not muted and I checked the PC for any buttons that mute. These buttons do nothing in Zorin OS.

These steps I already tried unsuccessfully:

"sudo apt-get install alsa-tools

then create a new document and paste the following:

#!/bin/bash
sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0x1b
sudo hda-verb /dev/snd/hwC0D0 0x20 0x477 0x4a4b
sudo hda-verb /dev/snd/hwC0D0 0x20 0x500 0xf
sudo hda-verb /dev/snd/hwC0D0 0x20 0x477 0x74

make sure the created file is of type 'sh'.

then run the file using './fileName' on the command line."

and

"sudo apt update &&
sudo apt --reinstall install
pipewire wireplumber
pipewire-pulse pipewire-audio-client-libraries gstreamer1.0-pipewire
libspa-0.2-bluetooth zorin-os-desktop -y &&
rm -rf ~/.config/{pulse,wireplumber} ~/.local/share/wireplumber &&
systemctl --user daemon-reload &&
systemctl --user restart wireplumber.service pipewire.service pipewire-pulse.service &&
reboot"

Both did nothing to solve the problem and no I dont understand what these commands do, I got them from the Forum here.

I would like to kindly ask for some advice. Im using the PC to run VirtualBox to use Win11. In that VM Win11 the sound doesnt work as well.

Edit: In the pulse audio control program the input and output devices are also listed and appear to be working, i.e. the bars are moving.

Cheers

Alex

Hello,
Give me the outputs of all of this

Check what audio devices your system sees:

aplay -l

What pulseAudio/pipewire thinks is the default device:

pactl get-default-sink

List all active audio sinks and their status:

pactl list sinks

Test if audio is actually reaching the hardware:

speaker-test -t sine -f 1000 -l 1

(This should produce a beeping tone if audio is working—press Ctrl+C to stop it)

Check if there's a volume issue at the hardware level (ALSA):

amixer scontrols
1 Like

Thanks for helping!

Results are:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC256 Analog [ALC256 Analog]
Subdevices: 1/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
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0

alsa_output.pci-0000_00_1f.3.analog-stereo

Sink #55
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3.analog-stereo
Description: Built-in Audio Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 56105 / 86% / -4,05 dB, front-right: 56105 / 86% / -4,05 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.class = "generic"
alsa.components = "HDA:10ec0256,17aa3345,00100002 HDA:80862818,80860101,00100000"
alsa.device = "0"
alsa.driver_name = "snd_hda_intel"
alsa.id = "PCH"
alsa.long_card_name = "HDA Intel PCH at 0x6234150000 irq 233"
alsa.mixer_name = "Realtek ALC256"
alsa.name = "ALC256 Analog"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HDA Intel PCH at 0x6234150000 irq 233"
api.alsa.card.name = "HDA Intel PCH"
api.alsa.path = "front:0"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "7"
device.api = "alsa"
device.class = "sound"
device.id = "50"
device.profile.description = "Analog Stereo"
device.profile.name = "analog-stereo"
device.routes = "2"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Built-in Audio"
node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
node.nick = "ALC256 Analog"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:front:0:playback"
priority.driver = "1009"
priority.session = "1009"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "35"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "55"
object.serial = "55"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3"
device.enum.api = "udev"
device.form_factor = "internal"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3"
device.nick = "HDA Intel PCH"
device.plugged.usec = "4265837"
device.product.id = "0x7ad0"
device.product.name = "Alder Lake-S HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 3, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 4, not available)
Active Port: analog-output-speaker
Formats:
pcm

speaker-test 1.2.9

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 1000,0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 2097152
Period size range from 64 to 1048576
Using max buffer size 2097152
Periods = 4
was set period_size = 524288
was set buffer_size = 2097152
0 - Mono

I didnt hear anything if that is helpful.

Simple mixer control 'Master',0
Simple mixer control 'Capture',0

I cranked everything up to max in the sliding controls on the bottom right. Other than that im not sure I know how to increase the volume.

Is that info relevant to what you asked? Its a lot if text.

Thank you for your help!

Run this command to force the sink to wake up and check if audio works:

pactl set-sink-state alsa_output.pci-0000_00_1f.3.analog-stereo running

Then immediately try playing something (YouTube video, system sound, anything). Does this produce sound?

1 Like

The Terminal says: "No valid command specified."

And youtube and others dont give out sound.

my bad, try this

pactl set-sink-state "alsa_output.pci-0000_00_1f.3.analog-stereo" RUNNING

changed running to RUNNING

1 Like

No worried m8. Still the same. "No valid command specified." I copied the command using the copy button in the forum and used ctrl+shift+v to paste it into the terminal.

OK give me the output of

mixer
1 Like

Command 'mixer' not found, but can be installed with:
sudo apt install csound-utils

Seems like my computer is missing something. Im guessing I shall install mixer?

This is the mixer output:

--Csound version 6.18 (double samples) 2024-04-07
[commit: none]
libsndfile-1.2.2
util mixer:
Usage: mixer [-flags] soundfile [-flags] soundfile ...
Legal flags are:
-o fnam sound output filename
-A create an AIFF format output soundfile
-W create a WAV format output soundfile
-h no header on output soundfile
-8 8-bit unsigned_char sound samples
-c 8-bit signed_char sound samples
-8 8-bit unsigned_char sound samples
-a alaw sound samples
-u ulaw sound samples
-s short_int sound samples
-l long_int sound samples
-f float sound samples
-R continually rewrite header while writing soundfile (WAV/AIFF)
-H# print a heartbeat style 1, 2 or 3 at each soundfile write
-N notify (ring the bell) when score or miditrack is done
-F fpnum amount to scale amplitude for next input
-F fname file of a scale table for next input
-S integer sample number at which to insert file
-T fpnum time at which to insert file
-1 -2 -3 -4 include named channel
-^ n m include channel n and output as channel m
-v verbose mode for debugging
-- fname Log output to file
flag defaults: mixer -s -otest -F 1.0 -S 0
mixer: error: Insufficient arguments
end of score. overall amps: 0.0
overall samples out of range: 0
0 errors in performance
Elapsed time at end of performance: real: 0.000s, CPU: 0.000s

Do

alsamixer

This will open an interactive mixer. Once it opens, press Tab to cycle through different views. Look for any controls that show [off] or 0% and tell me what you see. Take a screenshot if you can—it'll be clearer than typing it out.

1 Like

Jesus thanks for telling me about the inbuilt tool. Was getting a bit annoyed again that in linux everything is so f-ing difficult. Installing a paint program, most dont work because of dependencies I dont understand. Then they have menus that are terrible. Am starting to think this is again a mistake. Man Linux takes 5 minutes in anything I wanna do to make me feel its ....

How do I get the screenshot into a usable picture? Ive tried three paint programs which are overwhelmed with ctrl+v....




if you press print-screen on your keyboard you have the integrated tool

1 Like

You could try it with Pulse Audio volume Control. You can install it with:

sudo apt install pavucontrol

When installed, check the Configuration and Output Tab for Audio Options and Profiles.

Yep did that. Looks like this:


What Options do You have in the Dropdown Menu? Did You tried them?

1 Like

I tried all those that arent labeled as unavailable. Im sure thats sensible, right?

So, You tried ''Pro Audio''too, yes?

1 Like

Yes. This is how it looks like when a Youtube Video is playing at max volume on the video and on the speaker symbol on the bottom right:


Edit: I have a temporary solution by using my bathroom speaker via Bluetooth. When I select Pro Audio that bluetooth connection doesnt work, but on the analog stereo duplex it does. Is that helpful?

with alsamixer
I don't see a "Speaker" or "Headphone" control visible in this view. Those are often separate mute switches that can be toggled on/off, and if they're OFF, no audio will play even if PCM is at full volume.

Can you use the arrow keys to scroll left/right in alsamixer to see if there are more controls ? Look specifically for:

  • Speaker (might show as muted [off])
  • Headphone (might show as muted [off])
  • Line Out Mute
  • Any control with red text or [off] label
1 Like

Oh, didnt know there was more to the menu, sry for that. So this is the whole menu. Tried changing settings while a youtube video was running. Still no sound.