Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on PS3
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 19, 20, 21  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
sub_zero
Apprentice
Apprentice


Joined: 12 Sep 2004
Posts: 169

PostPosted: Mon Feb 05, 2007 1:25 pm    Post subject: Reply with quote

I'm guessing your memory stick uses fat32, so I would try
Code:
mount -t vfat /dev/sda1 /mnt/usb
This is the basic idea you need, since your usb stick might be on something other than /dev/sda(such as /dev/sdb, you'll have to check the output of dmesg if /dev/sda doesn't work). After it has correctly mounted, you can copy it from /mnt/usb to /mnt/gentoo.
Back to top
View user's profile Send private message
Foxer
n00b
n00b


Joined: 05 Feb 2007
Posts: 3

PostPosted: Mon Feb 05, 2007 4:20 pm    Post subject: Reply with quote

I'm sorry it didn't really work and it's way too complicated to explain. I 'm so not familiar with Linux,
After complementing the following code:

Step 1:
Code:
livecd / # swapon /dev/sda2
livecd / # mount /dev/sda1 /mnt/gentoo/
livecd / # cd /mnt/gentoo


After doing Steps 1 , I'll have :

Code:
livecd gentoo / #


By doing this:
Code:
livecd gentoo / # wget http://gentoo.osuosl.org/experimental/ppc64/stages/stage4-ppc64-ps3_32ul.tar.bz2

I will be able to download it directly from the source, but what if i have the file in my Memory stick (The stick similar to PSP memory works fine on my PS3)

What to do before moving to the next step, (How to copy "it"[stage4-ppc64-ps3_32ul.tar.bz2] from my Memory to Gentoo directory)

If I have the file in Gentoo directory, I'll be able to compliment the folling codes"
Code:

livecd gentoo / # tar -xjpf stage4-ppc64-ps3_32ul.tar.bz2
livecd gentoo / # mount -t proc none /mnt/gentoo/proc
livecd gentoo / # mount -o bind /dev /mnt/gentoo/dev
livecd gentoo / # cp /etc/resolv.conf /mnt/gentoo/etc


I really need some help :( "101" steps would be appreciated.

Thnx sub_zero for your help,but I don't know what I did wrong but it doesn't work.
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Mon Feb 05, 2007 11:10 pm    Post subject: Reply with quote

By default, memory stick is /dev/sdc1


So...,:

mkdir /mnt/usb
mount /dev/sdc1 /mnt/usb
Back to top
View user's profile Send private message
Foxer
n00b
n00b


Joined: 05 Feb 2007
Posts: 3

PostPosted: Mon Feb 05, 2007 11:24 pm    Post subject: Reply with quote

asong26 wrote:
By default, memory stick is /dev/sdc1


So...,:

mkdir /mnt/usb
mount /dev/sdc1 /mnt/usb



I made the directory, after how to copy stage4 from /mnt/usb to /mnt/gentoo ?
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Mon Feb 05, 2007 11:28 pm    Post subject: Reply with quote

When you say you made the directory, I am assuming, you've made the directory, and were able to successful mount the memstick?


Make sure you're in the directory you're supposed to be in before attempting this. The command is simple:

cp /mnt/usb/xxxxx.tar.bz2 .

That's it. Notice there is a space between bz2 and .



My apologies, not that it matters, but that directory should've been /mnt/menstick. But it doesn't matter. Once you modify your fastab, as directed by the install instructions, this issue will go away...
Back to top
View user's profile Send private message
Maj-Headcase
n00b
n00b


Joined: 06 Feb 2007
Posts: 8

PostPosted: Tue Feb 06, 2007 3:14 pm    Post subject: Need help! Reply with quote

Hey guy's for the second time I have followed the this guide "http://overlays.gentoo.org/proj/cell/wiki/InstallGentooOnPS3"

and for the second time the install has fallen over at the same stage.

here
Configure the kboot bootloader ¶
In many cases, the otheros images depend on a label being set on the root filesystem partition. Usually it is set to "/". You can set the label using e2label. Using the disk partitioning scheme, you would set the label like:

(chroot) e2label /dev/sda1 /
Kboot's configuration comes from the file /etc/kboot.conf. An example kboot configuration has been provided in /etc/ of the stage4 tarball. Use it as a starting point for your configuration file.

(chroot) / # cd /etc
(chroot) / # cp kboot.conf.example kboot.conf
(chroot) / # vim kboot.conf
Note: For systems where 64 bit user space will be installed, make sure to change the kernel and initrd to kernel-genkernel-ppc64-2.6.16-ps3 and initramfs-genkernel-ppc64-2.6.16-ps3. (Notice the added '64')

An example kboot.conf file for the stage4 and 720p resolution could look like:

# The following is an example kboot configuration file. Edit it
# to suit your needs before attempting to reboot your system or
# you may be unable to boot the new install.

# default: the default kernel label to boot should the user not make
# a selection. Uncomment the following line and set a default kernel label.
default=gentoo

# timeout: number of seconds to wait for user input before the default
# kernel label is booted. Uncomment the following line and set timeout.
# timeout=20

# The format from this point on is within a kernel label. At a minimum,
# you must pass the kernel and root device. The syntax is as follows:
#
label='device:<path_to_kernel> initrd=device:<path_to_initrd> kernel_options'
#
# You should also pass the video options as well. An example of video
# options are as follows:
#
# 480i = ps3fb:mode:1
# 576i = ps3fb:mode:6
# 720p = ps3fb:mode:3
# 1080i = ps3fb:mode:4
# 1080p = ps3fb:mode:5
#
# You can review all possible video modes using the ps3videomode application
# provided by the ps3pfutils package. i.e. ps3videomode -v will display
# possibilities.

# The following is an example kernel label. Uncomment and edit as needed.
gentoo='sda1:/boot/kernel-genkernel-ppc-2.6.16-ps3 initrd=sda1:/boot/initramfs-genkernel-ppc-2.6.16-ps3 root=/dev/ram0 real_root=/dev/sda1 init=/linuxrc video=ps3fb:mode:8 rhgb'
Edit /etc/fstab ¶

I am unable to edit the fstab file ? and assume that the previous task to copy the kboot.conf just overwrites with a default settings file based on the the install guide!

ok so keep going with the guide to complete install, reboot and when the system restarts I get errors stating that the filesystem could not be mounted? I'm not sure what to do at this stage my command prompt looks like this. (none) ~ #

I hope someone here can help me to recover this install without having to re-install the lot! otherwise it's back to YDL :(

RangerPB if you are reading this post and want to help please meet me @ #gentoo-ppc64 I'm there at the time of this post.
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Tue Feb 06, 2007 3:50 pm    Post subject: Reply with quote

what makes you think you that you can't modify the fstab?

It's simple as 'nano -w /etc/fstab'

Make the changes, followed by Ctrl-O, enter, Ctrl-X, enter.

You're done...

Do you know how to use Vi very well? If not, I would suggest nano. It's much easier and like a text editor without the support for pulldown menus, and mouse cursor. So, you would be navigating via up,down,left,right keys, and modify the texts (delete button works)

Once the file is looking like the way you want it, just use Ctrl-O to write, and Ctrl-X to exit.

If you're not modifying the fstab file as instructed by the install guide provided in your link, then without a doubt, you will not be able to mount these file systems.... The default fstab file is not set correctly to work with PS3 out of the box. I do hope in the future that fstab file can be pre-modded and packaged so that we can just skip this nano text editing business during the install. Since PS3 hardware is pretyy much identical (except for the memstick and SD on 60GB versions), i don't see the harm in packing the fstab file that will work out of the box, when the rest of the instructions are followed.... Same goes for the kboot.conf, at least modify the bottom line to work at 480i as default so that everyone would enjoy the compatibility, and it would eliminate the need for us to modify this during install just to get it to boot....
Back to top
View user's profile Send private message
Maj-Headcase
n00b
n00b


Joined: 06 Feb 2007
Posts: 8

PostPosted: Tue Feb 06, 2007 4:00 pm    Post subject: Reply with quote

Agree with the default fstab and kboot.conf.

however i'm beyond that now! have completed the install guide minus the kboot.conf and fstab settings.

when my stsem reboots it complains about filesystem couldn't be fixed give root password for maintanance!

I enter the password and my command prompt looks like this (none) ~ #

if it's just these two files that are causing the system not to boot is there a way to copy the right ones into the proper locations.

I have tried to mnt the partitions but no joy!

I am a nOOb so any help please keep it simple thnx :)
Back to top
View user's profile Send private message
Maj-Headcase
n00b
n00b


Joined: 06 Feb 2007
Posts: 8

PostPosted: Tue Feb 06, 2007 4:22 pm    Post subject: Reply with quote

Ok took your advice was able to enter "nano -w /etc/fstab" the file opened yes!! but would not save changes :( complains of read only file system!

BUGGER!
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Tue Feb 06, 2007 4:49 pm    Post subject: Reply with quote

That's because you're trying to modify the liveCD fstab file.

Reboot. Skip the hdd format process, and go right down to mounting file systems mount /dev/sda1 /mnt/gentoo


After that, do the same make sure you're modifying the correct file. Assuming the mount is successful, it would then be:


nano -w /mnt/gentoo/etc/fstab

Give that a try... Same for Kboot.conf (/mnt/gentoo/etc/kboot.conf)

I hope this helps.
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Tue Feb 06, 2007 4:59 pm    Post subject: Reply with quote

When you everything is done, make sure you unmount what you've mounted by:

umount /mnt/gentoo/

Then reboot. As soon as the reboot process has started (PS3 briefly shutting off) take out the liveCD out of the blueray drive, otherwise, it will boot directly from the LiveCD again.

If you get a graphical login screen, then you've setup correctly, if not, you can start the graphical login screen by typing:

startx


Once you're logged in via login screen as root, be sure to add xdm as default by:

rc-update add xdm default

You may also want to modify your /etc/rc.conf file using nano as well. Go all the way down to the bottom of the file, and look for: #XSESSION="fluxbox"

Remove the '#" from that line and save. The next time you reboot, you will be automatically greeted by xdm login screen, and when you login, fluxbox will load automatically. You can then follow the rest of the directions to update portage app via modifying the /etc/portage/package.keywords, and emerging the up to date portage app. Once that's done, you can install other Windows Managers if you want such as kdebase, or gnome or even XFCE4. Once the WMs have been installed, be sure to open up the /etc/rc.conf file again and modify that XSESSION line. Take out the "fluxbox" and replace it with "kde-3.5", "gnome" or "xfce4" (all depending on what you want to use)

The rest is up to you to search and learn. There are many useful wiki page on gentoo and ps3, gentoo vlc, gentoo mplayer, gentoo howto... You get the picture.

Best of luck to you.
Back to top
View user's profile Send private message
Maj-Headcase
n00b
n00b


Joined: 06 Feb 2007
Posts: 8

PostPosted: Tue Feb 06, 2007 5:14 pm    Post subject: Reply with quote

ok gave that a try the livecd does not boot with the failed install in place! gonna try a few things but if this fails gonna do one more fresh install.

now that i know how to edit those files and what to put in them shouldn't have a further problems relating to install.

thanx for the help asong.
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Tue Feb 06, 2007 5:31 pm    Post subject: Reply with quote

No problem. I would not have successfully installed as a noob without the help of many people in this forum, and others. I am just returning the favor (pay it forward sort of speak...)

Fresh install is probably a good idea. Let us know how it went....
Back to top
View user's profile Send private message
Maj-Headcase
n00b
n00b


Joined: 06 Feb 2007
Posts: 8

PostPosted: Wed Feb 07, 2007 2:50 pm    Post subject: Reply with quote

Ok guy's i have successfully installed gentoo "Phew"!

however i'm stuck with the logon screen prompt having emerged xfce4 rebooted but still comes back to the grey login prompt??

I have looked in the /etc/rc.conf and the setting for xsession is typed like this.


XSESSION="xfce4

have i missed sommit? should i be changing settings within other files to start xfce as my WM?

thanx guy's nearly there now!!
Back to top
View user's profile Send private message
asong26
n00b
n00b


Joined: 18 Jan 2007
Posts: 47

PostPosted: Wed Feb 07, 2007 3:05 pm    Post subject: Reply with quote

My mistake:

It needs to be:

XSESSION="Xfce-4"


Make sure Xfce-4 is inside open quotation mark and closed quotation mark. In the above what you've typed, only has 1 quotation mark...
Back to top
View user's profile Send private message
Maj-Headcase
n00b
n00b


Joined: 06 Feb 2007
Posts: 8

PostPosted: Wed Feb 07, 2007 3:10 pm    Post subject: Reply with quote

Cool dude will give that a try now WML ;)
Back to top
View user's profile Send private message
spindley
n00b
n00b


Joined: 02 Aug 2005
Posts: 48
Location: Calgary, AB Canada

PostPosted: Wed Feb 07, 2007 8:58 pm    Post subject: Reply with quote

sub_zero wrote:
I'm still unable to get joystick working with gentoo linux. I've tried using the patches for it and recompiling the kernel, however every kernel that I've tried so far fails to builld. Each one keeps giving me errors about the ps3pf files, so I think we'll have to wait for release of 2.6.20 through cell-sources. I did however get mplayer and mythtv to work better and fullscreen.

What were you able to do to with myth and mplayer? Better performance / quality? Can you please post what you were able to do and how you did it?
Thanks.
_________________
"Wake up, Mr. Freeman. Wake up and smell the ashes."
Back to top
View user's profile Send private message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Wed Feb 07, 2007 10:44 pm    Post subject: Reply with quote

Anyone has a howto compile a new kernel to use on PS3 with lu_zero overlay? can I use genkernel with lu_zero overlay?
:?
_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Back to top
View user's profile Send private message
Maj-Headcase
n00b
n00b


Joined: 06 Feb 2007
Posts: 8

PostPosted: Fri Feb 09, 2007 4:14 pm    Post subject: Reply with quote

Hey Guy's quick question? where do I look (within XFCE) to see what Kernel version is currently running/loaded?

I did the Gentoo install via the official Gentoo guide http://overlays.gentoo.org/proj/cell/wiki/InstallGentooOnPS3

I used a liveCD

I did a complete online install download the Stage4 Tarball (Stage4-ppc64-ps3_32ul.tar.bz2) via links: and got the latest portage via wget:

I wanted to do the Lu_Zero overlay but it complained about the Kernel?

thnx
Back to top
View user's profile Send private message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Fri Feb 09, 2007 4:31 pm    Post subject: Reply with quote

Maj-Headcase wrote:
Hey Guy's quick question? where do I look (within XFCE) to see what Kernel version is currently running/loaded?


Open a terminal and use:
Code:
uname -a



/|\/|\/|\/|\/|\/|\/|\
I trying to use a CD/DVD Writer on USB port... OK I already actived SCSI support on kernel... I did same modification on a AMD Athlon machine ... and this works... but cant have any success on PS3 Gentoo... logs:

when connect the cd/dvd writer
Code:
usb 1-2.4: new high speed USB device using ehci_hcd and address 10
usb 1-2.4: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
  Vendor: TSSTcorp  Model: CD/DVDW SH-S182D  Rev: SB03
  Type:   CD-ROM                             ANSI SCSI revision: 00
sr1: scsi3-mmc drive: 8x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr 6:0:0:0: Attached scsi CD-ROM sr1
sr 6:0:0:0: Attached scsi generic sg6 type 5
usb-storage: device scan complete


mount -t iso /dev/sr1 /mnt/cdrom (CD media)
Code:
usb 1-2.4: reset high speed USB device using ehci_hcd and address 10
usb 1-2.4: can't restore configuration #1 (error=-71)
sr 6:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sr1, sector 1318528
Buffer I/O error on device sr1, logical block 329632
sr 6:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sr1, sector 1318532
Buffer I/O error on device sr1, logical block 329633
sr 6:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sr1, sector 1318528
Buffer I/O error on device sr1, logical block 329632
usb 1-2.4: USB disconnect, address 10
sr 6:0:0:0: SCSI error: return code = 0x70000
end_request: I/O error, dev sr1, sector 1318532
Buffer I/O error on device sr1, logical block 329633
sr 6:0:0:0: rejecting I/O to device being removed
Buffer I/O error on device sr1, logical block 0
Buffer I/O error on device sr1, logical block 1
Buffer I/O error on device sr1, logical block 2
Buffer I/O error on device sr1, logical block 3
Buffer I/O error on device sr1, logical block 4
Buffer I/O error on device sr1, logical block 5
 6:0:0:0: rejecting I/O to dead device
 6:0:0:0: rejecting I/O to dead device
 6:0:0:0: rejecting I/O to dead device
 6:0:0:0: rejecting I/O to dead device
usb 1-2.4: new high speed USB device using ehci_hcd and address 11
usb 1-2.4: configuration #1 chosen from 1 choice
usb 1-2.4: can't set config #1, error -71


When try burn a CD...
k3b log:
Code:
Cdrdao version 1.2.1 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'schily-0.8'
7,0,0: TSSTcorp CD/DVDW SH-S182D Rev: SB03
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0010)
Starting write at speed 8...
Process can be aborted with QUIT signal (usually CTRL-\).
Turning BURN-Proof on
Enabling JustLink.
Executing power calibration...
ERROR: Power calibration failed.
ERROR: Ignored because of option --force.
ERROR: Cannot get Track Information Block.
ERROR: Drive does not accept any cue sheet variant - please report.
ERROR: Writing failed.
ERROR: Cannot prevent/allow medium removal.

cdrdao command:
-----------------------
/usr/bin/cdrdao write --device 7,0,0 --driver generic-mmc:0x00000010 --speed 8 --overburn -n -v 2 --force --eject --remote 18 /tmp/kde-fazzi/k3bSlgkxatoc


kernel log
Code:
usb 1-2.4: reset high speed USB device using ehci_hcd and address 12
usb 1-2.4: can't restore configuration #1 (error=-110)
usb 1-2.4: USB disconnect, address 12
usb 1-2.4: new high speed USB device using ehci_hcd and address 13
usb 1-2.4: configuration #1 chosen from 1 choice
usb 1-2.4: can't set config #1, error -71

_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Back to top
View user's profile Send private message
Maj-Headcase
n00b
n00b


Joined: 06 Feb 2007
Posts: 8

PostPosted: Fri Feb 09, 2007 4:32 pm    Post subject: Reply with quote

It's OK guy's found it via uname -a

2.6.16-ps3

should? lu_zero's overlay work with this version ?

thnx
Back to top
View user's profile Send private message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Fri Feb 09, 2007 6:37 pm    Post subject: Reply with quote

Maj-Headcase wrote:
It's OK guy's found it via uname -a
2.6.16-ps3

should? lu_zero's overlay work with this version ?
thnx

Some packages works nice here, but I cant compile the cell-sources (kernel) for use 2.6.19 .... I dont know what we need to do for it... I emerged gcc-cell (gcc-config -f .... for do it as default gcc env.) and no sucess.... too! 8O

I have another good trace for us!! I looking at ps3videomode sources and found it:
ps3videomode.c
Code:
/*
 * Copyright (C) 2006 Sony Computer Entertainment Inc.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published
 * by the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <getopt.h>
#include <string.h>
#include <errno.h>
#include <stdint.h>
#include <sys/ioctl.h>
#include <asm/ps3av.h>

#define PS3VIDEOMODE_VERSION "1.00"
#define FB_NAME "/dev/fb0"

#define PS3FB_IOCTL_SETMODE        _IOW('r',  1, int)
#define PS3FB_IOCTL_GETMODE        _IOR('r',  2, int)

struct option long_options[] = {
   { "help"  , 0, NULL, 'h' },
   { "video" , 0, NULL, 'v' }, /* video mode */
   { "rgb"   , 0, NULL, 'r' }, /* RGB color space */
   { "full"  , 0, NULL, 'f' }, /* full screen mode */
   { "dither", 0, NULL, 'd' }, /* dither ON */
   { "hdcp"  , 0, NULL, 'H' }, /* HDCP OFF, Retail PS3 product doesn't support this */
   { NULL   , 0, NULL,  0  }
};

static void usage(void)
{
   printf(
   "Usage:\n"
   "  ps3videomode [options]\n"
   "\n"
   "Options:\n"
   "  --help,  -h        print this message\n"
   "  --video, -v <ID>    set video mode ID\n"
   "  --full,  -f        use full screen mode\n"
   "  --dither,-d        use dither ON mode\n"
   "\n"
   "Video mode ID:\n"
   "  0:auto mode \n"
   "  YUV 60Hz  1:480i  2:480p  3:720p  4:1080i  5:1080p\n"
   "  YUV 50Hz  6:576i  7:576p  8:720p  9:1080i 10:1080p\n"
   "  RGB 60Hz 33:480i 34:480p 35:720p 36:1080i 37:1080p\n"
   "  RGB 50Hz 38:576i 39:576p 40:720p 41:1080i 42:1080p\n"
   "  VESA    11:WXGA 12:SXGA 13:WUXGA\n"
   "\n"
   "  full screen mode: <video mode ID> + 128\n"
   "  dither ON mode  : <video mode ID> + 2048\n"
   "\n"
   "Example:\n"
   "  ps3videomode -v 3 -f   720p 60Hz with full screen mode.\n"
   "  ps3videomode -v 131    Same as above.\n"
   "\n"
   "If no arguments are given, ps3videomode displays the current video mode.\n"
   );
   exit(1);
}

int main(int argc, char *argv[])
{
   int fd, res, c;
   int vid = -1;
   int opt = 0;

   while((c = getopt_long(argc, argv, "hv:rfdH", long_options, NULL))
      != EOF) {
      switch(c) {
      case 'v':
         vid = atoi(optarg);
         break;
      case 'r':
         opt |= PS3AV_MODE_RGB;
         break;
      case 'f':
         opt |= PS3AV_MODE_FULL;
         break;
      case 'd':
         opt |= PS3AV_MODE_DITHER;
         break;
      case 'H':
         opt |= PS3AV_MODE_HDCP_OFF; /* PS3tool only */
         break;
      case 'h':
      default:
         usage();
         exit(1);
         break;
      }
   }

   vid |= opt;

   /* open device */
   if ((fd = open(FB_NAME, O_RDWR)) < 0) {
      printf("error open:%d\n", fd);
      return -1;
   }

   /* ioctl */
   if (vid < 0) {
      vid = 0;
      if ((res = ioctl(fd, PS3FB_IOCTL_GETMODE, (unsigned long)&vid))
            < 0) {
         printf("PS3FB_IOCTL_GETMODE failed, status %d\n", res);
      } else {
         printf("%d\n", vid);
      }
   } else {
      if ((res = ioctl(fd, PS3FB_IOCTL_SETMODE, (unsigned long)&vid))
            < 0) {
         printf("PS3FB_IOCTL_SETMODE failed, status %d\n", res);
      } else {
         printf("video mode:%d\n", vid);
      }
   }

   /* close device */
   close(fd);

   return 0;
}


What point me is this lines:
Code:
case 'H':
   opt |= PS3AV_MODE_HDCP_OFF; /* PS3tool only */
   break;


Yeah is possible to turn off HDCP by software :lol: :P but I mean we need do some kernel patchs or hack the dammed hypervisor
_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Back to top
View user's profile Send private message
sub_zero
Apprentice
Apprentice


Joined: 12 Sep 2004
Posts: 169

PostPosted: Fri Feb 09, 2007 8:20 pm    Post subject: Reply with quote

I'm also interested in anyone who can compile a working kernel. I edited the patch for the joystick for 2.6.18 to work with gentoo-sources 2.6.20, but I can't get the kernel to boot. I'm not entirely sure the patch will work, but it compiles fine and I'd like to try.

@Spindley
I got mythtv and mplayer working better by using fullscreen with ps3videomode, which makes the resolution bigger than the screen. I then mess with the values for both to create a window the size of the actual screen and offset it so they both take up the whole screen without going fullscreen.
Back to top
View user's profile Send private message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Fri Feb 09, 2007 9:50 pm    Post subject: Reply with quote

I got a how to use the Sony pre-patched kernel here:
http://www.daniel.jp/joomla/info/ps3/installing-gentoo-on-the-ps3.html
But cant use it on lu_zero 2.6.19 .... :?

I got success on cd writer using a IDE->USB bridge .... first all I found error -71 and -110 is because power supply is not enough to use the device... then I got a Powered USB HUB... and this works very nice.... LOL!!! :lol: :lol:

Nice now I have a CD/DVD writer on my PS3... hehehe... ok I need it because I sould my PC to buy my PS3!!! :roll:
_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Fri Feb 09, 2007 11:20 pm    Post subject: Reply with quote

Any of you has an usb tv card and/or performed some test encoding speed with lavc/mpeg4/x264?
I'm curious to know what the mencoder/trancoder performances are.....
And more important....are the spe already running in linux, with 2.6.20 kernels?
(I've read it here...)
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/


Last edited by Matteo Azzali on Sat Feb 10, 2007 11:43 am; edited 2 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page Previous  1, 2, 3 ... 10, 11, 12 ... 19, 20, 21  Next
Page 11 of 21

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum