User Tools

Site Tools


mspacman:pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mspacman:pi [2013/10/03 07:46]
ben
mspacman:pi [2013/10/06 08:40] (current)
ben
Line 822: Line 822:
  
 No difference, and everything I try to do gets a "Bus error"​. ​ Boo. No difference, and everything I try to do gets a "Bus error"​. ​ Boo.
 +
 +Gave up, looked around, realized I also had a version of xmame someone distributed that's new enough to support mspacmnf. ​ Compiled it over the course of two days, all set.
 +
 +Added user: mspacman
 +
 +Edited /​etc/​X11/​xinit/​xinitrc to be:
 +<​code>​
 +#. /​etc/​X11/​Xsession
 +/​mame/​xmame.SDL
 +</​code>​
 +
 +Edited /​etc/​inittab:​
 +<​code>​
 +#​1:​2345:​respawn:/​sbin/​getty --noclear 38400 tty1 
 +1:​2345:​respawn:/​bin/​login -f mspacman tty1 </​dev/​tty1 >/​dev/​tty1 2>&1
 +2:​2345:​respawn:/​bin/​login -f mspacman tty2 </​dev/​tty2 >/​dev/​tty2 2>&1
 +3:​2345:​respawn:/​bin/​login -f mspacman tty3 </​dev/​tty3 >/​dev/​tty3 2>&1
 +</​code>​
 +
 +Edited /​etc/​rc.local:​
 +<​code>​
 +su -l mspacman -c startx ​
 +initctl start tty TTY=/​dev/​tty2 &
 +initctl start tty TTY=/​dev/​tty3 &
 +</​code>​
 +
 +Spent last night trying to get sound working- for some reason it works running via VNC, but not running as mspacman. ​ This morning realized maybe it was permissions,​ ran the prog as user pi and sound exists. ​ Checked group memberships,​ matched them (things like "​audio"​ and "​video"​ were missing!), and finally- sound.
 +
 +Upped the clock to 800Mhz, set xinitrc to use volume -3.  Rebooted, boat work time.  ​
 +
 +
 +**TO-DO: get a proper shutdown routine working from GPIO pins or investigate ACPI, check on hiscore.dat instead of saved states- hi score doesn'​t seem to be working.** ​
 +
mspacman/pi.1380800763.txt.gz ยท Last modified: 2013/10/03 07:46 by ben