I use the cmus console music player through ssh on a device with OSMC (Kodi, based on Debian Jessie) installed. My problem is that the sound is played to the HDMI, and I want to play music to the jack output.
I tried to use alsamixer, amixer, aplay, etc... but these are not installed and sudo apt-get install alsamixer
doesn't help. (Package not found - Maybe there's a better option than installing alsamixer anyway).
I tried to read man cmus
, which seems to offer the possibility to change some alsa settings : link to the online manual page, but I don't understand which settings are relevant for me, nor which values to put... Anyway : cmus is maybe not the source of my issue.
How can I achieve what I want to, using only the terminal (I am through SSH) ?
--
PS : I finally installed alsamixer (actually the package's name was alsa-utils
). And results that my jack output is not recognised. But I know it is working since other programs use it.
ps axu
)? If no,alsamixer
andamixer
are in packagealsa-utils
. If yes, usepacmd
(seepacmd help
).lspci -nn | grep Audio
,cat /proc/asound/pcm
andlsmod | grep snd
.aplay --list-devices
to your post.