[mythtv-users] Can't capture using PVR250

Shawn Flynn shawn at shawnflynn.com
Tue Mar 30 10:26:15 EST 2004


Hello All,

I have been trying to install a PVR-250 (Freestyle) card in my Myth box, and
appear to have hit a problem that I just haven't been able to figure out. I
have been following the instructions in Jarod's excellent Fedora HowTo and
everything appears to install correctly, but I cannot seem to get anything
out of a 'cat /dev/video0 > /tmp/test_capture.mpg' It always returns after a
few seconds with an error 'cat: /dev/video0: Input/output error' and a zero
length .mpg file. rmmod'ing the ivtv driver and re-loading it doesn't appear
to make any difference. I still get the same error.

Below I've appended the output from whatever I thought might be pertinent. I
don't see anything wrong in it (not that I really know what I'm looking for)
but was hoping someone on the mailing list could have a look and maybe see
something that I've overlooked. Any suggestions as to how to troubleshoot
this would be most welcome.

Shawn Flynn


Machine spec's
MSI 649DPro-AR with dual P3-800EB's
512MB PC133
1x 15GB, 2x 120GB
3DFx Voodoo3 video card
SoundBlaster Live! CT4760
ATi TV Wonder VE
Hauppauge PVR-250 OEM (48432)
RedHat FC1 Kernel smp-2.4.22-1.2174.nptl_37.rhfc1.at


Using current ivtv-firmware from Axel Thimm's rpm.
ivtv-firmware-2.02.023-3.at.i386.rpm

# apt-get install ivtv-kmdl-smp-2.4.22-1.2174.nptl_37.rhfc1.at
# apt-get install ivtv

# lspci -v
00:11.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2
Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc.: Unknown device 4801
        Flags: bus master, medium devsel, latency 32, IRQ 9
        Memory at d4000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2

# vi /etc/modules.conf
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-81-1 bttv
options bttv card=64 radio=0 tuner=2
options ivtv ivtv_debug=1 mpg_buffers=90
options tuner type=2 # NTSC tuner
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 tuner

# modprobe ivtv
# dmesg
ivtv: version 0.1.9 (0.1.10pre1) loading
ivtv: Autodetecting cardtype for card #0
ivtv: Autodetecting cardtype for card #1
ivtv: Autodetecting cardtype for card #2
ivtv: Autodetecting cardtype for card #3
ivtv: Autodetecting cardtype for card #4
ivtv: Autodetecting cardtype for card #5
ivtv: Autodetecting cardtype for card #6
ivtv: Autodetecting cardtype for card #7
ivtv: Autodetecting cardtype for card #8
ivtv: SGarray_size = 400, DSGarray_size = 16
ivtv: Found an iTVC15 based chip
tuner: chip found @ 0xc2
tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
[insmod]
tveeprom.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
tveeprom.c: detecting tveeprom client on address 0xa0
  9 [04] 20 77 00 40 34 71 63 00
  3 [05] 9b 00
  8 [06] 30 bd 00 00 50 14 a5
  2 [07] 70
Not sure what to do with tag [07]
  3 [09] 13 5f
Not sure what to do with tag [09]
  3 [0a] 08 0a
  4 [0b] 98 18 0c
Not sure what to do with tag [0b]
  2 [10] 01
Not sure what to do with tag [10]
  2 [11] 00
Not sure what to do with tag [11]
tvee: Hauppauge: model=48432, rev=I110, serial#=6517044
tvee: tuner=Philips FI1236 MK2 (idx=10, type=2)
tvee: tuner fmt=NTSC(M) (eeprom=0x08, v4l2=0x00001000)
tvee: audio_processor=MSP3440 (type=11)
saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7114.c: detecting saa7114 client on address 0x42
saa7115.c: writing init values
status: (1E) 0x48, (1F) 0xc0
msp34xx: init: chip=MSP3448W-A2, has NICAM support
msp3410: daemon started
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
ivtv: Registered v4l2 device, minor 24
ivtv: loaded

# /usr/bin/test_ioctl -u 0x3000
ioctl: VIDIOC_S_STD
Standard set to 00003000

# /usr/bin/test_ioctl -p 4
ioctl: VIDIOC_S_INPUT
Input set to 4

# /usr/bin/test_ioctl -f width=720,height=480
ioctl: VIDIOC_S_FMT
        Before:
        Type   : Video Capture
        Width  : 720
        Height : 480

        After:
        Type   : Video Capture
        Width  : 720
        Height : 480

# /usr/bin/test_ioctl -v input=3,output=1
ioctl: MSP_SET_MATRIX

# cat /dev/video0 > /tmp/test_capture.mpg
cat: /dev/video0: Input/output error



More information about the mythtv-users mailing list