[mythtv-users] Problem with PVR-250 - zero byte mpg files
mail bag
mailbag at alanwsmith.com
Sun Oct 19 20:12:02 EDT 2003
Hello folks,
I think I"m close to getting an install up and running based of the great information on this page (http://pvrhw.goldfish.org/tiki-page.php?pageName=rh9pvr250), but I"m not quite there yet. I"m using a WindTV PVR-250 on RH9.
I've walked thru the entire install process listed on the page mentioned above. (I had to update my /etc/apt/sources.list file to append 'freshrpms' to the 'rpm http://ayo.freshrpms.net redhat/9/i386 os updates' line)
After installing (with $KERNEL = 2.4.20-20_29.rh9.at):
# apt-get install ivtv-kmdl-$KERNEL
# apt-get install ivtv
and adding the following to /etc/modules.conf
# For ivtv
path[toplevel]=/lib/modules/`uname -r`/drivers/media/video
# For bttv and saa7134
path[toplevel]=/lib/modules/`uname -r`/v4l2
# default path
path[toplevel]=/lib/modules/`uname -r`
# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
options ivtv debug=1
options tuner type=2
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 tuner
I issue:
# depmod -ae
which returns:
depmod: *** Unresolved symbols in \
/lib/modules/2.4.20-20_29.rh9.at/drivers/media/video/ivtv-fb.o
depmod: pte_offset
There was a theard in the archive that suggests that this may be related to the output of a 350 card and might not be a problem. So, I continue with:
# /sbin/modprobe ivtv
I issues this from a remote SSH terminal, and don't receive any output on there. However, the following shows up on tty1:
ivtv: SGarray_size = 200, DSGarray_size = 16
ivtv: Found an iTVC15 based chip
tuner: probing ivtv i2c driver #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 \
and compatibles)) [insmod]
status: (1E) 0x48, (1F) 0xc0
msp3410: daemon started
ivtv: error getting Encoder firmware version
ivtv: error getting Decoder firmware version
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
I issue this as user mythtv:
$ /sbin/lspci -v
and see (among other things):
00:0d.0 Multimedia video controller: Internext Compression \
Inc iTVC15 MPEG-2 Encoder (rev 01)
Subsystem: Hauppauge computer works Inc.: Unknown device 4001
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at 48000000 (32-bit, prefetchable) [size=64M]
Capabilities: <available only to root>
Then:
$ ll /dev/video*
shows this:
crw------- 1 root root 81, 0 Jan 30 2003 /dev/video0
crw------- 1 root root 81, 1 Jan 30 2003 /dev/video1
crw------- 1 root root 172, 0 Jan 30 2003 /dev/video1394
crw------- 1 root root 81, 2 Jan 30 2003 /dev/video2
crw------- 1 root root 81, 3 Jan 30 2003 /dev/video3
/dev/video:
total 0
crw------- 1 root root 10, 204 Jan 30 2003 em8300
crw------- 1 root root 10, 206 Jan 30 2003 em8300_ma
crw------- 1 root root 10, 205 Jan 30 2003 em8300_mv
crw------- 1 root root 10, 207 Jan 30 2003 em8300_sp
And then:
[root at localhost root]# /usr/lib/ivtv/test_ioctl -u 0x3000
ioctl: VIDIOC_S_STD
Standard set to 00003000
[root at localhost root]# /usr/lib/ivtv/test_ioctl -p 4
ioctl: VIDIOC_S_INPUT
Input set to 4
[root at localhost root]# /usr/lib/ivtv/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
[root at localhost root]# /usr/lib/ivtv/test_ioctl -v input=3,output=1
ioctl: MSP_SET_MATRIX
[root at localhost root]#
Note: All this is being done thru a remote ssh terminal, but the command: /usr/lib/ivtv/test_ioctl -f width=720,height=480 also produces the following output on tty1:
Setting full NTSC width
Setting full NTSC height
Next:
# cat /dev/video0 > /tmp/test_capture.mpg
Noting show up on the ssh terminal, but tty1 outputs (Note long about error 6 was where I hit 'Ctrl-c'):
ivtv: init error 1. Code -16
ivtv: init error 2. Code -16
<clip>
ivtv: init error 18. Code -16
ivtv: init error 20. Code -16
ivtv: startcap error 2. Code -16
ivtv: init error 19. Code -16
ivtv: startcap error 1. Code -16
ivtv: stopcap error 1. Code -16
ivtv: stopcap error 2. Code -16
ivtv: EOS interrupt not received! stopping anyway.
Looking in '/tmp' shows:
-rw-r--r-- 1 root root 0 Oct 19 14:53 test_capture.mpg
For fun, I tried:
# /sbin/rmmod ivtv
Returns nothing on the remote ssh terminal, but tty1 gets:
ivtv: stop_fw error 2. Code -16
ivtv: stop_fw error 3. Code -16
ivtv: stop_fw error 4. Code -16
ivtv: You've not seen the last of willy!
Finally:
# /sbin/modprobe ivtv
Returns the same output as above on tty1.
Any ideas about what I may have done to keep this from working?
Thanks much,
-Alan
More information about the mythtv-users
mailing list