Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Problem to get analogtv work with PVR350



Hi list,

I've bought a PVR 350 and tried to install everything like descriebed in the
file HOWTO in the analogtv-plugin.
I use a cable DVB-C Card from Hauppauge and the PVR 350 from hauppauge.

I patched the VDR (1.3.11) with the provided patch, but when I try to tune
to an analog channel VDR says:
Channel not available (Kanal nicht verfügbar)

The analogtv-plugin says:
vdr[3368]: switching to channel 16
vdr[3368]: analogTV: cAnalogtvDevice::ProvidesChannel(Receiving()=0,
frequency=-1, Channel->Frequency()=238250, Channel->Ca()=8193)
vdr[3368]: analogTV: cAnalogtvDevice::ProvidesSource(Source=16384)
vdr[3368]: analogTV: cAnalogtvDevice::ProvidesCa(Channel->Ca()=8193),
ca=160)
vdr[3368]: analogTV: cAnalogtvDevice::ProvidesChannel():
NeedsDetachReceivers=1, result=0, hasPriority=1
vdr[3368]: ERROR: Kanal nicht verfügbar!
vdr[3368]: status: cStatusTest::OsdStatusMessage 'Kanal nicht verfügbar!'

Could it be that VDR rewtites the ca (from 32001 to 2001) in channels.conf
from:
VOX:238250:B6C0D45:C:0:160:80:0:32001:12060:0:0:0
to:
VOX:238250:C0D45B6:C:0:160:80:0:2001:12060:0:0:0

I tried to change the device.c in analogtv in a way that ProvideChannel()
returns always true:
bool cAnalogtvDevice::ProvidesChannel(const cChannel *Channel, int Priority,
bool *NeedsDetachReceivers) const
{
  [...]
  return result = true;
}

After this modification the "Channel not available" disappeared, but still
no picture and sound and the output says:

vdr[3897]: switching to channel 16
vdr[3897]: analogTV: cAnalogtvDevice::ProvidesChannel(Receiving()=0,
frequency=-1, Channel->Frequency()=238250, Channel->Ca()=8193)
vdr[3897]: analogTV: cAnalogtvDevice::ProvidesSource(Source=16384)
vdr[3897]: analogTV: cAnalogtvDevice::ProvidesCa(Channel->Ca()=8193),
ca=160)
vdr[3897]: analogTV: cAnalogtvDevice::ProvidesChannel():
NeedsDetachReceivers=1, result=0, hasPriority=1
vdr[3897]: analogTV: Switching to channel 0 on device 0
vdr[3897]: status: cStatusTest::ChannelSwitch 0 0
vdr[3897]: analogTV: Switching to channel 0 on device 4
vdr[3897]: status: cStatusTest::ChannelSwitch 4 0
vdr[3897]: analogTV: cAnalogtvDevice::SetChannelDevice(Receiving()=0,
Receiving(true)=0), frequency=238250
vdr[3897]: analogTV: Channel: VOX, SID=12060, 238.25 MHz (S12), PAL
vdr[3897]: analogTV: Video device: /dev/video0
vdr[3897]: analogTV: Video source: 4:
vdr[3897]: analogTV: NEW videodev=/dev/video0
vdr[3897]: analogTV: Detected V4L version 2
vdr[3897]: analogTV: Detected Input#0: Composite 0
vdr[3897]: analogTV: Detected Input#1: Composite 1
vdr[3897]: analogTV: Detected Input#2: Composite 2
vdr[3897]: analogTV: Detected Input#3: Composite 3
vdr[3897]: analogTV: Detected Input#4: Tuner 0
vdr[3897]: analogTV: Detected Input#5: Composite 4
vdr[3897]: analogTV: Detected Input#6: S-Video 0
vdr[3897]: analogTV: Detected Input#7: S-Video 1
vdr[3897]: analogTV: Detected Input#8: S-Video 2
vdr[3897]: analogTV: Detected Input#9: S-Video 3
vdr[3897]: analogTV: NEW Frequency=238250 + 0
vdr[3897]: analogTV: NEW videonorm=PAL
vdr[3897]: analogTV: NEW videosource=4:Tuner 0
vdr[3897]: analogTV: NEW picture properties
vdr[3897]: analogTV: NEW PVR MPEG-Encoder parameter(s)
vdr[3897]: analogTV: PVR Norm=0:PAL - done.
vdr[3897]: analogTV: PVR MPEG-PES, aspect 4:3, VBR, 3:2 pulldown
vdr[3897]: analogTV: PVR Videobitrate= 5 Mbit/s (max=2e+01 Mbit/s)
vdr[3897]: analogTV: PVR 12 frames/GOP, 3 B-frames, GOP closed
vdr[3897]: analogTV: PVR DNR:spatial and temporal (type=0, spatial=0,
temporal=0)
vdr[3897]: analogTV: PVR Audiobitrate=80 kBit/s (Mask=0x59)
vdr[3897]: analogTV: PVR MPEG-Encoder parameter(s) - done.
vdr[3897]: analogTV: PVR Picture size=720x576 - done.
vdr[3897]: analogTV: PVR Input=4:Tuner 0 - done.
kernel: msp34xx: VIDIOCGAUDIO
kernel: msp34xx: VIDIOCSAUDIO
kernel: msp34xx: VIDIOCSAUDIO setting va->volume to 59636
kernel: msp34xx: VIDIOCSAUDIO setting va->balance to 32768
kernel: msp34xx: VIDIOCSAUDIO setting va->flags to 31
kernel: msp34xx: VIDIOCSAUDIO setting msp->left to 59636
kernel: msp34xx: VIDIOCSAUDIO setting msp->right to 59636
kernel: msp34xx: VIDIOCSAUDIO setting msp->bass to 32768
kernel: msp34xx: VIDIOCSAUDIO setting msp->treble to 32768
kernel: msp34xx: VIDIOCSAUDIO setting msp->mode to 0
kernel: msp34xx: setvolume: mute=on 59636:59636 v=0x00 b=0x00
kernel: msp34xx: setbass: 32768 0x00
kernel: msp34xx: settreble: 32768 0x00
kernel: saa7115: decoder disable output
kernel: ivtv: v4l2 ioctl: set frequency 3812
kernel: msp34xx: VIDIOCSFREQ
kernel: msp34xxg: set source to 3 (0x320)
kernel: msp34xxg: triggered autodetect, waiting for result
kernel: msp34xxg: detection still in progress
kernel: msp34xxg: detection still in progress
kernel: msp34xxg: current mode: 5.5/5.74 B/G Dual FM-Stereo (0x0003)
kernel: msp34xxg: unmute
kernel: msp34xx: setbass: 32768 0x00
kernel: msp34xx: settreble: 32768 0x00
kernel: msp34xx: setvolume: mute=on 59636:59636 v=0x00 b=0x00
kernel: saa7115: decoder enable output
kernel: ivtv: Finished with reset in 100 ms
kernel: msp34xx: VIDIOCGAUDIO
kernel: msp34xx: VIDIOCSAUDIO
kernel: msp34xx: VIDIOCSAUDIO setting va->volume to 59636
kernel: msp34xx: VIDIOCSAUDIO setting va->balance to 32768
kernel: msp34xx: VIDIOCSAUDIO setting va->flags to 30
kernel: msp34xx: VIDIOCSAUDIO setting msp->left to 59636
kernel: msp34xx: VIDIOCSAUDIO setting msp->right to 59636
kernel: msp34xx: VIDIOCSAUDIO setting msp->bass to 32768
kernel: msp34xx: VIDIOCSAUDIO setting msp->treble to 32768
kernel: msp34xx: VIDIOCSAUDIO setting msp->mode to 0
kernel: msp34xx: setvolume: mute=off 59636:59636 v=0x73 b=0x00
kernel: msp34xx: setbass: 32768 0x00
kernel: msp34xx: settreble: 32768 0x00
kernel: ivtv: Finished with Mute
vdr[3897]: analogTV: PVR Frequency=3812 - done.
vdr[3897]: analogTV: PVR brightness=20 (58.8%) contrast=14 (41.2%) colour=16
(47.1%) hue=15 (44.1%)
kernel: saa7115: decoder set picture bright=150 contrast=53 saturation=60
hue=-15
last message repeated 3 times
vdr[3897]: analogTV: PVR saa7115 brightness=150 contrast=53 colour=60
hue=-15 - done.
kernel: msp34xx: VIDIOCGAUDIO
kernel: msp34xx: VIDIOCSAUDIO
kernel: msp34xx: VIDIOCSAUDIO setting va->volume to 59636
kernel: msp34xx: VIDIOCSAUDIO setting va->balance to 32768
kernel: msp34xx: VIDIOCSAUDIO setting va->flags to 30
kernel: msp34xx: VIDIOCSAUDIO setting msp->left to 59636
kernel: msp34xx: VIDIOCSAUDIO setting msp->right to 59636
kernel: msp34xx: VIDIOCSAUDIO setting msp->bass to 32768
kernel: msp34xx: VIDIOCSAUDIO setting msp->treble to 32768
kernel: msp34xx: VIDIOCSAUDIO setting msp->mode to 0
kernel: msp34xx: setvolume: mute=off 59636:59636 v=0x73 b=0x00
kernel: msp34xx: setbass: 32768 0x00
kernel: msp34xx: settreble: 32768 0x00
vdr[3897]: analogTV: PVR Volume=59636 - done.
kernel: msp34xx: VIDIOCGAUDIO
kernel: msp34xx: VIDIOCSAUDIO
kernel: msp34xx: VIDIOCSAUDIO setting va->volume to 59636
kernel: msp34xx: VIDIOCSAUDIO setting va->balance to 32768
kernel: msp34xx: VIDIOCSAUDIO setting va->flags to 30
kernel: msp34xx: VIDIOCSAUDIO setting msp->left to 59636
kernel: msp34xx: VIDIOCSAUDIO setting msp->right to 59636
kernel: msp34xx: VIDIOCSAUDIO setting msp->bass to 32768
kernel: msp34xx: VIDIOCSAUDIO setting msp->treble to 32768
kernel: msp34xx: VIDIOCSAUDIO setting msp->mode to 0
kernel: msp34xx: setvolume: mute=off 59636:59636 v=0x73 b=0x00
kernel: msp34xx: setbass: 32768 0x00
kernel: msp34xx: settreble: 32768 0x00
vdr[3897]: analogTV: Switching to channel 16 on device 4
vdr[3897]: status: cStatusTest::ChannelSwitch 4 16
vdr[3897]: analogTV: cAnalogtvDevice::SetPid(Pid=160, handle=-1, used=1,
Type=5, On=1)
vdr[3897]: analogTV: cAnalogtvDevice::SetPid(Pid=80, handle=-1, used=1,
Type=6, On=1)
vdr[3906]: transfer thread started (pid=3906, tid=98310)
vdr[3907]: receiver on device 5 thread started (pid=3907, tid=114695)
vdr[3907]: analogTV: cAnalogtvDevice::OpenDvr()
vdr[3907]: analogTV: NEW Audio-PID=80, Video-PID=160
vdr[3897]: analogTV: Switching to channel 16 on device 0
vdr[3897]: status: cStatusTest::ChannelSwitch 0 16
vdr[3905]: Text2Skin: Channel display update thread ended (pid=3905,
tid=81925)
vdr[3897]: status: cStatusTest::OsdClear
vdr[3908]: Text2Skin: Channel display update thread started (pid=3908,
tid=131077)
vdr[3897]: status: cStatusTest::OsdChannel 16 VOX
vdr[3897]: closing SVDRP connection
vdr[3907]: analogTV: Giving up after 20 retries
vdr[3907]: analogTV: Setting of Audio-Pid failed, 14:Bad address
vdr[3907]: analogTV: Cannot set Pids on PVR-card. analogTV giving up!
vdr[3907]: receiver on device 5 thread ended (pid=3907, tid=114695)
vdr[3908]: Text2Skin: Channel display update thread ended (pid=3908,
tid=131077)
vdr[3897]: status: cStatusTest::OsdClear
vdr[3901]: changing pids of channel 80 from 701+701:702:204 to
901+901:902:204

I hope this can help to solve my problem.

Greets
Patrick

-- 
     There are only 10 kind of people who understand binary digits:
     Those who do - Those who don't...





Home | Main Index | Thread Index