[Solved] Headphones work, speakers don't, with Mint.

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
jlc
Level 1
Level 1
Posts: 10
Joined: Tue Feb 23, 2021 4:00 pm
Location: U.K.

[Solved] Headphones work, speakers don't, with Mint.

Post by jlc »

Set Mint 20.1 up some time ago and have just noticed that, although sound works fine using headphones, it doesn't work via my PC's speakers. I've checked out online solutions, which say the problem should be fixable via the Alsamixer- problem is, the version of Alsamixer which I access via the Teminal is v12.2.2, and I have no control over it at all.....online advice says " do this and that with your arrows" but I can't seem to do anything at all to use/control the Alsamixer to help sort out my problem.
Apart from this minor problem, I wish I'd gone over to Linux ages ago.......any advice? Anything I can do? Or do I just need to wait for an update to Alsamixer?
Last edited by jlc on Sun Feb 28, 2021 6:42 am, edited 1 time in total.
oldgranola
Level 4
Level 4
Posts: 472
Joined: Fri Sep 05, 2014 1:39 am

Re: Headphones work, speakers don't, with Mint.

Post by oldgranola »

What hardware do you have and which desktop are you using?
Please with such questions provide the output of

Code: Select all

inxi -Fzx
as typed. Also in your case

Code: Select all

aplay --list-devices
Have you tried the sound control GUI tools that come with your desktop? In cinnamon, there is a default GUI control that has an icon in your menu>preferences>sound . The same control is usually loaded by default as an applet onto your main tool-bar. Choose sound settings and up should pop something that looks like 'Pavucontrol' (which means "pulseaudio control". Pulseaudio is the base sound tool that comes with LM and Ubuntu). In that window there should be tabs for output, input, sounds, applications, settings. In output, you should see your headphones if plugged in or via bluetooth and any other sound outputs. I am using one of two HDMI outputs or bluetooth headphones. I can choose between them. Make sure everything is plugged in and give that a try.
comadore, pcDOS, hpux, solaris, vms-vax ....blah blah blah..
Yet I'm still a fn nooob
jlc
Level 1
Level 1
Posts: 10
Joined: Tue Feb 23, 2021 4:00 pm
Location: U.K.

Re: Headphones work, speakers don't, with Mint.

Post by jlc »

jlc@jlc-HP-Pavilion-All-in-One-24-xa1xxx:~$ inxi -Fzx
System:
Kernel: 5.4.0-66-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa
base: Ubuntu 20.04 focal
Machine:
Type: Desktop System: HP product: HP Pavilion All-in-One 24-xa1xxx v: N/A
serial: <filter>
Mobo: HP model: 85BA v: 01100 serial: <filter> UEFI: AMI v: F.27
date: 11/19/2020
CPU:
Topology: Quad Core model: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 36733
Speed: 1226 MHz min/max: 1400/2300 MHz Core speeds (MHz): 1: 1223 2: 1241
3: 1249 4: 1264 5: 1229 6: 1342 7: 1224 8: 1229
Graphics:
Device-1: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel
bus ID: 04:00.0
Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: AMD RAVEN (DRM 3.35.0 5.4.0-66-generic LLVM 11.0.0)
v: 4.6 Mesa 20.2.6 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 04:00.1
Device-2: AMD Family 17h HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 04:00.6
Sound Server: ALSA v: k5.4.0-66-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: f000 bus ID: 01:00.0
IF: enp1s0 state: down mac: <filter>
Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
vendor: Hewlett-Packard driver: rtw_pci v: N/A port: e000 bus ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Drives:
Local Storage: total: 2.05 TiB used: 20.89 GiB (1.0%)
ID-1: /dev/nvme0n1 vendor: Western Digital
model: PC SN520 SDAPNUW-256G-1006 size: 238.47 GiB
ID-2: /dev/sda vendor: Western Digital model: WD20SPZX-60UA7T0
size: 1.82 TiB
Partition:
ID-1: / size: 91.15 GiB used: 20.80 GiB (22.8%) fs: ext4
dev: /dev/nvme0n1p5
Sensors:
System Temperatures: cpu: 64.6 C mobo: N/A gpu: amdgpu temp: 64 C
Fan Speeds (RPM): N/A
Info:
Processes: 273 Uptime: 3h 03m Memory: 5.78 GiB used: 2.97 GiB (51.4%)
Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17
inxi: 3.0.38
jlc@jlc-HP-Pavilion-All-in-One-24-xa1xxx:~$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC225 Analog [ALC225 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0

Tried everything you suggested using sound settings but no joy- I can watch the sound output level going up and down with the soundtrack, but no sound comes out of the speakers, it's only obtainable via headphones. The speakers pop from time to time if that's significant, BTW.
User avatar
Termy
Level 6
Level 6
Posts: 1485
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Headphones work, speakers don't, with Mint.

Post by Termy »

I have wireless Bluetooth headphones, a condenser microphone plugged into a Behringer USB mixer, my monitor's speakers, and the sound on the motherboard. I use pavucontrol to select the default/active device, and disable ones I don't need, such as the monitor's speaker (via HDMI). IIRC, Linux Mint comes with pavucontrol, but if not, you can install it with: sudo apt-get install pavucontrol

out.jpg
out.jpg (31.33 KiB) Viewed 129 times
out2.jpg
out2.jpg (25.69 KiB) Viewed 124 times
I use Linux Mint 18.3 with Cinnamon in a VirtualBox VM for testing & sandboxing.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/c/learnlinux
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife
oldgranola
Level 4
Level 4
Posts: 472
Joined: Fri Sep 05, 2014 1:39 am

Re: Headphones work, speakers don't, with Mint.

Post by oldgranola »

@termy
Pavucontrol isn't really that different from the sound settings gui that comes with the distro but does have more control's.
comadore, pcDOS, hpux, solaris, vms-vax ....blah blah blah..
Yet I'm still a fn nooob
oldgranola
Level 4
Level 4
Posts: 472
Joined: Fri Sep 05, 2014 1:39 am

Re: Headphones work, speakers don't, with Mint.

Post by oldgranola »

@jlc
I probably should have asked you to also type

Code: Select all

aplay -L
which should give a little more info. Your motherboard HP 85BAis pretty new. Don't do it yet but you might want the 5.8.0. kernel. The output didn't list enough detail about your sound card so I don't know the exact item and topology. How are you connecting your speakers and your headphones? Are you using a typical headphone line-out jack, or large RCA sound jacks, or bluetooth, other? Need more info on what you tried. When you look at your device settings gui what output devices do you see? If you are plugging your speakers or headphones into a little line-out jack do you see it pop up into the output drivers tab on the gui? Example, on this computer I am typing on, I have two sets of traditional jacks one in front, one in back. My fronts don't work but the rear does. If I plug in headphones or pc speakers I'll see "line Out Built-in Audio" device pop up in the working rear jacks but not the front. If you see your headphones pop up but not your speakers when you plug in, could be something wrong with your speakers.
comadore, pcDOS, hpux, solaris, vms-vax ....blah blah blah..
Yet I'm still a fn nooob
jlc
Level 1
Level 1
Posts: 10
Joined: Tue Feb 23, 2021 4:00 pm
Location: U.K.

Re: Headphones work, speakers don't, with Mint.

Post by jlc »

Speakers work fine on Windows, OG- I'm dual-booting. Am just using a standard headphone lineout jack. Thanks for your input, BTW, it's appreciated!
aplay -L gives:-

jlc@jlc-HP-Pavilion-All-in-One-24-xa1xxx:~$ aplay -L
default
Playback/recording through the PulseAudio sound server
surround21
2.1 Surround output to Front and Subwoofer speakers
surround40
4.0 Surround output to Front and Rear speakers
surround41
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
5.0 Surround output to Front, Center and Rear speakers
surround51
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
dmix:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample snooping device
hw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Hardware device with all software conversions
usbstream:CARD=Generic
HD-Audio Generic
USB Stream Output
sysdefault:CARD=Generic_1
HD-Audio Generic, ALC225 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
Front speakers
surround21:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
Direct sample mixing device
dsnoop:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
Direct sample snooping device
hw:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
Direct hardware device without any conversions
plughw:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC225 Analog
Hardware device with all software conversions
usbstream:CARD=Generic_1
HD-Audio Generic
USB Stream Output
jlc@jlc-HP-Pavilion-All-in-One-24-xa1xxx:~$
oldgranola
Level 4
Level 4
Posts: 472
Joined: Fri Sep 05, 2014 1:39 am

Re: Headphones work, speakers don't, with Mint.

Post by oldgranola »

Thank you for the information. It appears that there are some known issues (quirks)with how sound is handled on similar machines, the new HP pavilion all in one, particularly with
HD-Audio Generic, ALC225 Analogue
in analogue mode where Duplex mode works better. Getting beyond myself here but has to do with the newness of your computer. I suggest you reach out to MrEen over on the hardware and/or sound/codex subforum. Here is a link to a similar issue that says solved but not quite there. There probably is some useful information near the end of the thread
viewtopic.php?t=329074 You could try to reach him directly or post a new thread there but reference this plus the outputs of

Code: Select all

inxi -Fxxrzc0
and

Code: Select all

aplay -L
comadore, pcDOS, hpux, solaris, vms-vax ....blah blah blah..
Yet I'm still a fn nooob
jlc
Level 1
Level 1
Posts: 10
Joined: Tue Feb 23, 2021 4:00 pm
Location: U.K.

Re: Headphones work, speakers don't, with Mint.

Post by jlc »

PROBLEM SORTED! Cannot thank you enough! There's a really friendly helpful atmosphere on here among those of us who have made the decision to go beyond Windows- thanks again.
oldgranola
Level 4
Level 4
Posts: 472
Joined: Fri Sep 05, 2014 1:39 am

Re: Headphones work, speakers don't, with Mint.

Post by oldgranola »

Cool! I'm glad. And thank you sir.
comadore, pcDOS, hpux, solaris, vms-vax ....blah blah blah..
Yet I'm still a fn nooob
Post Reply

Return to “Newbie Questions”