Talk:PS3:Linux
Contents |
Suggested changes for main page
Remove the Slim mention : doesnt work and the SH it points to is the FAT one.
Keep the git clone --depth=1! (or suggest 2-weekly compressed snapshot on mirror hosting)
Debian/Ubuntu alinea:
- Installing kernel
1. cd /usr/src 2. git clone --depth=1 git://git.gitbrew.org/ps3/ps3linux/linux-2.6.git 3. ln -sf linux-2.6 linux 4. cd linux 5. cp ps3_linux_config .config 6. make menuconfig 7. make 8. make install 9. make modules_install
- Adding Kernel 3 install and issues
Fedora 12, all installation methods
If you have debian already installed you can: - febootstrap a minimal root F12.ppc64 to partitioned space; - debootstrap a minimal root F12.ppc with some of rpm and yum --installroot mix; If you don't have yet any linux distro installed you can: - Install official latest mantained ppc64, boots installer from sr0 and works over vnc; - Use my ready-to-go Fedora 12 clone image, as written at related page.
QA/Solutions
hdd_access script
Q: "can someone elaborate more about the need/use of hdd_access script?"
A: It make access the ps3dd partition from an unpatched kernel: already patched are linux kernels from gitbrew, all stock distro kernels are unpatched.
petitboot kernel is patched, that's because you can write ps3dd partitions, debootstrap or install directly, without rebooting from CD/DVD distro.
Plymouth errors
Q: I get Plymouth errors @ Ubuntu
mountall: Disconnected from Plymouth init: plymouth main process (983) killed by SEGV signal init: plymouth-splash main process (1723) terminated with status 2
A: I was having the same issue, as well as plenty of trouble finding a solution. I did as much troubleshooting as I could booting with "quiet splash" and "--verbose" which led me to a "The disk drive for / is not ready yet or not present" error. That was the key for me. My setup is not exactly the same as yours (CECHG 256MB NAND @ CFW 3.55), but here's what I stumbled onto that works (so far) for me: "You are receiving this error message as the new udevd in Ubuntu Lucid no longer supports mounting its own /dev mount point. You will need to add the following line to your "/etc/fstab" file:
dev /dev tmpfs rw 0 0
source: http://forum.linode.com/viewtopic.php?t=5522 A: instead of fixing the issue you could disable plymouth by adding it to the kboot.conf args at the end of root= e.g.:
ubuntu=/boot/vmlinux root=/dev/ps3dd1 video=psfb:mode133 noplymouth
Resolution
Q: How to set resolution
A: Edit/add mode line in /ps3linux/boot/kboot.conf. example: video=ps3fb:mode:138 (138 is for 1920x1080@50hz) Just change 138 to the number in front of the screen-mode you want:
AUTO Detect Mode: 0: auto (480i/576i if not HDMI) 60 Hz Broadcast Modes: 1: 480i (576 x 384) 2: 480p (576 x 384) 3: 720p (1124 x 644) 4: 1080i (1688 x 964) 5: 1080p (1688 x 964) 50 Hz Broadcast Modes: 6: 576i (576 x 460) 7: 576p (576 x 460) 8: 720p (1124 x 644) 9: 1080i (1688 x 964) 10: 1080p (1688 x 964) VESA Modes: 11: wxga (1280 x 768) 12: sxga (1280 x 1024) 13: wuxga (1920 x 1200) 60 Hz Full Screen Broadcast Modes: 129: 480if (720 x 480) 130: 480pf (720 x 480) 131: 720pf (1280 x 720) 132: 1080if (1920 x 1080) 133: 1080pf (1920 x 1080) 50 Hz Full Screen Broadcast Modes: 134: 576if (720 x 576) 135: 576pf (720 x 576) 136: 720pf (1280 x 720) 137: 1080if (1920 x 1080) 138: 1080pf (1920 x 1080) VESA modes are only valid for the HDMI port.
Testing screenmodes with telnet
root terminal:
telinit 1 (goes to single user TEXT mode) Enter root password (PS3)
ps3-video-mode -m xxx (choose the number in front of the screen-mode you want to test)
The single user terminal will change directly to your chosen resolution after you push Enter. If everything is ok:
telinit 5 (goes to normal user mode).
Now you can see if your screenmode works with the graphic interface without modifying kboot.conf. After reboot you have your old screen-mode again if you don't change kboot.conf.
Sixaxis
Q: Sixaxis drivers on Linux?
A: ¨The PS3 SIXAXIS controller follows the USB HID class specification and should automatically be detected as a joystick by any Linux kernel¨ - references:
- http://ps3.jim.sh/sixaxis/usb/
- http://www.pabr.org/sixlinux/sixlinux.en.html
- http://wiki.linuxmce.org/index.php/Using_PS3_Sixaxis_Controller_as_a_Joystick_via_Bluetooth
- http://code.google.com/p/openaxis/
To use the Sixaxis as a mouse device, first enable joystick useability and then e.g. joy2mouse : http://freshmeat.net/projects/js2mouse/
Use PC as PS3 input device: http://code.google.com/p/diyps3controller/
Emulators
Q: Are there any emulators on PS3 Linux?
A: Take a look at this list here: http://blogs.ydl.net/billb/2008/03/04/emulation-and-linux-gaming-on-the-ps3/
RSX Driver
How can I install the RSX driver on Debian Squeeze?
Installation and Scripting
dudu.clx's linux scripts
I (dudu.clx) was close to ps3linux project for a time, and wrote script to install many linux system.
The project was stopped because of the server used was deleted (wasn't mine), and i haven't get enought space on my server for the new version (with 6 pre-installed linux).
Due to that, i'll will rewrote the script, and maybe "gitbrew" can host some pre-installed system ? A lite version (whitout pre-installed system) will be added to my wiki in next few days: http://dudu.clx.free.fr/wiki/index.php?title=PS3Linux