Hi everyone,

I've got a fresh install of FC4 with an M179 to try to build a MythTV backend.
 I've followed the Myth(TV)ology setup as much as I could (kudos to Jarod for
this site), but it still references FC3.  The only major deviations I've taken
from this guide are using yum instead of apt for package installation, and
building/installing ivtv from source (the repos for FC4 kept dying on the kmdl
packages).  I've got everything installed and error free, but my tuner input
gives me nothing but static.

I've had this same card working perfectly on FC3, following the same guide.
But I think that some of the FC3 apt repos changed, because I tried install
FC3 first, and had all sorts of problems installing ivtv/mythtv, so I decided
to move to FC4.

The card's composite input works fine now, and I've tried the coax cable I'm
using on a TV, producing a good signal.  There's definitely a change in the
display when I connect and disconnect the cable (although its always
unintelligible), but changing channels through ptune-ui.pl or mythtv doesn't
change the display.  I've changed the inputs from 1 through 7, although 4 is
definitely my tuner input, and I've searched the mailing lists for similar
problems.  Here's my stats:

FC4 w/ kernel 2.6.12-1.1387_FC4
AverMedia M179 tuner card
ivtv version 0.3.6w

Output from dmesg:

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.6 (w) loading
ivtv: Linux version: 2.6.12-1.1387_FC4 686 REGPARM 4KSTACKS gcc-4.0
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected AVerMedia M179 card
ivtv: Found an iTVC15 based chip
PCI: Found IRQ 10 for device 0000:00:08.0
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: VIA PCI device: 0x0691 vendor: 0x1106
tuner: Ignoring new-style parameters in presence of obsolete ones
saa7115: starting probe for adapter SMBus Via Pro adapter at 5000 (0x0)
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[50],ok]
saa7115: status: (1E) 0x00, (1F) 0xc8
ivtv: Could not detect tuner standard, defaulting to NTSC.
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring AVerMedia M179 card with 4 streams
ivtv: Registered v4l2 device for encoder MPEG minor 0
ivtv: Create DMA encoder MPEG stream: 0 x 32768 buffers (0KB total)
ivtv: Registered v4l2 device for encoder YUV minor 32
ivtv: Create DMA encoder YUV stream: 0 x 10800 buffers (0KB total)
ivtv: Registered v4l2 device for encoder VBI minor 224
ivtv: Create DMA encoder VBI stream: 0 x 8736 buffers (0KB total)
ivtv: Registered v4l2 device for encoder PCM audio minor 24
ivtv: Create DMA encoder PCM audio stream: 0 x 4608 buffers (0KB total)
ivtv: Setting Tuner 39
ivtv: i2c client id: 0x02 not found!
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
ivtv: i2c client id: 0x02 not found!
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Switching standard to NTSC.
ivtv: i2c client id: 0x02 not found!
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
ivtv: Initialized AVerMedia M179, card #0
ivtv: ====================  END INIT IVTV  ====================

modprobe.conf:

# ivtv modules setup
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias tveeprom tveeprom-ivtv
options ivtv tuner=2
options msp3400 once=0 simpler=1 simple=0

Output from lspci -v

00:08.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2
Encoder (rev 01)
        Subsystem: Avermedia Technologies Inc M179
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2

Output from ivtvctl -a:

ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 4500000
bitrate_peak: 6000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type    : 0
framerate   : 0
framespergop: 0
gop_closure : 1
pulldown    : 0
stream_type : 0
ioctl VIDIOC_G_FMT ok
        Type   : Video Capture
        Width  : 480
        Height : 480
ioctl VIDIOC_QUERYCAP ok
        Driver name   : ivtv
        Card type     : AVerMedia M179
        Bus info      : 0
        Driver version: 774
        Capabilities  : 0x01030001
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : N/A
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

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

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

        Input   : 3
        Name    : Composite 0
        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    : N/A
        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: 0x0000000000000000 ( )
        Status  : 0ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect      : 2
audio       : 0x00e9
bframes     : 3
bitrate_mode: 0
bitrate     : 4500000
bitrate_peak: 6000000
dnr_mode    : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type    : 0
framerate   : 0
framespergop: 0
gop_closure : 1
pulldown    : 0
stream_type : 0
ioctl VIDIOC_G_FMT ok
        Type   : Video Capture
        Width  : 480
        Height : 480
ioctl VIDIOC_QUERYCAP ok
        Driver name   : ivtv
        Card type     : AVerMedia M179
        Bus info      : 0
        Driver version: 774
        Capabilities  : 0x01030001
ioctl: VIDIOC_ENUMINPUT
        Input   : 0
        Name    : N/A
        Type    : 0x00000002
        Audioset: 0x00000003
        Tuner   : 0x00000000
        Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
        Status  : 0

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

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

        Input   : 3
        Name    : Composite 0
        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    : N/A
        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: 0x0000000000000000 ( )
        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 In
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 3668
ioctl: VIDIOC_ENUMSTD
        index       : 0
        ID          : 0x0000000000003000
        Name        : NTSC
        Frame period: 1001/30000
        Frame lines : 52500:08.0 Multimedia video controller: Internext
Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
        Subsystem: Avermedia Technologies Inc M179
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2


        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 = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 65535
Mute = 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 In
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 3668
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 = 127
Contrast = 63
Saturation = 63
Hue = 0
Volume = 65535
Mute = 0

Any insight or suggestions would be greatly appreciated.  Also, if I forgot
anything pertinent, let me know.  I'm a Linux idiot, so talk to me like I'm 3.

Thanks,
Brian



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to