27 lines
556 B
Plaintext
27 lines
556 B
Plaintext
# to set audio to HDMI
|
|
amixer cset numid=3 2
|
|
|
|
# to set audio to JACK
|
|
amixer cset numid=3 1
|
|
|
|
# to set audio to Auto
|
|
amixer cset numid=3 0
|
|
|
|
If you're still not getting sound via HDMI
|
|
|
|
In some rare cases, it is necessary to edit config.txt to force HDMI mode (as opposed to DVI mode, which does not send sound). You can do this by editing
|
|
/boot/config.txt
|
|
and setting
|
|
hdmi_drive=2
|
|
then rebooting for the change to take effect.
|
|
|
|
|
|
|
|
# Could not connect to socket error ?
|
|
|
|
Perhaps try adding the following to your $HOME/.mplayer/config file:
|
|
Code:
|
|
lirc=no
|
|
|
|
|