hi there
i cant get sound from my pi though hdmi. how do i enable it??
hi there
i cant get sound from my pi though hdmi. how do i enable it??
In /boot you have to create a file named config.txt with the following line
hdmi_drive=2
Before startx you have to run
sudo modprobe snd_bcm2835
Then it should run.
Found the last tip in http://www.themagpi.com/ ,which is a good read and might become even better ;o)
In /boot you have to create a file named config.txt with the following line
hdmi_drive=2
Before startx you have to run
sudo modprobe snd_bcm2835
Then it should run.
Found the last tip in http://www.themagpi.com/ ,which is a good read and might become even better ;o)
thanks, i`ll try that tomorrow.
funny u say that, i was about to read the mag pi, just downloaded
If you add a line with "snd_bcm2835" to the /etc/modules file (which by default contains only "vchiq"), the sound module will get autoloaded on startup.
Darren,
The full path is /etc/modules
That is, it's the file modules in directory /etc
note that there is a slash before etc, and that it's etc
not ect. It stands for the latin etcetera.
And you need to use sudo to edit it.
When I go to save modules it says permission denied. How do I get it to save with permission? Seem to be having a lot of trouble with this as I am trying to setup a wi fi dongle and it won't let me drop a file in to a directory.
Do I need to be an administrator ??
Darren,
you get administrator privileges by typing sudo
before any command that would otherwise fail for
lack of privileges. sudo stands for either switch user
and do, or super user and do, depending on who you ask.