http://pimame.org/forum/discussion/1083/how-to-properly-verify-and-rename-roms#Item_1
sudo nano /boot/config.txt
display_rotate=0 Normal
display_rotate=1 90 degrees
display_rotate=2 180 degrees
display_rotate=3 270 degrees
display_rotate=0x10000 horizontal flip
display_rotate=0x20000 vertical flip
hdmi_force_hotplug=1
hdmi_drive=2
# Keep snd-usb-audio from beeing loaded as first soundcard
#options snd-usb-audio index=-2
sudo /opt/vc/bin/vcgencmd version
sudo apt-get install python-dev
wget http://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.4.1a.tar.gz
tar xzf RPi.GPIO-0.4.1a.tar.gz
sudo python setup.py install
import RPi.GPIO as GPIO
import time
import os
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.IN,pull_up_down=GPIO.PUD_UP)
while True:
print GPIO.input(17)
if(GPIO.input(17) == False):
os.system("sudo shutdown -h now")
break
time.sleep(1)
python /home/pi/bin/shutdown.py &
amixer controls
amixer cget numid=1
amixer cset numid=1 0
http://goo.gl/oB0dzD
http://pimame.org/forum/discussion/769/no-audio
http://goo.gl/7dwYF6
http://goo.gl/nZ1viJ
http://goo.gl/5UgtPV
It looks like you're new here. If you want to get involved, click one of these buttons!