Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO get saa7134 pal60 working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
phildrip
n00b
n00b


Joined: 14 Jul 2003
Posts: 23

PostPosted: Sun Jan 30, 2005 10:19 pm    Post subject: HOWTO get saa7134 pal60 working Reply with quote

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
View user's profile Send private message
phildrip
n00b
n00b


Joined: 14 Jul 2003
Posts: 23

PostPosted: Wed Aug 10, 2005 9:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
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