I apologize if this issue is off-topic for this list. However, the user list 
seems pretty low volume, and I haven't had any response from my original post. 
Here is that original post:
I'm having trouble with my pvr-150 mce card. The problem is that I can't
get capture working at all, though I seem to be able to tune the card,
set channels, etc. And ivtvctl seems to detect a signal, which
disappears when I disconnect the input cable. So I know something is
working, but it is not getting through. 

I'm running Ubuntu Dapper Drake:
[EMAIL PROTECTED]:~# uname -a
Linux copernicus 2.6.15-18-386 #1 PREEMPT Thu Mar 9 14:41:49 UTC 2006
i686 GNU/Linux
IVTV version 0.4-0.4.3 apt-gotten from 
        deb http://www.hellion.org.uk/debian sid main
        deb-src http://www.hellion.org.uk/debian sid main

I've read the warnings to make sure the device is properly tuned and the
input device set. I've tried all the inputs, 0-4, thus:
[EMAIL PROTECTED]:~# ivtvctl -p 0
ioctl VIDIOC_S_INPUT ok
Video input set to 0

I tune it:
[EMAIL PROTECTED]:~# ivtv-tune -c34
/dev/video0: 283.250 MHz  (Signal Detected)

cat /dev/video0 > capture.mpg results in an empty file, for each input.

I did notice the following in dmesg, after stopping the capture:
[4295302.343000] ivtv0 warning: ENC: REG_DMAXFER 2 wait failed
[4295304.371000] ivtv0 warning: ENC: DMA still Pending while stopping
capture!
[4295305.353000] ivtv0 warning: DEC: REG_ENCSG1LEN wait failed

I wonder if this is related to buggy dma on my board? I've seen the
warnings that the VIA chipset is buggy and has some problems with
ivtv...

dmesg output: 

[4294702.273000] Linux video capture interface: v1.00
[4294702.378000] ivtv:  ==================== START INIT IVTV
====================
[4294702.378000] ivtv:  version 0.4.3 (tagged release) loading
[4294702.378000] ivtv:  Linux version: 2.6.15-17-386 preempt 486 gcc-4.0
[4294702.378000] ivtv:  In case of problems please include the debug
info between
[4294702.378000] ivtv:  the START INIT IVTV and END INIT IVTV lines,
along with
[4294702.378000] ivtv:  any module options, when mailing the ivtv-users
mailinglist.
[4294702.378000] ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
[4294702.378000] ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKA] ->
GSI 10 (level, low) -> IRQ 10
[4294702.379000] ivtv0: Unreasonably low latency timer, setting to 64
(was 32)
[4294702.444000] tveeprom: ivtv version
[4294702.444000] tveeprom: Hauppauge: model = 26552, rev = B258, serial#
= 7499341
[4294702.444000] tveeprom: tuner = Philips FM1236 MK3 (idx = 58, type =
43)
[4294702.444000] tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 =
0x00001000)
[4294702.444000] tveeprom: audio processor = CX25843 (type = 25)
[4294702.444000] tveeprom: decoder processor = CX25843 (type = 1e)
[4294702.444000] ivtv0: i2c attach to card #0 ok [client=tveeprom,
addr=50]
[4294702.471000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c
driver #0
[4294702.471000] ivtv0: i2c attach to card #0 ok [client=(tuner unset),
addr=61]
[4294702.673000] cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c
driver #0)
[4294703.527000] ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKA] ->
GSI 10 (level, low) -> IRQ 10
[4294703.582000] ieee1394: Host added: ID:BUS[0-00:1023]
GUID[0005160000451322]
[4294703.827000] input: ImPS/2 Generic Wheel Mouse
as /class/input/input1
[4294703.877000] ts: Compaq touchscreen protocol output
[4294706.658000] cx25840 1-0044: loaded v4l-cx25840.fw firmware (14264
bytes)
[4294706.706000] ivtv0: i2c attach to card #0 ok [client=cx25840,
addr=44]
[4294706.781000] wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
[4294706.788000] ivtv0: i2c attach to card #0 ok [client=wm8775,
addr=1b]
[4294706.835000] tda9887 1-0043: (ivtv) chip found @ 0x86 (ivtv i2c
driver #0)
[4294706.835000] ivtv0: i2c attach to card #0 ok [client=tda9887,
addr=43]
[4294707.640000] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144
bytes)
[4294707.850000] ivtv0: Encoder revision: 0x02050032
[4294707.850000] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768
buffers (4096KB total)
[4294707.851000] ivtv0: Allocate DMA encoder YUV stream: 194 x 10800
buffers (2048KB total)
[4294707.852000] ivtv0: Allocate DMA encoder VBI stream: 120 x 17472
buffers (2048KB total)
[4294707.853000] ivtv0: Allocate DMA encoder PCM audio stream: 455 x
4608 buffers (2048KB total)
[4294707.855000] ivtv0: Create encoder radio stream
[4294707.855000] tuner: type set to 43 (Philips NTSC MK3 (FM1236MK3 or
FM1236/F)) by ivtv i2c driver #0
[4294708.042000] ivtv0: Initialized WinTV PVR 150, card #0
[4294708.047000] ivtv:  ====================  END INIT IVTV
====================

output of ivtvctl -a

[EMAIL PROTECTED]:~# ivtv -a
bash: ivtv: command not found
[EMAIL PROTECTED]:~# 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 150
        Bus info      : 0000:00:0c.0
        Driver version: 1027
        Capabilities  : 0x01070011
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : Tuner
        Type    : 0x00000001
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x0000000000003000 ( NTSC )
        Status  : 0

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

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

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

        Input   : 4
        Name    : S-Video 1
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
        Status  : 0
ioctl VIDIOC_G_INPUT ok
Video input = 4
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
        Input   : 0
        Name    : Tuner Audio In

        Input   : 1
        Name    : Audio Line 1

        Input   : 2
        Name    : Audio Line 2

        Input   : 3
        Name    : Audio Line 3

        Input   : 4
        Name    : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 2: Audio Line 2
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 3476
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 = 60928
Mute = 0



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

Reply via email to