I have no sound when I plug in the headphones

I have sound from the speakers, but every time I connect the headphones I have to go into alsamixer, select the audio card and turn up the speakers volume to get sound.
Can you help me so I don’t have to do this every time?

Would it be correct to assume this is the same hardware as shown in a previous post ?
(MSI GE75 Raider 8RE motherboard with ALC1220 onboard audio)

ALSA settings are usually saved to system file /var/lib/alsa/asound.state and restored when system is booted. alsamixer needs root access to write any changes for these settings

Use this command to show playback controls for onboard audio card

sudo alsamixer --card=0

Check Auto-Mute Mode is set to Disabled so the speaker output is not muted when headphones are plugged in

Adjust levels for Speaker and Headphone outputs if needed

Use Esc to exit alsamixer and reboot to check if ALSA settings persist

Unfortunately, when the system was restarted, the parameters were not maintained.

Any other advice?

Open alsamixer --card=0 without sudo and use this command to see if saved settings are restored

sudo alsactl restore

If settings are not restored correctly, adjust settings in alsamixer and use this command to save settings

sudo alsactl store

Reboot system and check if settings are restored correctly

If that does not work as expected, please post more information:

amixer -c0
systemctl -l --no-pager status alsa-restore.service

No success after trying to restore Alsa mixer or save the settings.

amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 61 [70%] [-19.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [off]
  Front Right: Capture 63 [100%] [30.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

systemctl -l -no-pager status alsa-restore.service
Failed to parse lines 'o-pager'

To unmute and set level for mixer control Speaker:

amixer --card=0 sset 'Speaker' 100% unmute

I also suggest muting mixer control IEC958 Default PCM

amixer --card=0 sset 'IEC958 Default PCM' mute

There was a typo in systemctl command, should be 2 dashes for --no-pager option

If the above does not work maybe this is of interest:

I had the same issue with a MSI GE73 Raider and this finally fixed my issue after several months of anger and despair.

1 Like

Sorry, it doesn’t work either

I cannot find modprobe.conf on my system.
In the /etc/modprobe.d folder is mhwd-gpu.conf.

You just have to create a new modprobe.conf file in that folder with e.g. nano editor, containing:

options snd_hda_intel model=lenovo-y530

save, and then reboot your system.

1 Like

Yes, solved!!!
Thank you very much for your help!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.