[mythtv-users] Sound input problems

Kristo Kriechbaum klk+mythtv at kajisti.org
Wed Aug 22 05:34:27 UTC 2007


Hi,

I have 2X Avermedia 179 in a Fedora 7 box .  Whenever I
reboot my machine, the sound inputs on my cards do not get set
correctly.  I stuck:
    /usr/bin/v4l2-ctl --set-audio-input=1 -d 0
    /usr/bin/v4l2-ctl --set-audio-input=1 -d 1
in my /etc/rc.local to try to alleviate the issue, but that doesn't seem
to fix it.  The odd thing is, if I run /etc/rc.local by hand once
everything is started up, it does indeed set the proper sound inputs.

I use the composite input on one card, and the s-video input on the
other.  I don't know if this helps, but this is in my mythbackend
logfile every time a recording starts:

2007-08-20 22:04:39.978 MPEGRec(/dev/video1) Warning: Unable to set
recording volume
    eno: Invalid argument (22)
    If you are using an AverMedia M179 card this is normal.
2007-08-20 22:04:40.114. MPEGRec(/dev/video1) Error: Error getting codec
params using old IVTV ioctl
    eno: Bad address (14)

Other info:
kernel 2.6.22.1-41.fc7
ivtv ivtv-1.0.1-133 from Atrpms
mythtv 0.20.1-161.fc7

ivtv dmesg output:
ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 1.0.0 (2.6.22.1-41.fc7 SMP mod_unload ) loading
ivtv0: Autodetected AVerMedia M179 card (cx23415 based)
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [APC3] -> GSI 18 (level,
low) -> IRQ 18
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ACPI: PCI Interrupt Link [APCJ] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [APCJ] -> GSI 23 (level,
high) -> IRQ 23
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 51552 usecs
intel8x0: clocking to 46835
ivtv0: loaded v4l-cx2341x-enc.fw firmware (-139636909386832 bytes)
ivtv0: loaded v4l-cx2341x-dec.fw firmware (-139636909386848 bytes)
ivtv0: Encoder revision: 0x02060039
ivtv0: Decoder revision: 0x02020023
tuner 2-0060: All bytes are equal. It is not a TEA5767
tuner 2-0060: chip found @ 0xc0 (ivtv i2c driver #0)
saa7115 2-0021: saa7114 found (1f7114d0e000000) @ 0x42 (ivtv i2c driver #0)
tuner 2-0060: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Initialized AVerMedia M179, card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected AVerMedia M179 card (cx23415 based)
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [APC2] -> GSI 17 (level,
low) -> IRQ 17
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
ivtv1: loaded v4l-cx2341x-enc.fw firmware (-139636909385808 bytes)
ivtv1: loaded v4l-cx2341x-dec.fw firmware (-139636909385792 bytes)
ivtv1: Encoder revision: 0x02060039
ivtv1: Decoder revision: 0x02020023
tuner 3-0060: All bytes are equal. It is not a TEA5767
tuner 3-0060: chip found @ 0xc0 (ivtv i2c driver #1)
saa7115 3-0021: saa7114 found (1f7114d0e000000) @ 0x42 (ivtv i2c driver #1)
tuner 3-0060: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
ivtv1: Registered device video1 for encoder MPEG (4 MB)
ivtv1: Registered device video33 for encoder YUV (2 MB)
ivtv1: Registered device vbi1 for encoder VBI (1 MB)
ivtv1: Registered device video25 for encoder PCM audio (1 MB)
ivtv1: Initialized AVerMedia M179, card #1
ivtv:  ====================  END INIT IVTV  ====================

Am I using an inappropriate version of ivtv for mythtv?  Thanks for any 
help and suggestions!

-Kristo


More information about the mythtv-users mailing list