[mythtv-users] Ivtv - pvr-500 applying samsung patches

David Fishburn fishburn at ianywhere.com
Wed Nov 15 04:19:48 UTC 2006



Ubuntu Edgy
MythTV 0.20
Ivtv 0.7.1
Lirc 0.8.1pre2
Kernel 2.6.17-10-generic

This is my first Myth box.

I have a Hauppauge pvr-500 with samsung tuners.
I have been trying to compile my kernel so that I can apply the samsung
patch but I keep getting errors:
...
LD      .tmp_vmlinux1
arch/x86_64/kernel/built-in.o: In function `get_smp_config':
(.init.text+0x7c3f): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o: In function `clustered_apic_check':
(.init.text+0x7d94): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o: In function `setup_early_printk':
(.init.text+0x813f): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o: In function `iommu_hole_init':
(.init.text+0x8e33): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o: In function `printk_address':
(.text.printk_address+0xb9): undefined reference to `__stack_chk_fail'
arch/x86_64/kernel/built-in.o:(.text.arch_ptrace+0x7e4): more undefined
references to `__stack_chk_fail' follow
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.17.14'
make: *** [debian/stamp-build-kernel] Error 2


I found some information that the 2.6.17 kernel doesn't have the updated
changes to make the samsung tuners better.  To put that in I need to compile
the kernel.

I thought I would describe what I see to make sure everything else it up to
snuff.

    ivtv-tune -d /dev/video0 -c 42
    cat /dev/video0 > /tmp/test.mpg 

If I use low channels 2-5 it is nearly unviewable.  All snow.
If I go high, 42, still quite snowy, but I can actually recognize what I am
watching with colour.

If I flip over to the second tuner:
    ivtv-tune -d /dev/video1 -c 42
    cat /dev/video1 > /tmp/test.mpg 


Then it is always snowy on all channels.  The higher channels I can sort of
make out that it did record what I can see on the television.

I have split my cable input with a radio shack splitter.  How much
interference can result from this?

dmesg |grep ivtv
root at myth:/usr/src/lirc-0.8.1pre2# dmesg |grep ivtv
[   34.850861] ivtv:  ==================== START INIT IVTV
====================
[   34.850865] ivtv:  version 0.7.1 (tagged release) loading
[   34.850867] ivtv:  Linux version: 2.6.17-10-generic SMP mod_unload
gcc-4.1
[   34.850869] ivtv:  In case of problems please include the debug info
between
[   34.850870] ivtv:  the START INIT IVTV and END INIT IVTV lines, along
with
[   34.850872] ivtv:  any module options, when mailing the ivtv-users
mailinglist.
[   34.850940] ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416
based)
[   34.851537] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[   34.899402] ivtv0: This is the first unit of a PVR500
[   34.975994] tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
[   34.976283] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[   35.289856] cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[   38.964605] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[   39.693464] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[   39.910227] ivtv0: Encoder revision: 0x02050032
[   39.910361] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers
(4096KB total)
[   39.910629] ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers
(2048KB total)
[   39.910941] ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers
(2048KB total)
[   39.911188] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608
buffers (2048KB total)
[   39.911800] ivtv0: Create encoder radio stream
[   40.048256] ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
[   40.050044] ivtv:  ======================  NEXT CARD
======================
[   40.050050] ivtv1: Autodetected Hauppauge WinTV PVR-150 card (cx23416
based)
[   40.050689] ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
[   40.113010] tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #1)
[   40.323086] cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
[   43.821805] wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
[   43.878296] ivtv1: This is the second unit of a PVR500
[   43.878298] ivtv1: Correcting tveeprom data: no radio present on second
unit
[   44.572889] ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[   44.785918] ivtv1: Encoder revision: 0x02050032
[   44.786068] ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers
(4096KB total)
[   44.786357] ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers
(2048KB total)
[   44.786686] ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers
(2048KB total)
[   44.786945] ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608
buffers (2048KB total)
[   44.922560] ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
[   44.922578] ivtv:  ====================  END INIT IVTV
====================


Thanks,
Dave



More information about the mythtv-users mailing list