Skip to content

Instantly share code, notes, and snippets.

@Quar
Created September 18, 2018 00:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Quar/98bcabf755522b5822ae23aee6709e9b to your computer and use it in GitHub Desktop.
Save Quar/98bcabf755522b5822ae23aee6709e9b to your computer and use it in GitHub Desktop.
fix Thinkpad x120e no speaker sound on Ubuntu
# borrowed from wnelson on ubuntuforms
# https://ubuntuforums.org/showthread.php?t=1899601
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
pcm.dsp0 {
type plug
slave.pcm "dmix"
# A hint is required for listing the device in some GUIs, e.g. Phonon configuration.
hint {
show on
description "My dmix dsp0"
}
}
# mixer0 can stay unchanged, because
# it isn't used anyway, I guess ;)
ctl.mixer0 {
type hw
card 1
}
@Quar
Copy link
Author

Quar commented Sep 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment