I guess I'll just keep giving more debugging till I figure it out, or some one 
can help me.  Here's the output from dmesg and ivtvctl.

Mar 27 17:49:22 spider Linux video capture interface: v1.00
Mar 27 17:49:22 spider ivtv: Unknown parameter `mpg_buffers'
Mar 27 17:49:22 spider ivtv: version 0.2.0 (rc3g) loading
Mar 27 17:49:22 spider ivtv: Autodetected WinTV PVR 350 card
Mar 27 17:49:22 spider ivtv: Found an iTVC15 based chip
Mar 27 17:49:22 spider ivtv: Unreasonably low latency timer, setting to 64 (was 
32)
Mar 27 17:49:22 spider ivtv: VIA PCI device: 0x0282 vendor: 0x1106
Mar 27 17:49:22 spider msp34xx: ivtv version
Mar 27 17:49:22 spider msp34xx: init: chip=MSP3448W-A2, has NICAM support, 
simple (D) mode, simpler (G) no-thread mode
Mar 27 17:49:22 spider msp34xx: $Id$ compiled on: Mar 27 2005 00:21:38
Mar 27 17:49:22 spider saa7115: starting probe for adapter ivtv i2c driver #0 
(0x10005)
Mar 27 17:49:22 spider saa7115: detecting saa7115 client on address 0x42
Mar 27 17:49:22 spider saa7115: writing init values
Mar 27 17:49:22 spider saa7115: status: (1E) 0x48, (1F) 0xc0
Mar 27 17:49:22 spider tveeprom: Hauppauge: model = 48132, rev = J323, serial# 
= 7012168
Mar 27 17:49:22 spider tveeprom: tuner = Philips FM1236 (idx = 23, type = 2)
Mar 27 17:49:22 spider tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 
0x00001000)
Mar 27 17:49:22 spider tveeprom: audio_processor = MSP3440 (type = 11)
Mar 27 17:49:22 spider ivtv: Failed to load module tuner
Mar 27 17:49:22 spider saa7127: video encoder driver version V 0.3 loaded
Mar 27 17:49:22 spider saa7127: Selecting NTSC video Standard
Mar 27 17:49:22 spider saa7127: Selecting S-Video+Composite
Mar 27 17:49:22 spider saa7127: Turn WSS off
Mar 27 17:49:22 spider saa7127: Widescreen Mode 4:3 Full Format
Mar 27 17:49:22 spider saa7127: Selecting Normal Encoder Input
Mar 27 17:49:22 spider saa7127: Enable Video Output
Mar 27 17:49:22 spider 2ivtv: Configuring WinTV PVR 350 card with 9 streams
Mar 27 17:49:22 spider ivtv: Create DMA stream 0 using 256 16384 byte buffers  
4194304 kbytes total
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 0 minor 0
Mar 27 17:49:22 spider ivtv: Create DMA stream 1
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 1 minor 32
Mar 27 17:49:22 spider ivtv: Create stream 2 using 40 52224 byte buffers  
2097152 kbytes total
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 2 minor 224
Mar 27 17:49:22 spider ivtv: Create DMA stream 3 using 455 4608 byte buffers  
2097152 kbytes total
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 3 minor 24
Mar 27 17:49:22 spider ivtv: Create stream 4
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 4 minor 64
Mar 27 17:49:22 spider ivtv: Create DMA stream 5 using 16 65536 byte buffers  
1048576 kbytes total
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 5 minor 16
Mar 27 17:49:22 spider ivtv: Create stream 6 using 1024 2048 byte buffers  
262144 kbytes total
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 6 minor 228
Mar 27 17:49:22 spider ivtv: Create stream 7
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 7 minor 232
Mar 27 17:49:22 spider ivtv: Create DMA stream 8
Mar 27 17:49:22 spider ivtv: Registered v4l2 device, streamtype 8 minor 48
Mar 27 17:49:22 spider ivtv: Setting Tuner 2
Mar 27 17:49:22 spider saa7115: decoder set norm NTSC
Mar 27 17:49:22 spider saa7115: set audio: 0x01
Mar 27 17:49:22 spider saa7127: Setting Encoder Video Standard
Mar 27 17:49:22 spider saa7127: Set NTSC Video Mode
Mar 27 17:49:22 spider saa7127: Selecting NTSC video Standard
Mar 27 17:49:22 spider ivtv: Initialized WinTV PVR 350, card #0 

myth linux # ivtvctl -a
ioctl: IVTV_IOC_G_CODEC
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 4500000
bitrate_peak: 6000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 0
dnr_type    : 0
framerate   : 0
framespergop: 15
gop_closure : 1
pulldown    : 0
stream_type : 0
ioctl: VIDIOC_G_FMT
        Type   : Video Capture
        Width  : 480
        Height : 480
ioctl: VIDIOC_QUERYCAP
        Driver name   : ivtv
        Card type     : Vanilla iTVC15 card
        Bus info      : 0
        Driver version: 512
        Capabilities  : 0x01070033
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : Composite 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 1
        Name    : Composite 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 2
        Name    : Composite 2
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 3
        Name    : Composite 3
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 4
        Name    : Tuner 0
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0

        Input   : 5
        Name    : Composite 4
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 6
        Name    : S-Video 0
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 7
        Name    : S-Video 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 8
        Name    : S-Video 2
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

        Input   : 9
        Name    : S-Video 3
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0
ioctl: VIDIOC_G_INPUT
Input = 4
ioctl: VIDIOC_ENUMOUTPUT
        Output  : 0
        Name    : S-Video + Composite
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 1
        Name    : Composite
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 2
        Name    : S-Video
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 3
        Name    : RGB
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 4
        Name    : YUV C
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )

        Output  : 5
        Name    : YUV V
        Type    : 0x00000002
        Audioset: 0x00000001
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
ioctl: VIDIOC_G_OUTPUT
Output = 0
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 = 1076
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 = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 58950
Mute = 0


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of David Sonenberg
Sent: Sun 3/27/2005 1:02 PM
To: Discussion about mythtv; [email protected]
Subject: RE: [mythtv-users] Setup troubles - Please Help
 
Ok I got a little further, but still need some help.  I'm running everything as 
root which seems to fixed the problem of setting the video source.  But when I 
try to watch live tv I get an the message, "Unable to   initialize video"  and 
the console says, "IVTV_IOC_GET_FB: Invalid argument"  Now if I try a 'cat 
/dev/v4l/video0 > my.mpg' I get can view it, but there is a lot of static.  
Details about my system are listed below, let me know if you need any other 
info.  Any help would be appreciated.


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of David Sonenberg
Sent: Sat 3/26/2005 11:30 AM
To: [email protected]
Subject: [mythtv-users] Setup troubles
 
I'm running Gentoo with the 2.6.10-gentoo kernel, ivtv-0.2.0_rc3-r3, 
lirc-0.2.0_rc3-r3 and mythtv-0.17.  The problem I'm having is in the setup for 
Capture card.  I select PVR-250/350, and type in /dev/v4l/video0, but it 
doesn't give me any options for default input.  And if I go back and review the 
settings it switches it back to /dev/video.  On the console I get:
2005-03-26 14:14:23.688 Could not stat file: /dev/v4l/video
2005-03-26 14:14:23.688 Could not stat file: /dev/v4l/video0
2005-03-26 14:14:23.689 Could not stat file: /dev/v4l/video16
2005-03-26 14:14:23.689 Could not stat file: /dev/v4l/video24
2005-03-26 14:14:23.689 Could not stat file: /dev/v4l/video32
2005-03-26 14:14:23.689 Could not stat file: /dev/v4l/video48
2005-03-26 14:14:23.708 
Couldn't open /dev/video1 to probe its inputs.
Couldn't open /dev/video1 to probe its inputs.
Couldn't open /dev/video1 to probe its inputs.
Couldn't open /dev/video1 to probe its inputs.
Couldn't open /dev/video1 to probe its inputs.
Couldn't open /dev/video1 to probe its inputs.
Couldn't open /dev/video1 to probe its inputs.
Couldn't open /dev/video10 to probe its inputs.
Couldn't open /dev/video11 to probe its inputs.
Couldn't open /dev/video12 to probe its inputs.
Couldn't open /dev/video13 to probe its inputs.
Couldn't open /dev/video14 to probe its inputs.

Here's an ls of /dev/v4l/*
myth v4l # ls -la /dev/v4l/*
crw-rw----  1 root video 81,  64 Mar 22 15:08 /dev/v4l/radio0
crw-rw----  1 root video 81, 224 Mar 22 15:08 /dev/v4l/vbi0
crw-rw----  1 root video 81, 228 Mar 22 15:08 /dev/v4l/vbi4
crw-rw----  1 root video 81, 232 Mar 22 15:08 /dev/v4l/vbi8
crw-rw----  1 root video 81,  32 Mar 26 14:05 /dev/v4l/video
crw-rw----  1 root video 81,   0 Mar 22 15:08 /dev/v4l/video0
crw-rw----  1 root video 81,  16 Mar 22 15:08 /dev/v4l/video16
crw-rw----  1 root video 81,  24 Mar 22 15:08 /dev/v4l/video24
crw-rw----  1 root video 81,  32 Mar 22 15:08 /dev/v4l/video32
crw-rw----  1 root video 81,  48 Mar 22 15:08 /dev/v4l/video48


When I do a lspci -v I get
0000:02:02.0 Multimedia video controller: Internext Compression Inc iTVC15 
MPEG-2 Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR-350
        Flags: bus master, medium devsel, latency 64, IRQ 18
        Memory at e8000000 (32-bit, prefetchable)
        Capabilities: [44] Power Management version 2

Finally here's an lsmod
Module                  Size  Used by
snd_seq                51216  0 
snd_pcm_oss            49444  0 
snd_mixer_oss          18048  1 snd_pcm_oss
eth1394                18696  0 
snd_opl3_lib            9472  0 
snd_hwdep               7556  1 snd_opl3_lib
snd_cs4231_lib         22656  0 
snd_mpu401_uart         6656  0 
snd_rawmidi            20384  1 snd_mpu401_uart
snd_seq_device          7180  3 snd_seq,snd_opl3_lib,snd_rawmidi
ohci1394               31876  0 
ieee1394              305464  2 eth1394,ohci1394
nvidia               3915740  12 
snd_intel8x0           28192  0 
snd_ac97_codec         72672  1 snd_intel8x0
snd_pcm                83844  4 
snd_pcm_oss,snd_cs4231_lib,snd_intel8x0,snd_ac97_codec
snd_timer              21636  4 snd_seq,snd_opl3_lib,snd_cs4231_lib,snd_pcm
snd                    45412  13 
snd_seq,snd_pcm_oss,snd_mixer_oss,snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          7940  3 snd_cs4231_lib,snd_intel8x0,snd_pcm
i2c_i801                7820  0 
ata_piix                7428  0 
libata                 40580  1 ata_piix
hw_random               4884  0 
bttv                  147280  0 
video_buf              17796  1 bttv
v4l2_common             4992  1 bttv
btcx_risc               4232  1 bttv
lirc_i2c                7044  1 
lirc_dev               11916  1 lirc_i2c
saa7127                12316  0 
tveeprom               11316  0 
ivtv                  812772  2 
tuner                  21156  0 
saa7115                12312  0 
msp3400                27448  0 
i2c_algo_bit            9352  2 bttv,ivtv
i2c_core               18432  9 
i2c_i801,bttv,lirc_i2c,saa7127,tveeprom,tuner,saa7115,msp3400,i2c_algo_bit
videodev                7552  2 bttv,ivtv
dm_mod                 54784  2 
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to