By Date: <-- -->
By Thread: <-- -->

Problems with WinTV HVR-1100 capture and/or overlay



Hi there,

I'm experiencing some trouble trying to make my new WinTV HVR-1100 run
under linux. WinTV works fine, but all other applications I've tried so
far complain about one thing or another (usually relating to capture/and
or overlay). See two examples below. I've already updated my kernel to
2.6.16-mm2 but it did not help. Neither did searching the web.

What's missing/wrong? I'd be grateful for any hint! Thanks a lot!

Marcus

mr (at) casimir:~$ xawtv
This is xawtv-3.94, running on Linux/i686 (2.6.16-mm2)
/dev/video0 [v4l2]: ioctl VIDIOC_G_FBUF: Invalid argument
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOC_G_FBUF(capability=0x0 [];flags=0x0
[];base=(nil);fmt.width=0;fmt.height=0;fmt.pixelformat=0x00000000
[....];fmt.field=ANY;fmt.bytesperline=0;fmt.sizeimage=0;fmt.colorspace=unknown;fmt.priv=0):
Das Argument ist ungültig
Warning: Cannot convert string
"-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl:
VIDIOC_TRY_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=47;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)):
Das Argument ist ungültig
ioctl:
VIDIOC_S_FMT(type=VIDEO_OVERLAY;fmt.win.w.left=3;fmt.win.w.top=47;fmt.win.w.width=384;fmt.win.w.height=288;fmt.win.field=ANY;fmt.win.chromakey=0;fmt.win.clips=(nil);fmt.win.clipcount=0;fmt.win.bitmap=(nil)):
Das Argument ist ungültigioctl: VIDIOC_OVERLAY(int=0): Das Argument ist
ungültig
.... etc etc ...

Switching capture to "grabdisplay" at least displays a picture.

mr (at) casimir:~$ kvdr.real
VIDIOCGFBUF: Das Argument ist ungültig
kvdr and v4l-conf disagree about the framebuffer geometry
overlay will not be shown
kvdr: FbAddr=1 Bpp=-1495858357 height=-1488353225 width=135148520
bps=-1483176368
v4l : FbAddr=d0000000 Bpp=32 height=1024 width=1280 bps=383548944
VIDIOCCAPTURE: Das Argument ist ungültig
VIDIOCCAPTURE: Das Argument ist ungültig
.... etc ... etc .....


This is the output of v4l-info:

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "cx8800"
        card                    : "Hauppauge WinTV-HVR1100 DVB-T/H"
        bus_info                : "PCI:0000:00:08.0"
        version                 : 0.0.5
        capabilities            : 0x5010015
[VIDEO_CAPTURE,VIDEO_OVERLAY,VBI_CAPTURE,TUNER,READWRITE,STREAMING]

standards
    VIDIOC_ENUMSTD(0)
        index                   : 0
        id                      : 0x1000 [NTSC_M]
        name                    : "NTSC-M"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(1)
        index                   : 1
        id                      : 0x2000 [NTSC_M_JP]
        name                    : "NTSC-JP"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(2)
        index                   : 2
        id                      : 0x7 [PAL_B,PAL_B1,PAL_G]
        name                    : "PAL-BG"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(3)
        index                   : 3
        id                      : 0xe0 [PAL_D,PAL_D1,PAL_K]
        name                    : "PAL-DK"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(4)
        index                   : 4
        id                      : 0x10 [PAL_I]
        name                    : "PAL-I"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(5)
        index                   : 5
        id                      : 0x100 [PAL_M]
        name                    : "PAL-M"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(6)
        index                   : 6
        id                      : 0x200 [PAL_N]
        name                    : "PAL-N"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(7)
        index                   : 7
        id                      : 0x400 [PAL_Nc]
        name                    : "PAL-Nc"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(8)
        index                   : 8
        id                      : 0x800 [PAL_60]
        name                    : "PAL-60"
        frameperiod.numerator   : 1001
        frameperiod.denominator : 30000
        framelines              : 525
    VIDIOC_ENUMSTD(9)
        index                   : 9
        id                      : 0x400000 [SECAM_L]
        name                    : "SECAM-L"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625
    VIDIOC_ENUMSTD(10)
        index                   : 10
        id                      : 0x320000 [SECAM_D,SECAM_K,SECAM_K1]
        name                    : "SECAM-DK"
        frameperiod.numerator   : 1
        frameperiod.denominator : 25
        framelines              : 625

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "Television"
        type                    : TUNER
        audioset                : 0
        tuner                   : 0
        std                     : 0x723ff7
[PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_D,SECAM_K,SECAM_K1,SECAM_L]
        status                  : 0x0 []
    VIDIOC_ENUMINPUT(1)
        index                   : 1
        name                    : "Composite1"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0x723ff7
[PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_D,SECAM_K,SECAM_K1,SECAM_L]
        status                  : 0x0 []
    VIDIOC_ENUMINPUT(2)
        index                   : 2
        name                    : "S-Video"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0x723ff7
[PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,PAL_N,PAL_Nc,PAL_60,NTSC_M,NTSC_M_JP,SECAM_D,SECAM_K,SECAM_K1,SECAM_L]
        status                  : 0x0 []

tuners
    VIDIOC_G_TUNER(0)
        index                   : 0
        name                    : "Television"
        type                    : ANALOG_TV
        capability              : 0x2 [NORM]
        rangelow                : 0
        rangehigh               : 4294967295
        rxsubchans              : 0x0 []
        audmode                 : MONO
        signal                  : 65535
        afc                     : 0

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
        index                   : 0
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "8 bpp, gray"
        pixelformat             : 0x59455247 [GREY]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
        index                   : 1
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "15 bpp RGB, le"
        pixelformat             : 0x4f424752 [RGBO]
    VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)
        index                   : 2
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "15 bpp RGB, be"
        pixelformat             : 0x51424752 [RGBQ]
    VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE)
        index                   : 3
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "16 bpp RGB, le"
        pixelformat             : 0x50424752 [RGBP]
    VIDIOC_ENUM_FMT(4,VIDEO_CAPTURE)
        index                   : 4
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "16 bpp RGB, be"
        pixelformat             : 0x52424752 [RGBR]
    VIDIOC_ENUM_FMT(5,VIDEO_CAPTURE)
        index                   : 5
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "24 bpp RGB, le"
        pixelformat             : 0x33524742 [BGR3]
    VIDIOC_ENUM_FMT(6,VIDEO_CAPTURE)
        index                   : 6
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "32 bpp RGB, le"
        pixelformat             : 0x34524742 [BGR4]
    VIDIOC_ENUM_FMT(7,VIDEO_CAPTURE)
        index                   : 7
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "32 bpp RGB, be"
        pixelformat             : 0x34424752 [RGB4]
    VIDIOC_ENUM_FMT(8,VIDEO_CAPTURE)
        index                   : 8
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "4:2:2, packed, YUYV"
        pixelformat             : 0x56595559 [YUYV]
    VIDIOC_ENUM_FMT(9,VIDEO_CAPTURE)
        index                   : 9
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "4:2:2, packed, UYVY"
        pixelformat             : 0x59565955 [UYVY]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
        type                    : VIDEO_CAPTURE
        fmt.pix.width           : 320
        fmt.pix.height          : 240
        fmt.pix.pixelformat     : 0x33524742 [BGR3]
        fmt.pix.field           : INTERLACED
        fmt.pix.bytesperline    : 960
        fmt.pix.sizeimage       : 230400
        fmt.pix.colorspace      : unknown
        fmt.pix.priv            : 0

video overlay
VIDIOC_G_FMT(VIDEO_OVERLAY): Invalid argument
VIDIOC_G_FBUF: Invalid argument

vbi capture
    VIDIOC_G_FMT(VBI_CAPTURE)
        type                    : VBI_CAPTURE
        fmt.vbi.sampling_rate   : 35468950
        fmt.vbi.offset          : 244
        fmt.vbi.samples_per_line: 2048
        fmt.vbi.sample_format   : 0x59455247 [GREY]
        fmt.vbi.start[0]        : 6
        fmt.vbi.start[1]        : 318
        fmt.vbi.count[0]        : 17
        fmt.vbi.count[1]        : 17
        fmt.vbi.flags           : 0

controls
    VIDIOC_QUERYCTRL(BASE+0)
        id                      : 9963776
        type                    : INTEGER
        name                    : "Brightness"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 127
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+1)
        id                      : 9963777
        type                    : INTEGER
        name                    : "Contrast"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 63
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+2)
        id                      : 9963778
        type                    : INTEGER
        name                    : "Saturation"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 127
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+3)
        id                      : 9963779
        type                    : INTEGER
        name                    : "Hue"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 127
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+5)
        id                      : 9963781
        type                    : INTEGER
        name                    : "Volume"
        minimum                 : 0
        maximum                 : 63
        step                    : 1
        default_value           : 63
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+6)
        id                      : 9963782
        type                    : INTEGER
        name                    : "Balance"
        minimum                 : 0
        maximum                 : 127
        step                    : 1
        default_value           : 64
        flags                   : 0
    VIDIOC_QUERYCTRL(BASE+9)
        id                      : 9963785
        type                    : BOOLEAN
        name                    : "Mute"
        minimum                 : 0
        maximum                 : 1
        step                    : 0
        default_value           : 1
        flags                   : 0

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
        name                    : "Hauppauge WinTV-HVR1100 DVB-T/H"
        type                    : 0xf [CAPTURE,TUNER,TELETEXT,OVERLAY]
        channels                : 3
        audios                  : 0
        maxwidth                : 768
        maxheight               : 576
        minwidth                : 48
        minheight               : 32

channels
    VIDIOCGCHAN(0)
        channel                 : 0
        name                    : "Television"
        tuners                  : 1
        flags                   : 0x1 [TUNER]
        type                    : TV
        norm                    : 0
    VIDIOCGCHAN(1)
        channel                 : 1
        name                    : "Composite1"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 0
    VIDIOCGCHAN(2)
        channel                 : 2
        name                    : "S-Video"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 0

tuner
    VIDIOCGTUNER
        tuner                   : 0
        name                    : "Television"
        rangelow                : 0
        rangehigh               : 4294967295
        flags                   : 0x7 [PAL,NTSC,SECAM]
        mode                    : PAL
        signal                  : 65535

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
        brightness              : 32639
        hue                     : 32639
        colour                  : 32639
        contrast                : 16191
        whiteness               : 0
        depth                   : 45092
        palette                 : RGB24

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
    VIDIOCGWIN
        x                       : 0
        y                       : 0
        width                   : 320
        height                  : 240
        chromakey               : 0
        flags                   : 0

This is an excerpt from dmesg:

Linux video capture interface: v1.00
cx2388x v4l2 driver version 0.0.5 loaded
ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 18 (level, low) -> IRQ 17
CORE cx88[0]: subsystem: 0070:9402, board: Hauppauge WinTV-HVR1100
DVB-T/Hybrid [card=40,autodetected]
TV tuner 63 at 0x1fe, Radio tuner -1 at 0x1fe
tveeprom 3-0050: Hauppauge model 94009, rev C2A0, serial# 131367
tveeprom 3-0050: MAC address is 00-0D-FE-02-01-27
tveeprom 3-0050: tuner model is Philips FMD1216ME (idx 100, type 63)
tveeprom 3-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
ATSC/DVB Digital (eeprom 0xf4)
tveeprom 3-0050: audio processor is CX882 (idx 33)
tveeprom 3-0050: decoder processor is CX882 (idx 25)
tveeprom 3-0050: has radio, has IR remote
cx88[0]: hauppauge eeprom: model=94009
input: cx88 IR (Hauppauge WinTV-HVR110 as /class/input/input0
cx88[0]/0: found at 0000:00:08.0, rev: 5, irq: 17, latency: 128, mmio:
0xdb000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx2388x blackbird driver version 0.0.5 loaded
cx2388x dvb driver version 0.0.5 loaded
ACPI: PCI Interrupt 0000:00:08.2[A] -> GSI 18 (level, low) -> IRQ 17
cx88[0]/2: found at 0000:00:08.2, rev: 5, irq: 17, latency: 128, mmio:
0xdd000000
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
DVB: registering frontend 0 (Conexant CX22702 DVB-T)...
cx2388x alsa driver version 0.0.5 loaded
ACPI: PCI Interrupt 0000:00:08.1[A] -> GSI 18 (level, low) -> IRQ 17
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
tuner 3-0061: chip found  (at)  0xc2 (cx88[0])
tuner 3-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
tuner 3-0063: chip found  (at)  0xc6 (cx88[0])
tda9887 3-0043: chip found  (at)  0x86 (cx88[0])


-- 
_______________________________________________________________________
Marcus Rickert       | http://www.the-rickerts.de/mr
                     | ++ 49 (0) 151-10178220 (cellular)
Piusstr.24c          | ++ 49 (0) 221-5341544  (voice)   ______     ::::
50823 Köln (Cologne) | ++ 49 (0) 221-5341542  (fax) ___/___I__\___  ::
Germany              | marcus.rickert (at) web.de      o|__I___I__I___|::
______________________________________________________()______()_CHAOS_

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list