1 [2] 3 4 ... 6 >>> Archiv / MLD 4.x / Raspberry PI / Some questions on MLD on pi (From non German speaker!)
 

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
Some questions on MLD on pi (From non German speaker!)
« Reply #15 on: November 13, 2014, 23:06:00 »
Yes, that's no problem. I have only forgot to automatically activate this funktion on installing the suspend Package.
You can activate it in the OSD at "System / VDR Setup / Miscellaneous / Min. user inactivity" by set up the time to power off.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #16 on: November 13, 2014, 23:16:24 »
It seems that it works like a sharm! Thank you so much. :)

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #17 on: November 13, 2014, 23:36:03 »
One question more, if i want to read some mpeg4 file or file, how could i do it on vdr? Is there a pluggin to read file?
I could not find it in record. :)

EDIT: i have got some problem from going to suspend and go out. The USB Tuner does not work sometimes after that.
Should i unload the module and load it again onn the option?

EDIT2: i have tested to reload the module for my tuner and it change nothing....
Here is what i see from log
Quote
!xineliboutput.OSD.Size = 720x576

System suspend now.
done
*** glibc detected *** /usr/bin/vdr: munmap_chunk(): invalid pointer: 0xb41f6d98 ***
Aborted
Stopping VDR
done

Syncing filesystems:
done
Powering off HDMI
Powering on HDMI with preferred settings
[E] Invalid mode 'HDMI'
opening a connection to the CEC adapter...
NOTICE:  [             183]   unregistering all CEC clients
DEBUG:   [             184]   Broadcast (F): osd name set to 'Broadcast'
DEBUG:   [             184]   InitHostCEC - vchiq_initialise succeeded
DEBUG:   [             184]   InitHostCEC - vchi_initialise succeeded
DEBUG:   [             184]   InitHostCEC - vchi_connect succeeded
DEBUG:   [             330]   received data: header:00060040 p0:0000000F p1:0000FFFF p2:00000000 p3:00000000 reason:40
DEBUG:   [             331]   logical address changed to Broadcast (f)
DEBUG:   [             331]   RegisterLogicalAddress - registering address e
DEBUG:   [             511]   received data: header:00060040 p0:00000001 p1:00001000 p2:00000000 p3:00000000 reason:40
DEBUG:   [             512]   logical address changed to Recorder 1 (1)
DEBUG:   [             512]   received data: header:00060040 p0:0000000E p1:00001000 p2:00000000 p3:00000000 reason:40
DEBUG:   [             512]   logical address changed to Free use (e)
DEBUG:   [             512]   Open - vc_cec initialised
NOTICE:  [             512]   connection opened
NOTICE:  [             513]   << Broadcast (F) -> TV (0): POLL
DEBUG:   [             513]   initiator 'Broadcast' is not supported by the CEC adapter. using 'Free use' instead
TRAFFIC: [             513]   << e0
DEBUG:   [             514]   sending data: len = 0, payload = E0
DEBUG:   [             517]   processor thread started
DEBUG:   [             604]   received data: header:01010001 p0:000000E0 p1:00000000 p2:00000000 p3:00000000 reason:1
DEBUG:   [             605]   command 'POLL' was not acked by the controller
DEBUG:   [             605]   >> POLL not sent
NOTICE:  [             605]   registering new CEC client - v1.9.0
DEBUG:   [             605]   detecting logical address for type 'recording device'
DEBUG:   [             605]   trying logical address 'Recorder 1'
NOTICE:  [             605]   << Recorder 1 (1) -> Recorder 1 (1): POLL
TRAFFIC: [             605]   << 11
DEBUG:   [             605]   UnregisterLogicalAddress - releasing previous logical address
DEBUG:   [             606]   received data: header:00060040 p0:0000000F p1:0000FFFF p2:00000000 p3:00000000 reason:40
DEBUG:   [             606]   logical address changed to Broadcast (f)
DEBUG:   [             606]   RegisterLogicalAddress - registering address 1
DEBUG:   [             787]   received data: header:00060040 p0:0000000E p1:00001000 p2:00000000 p3:00000000 reason:40
DEBUG:   [             787]   logical address changed to Free use (e)
DEBUG:   [             787]   received data: header:00060040 p0:00000001 p1:00001000 p2:00000000 p3:00000000 reason:40
DEBUG:   [             787]   logical address changed to Recorder 1 (1)
DEBUG:   [             787]   >> POLL not sent
NOTICE:  [             788]   using logical address 'Recorder 1'
DEBUG:   [             788]   Recorder 1 (1): device status changed into 'handled by libCEC'
DEBUG:   [             788]   Recorder 1 (1): power status changed from 'unknown' to 'on'
DEBUG:   [             788]   Recorder 1 (1): CEC version 1.4
DEBUG:   [             788]   AllocateLogicalAddresses - device '0', type 'recording device', LA '1'
DEBUG:   [             788]   Recorder 1 (1): osd name set to 'CECTester'
DEBUG:   [             788]   Recorder 1 (1): menu language set to 'eng'
DEBUG:   [             789]   GetPhysicalAddress - physical address = 1000
DEBUG:   [             789]   AutodetectPhysicalAddress - autodetected physical address '1000'
DEBUG:   [             789]   Recorder 1 (1): physical address changed from ffff to 1000
NOTICE:  [             789]   << Recorder 1 (1) -> broadcast (F): physical adddress 1000
TRAFFIC: [             789]   << 1f:84:10:00:01
DEBUG:   [             790]   sending data: len = 4, payload = 1F:84:10:00:01
DEBUG:   [             940]   received data: header:00050001 p0:0010841F p1:00000001 p2:00000000 p3:00000000 reason:1
DEBUG:   [             940]   command transmitted
NOTICE:  [             941]   CEC client registered: libCEC version = 1.9.0, client version = 1.9.0, firmware version = 1, logical address(es) = Recorder 1 (1) , physical address: 1000, host: armv6l-unknown-linux-gnueabihf, features: 'P8 USB' 'P8 USB detect' 'RPi', git revision: 91b41e5, compiled on: Wed Jul  9 16:56:59 UTC 2014 by nightbuild@raspberrypi on Linux 3.10.26+ (armv6l)
NOTICE:  [             942]   << powering on 'TV' (0)
TRAFFIC: [             942]   << 10:04
DEBUG:   [             942]   sending data: len = 1, payload = 10:04
DEBUG:   [            1032]   received data: header:01020001 p0:00000410 p1:00000000 p2:00000000 p3:00000000 reason:1
DEBUG:   [            1033]   command 'image view on' was not acked by the controller
TRAFFIC: [            1033]   << 10:04
DEBUG:   [            1033]   sending data: len = 1, payload = 10:04
DEBUG:   [            1123]   received data: header:01020001 p0:00000410 p1:00000000 p2:00000000 p3:00000000 reason:1
DEBUG:   [            1124]   command 'image view on' was not acked by the controller
NOTICE:  [            1124]   unregistering all CEC clients
NOTICE:  [            1124]   unregistering client: libCEC version = 1.9.0, client version = 1.9.0, firmware version = 1, logical address(es) = Recorder 1 (1) , physical address: 1000, host: armv6l-unknown-linux-gnueabihf, features: 'P8 USB' 'P8 USB detect' 'RPi', git revision: 91b41e5, compiled on: Wed Jul  9 16:56:59 UTC 2014 by nightbuild@raspberrypi on Linux 3.10.26+ (armv6l)
DEBUG:   [            1124]   Recorder 1 (1): power status changed from 'on' to 'unknown'
DEBUG:   [            1124]   Recorder 1 (1): CEC version unknown
DEBUG:   [            1125]   Recorder 1 (1): osd name set to 'Recorder 1'
DEBUG:   [            1125]   Recorder 1 (1): device status changed into 'unknown'
NOTICE:  [            1125]   unregistering all CEC clients
DEBUG:   [            1518]   UnregisterLogicalAddress - releasing previous logical address
DEBUG:   [            1518]   received data: header:00060040 p0:0000000F p1:0000FFFF p2:00000000 p3:00000000 reason:40
DEBUG:   [            1518]   logical address changed to Broadcast (f)
NOTICE:  [            1519]   unregistering all CEC clients

System wake up now.
done

!xineliboutput.OSD.Size = 720x576
Starting VDR
done

Segmentation fault
VDR exits at Fri Nov 14 00:17:09 CET 2014
!xineliboutput.OSD.Size = 720x576

In fact, it lost the USB TUner. And if i reboot it's not enouth to get it works again. I should turn of the pi to have it works again, or i have to put off my tuner and put it again and launch vdr again And then it works.
Where are the action done on shutdown?
in fact i think that if you unload the firmware it does not works after.

EDIT3: the suspend action is here:
cat /sbin/suspend

I will take a look to see what should be done.

EDIT4:
I have test the resume option to see.
Quote
/etc/init.d/rc.init resume
/etc/init.d/dvb: line 48: can't open /var/spool/suspend.dvb: no such file

I don t know if it's related????
« Last Edit: November 14, 2014, 00:51:41 by Linus »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
Some questions on MLD on pi (From non German speaker!)
« Reply #18 on: November 14, 2014, 09:48:09 »
Hi,

there is a special suspend handling in the dvd package. Actually I think this is not needed on the RPI. Please try, if it helps, if you deactivate it by remove the two lines "resume=1" and "halt=1" in the file /etc/init.d/dvb

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #19 on: November 14, 2014, 09:51:18 »
I will test it.
Thank's.  :)

One more question, is there a way on vdr to read some file? Is there a file browser or something like that? I do not found a way to read some file that i put on the dd.

To read mpeg2 file, or mpeg4 or ts file that i put on it (not Rec file).

Is there a way?

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
Some questions on MLD on pi (From non German speaker!)
« Reply #20 on: November 14, 2014, 13:28:16 »
Yes and no. This should be possible with the play vdr plugin. But this plugin will need a patch (to use the omx player) and I do not have add it already.

But the omx player is already available if you will test it by command line.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #21 on: November 14, 2014, 13:36:20 »
Thank's that was what i was thinking after take a look and see one with mplayer. :/
I will take a look to see the source code of the pluggin.

EDIT: i have take a look of the src of the plugin, and i have no idea of how to patch it....
If you could do it it could be good. But if it need a lot of time it could be too long. :/


EDIT2: do you think that this help?
http://www.vdr-portal.de/board18-vdr-hardware/board98-arm-co/p1211404-rpihddevice-mplayer-plugin-patch-für-omxplayer/
« Last Edit: November 14, 2014, 13:55:32 by Linus »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
Some questions on MLD on pi (From non German speaker!)
« Reply #22 on: November 14, 2014, 15:49:11 »
Yes, that is the thread I read about that.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #23 on: November 14, 2014, 15:58:15 »
Could you try to had it? :)

EDIT: do you think that the pi could display mpeg2 video (tnt SD) without hardware accélération?
(to whatch some rec that has been rec from other computer).

In fact, it seems that it exist a mplayer that could support OpenMax gpu hardware acceleration.
I found that:
http://forum.xda-developers.com/showpost.php?p=34884188

It would be a better solution to have mplayer for the pi if it is possible.
« Last Edit: November 14, 2014, 16:23:20 by Linus »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
Some questions on MLD on pi (From non German speaker!)
« Reply #24 on: November 14, 2014, 16:34:49 »
If 1 Frame per second is enough for you, than you can use the mplayer ;)

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #25 on: November 14, 2014, 16:57:33 »
Of course not it's not enouth... :(

The patch to use omxplayer is the better way, but i do not know what is needed...

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #26 on: November 15, 2014, 11:09:50 »
Just one advice, for the remote.conf, you better use this one:
Quote
KBD.User9      0000000000000000 # Datei /etc/vdr/remote.conf
KBD.User9      0000000000000000 # (EasyVDR 0.6 )
KBD.User9      0000000000000000 #
KBD.User9      0000000000000000 # Holger Wessel , Jan. 2010
KBD.User9      0000000000000000 #

KBD.User9      0000000000000000 # Leider sind keine echten Bemerkungszeilen moeglich.
KBD.User9      0000000000000000 # Deshalb wird die Zeile kbd.user9 mit dumycode fuer Bemerkungen missbraucht
KBD.User9      0000000000000000 # Die echten Datenzeilen duerfen keine Bemerkung mit # enthalten
KBD.User9      0000000000000000 # Leerzeilen sind erlaubt
KBD.User9      0000000000000000 # Doppelbelegung (mehrere Codse auf die gleiche Funktion) sind erlaubt
KBD.User9      0000000000000000 #

KBD.User9      0000000000000000 # Cursor UP, Down, Left, Right
KBD.Up         00000000001B5B41
KBD.Down       00000000001B5B42
KBD.Left       00000000001B5B44
KBD.Right      00000000001B5B43

KBD.User9      0000000000000000 # Enter, ESC Backspace
KBD.Ok         000000000000000D
KBD.Back       000000000000001B
KBD.Back       000000000000007F

KBD.User9      0000000000000000 # F1 - F12
KBD.Red        000000001B5B5B41
KBD.Green      000000001B5B5B42
KBD.Yellow     000000001B5B5B43
KBD.Blue       000000001B5B5B44   
KBD.Menu       000000001B5B5B45
KBD.Mute       0000001B5B31377E
KBD.Volume-    0000001B5B31387E
KBD.Volume+    0000001B5B31397E
KBD.Play       0000001B5B32307E
KBD.Pause      0000001B5B32317E
KBD.Record     0000001B5B32337E
KBD.Stop       0000001B5B32347E

KBD.User9      0000000000000000 # F13 (Shift-F1
KBD.Power      0000001B5B32357E

KBD.User9      0000000000000000 # Tasten 0 bis 9
KBD.0          0000000000000030
KBD.1          0000000000000031
KBD.2          0000000000000032
KBD.3          0000000000000033
KBD.4          0000000000000034
KBD.5          0000000000000035
KBD.6          0000000000000036
KBD.7          0000000000000037
KBD.8          0000000000000038
KBD.9          0000000000000039

KBD.User9      0000000000000000 # Ende Keyboard-Definition
[∕quote]

Has the one provided with the OS, does not include some button like "stop" etc.

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
Some questions on MLD on pi (From non German speaker!)
« Reply #27 on: November 15, 2014, 11:18:18 »
I have already created the mplayer plugin. But it's not tested.

Claus
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #28 on: November 15, 2014, 11:19:17 »
Great news! I will test it the next week with the DVB part. :)
Thank's a lot

Offline Linus

  • Member
  • **
  • Posts: 54
    • View Profile
Some questions on MLD on pi (From non German speaker!)
« Reply #29 on: November 15, 2014, 13:52:31 »
I forget to report a small small bug.

The context: to configure the pi, i connect it to ethernet, it get an ip from dhcp in X.X.X.12.

Then after all is ok, i configure the wifi.
It get an ip X.X.X.14.

But when i boot the pi unplugged from the lan, so with the X.X.X.14, a notification on boot says that "the web server is running on X.X.X.12".
So with the previous ip, it does not get the last.  It's a minor problem so nothing important, but has i saw it.... ;)

1 [2] 3 4 ... 6 >>> Archiv / MLD 4.x / Raspberry PI / Some questions on MLD on pi (From non German speaker!)
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.