Author Topic: [solved] VDR Problem  (Read 3490 times)

G.I.R.

  • Veteran
  • ***
  • Posts: 58
    • View Profile
[solved] VDR Problem
« on: November 30, 2014, 03:52:49 pm »
Hello,

I am trying to get vdr working on my 12.04 installation.

I switched from mythtv to vdr via the setup wizard.
Whenever i choose TV on any weborbiter the screen(saver) just freezes, but there is no tv.

I can see the remotecontrol on the weborbiter.
I got the streamdev-plugin and vdradmin working.
I even can watch TV when I call vdr-sxfe on the commandline.

My TV-usb-dongle is:

Code: [Select]
15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T USB2.0 stick
I downloaded the firmware and it seems that it is working.
But the dongle  isn`t recognized as a device in linuxmce.

The other dvb-t dongle i tried was a WinTV-Nova-TD dual tuner. But i had problems with i2c read/write errors and it got added multiple times as a device in linuxmce.
(Didn`t delete them until now but i removed the dongle from the hybrid.)

I realized that the lmcevdr package is not installed. And if i try, i get this error message:

Code: [Select]
lmcevdr lässt sich nicht installieren:
Authentifizierungswarnung überstimmt.
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/lmcevdr_1.1-10_all.deb (--unpack):
 Datei »/var/lib/dpkg/tmp.ci//.svn« kann nicht geöffnet werden: Is a directory
Es wurde kein Apport-Bericht verfasst, da das Limit MaxReports bereits erreicht ist
                                                                                   Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/lmcevdr_1.1-10_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Do i need this package?

This is the shortened output of /var/log/pluto/169_VDR.log:
Code: [Select]
01      11/30/14 9:45:37.188            ESC[31;1mother VDRSTATUSESC[0m <0xb65ffb40>
05      11/30/14 9:45:38.190            ESC[33;1mConnect() failed, Error Code 111 (Connection refused))ESC[0m <0xb65ffb40>
05      11/30/14 9:45:39.191            ESC[33;1mConnect() failed, Error Code 111 (Connection refused))ESC[0m <0xb65ffb40>
05      11/30/14 9:45:40.192            ESC[33;1mConnect() failed, Error Code 111 (Connection refused))ESC[0m <0xb65ffb40>
05      11/30/14 9:45:40.192            ESC[33;1mClientSocket::Connect() not successfulESC[0m <0xb65ffb40>
05      11/30/14 9:45:40.192            ESC[33;1mvoid ClientSocket::Disconnect() on this socket: 0xb65fe54c (m_Socket: 8)ESC[0m <0xb65ffb40>
05      11/30/14 9:45:41.194            ESC[33;1mConnect() failed, Error Code 111 (Connection refused))ESC[0m <0xb65ffb40>
05      11/30/14 9:45:42.195            ESC[33;1mConnect() failed, Error Code 111 (Connection refused))ESC[0m <0xb65ffb40>
05      11/30/14 9:45:43.196            ESC[33;1mConnect() failed, Error Code 111 (Connection refused))ESC[0m <0xb65ffb40>
05      11/30/14 9:45:43.196            ESC[33;1mClientSocket::Connect() not successfulESC[0m <0xb65ffb40>
05      11/30/14 9:45:43.196            ESC[33;1mvoid ClientSocket::Disconnect() on this socket: 0xb65fe51c (m_Socket: 8)ESC[0m <0xb65ffb40>

Does anybody know where to go from here?
Would be grateful for any hint!

As said before:
Great project! Great work!
« Last Edit: December 07, 2014, 08:53:34 pm by G.I.R. »

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: VDR Problem
« Reply #1 on: November 30, 2014, 08:01:55 pm »
If vdr-sxfe gives you a picture, your dongle is working right, and VDR is working right.

No need for lmcevdr.

pluto-vdr-plugin is needed on the core
pluto-vdr is needed on every MD/hybrid

Make sure those two packages are installed.

G.I.R.

  • Veteran
  • ***
  • Posts: 58
    • View Profile
Re: VDR Problem
« Reply #2 on: November 30, 2014, 10:13:32 pm »
hy,

hmm, i have both packages installed.

hybrid:
pluto-vdr Installiert: 2.0.0.46.14081629241
pluto-vdr-plugin Installiert: 2.0.0.46.14101229547

on the md there is just pluto-vdr installed.

I reinstalled pluto-vdr-plugin cause it was not properly installed, deleted the nova-td devices and rebooted...
still nothing.

here is my /etc/default/vdr config:
Code: [Select]
# Change to 1 to enable vdr's init-script
ENABLED=1

# Change this to 1 if you want vdr to be able to shutdown the
# computer
ENABLE_SHUTDOWN=0

# Options that will be passed to vdr's commandline
# for example: OPTIONS="-w 15"
OPTIONS="-w 60"
SVDRP_PORT=6419
VDR_CHARSET_OVERRIDE=UTF-8

I think i messed a little bit with the SVDRP_PORT because vdradmin wouldn`t connect.
Is it okay?

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: VDR Problem
« Reply #3 on: November 30, 2014, 11:37:03 pm »
LinuxMCE wants the port to be 2001 (the original VDR port).

G.I.R.

  • Veteran
  • ***
  • Posts: 58
    • View Profile
Re: VDR Problem
« Reply #4 on: December 07, 2014, 08:52:44 pm »
Thanks a lot!

Changing back to port 2001 did it.

I then had some problems with the other mds (black screen).
After viewing the config and not having any clue what was wrong i finally saw that i don`t have an init file for vdr on the mds.
Now i am using the one from the core.
hmm, strange. maybe i messed somethings or a lot of things up by changing from mythtv to vdr or did some other stupid things ...
I hope this way is okay.

So thanks again and

solved :)






Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [solved] VDR Problem
« Reply #5 on: December 07, 2014, 09:21:28 pm »
Thanks for the positive feedback. The latest pluto-vdr packages should automatically copy the init.d file from the VDR sample directory inside of usr/share to /etc/init.d