ISSUE: LAKKA IS INSTALLED ON PC CONNECTED TO TV, THRU HDMI CABLE, BUT SOUND WILL ONLY PLAY THRU PC’S INTERNAL SPEAKER
STEPS: TO GET AUDIO TO PLAY THROUGH TV INSTEAD:
- Connect thru SSH with Putty
- For noobies: Go to following site to download Putty: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- After you install and open Putty you will see a field named: Host Name (or IP address)
- Type the IP of the device you have LAKKA installed on
- You can find the IP by going to System Settings in LAKKA
- After typing in IP address click the “Open” tab at the bottom of Putty
- At this point you should see a terminal window open which will ask you for a username and password
- For LAKKA, username = root and password = root
At this point type the following at the prompt:
systemctl stop retroarch
mount -o remount, rw /flash
nano /flash/config.txt
After the last entry a black/blank screen will appear with no entries: Type the following entry:
audio_device = “hdmi:CARD=HDMI,DEV=2”
Then use the following key combo to save the file:
CTRL + X
Type “Y” for yes to save file.
This will bring you back to the LAKA prompt.
Type the following:
mount -o remount,ro /flash
reboot
If all went well you should now only hear the audio thru your TV rather than the PC.
TROUBLESHOOTING THE INSTRUCTIONS ABOVE:
If is still does not work then try the following:
Type the following at the Laka prompt:
aplay -L
You will then see a list of all the sound card settings/devices on your PC that LAKKA recognized. You may have to change the following entry to reflect your PC’s particular settings:
audio_device = “hdmi:CARD=HDMI,DEV=2” (This setting may not work for your PC) If not then try one of the following:
audio_device = “hdmi:CARD=HDMI,DEV=0”
audio_device = “hdmi:CARD=HDMI,DEV=1”
audio_device = “hdmi:CARD=HDMI,DEV=3”
audio_device = “hdmi:CARD=HDMI,DEV=4”
This particular part of the entry could appear different on your PC: “hdmi:CARD=HDMI,DEV=2” For example, you may want to play the sound thru your TV, PC monitor, or surrond sound speakers, but your connections is a Display port or DVI
If it is different then use the entry you see that most closely matches the setting you need.
Before you make any changes, follow these steps again:
At LAKA prompt type:
systemctl stop retroarch (This stops the Retroarch service so you can make changes)
mount -o remount, rw /flash (This allows you to write to the file. It’s normally read-only)
nano /flash/config.txt (This opens the text file you need to change)
MAKE ANY CHANGES THEN TYPE:
mount -o remount,ro /flash (This makes the file read-only again)
reboot (Reboots LAKA)
I hope this tutorial helps you stop pulling your hair out
-jmp4me