Ahh thanks, I knew I missed something obvious.

   Now, I have cat and dd working, except with no audio from the tuner on 
any channel.  All the card settings (via ivtvctl) look great (see below) 
and I don't believe anything related to other audio could affect the 'cat 
/dev/video0 > test.mpg' (which I then copy to and test on another 
computer).  My only guess is firmware, so I'm going to start trying others 
instead of the ones included in the ivtv-firmware-1.8a-8.at rpm.  Anyone 
have a suggestion on which version might fix this?  PVR-350 purchased at 
the end of 2003 in the US.


Thanks,

Lars



# ivtvctl -a
ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 8000000
bitrate_peak: 9600000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type    : 0
framerate   : 0
framespergop: 15
gop_closure : 1
pulldown    : 0
stream_type : 14
ioctl VIDIOC_G_FMT ok
         Type   : Video Capture
         Width  : 720
         Height : 480
ioctl VIDIOC_QUERYCAP ok
         Driver name   : ivtv
         Card type     : WinTV PVR 350
         Bus info      : 0000:00:09.0
         Driver version: 1025
         Capabilities  : 0x010700F3
ioctl: VIDIOC_ENUMINPUT
         Input   : 0
         Name    : Composite 0
         Type    : 0x00000002
         Audioset: 0x00000003
         Tuner   : 0x00000000
         Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
         Status  : 0

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

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

         Input   : 3
         Name    : Composite 3
         Type    : 0x00000002
         Audioset: 0x00000003
         Tuner   : 0x00000000
         Standard: 0x00000000007F7FFF ( 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: 0x00000000007F7FFF ( PAL NTSC SECAM )
         Status  : 0

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

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

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

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

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

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

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

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

         Output  : 5
         Name    : YUV V
         Type    : 0x00000002
         Audioset: 0x00000001
         Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
ioctl VIDIOC_G_OUTPUT ok
Output = 0
ioctl: VIDIOC_ENUMAUDIO
         Input   : 0
         Name    : Tuner Audio In

         Input   : 1
         Name    : Audio Line In
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
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 ok
Video standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = 128
Contrast = 64
Saturation = 64
Hue = 0
Volume = 0
Mute = 0





On Wed, 11 Jan 2006 [EMAIL PROTECTED] wrote:

> To use ivtvfbctl, you need to specify the device with
> --device=<>, as in
>
> ivtvfbctl --device=/dev/fb1 --globalalpha=off
> --localalpha=on
>
>
> --- Lars Kelto <[EMAIL PROTECTED]> wrote:
>
>>
>>
>>    To see if PVR-350 playback works for me yet
>> (didn't two years ago), I decided
>> to wipe out and redo a myth box.  I'm using FC4 and
>> Jarod's always-useful
>> howto.
>>
>>    Things were generally good.  Modules (including
>> ivtv-fb) installed and loaded
>> okay.
>>
>> Works great:
>> modprobe saa7127 test_image=1
>>
>> Works great, good data:
>> cat /dev/video0 > test.mpg
>>
>> Trouble:
>> ivtvfbctl /dev/fb1 --globalalpha=off --localalpha=on
>> IVTVFB_IOCTL_GET_STATE failed (error: Invalid
>> argument)
>>
>>
>>    I discovered the new argument syntax, but
>> anything I do with ivtvfbctl
>> returns IVTVFB_IOCTL_GET_STATE failed (error:
>> Invalid argument)  So first thing
>> I double-check is my fb device.  It is indeed, as
>> shown below, /dev/fb1  UH oh,
>> there goes my easy answer.  Am I missing something
>> else simple about ivtv-fb?
>>
>>    I should note that I got further than this two
>> years ago, so hardware
>> shouldn't be the issue.  I was always able to change
>> fb settings through the
>> utilities, and displav X through the 350, it just
>> bombed out after playing
>> video a bit.
>>
>>
>>
>> Relevant dmesg:
>>
>> ivtv: no version for "struct_module" found: kernel
>> tainted.
>> ivtv:  ==================== START INIT IVTV
>> ====================
>> ivtv:  version 0.4.1 (tagged release) loading
>> ivtv:  Linux version: 2.6.14-1.1656_FC4 686 REGPARM
>> 4KSTACKS gcc-4.0
>> ivtv:  In case of problems please include the debug
>> info between
>> ivtv:  the START INIT IVTV and END INIT IVTV lines,
>> along with
>> ivtv:  any module options, when mailing the
>> ivtv-users mailinglist.
>> ivtv0: Autodetected WinTV PVR 350 card (cx23415
>> based)
>> ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 12
>> PCI: setting IRQ 12 as level-triggered
>> ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB]
>> -> GSI 12 (level, low) ->
>> IRQ 12
>> ivtv0: Unreasonably low latency timer, setting to 64
>> (was 32)
>> tveeprom: ivtv version
>> tveeprom: Hauppauge: model = 48132, rev = J323,
>> serial# = 6813616
>> tveeprom: tuner = Philips FM1236 (idx = 23, type =
>> 2)
>> tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 =
>> 0x00001000)
>> tveeprom: audio processor = MSP4448 (type = 1b)
>> tveeprom: decoder processor = SAA7115 (type = 13)
>> ivtv0: i2c attach to card #0 ok [client=tveeprom,
>> addr=50]
>> tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
>> ivtv0: i2c attach to card #0 ok [client=(tuner
>> unset), addr=61]
>> saa7115 1-0021: ivtv driver
>> saa7115 1-0021: saa7115 found @ 0x42 (ivtv i2c
>> driver #0)
>> ivtv0: i2c attach to card #0 ok [client=saa7115,
>> addr=21]
>> saa7127 1-0044: ivtv driver
>> saa7127 1-0044: saa7127 found @ 0x88 (ivtv i2c
>> driver #0)
>> ivtv0: i2c attach to card #0 ok [client=saa7127,
>> addr=44]
>> msp34xx: init: chip=MSP3448W-A2 +nicam +simple
>> +simpler +radio mode=simpler
>> ivtv0: i2c attach to card #0 ok [client=MSP3448W-A2,
>> addr=40]
>> msp34xxg: daemon started
>> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144
>> bytes)
>> ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144
>> bytes)
>> ivtv0: Encoder revision: 0x02050032
>> ivtv0: Decoder revision: 0x02020023
>> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768
>> buffers (4096KB total)
>> ivtv0: Allocate DMA encoder YUV stream: 194 x 10800
>> buffers (2048KB total)
>> ivtv0: Allocate DMA encoder VBI stream: 120 x 17472
>> buffers (2048KB total)
>> ivtv0: Allocate DMA encoder PCM audio stream: 455 x
>> 4608 buffers (2048KB total)
>> ivtv0: Create encoder radio stream
>> ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536
>> buffers (1024KB total)
>> ivtv0: Allocate DMA decoder VBI stream: 512 x 2048
>> buffers (1024KB total)
>> ivtv0: Create decoder VOUT stream
>> ivtv0: Allocate DMA decoder YUV stream: 24 x 43200
>> buffers (1024KB total)
>> ivtv0: loaded v4l-cx2341x-init-mpeg.bin firmware
>> (155648 bytes)
>> tuner 1-0061: type set to 2 (Philips NTSC
>> (FI1236,FM1236 and compatibles))
>> ivtv0: Initialized WinTV PVR 350, card #0ivtv:
>> ====================  END INIT
>> IVTV  ====================
>> ivtv0-osd: Framebuffer module loaded (attached to
>> ivtv card id 0)
>> ivtv0-osd warning: Framebuffer is at
>> decoder-relative address 0x00510000 and
>> has 1704960 bytes.
>> ivtv0-osd: screen coords: [0 0] -> [720 480]
>> ivtv0-osd: original global alpha = 208
>> ivtv0-osd: current OSD state = 39
>> ivtv0-osd: new global alpha = 208 (1 255 0)
>> ivtv0-osd: framebuffer at 0xdd510000, mapped to
>> 0xdfb10000, size 1350k
>> ivtv0-osd: mode is 720x480x32, linelength=2880
>> ivtv0-osd: fb1: cx23415 TV out frame buffer device
>> ivtv0: Allocate DMA decoder OSD stream: 16 x 65536
>> buffers (1024KB total)
>>
>>
>> Relevant devices:
>>
>> # ls -l /dev/fb*
>> lrwxrwxrwx  1 root root     3 Jan 11 07:40 /dev/fb
>> -> fb0
>> crw-------  1 root root 29, 0 Jan 11 07:40 /dev/fb0
>> crw-------  1 root root 29, 1 Jan 11 12:40 /dev/fb1
>>
>>
>> Relevant lsmod:
>>
>> ivtv_fb                35080  0
>> tda9887                14033  0
>> msp3400                25057  0
>> saa7127                10644  0
>> saa7115                13968  0
>> tuner                  39029  0
>> tveeprom               12332  0
>> ivtv                  202004  1 ivtv_fb
>> i2c_algo_bit            9289  1 ivtv
>> videodev                9665  1 ivtv
>> shpchp                 93317  0
>> i2c_viapro              8401  0
>> i2c_core               22081  8
>>
> tda9887,msp3400,saa7127,saa7115,tuner,tveeprom,i2c_algo_bit,i2c_viapro
>>
>>
>> Relevant lspci:
>>
>> 00:09.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 12
>>          Memory at dc000000 (32-bit, prefetchable)
>> [size=64M]
>>          Capabilities: [44] Power Management version
>> 2
>>
>>
>> Relevant modprobe.conf:
>>
>> # ivtv
>> alias char-major-81 videodev
>> alias char-major-81-0 ivtv
>> alias tveeprom tveeprom-ivtv
>> install ivtv /sbin/modprobe --ignore-install ivtv;
>> /sbin/modprobe ivtv-fb
>>
>>
>> Firmware RPM: ivtv-firmware-1.8a-8.at
>>
>>
>>
>>
>>
>> Thanks,
>>
> === message truncated ===
>
>
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel
>

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to