Tach,
als ich neulich das superaktuelle analog-TV-Plugin ausprobieren wollte, wurde ich mit Fehlermeldungen überrascht, die ich bislang noch net kannte.
Zunächst mal setze ich schon libdvb-0.5.5 ein, kann mir aber net vorstellen, dass der Fehler dadurch verursacht wird.
Dann hab ich bereits das analog-TV-Plugin 0.9.36 im Test, aber da glaub ich auch nicht an nen Fehler. Lässt sich mit VDR 1.3.13 problemlos übersetzen und starten.
Als ivtv-Treiber nehm ich die 0.3.0 Version l (wie Ludwig), der auch ohne Probleme durchrauscht.
Ich hab den VDR auch mit dem 1.3.0-patch versehen, der beim analog-TV-Plugin mit dabei ist, obwohl ältere Versionen bereits ohne Patch bei mir gelaufen sind.
Offenbar hat sich vieles da geändert, was an mir einfach so vorbeigerauscht ist. Entweder ich habs nicht mitbekommen oder nicht gelesen.
Doch zu den Fehlermeldungen im einzelnen...
Beim Booten erscheint auf dem Bildschirm beim Laden des ivtv-Treibers...
pal=1 / enable_ouput=1 / output_select=0 -> no such parameter in this module.
Das ist schon mal ein Hinweis darauf, dass der Treiber ganz anders aufgerufen wird.
Folgende Geschichten stehen bei mir (gentoo) in der /etc/modules.d/ivtv Section:
alias char-major-81 videodev
alias char-major-81-0 ivtv
# alias char-major-61 lirc_i2c
# For ivtv 0.1.19 options ivtv debug=1 ivtv_debug=1 ivtv_pal=1 tuner=5
# For ivtv 0.1.19 options tuner pal=1
options ivtv ivtv-debug=1 tuner=5 ivtv_std=2
# options saa7127 enable_output=1 output_select=0 pal=1
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 tuner
add above ivtv ivtv-fb
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 0xff -p 4
post-install saa7127 /usr/local/bin/ivtvfbctl /dev/fb1 -noglobalalpha -localalpha
Also schon nen bisserl geändert (Thanks to gon).
In der /etc/modules/autoload.d/kernel-2.4 liest man...
## TV-Karte Hauppauge PVR 350
tuner type=5 pal=1
msp3400 once=1 simple=1 debug=2
saa7115
ivtv mpg_buffers=100 video_nr=0
ivtv-fb
# Composite-Ausgang einschalten
saa7127 enable_output=1 output_select=0 pal=1
# S-VHS Ausgang einschalten
## saa7127 enable_output=1 output_select=1 pal=1
Für den alten ivtv-Treiber 0.1.19 klappte das so auch alles wunderbar.
Aber sonst fliegen einem die Fehlermeldungen um die Ohren...
Aus dmesg...
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: Setting audio matrix to input 1, output 1
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: Finished with reset in 100 ms
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x40 not found!
ivtv: Finished with Mute
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: v4l2 ioctl: set frequency 0
ivtv: i2c client addr: 0x61 not found!
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: Finished with reset in 100 ms
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x40 not found!
ivtv: Finished with Mute
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x21 not found!
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x40 not found!
ivtv: i2c client addr: 0x40 not found!
Aus der var/log/messages
Oct 23 23:44:51 vdrclient01 ivtv: ==================== START INIT IVTV ====================
Oct 23 23:44:51 vdrclient01 ivtv: version 0.3.0 (0.3.0l) loading
Oct 23 23:44:51 vdrclient01 ivtv: Linux version: 2.4.27-gentoo-r1
Oct 23 23:44:51 vdrclient01 ivtv: In case of problems please include the debug info
Oct 23 23:44:51 vdrclient01 ivtv: between the START INIT IVTV and END INIT IVTV lines when
Oct 23 23:44:51 vdrclient01 ivtv: mailing the ivtv-devel mailinglist.
Oct 23 23:44:51 vdrclient01 ivtv: Autodetected WinTV PVR 350 card
Oct 23 23:44:51 vdrclient01 ivtv: Found an iTVC15 based chip
Oct 23 23:44:51 vdrclient01 ivtv: Unreasonably low latency timer, setting to 64 (was 32)
Oct 23 23:44:51 vdrclient01 ivtv: VIA PCI device: 0x3189 vendor: 0x1106
Oct 23 23:44:51 vdrclient01 ivtv: i2c client addr: 0x50 not found!
Oct 23 23:44:51 vdrclient01 ivtv: Error -19 reading Hauppauge eeprom.
Oct 23 23:44:51 vdrclient01 ivtv: Possible causes: the tveeprom module was not loaded, or
Oct 23 23:44:51 vdrclient01 ivtv: the eeprom kernel module was loaded before the tveeprom module.
Oct 23 23:44:51 vdrclient01 ivtv: Encoder revision: 0x02040011
Oct 23 23:44:51 vdrclient01 ivtv: Decoder revision: 0x02020023
Oct 23 23:44:51 vdrclient01 ivtv: Configuring WinTV PVR 350 card with 10 streams
Oct 23 23:44:51 vdrclient01 ivtv: Create DMA stream 0 using 32 131072 byte buffers 4194304 kbytes total
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 0 minor 0
Oct 23 23:44:51 vdrclient01 ivtv: Create DMA stream 1 using 16 131072 byte buffers 2097152 kbytes total
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 1 minor 32
Oct 23 23:44:51 vdrclient01 ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 2 minor 224
Oct 23 23:44:51 vdrclient01 ivtv: Create DMA stream 3 using 16 131072 byte buffers 2097152 kbytes total
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 3 minor 24
Oct 23 23:44:51 vdrclient01 ivtv: Create stream 4
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 4 minor 64
Oct 23 23:44:51 vdrclient01 ivtv: Create DMA stream 5 using 8 131072 byte buffers 1048576 kbytes total
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 5 minor 16
Oct 23 23:44:51 vdrclient01 ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 6 minor 228
Oct 23 23:44:51 vdrclient01 ivtv: Create stream 7
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 7 minor 232
Oct 23 23:44:51 vdrclient01 ivtv: Create DMA stream 8 using 8 131072 byte buffers 1048576 kbytes total
Oct 23 23:44:51 vdrclient01 ivtv: Registered v4l2 device, streamtype 8 minor 48
Oct 23 23:44:51 vdrclient01 ivtv: Create DMA stream 9 using 16 131072 byte buffers 2097152 kbytes total
Oct 23 23:44:51 vdrclient01 ivtv: Setting Tuner 5
Oct 23 23:44:51 vdrclient01 ivtv: i2c client addr: 0x61 not found!
Oct 23 23:44:51 vdrclient01 ivtv: Setting audio matrix to input 3, output 1
Oct 23 23:44:51 vdrclient01 ivtv: i2c client addr: 0x40 not found!
Oct 23 23:44:51 vdrclient01 ivtv: Switching standard to PAL.
Oct 23 23:44:51 vdrclient01 ivtv: i2c client addr: 0x61 not found!
Oct 23 23:44:51 vdrclient01 ivtv: i2c client addr: 0x40 not found!
Oct 23 23:44:51 vdrclient01 ivtv: i2c client addr: 0x21 not found!
Oct 23 23:44:51 vdrclient01 ivtv: i2c client addr: 0x44 not found!
Oct 23 23:44:51 vdrclient01 ivtv: ivtv_enc_thread: pid = 425, itv = 0x60bdc540
Oct 23 23:44:51 vdrclient01 ivtv: ivtv_dec_thread: pid = 426, itv = 0x60bdc540
Oct 23 23:44:51 vdrclient01 ivtv: Initialized WinTV PVR 350, card #0
Oct 23 23:44:51 vdrclient01 ivtv: ==================== END INIT IVTV ====================
Oct 23 23:44:51 vdrclient01 ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
Oct 23 23:44:51 vdrclient01 ivtv-osd: Framebuffer is at decoder-relative address 0x00510000 and has 1704960 bytes.
Oct 23 23:44:51 vdrclient01 ivtv-osd: screen coords: [0 0] -> [720 576]
Oct 23 23:44:51 vdrclient01 ivtv-osd: original global alpha = 208
Oct 23 23:44:51 vdrclient01 ivtv-osd: current OSD state = 39
Oct 23 23:44:51 vdrclient01 ivtv-osd: new global alpha = 208 (1 255 0)
Oct 23 23:44:51 vdrclient01 ivtv-osd: framebuffer at 0xf5510000, mapped to 0x6198f000, size 1620k
Oct 23 23:44:51 vdrclient01 ivtv-osd: mode is 720x576x32, linelength=2880
Oct 23 23:44:51 vdrclient01 ivtv-osd: fb1: iTVC15 TV out frame buffer device
Wobei hier das meiste eigentlich ganz gut aussieht.
Zum Schluss noch die Debug-Messages vom Analog-TV-Plugin...
vdrclient01 VDR # ./vdr -c /etc/vdr -v /video0 -Panalogtv
23:57:55 analogTV version 0.9.36 starting up ...
23:57:55
23:57:55 Copyright (C) 2003 .. 2004 by Andreas Kool (akool@gmx.de)
23:57:55
23:57:55 The analogTV plugin is the work of many people;
23:57:55 for at least a partial list see CREDITS.
23:57:55
23:57:55 analogTV comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
23:57:55 This is free software, and you are welcome to redistribute it
23:57:55 under certain conditions; see COPYING for details.
23:57:55
23:57:55 Detected Linux version 2.4.27-gentoo-r1
23:57:55 Detected VDR version 1.3.13
23:57:55 Detected plain-vanilla VDR (hopefully
23:57:55 cPluginAnalogtv::Initialize()
23:57:55 cAnalogtvDevice::cAnalogtvDevice()
23:57:55 cSchedules created
23:57:55 cPluginAnalogtv::Start()
23:57:55 Detected ConfigDirectory()="/etc/vdr/plugins"
23:57:55 CPU AMD Athlon(TM) XP 2600+, family 6, model 10, stepping 0
23:57:56 CPU measured at 1150.062MHz
23:57:56 Using SSE optimized memcpy()
23:57:56 cAnalogtvDevice::ProvidesChannel(Receiving()=0, frequency=-1, Channel->Frequency()=0, Channel->Ca()=160)
23:57:56 cAnalogtvDevice::ProvidesSource(Source=16384)
23:57:56 cAnalogtvDevice::ProvidesCa(Channel->Ca()=160), ca=160)
23:57:56 cAnalogtvDevice::ProvidesChannel(): NeedsDetachReceivers=0, result=1, hasPriority=1
23:58:07 cPluginAnalogtv::Housekeeping()
23:58:18 cPluginAnalogtv::Housekeeping()
23:58:23 cAnalogtvDevice::ProvidesChannel(Receiving()=0, frequency=-1, Channel->Frequency()=11836, Channel->Ca()=0)
23:58:23 cAnalogtvDevice::ProvidesSource(Source=35008)
23:58:23 cAnalogtvDevice::ProvidesChannel(): NeedsDetachReceivers=1, result=0, hasPriority=1
23:58:28 cAnalogtvDevice::ProvidesChannel(Receiving()=0, frequency=-1, Channel->Frequency()=11836, Channel->Ca()=0)
23:58:28 cAnalogtvDevice::ProvidesSource(Source=35008)
23:58:28 cAnalogtvDevice::ProvidesChannel(): NeedsDetachReceivers=1, result=0, hasPriority=1
23:58:38 cAnalogtvDevice::ProvidesChannel(Receiving()=0, frequency=-1, Channel->Frequency()=203250, Channel->Ca()=160)
23:58:38 cAnalogtvDevice::ProvidesSource(Source=16384)
23:58:38 cAnalogtvDevice::ProvidesCa(Channel->Ca()=160), ca=160)
23:58:38 cAnalogtvDevice::ProvidesChannel(): NeedsDetachReceivers=0, result=1, hasPriority=1
23:58:45 cAnalogtvDevice::ProvidesChannel(Receiving()=0, frequency=-1, Channel->Frequency()=12480, Channel->Ca()=0)
23:58:45 cAnalogtvDevice::ProvidesSource(Source=35008)
23:58:45 cAnalogtvDevice::ProvidesChannel(): NeedsDetachReceivers=1, result=0, hasPriority=1
Vorher bekam ich noch irgendso nen Autopid-Error beim Tunen auf nen analogen Channel bzw. auf S-Video, der scheint aber durch den 1.3.0-patch weg zu sein.
Tatsache ist: Das Bild bleibt rabenschwarz...da siehste nix.
Vielleicht hab ich wieder ne alte channels.conf reingelassen ?
AV S-Video:1:B6C0D89:C:0:160:80:0:A0:65001:0:0:0
Hab da aber auch schon andere Parameter probiert...56, 34 usw. Statt D89.
Weiss jemand Rat ?
Greets Olaf