[mythtv-commits] Ticket #9463: IVTV: PAL/SECAM support broken in 0.24

MythTV noreply at mythtv.org
Sat Jan 8 21:01:50 UTC 2011


#9463: IVTV: PAL/SECAM support broken in 0.24
-------------------------------------------------+-------------------------
 Reporter:  Dominique Corbex <domcox@…>          |           Type:  Bug
   Status:  new                                  |  Report
Milestone:  unknown                              |       Priority:  minor
  Version:  0.24-fixes                           |      Component:  MythTV
 Keywords:  ivtv                                 |  - General
                                                 |       Severity:  medium
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
 Last week, I updated my mythbuntu based system from 9.04 to 10.04LTS (9.04
 → 9.10 → 10.04LTS).

 In the process MythTV was upgraded from 0.21 to 0.24.

 Everything went flawlessy except that after reboot, I was surprised to
 discover a broken video. Sound was ok; but video was now mainly red and
 jerky.

 First, I stopped mythtv-backend and unloaded/loaded ivtv modules:
 {{{
 $ sudo modprobe -r ivtv cx25840 tuner tea5767 tda8290 tda9887 wm8775
 tuner_simple
 $ sudo modprobe ivtv
 }}}
 and then tuned an existing channel (''I live in France, analog system is
 secam-l'')
 {{{
 $ ivtv-tune -t france -c 33 -d/dev/video0
 }}}
 good, video was back.

 Then I made a simple comparison of both setup with:
 {{{
 $ v4l2-ctl --log-status
 }}}
 mythtv-backend stopped and ivtv modules unloaded/reloaded:
 {{{
    [ 4914.991477] ivtv0: GPIO status: DIR=0xdf00 OUT=0x26f3 IN=0x17f7
    [ 4914.994835] cx25840 2-0044: Video signal:              present
    [ 4914.994842] cx25840 2-0044: Detected format:           SECAM
    [ 4914.994848] cx25840 2-0044: Specified standard:        SECAM
    [ 4914.994854] cx25840 2-0044: Specified video input:     Composite 7
 }}}
 mythtv-backend:
 {{{
    [ 3061.987682] ivtv0: GPIO status: DIR=0xdf01 OUT=0x26f3 IN=0x17f7
    [ 3061.991072] cx25840 2-0044: Video signal:              present
    [ 3061.991079] cx25840 2-0044: Detected format:           NTSC-M
    [ 3061.991085] cx25840 2-0044: Specified standard:        SECAM
    [ 3061.991091] cx25840 2-0044: Specified video input:     Composite 7
 }}}
 it seems that MythTV sticks to NTSC. Stopping mythtv-backend and try to
 tune manually changes nothing.

 But if I force secam:
 {{{
 $ v4l2-ctl -s secam-l -d 0
 $ ivtv-tune -t france -c 33 -d/dev/video0
 }}}
 video is back.

 I guess something went wrong about IVTV control in MythTV between 0.21 and
 0.24 version.

 It seems people using PAL TV standard are facing the same trouble:

 http://www.mail-archive.com/ivtv-users@ivtvdriver.org/msg09824.html

 A workaround is to write a small script for tuning an ivtv device, and use
 it as an external channel command in mythtv-setup.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9463>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list