View previous topic :: View next topic |
Author |
Message |
phildrip n00b

Joined: 14 Jul 2003 Posts: 23
|
Posted: Sun Jan 30, 2005 10:19 pm Post subject: HOWTO get saa7134 pal60 working |
|
|
Hi,
I recently found that the saa7134 driver doesn't support the PAL60 mode, which is used by some gamecube games (in Europe, anyway). I don't know if anything else uses it.
I looked through the source code and made this little patch:
Code: |
173,181d172
< #define NORM_625_60 \
< .h_start = 0, \
< .h_stop = 719, \
< .video_v_start = 22, \
< .video_v_stop = 22+239, \
< .vbi_v_start = 10, \
< .vbi_v_stop = 21, \
< .src_timing = 1
<
279,289d269
< },{
< .name = "PAL-60",
< .id = V4L2_STD_PAL_60,
< NORM_625_60,
<
< .sync_control = 0x18,
< .luma_control = 0x40,
< .chroma_ctrl1 = 0x81,
< .chroma_gain = 0x2a,
< .chroma_ctrl2 = 0x06,
< .vgate_misc = 0x1c,
|
This should be applied to the saa7134-video.c file, in /usr/src/linux/drivers/media/video/saa7134/. I've only tried it in a 2.6.10 kernel, if you have another version this should at least get you started.
Then you need to cd to /usr/src/linux and
Code: |
make modules && make modules_install
|
then:
Code: |
rmmod saa7134 && modprobe saa7134
|
Now you should be able to play metroid prime 2 and resident evil 4 (if you imported it!).
Good luck! |
|
Back to top |
|
 |
phildrip n00b

Joined: 14 Jul 2003 Posts: 23
|
Posted: Wed Aug 10, 2005 9:10 am Post subject: |
|
|
Since kernel 2.6.12, my patch appears to have been included in the main kernel tree so patching is no longer necessary. |
|
Back to top |
|
 |
|
|
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
|
|