Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Linus

31
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« on: November 18, 2014, 13:47:19 »
Hi:
1)  "-o both" ==> I will check that this afternoon

2) powersave is not installed.
I don t know if it works. In fact, has i said, cpufreq is already ok, the only things is that by default it's "powersafe" that is on, and not "ondemand" governor. I will just had a command on the init script to change it 's just un "echo “ondemand” > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" on the init script.
I will take a look on the config.txt but i doupt that there is something related there, i don t know if we could select the governor from that file.
For usb, i will check the hub cmd that you give me, perhaps it works, i will see. :)

3) The key for controle the sound are  "+" and "-" (it works from the cmd line) but i have changed the key in the config file, it does not change any thing.

Thank's. :)

32
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« on: November 17, 2014, 21:13:29 »
I have solved the problem with the pluggin player. It works, i could play some mpeg video without any problem!!!!

I just need to add this options:
-o local to play sound on analog source

For hdmi it's:
-o HDMI

But we should find a way to do it automatically. Perhaps you could get the setting from the setting sound?


The only problem is that, after some time, it play the TV in backend so we lost the control of mplayer.
In fact, it play tv in front of the video, so it play the twice and the display flash. But we only contrôl tv.
The problem is that it play tv in background i don't know what could be done...

But it happen ones.
Other probel is that we do not have backward and fastward, just "jump" that is to fast. I am looking if a key exist to do that.


EDIT: the problem of mplayer does not happen again. So i will see if it's ok or not.

In fact, in the pluggin mplayer, the only thing that are bad are the key command.
I could not increase or low the sound the key does not works
The jump slow are on 1 and 3 key.

But in fact it's nearly to work.

33
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« on: November 17, 2014, 16:02:26 »
I will see.

For the governor, when i have change nothing, and it is on "powersafe" when i boot. so the default is not "ondemand" on MLD.

I do not have CPU TAKTUNG. In diverse i only have the webserver port.

For the key, i could eject it with "eject /dev/sda1" the led turn off. But after i could not mount it again without unplugget it and plug it again.

Do you think that something could be done in the "suspend" script to turn off the key?

34
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« on: November 17, 2014, 11:18:22 »
I have see that you have released a new version of the pluggin mplayer yesterday.

I have tested it yesterday.

So, i have got a fluid display, but i do not have any sound. I will try to investigate this afternoon.
It was tool late.

35
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« on: November 16, 2014, 23:43:23 »
Thank's. :)


EDIT: other default
The governor is set to "powersafe" and not "on_demand" so the cpu does not go to the max frequency.



EDIT2:
Do you think that it is possible to turn off something to power of the usbkey and mount it again on launch?
Because even in suspend the usb key stil power on. I do not know if she could live a long time power on 24/24.

EDIT3: with "eject" we could do it. The problem is for turn it on again...
If you have got some idea?

36
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« on: November 16, 2014, 19:50:23 »
I have already created the mplayer plugin. But it's not tested.

Claus
So:

For the DVB part, what you said, done the job.
Quote
"comment resume=1" and "halt=1" in the file /etc/init.d/dvb
Perhaps you could include it on the package?


For mplayer package, i have got this message:
Quote
** glibc detected *** /usr/bin/vdr: munmap_chunk(): invalid pointer: 0xb38ccd98 ***
sources: filesource /data/video has no includes set
sources: filesource /media/dvd has no includes set
sources: filesource /media has no includes set
status: volume=76 mute=0
resume: resume file is '/data/video/.mplayer.resume'
resume: assuming empty resume file
/usr/bin/omxplayer.sh: line 3: omxplayer: not found
killall: omxplayer.bin: no process killed
status: volume=89 mute=0
resume: resume file is '/data/video/.mplayer.resume'
resume: assuming empty resume file
/usr/bin/omxplayer.sh: line 3: omxplayer: not found
killall: omxplayer.bin: no process killed
resume: resume file is '/data/video/.mplayer.resume'
resume: assuming empty resume file
/usr/bin/omxplayer.sh: line 3: omxplayer: not found
killall: omxplayer.bin: no process killed
Aborted

In fact, it does not found the omxplayer and i do not find where it is located.


EDIT: get time from the DVB adaptator works like a charm! :)


37
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« 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.... ;)

38
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« on: November 15, 2014, 11:19:17 »
Great news! I will test it the next week with the DVB part. :)
Thank's a lot

39
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« 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.

40
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« 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...

41
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« 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.

42
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« 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/

43
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« 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?

44
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« 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????

45
Raspberry PI / Some questions on MLD on pi (From non German speaker!)
« on: November 13, 2014, 23:16:24 »
It seems that it works like a sharm! Thank you so much. :)