I've compiled and installed the latest IVTV driver - ivtv-0.4.3.
Everything went according to the instructions at
http://ivtvdriver.org/index.php/Howto.  The driver loads (but with some
error messages).  I see /dev/video0.  However, when I cat /dev/video0, I
get nothing, with the following in /var/log/messages:

    Mar  1 12:22:17 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0xc0cc5605!
    Mar  1 12:22:17 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0x40045613!
    Mar  1 12:22:17 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0x40045612!

Here's my procedure:

First, I shut down the machine for 30 seconds, to get a cold boot (as
per a suggestion somewhere).  After booting, I do:

    # modprobe ivtv

I get the following in /var/log/messages:

    Mar  1 12:21:58 office kernel: ivtv:  ==================== START
    INIT IVTV ====================
    Mar  1 12:21:58 office kernel: ivtv:  version 0.4.3 (tagged release)
    loading
    Mar  1 12:21:58 office kernel: ivtv:  Linux version: 2.6.11-6mdk 686
    gcc-3.4
    Mar  1 12:21:58 office kernel: ivtv:  In case of problems please
    include the debug info between
    Mar  1 12:21:58 office kernel: ivtv:  the START INIT IVTV and END
    INIT IVTV lines, along with
    Mar  1 12:21:58 office kernel: ivtv:  any module options, when
    mailing the ivtv-users mailinglist.
    Mar  1 12:21:58 office kernel: ivtv0: Autodetected WinTV PVR 150
    card (cx23416 based)
    Mar  1 12:21:58 office kernel: tveeprom: ivtv version
    Mar  1 12:21:58 office kernel: tveeprom: Hauppauge: model = 26552,
    rev = F0A3, serial# = 8917936
    Mar  1 12:21:58 office kernel: tveeprom: tuner = TCL MFNM05-4 (idx =
    103, type = 43)
    Mar  1 12:21:58 office kernel: tveeprom: tuner fmt = NTSC(M) (eeprom
    = 0x08, v4l2 = 0x00001000)
    Mar  1 12:21:58 office kernel: tveeprom: audio processor = CX25843
    (type = 25)
    Mar  1 12:21:58 office kernel: tveeprom: decoder processor = CX25843
    (type = 1e)
    Mar  1 12:21:58 office kernel: ivtv0: i2c attach to card #0 ok
    [client=tveeprom, addr=50]
    Mar  1 12:21:58 office kernel: tuner (ivtv): chip found at addr 0xc2
    i2c-bus ivtv i2c driver #0
    Mar  1 12:21:58 office kernel: ivtv0: i2c attach to card #0 ok
    [client=(tuner unset), addr=61]
    Mar  1 12:21:58 office kernel: ivtv0: Failed to load module cx25840
    Mar  1 12:21:58 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0xc008561c!
    Mar  1 12:21:58 office kernel: ivtv0: Failed to load module wm8775
    Mar  1 12:21:58 office kernel: tda9887 0-0043: (ivtv) chip found @
    0x86 (ivtv i2c driver #0)
    Mar  1 12:21:58 office kernel: ivtv0: i2c attach to card #0 ok
    [client=tda9887, addr=43]
    Mar  1 12:21:59 office kernel: ivtv0: loaded v4l-cx2341x-enc.fw
    firmware (262144 bytes)
    Mar  1 12:21:59 office kernel: ivtv0: Encoder revision: 0x02050032
    Mar  1 12:21:59 office kernel: ivtv0: Allocate DMA encoder MPEG
    stream: 128 x 32768 buffers (4096KBtotal)
    Mar  1 12:21:59 office kernel: ivtv0: Allocate DMA encoder YUV
    stream: 194 x 10800 buffers (2048KB total)
    Mar  1 12:21:59 office kernel: ivtv0: Allocate DMA encoder VBI
    stream: 120 x 17472 buffers (2048KB total)
    Mar  1 12:21:59 office kernel: ivtv0: Allocate DMA encoder PCM audio
    stream: 455 x 4608 buffers (2048KB total)
    Mar  1 12:21:59 office kernel: ivtv0: Create encoder radio stream
    Mar  1 12:21:59 office kernel: tuner: type set to 43 (Philips NTSC
    MK3 (FM1236MK3 or FM1236/F)) by ivtv i2c driver #0
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0x40085618!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0xc0045627!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x1b
    not found for command 0x40046d11!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0x40046d11!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0x40085618!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0xc008561c!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0x40045613!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x1b
    not found for command 0x402c5639!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0x402c5639!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0x40045612!
    Mar  1 12:21:59 office kernel: ivtv0 warning: i2c client addr: 0x44
    not found for command 0xc008561c!
    Mar  1 12:21:59 office kernel: ivtv0: Initialized WinTV PVR 150, card #0
    Mar  1 12:21:59 office kernel: ivtv:  ====================  END INIT
    IVTV  ====================

As you can see, I get the error "Failed to load module cx25840", then
some more errors.

For reference:

    # cd /usr/lib/hotplug/firmware
    # md5sum *
    305dba74bbe5905447add8883f3ecb68  v4l-cx2341x-dec.fw
    5f5fa240ada73c3565f5f7de4c7b5138  v4l-cx2341x-enc.fw
    0661f8b2693fe3123e6234557353eacc  v4l-cx2341x-init.mpg
    3a4803384f749d644ee1f1ca9dcb12fa  v4l-cx25840.fw

This checks out, according to the Howto.

Running

    # ./ivtvctl -a

I get

--------------------------------------------------------------------
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:0b.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 = 0
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 = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 3188
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
error getting ctrl Brightness
error getting ctrl Contrast
error getting ctrl Saturation
error getting ctrl Hue
Volume = -873013848
Mute = -873013848
----------------------------------------------------------------------

I then do

    $ cat /dev/video0

and nothing is produced, with errors generated in /var/log/messages as
described at the top of the message.

Any suggestions as to what could be wrong?

Thanks.

    - Chuck Messenger

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

Reply via email to