[mythtv-users] PVR250 Sound but Video is messed

Terrence Martin tmartin at physics.ucsd.edu
Thu Aug 12 16:22:35 EDT 2004


So I installed my PVR250 last night. Probably too late actually. Not 
generally a good idea to do hardware when you are tired, but oh well. :)

Things were a bit more complicated since there are plenty of example 
modules.conf files, but few modprobe.conf files on the web.

The problem I appear to be having is that when I run mplayer /dev/video1 
I get sound fine, but the picture is all crumpled up like an according 
at an angle. Like the picture is zigzaged across the screen. ptune 
allows me to change channels and I know they change because the audio 
changes appropriately.

I assume this is a tuner issue, but at least as far as I can tell from 
the dmesg output the tuner is being set correctly. I originally manually 
set it, with similar results. Audio, no clear picture.

tveeprom: Hauppauge: model = 32032, rev = B326, serial# = 7193077
tveeprom: tuner = Temic 4036FY5 (idx = 26, type = 8)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3440 (type = 11)
...
ivtv: i2c attach [client=tveeprom[0],ok]
ivtv: Tuner Type 8, Tuner formats 0x00001000, Radio: yes, Model 
0x00893496, Revision 0x00000000
ivtv: NTSC tuner detected
ivtv: Radio detected
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
...
ivtv: Setting Tuner 8
tuner: type set to 8 (Temic NTSC (4036 FY5)) by ivtv i2c driver #0
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01

I am using the ATrpms.net FC2 ivtv packages.

kernel-module-ivtv-2.6.7-1.494.2.2-0.1.10-40_pre2_ck100m.rhfc2.at
ivtv-firmware-2.02.023-3.at
ivtv-0.1.10-40_pre2_ck100m.rhfc2.at

Here is my modeprobe.conf

alias char-major-81     videodev
alias char-major-81-0   ivtv
alias char-major-61 lirc_i2c
options ivtv debug=1
options tuner
options msp3400 once=1 simple=1

Here are my modprobe settings in rc.local

modprobe msp3400
modprobe videodev
modprobe saa7115
modprobe ivtv
modprobe tuner
ivtvctl -d /dev/video1 -u 0x3000 -p 4
ivtvctl -d /dev/video1 -f width=480,height=480
ivtvctl -d /dev/video1 -c bitrate=8000000,bitrate_peak=16000000
ivtvctl -d /dev/video1 --set-codec-params=dnr_mode=0,dnr_temporal=0
modprobe lirc_i2c

Of note is that all but the first ivtvctl line fails when run manually.

root at multi ~/ivtv# ivtvctl -d /dev/video1 -f width=480,height=480
ioctl: VIDIOC_S_FMT
        Before:
        Type   : Video Capture
        Width  : 320
        Height : 240
ioctl: VIDIOC_G_FMT failed
root at multi ~/ivtv# ivtvctl -d /dev/video1 -c 
bitrate=8000000,bitrate_peak=16000000
ioctl: IVTV_IOC_S_CODEC
ioctl: IVTV_IOC_G_CODEC failed
root at multi ~/ivtv# ivtvctl -d /dev/video1 
--set-codec-params=dnr_mode=0,dnr_temporal=0
ioctl: IVTV_IOC_S_CODEC
ioctl: IVTV_IOC_G_CODEC failed
root at multi ~/ivtv# ivtvctl -d /dev/video1 -u 0x3000 -p 4
ioctl: VIDIOC_S_STD
Standard set to 00003000
ioctl: VIDIOC_S_INPUT
Input set to 4
root at multi ~/ivtv#

Here is ivtvctl -a abridged....

ioctl: VIDIOC_G_FMT
        Type   : Video Capture
        Width  : 720
        Height : 480
ioctl: VIDIOC_QUERYCAP
        Driver name   : ivtv
        Card type     : Vanilla iTVC15 card
        Bus info      : 0
        Driver version: 266
        Capabilities  : 0x01070011
...
ioctl: VIDIOC_G_INPUT
Input = 4
ioctl: VIDIOC_ENUMOUTPUT
ioctl: VIDIOC_G_OUTPUT
ioctl: VIDIOC_G_OUTPUT failed
ioctl: VIDIOC_ENUMAUDIO
        Input   : 0
        Name    : Tuner Audio In

        Input   : 1
        Name    : Audio Line In
ioctl: VIDIOC_G_AUDIO
Input = 0: Tuner Audio In
ioctl: VIDIOC_G_FREQUENCY
Frequency = 980
ioctl: VIDIOC_ENUMSTD
        index       : 0
        ID          : 0x0000000000003000
        Name        : NTSC
        Frame period: 1001/30000
        Frame lines : 525

        index       : 1
        ID          : 0x00000000000000FF
        Name        : PAL
        Frame period: 1/25
        Frame lines : 625

        index       : 2
        ID          : 0x00000000007F0000
        Name        : SECAM
        Frame period: 1/25
        Frame lines : 625
ioctl: VIDIOC_G_STD
Standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58950
Mute = 0


Any thoughts?

Thanks,

Terrence








More information about the mythtv-users mailing list