LG MS450H MS400H
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.

Pruebas con DvdPlayer

3 participantes

Ir abajo

Pruebas con DvdPlayer Empty Pruebas con DvdPlayer

Mensaje  alonso_c Vie Mayo 14, 2010 1:25 pm

Abro este 'post' para recoger información sobre el programa DvdPlayer, el principal archivo ejecutable del Living Box.

He recogido información de algunos sitios web que indican que DvdPlayer es el principal programa ejecutable que se encarga de habilitar todo el hardware desde el display, control de infrarrojos, activar servicios, instalar aplicaciones para controlar la reproducción de vídeo y audio, etc.

Es ejecutado por el proceso 'init' y está controlado por 'RootApp' que se encargará de volver a ejecutar 'DvdPlayer' si este proceso casca.

También comenta que el ejecutable 'DvdPlayer' es la parte más secreta y que su código fuente no está disponible y que es probable que el ejecutable sea diferente de un dispositivo a otro.

Comentan los pasos a seguir para probar los comandos del 'DvdPlayer' desde una consola por telnet:

1. telnet "IP to the box"
2. username: root
password: mugung
3. killall DvdPlayer
4. killall RootApp
5. cd /usr/local/bin
6. ./RootApp DvdPlayer

Tras ejecutar estos comandos podremos teclear los siguientes comandos que tendrán su correspondiente función a ejecutar en el 'DvdPlayer':

a - audio button
b - takes you into the recording setup screen
c - delete schedule when in recording, otherwise doesn't appear to do anything
f - reverse play «
j - reverse zoom (starts at max zoom and goes back to 1)
l - slow play reverse
m - mute on/off
n - skip to next title (not chapter)
o - Shut down quickly
p - skip to prior title (not chapter)
q - go back 10 SECONDS
r - start recording / switch to av
s - subtitle toggle
v - volume -
z - normal zoom

A - left
B - 30 Second Skip
C - Command Line interpreter, engineering mode, see below
D - right
E - Delete
F - Fast forward »
G - Asks for GCode. Not sure what the GCode is. Tried a VCR+ code given the context, but the code I tried only crashed the player.
H - report some kind of status
L - slow play forward
M - Menu
N - Next chapter
O - shut down normally
P - Prior chapter
Q - Stop
S - Play
T- AV input screen
V - volume +
W - up
X - down
Z - Step / pause

- - goto

URL original: http://rtd1073.wikidot.com/dvdplayer

alonso_c

Mensajes : 72
Fecha de inscripción : 11/03/2010

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Cómo probar un 'DvdPlayer' de otro equipo en el Living Box

Mensaje  alonso_c Vie Mayo 14, 2010 1:40 pm

Si queremos probar un ejecutable 'DvdPlayer' de otro equipo en nuestro equipo sin necesidad de instalar un firmware retocado, se me ocurren los siguientes comandos:

Acceso por telnet a nuestro living box

1. telnet "IP to the box"
2. username: root
password: mugung

Matamos los procesos 'RootApp' y 'DvdPlayer'
3. killall DvdPlayer
4. killall RootApp

Suponemos que en el directorio /tmp/hdd/root/usr/local/bin tenemos el contenido de /usr/local/bin
5. mkdir -p /tmp/hdd/root/usr/local/bin
5. cd /usr/local/bin
6. cp -R * /tmp/hdd/root/usr/local/bin

Ahora tenemos que copiar la versión de 'DvdPlayer' que queramos probar y sobreescribir la que ya hay en /tmp/hdd/root/usr/local/bin (la podemos copiar de un lápiz usb, por samba, etc.)
7. cp <directorio_origen_de_la_versión_del_dvdplayer_a_probar>/dvdplayer /tmp/hdd/root/usr/local/bin

Posteriormente montamos el directorio /usr/local/bin en el nuevo directorio de lectura escritura que hemos creado anteriormente:
8. mount --bind /usr/local/bin /tmp/hdd/root/usr/local/bin

Por último, nos vamos al directorio de ejecución del 'DvdPlayer' y lo ejecutamos:
9. cd /usr/local/bin
10. ./RootApp DvdPlayer

Y ahora, a ver lo que pasa en nuestro Living Box.

Este ejemplo se podría probar con el ejecutable del 'DvdPlayer' del nuevo Living Box con disco Blue-ray.

alonso_c

Mensajes : 72
Fecha de inscripción : 11/03/2010

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  vic1972 Vie Mayo 14, 2010 2:07 pm

Magnifico!!
Pues aqui esta el primer candidato: HMR600 su DvdPlayer esta en: http://dl.dropbox.com/u/684543/varios/ms450h/Firmwares/Alternativos/HMR600/DvdPlayer
vic1972
vic1972

Mensajes : 2260
Fecha de inscripción : 09/12/2009
Edad : 51
Localización : Malaga

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  alonso_c Vie Mayo 14, 2010 2:41 pm

No creo que funcione. Este aparato sólo tiene 1 sintonizador integrado y no creo que aporte mucho más al de nuestros equipos. La interfaz es bastante austera, por no decir cutre.

http://www.o2media.es/hmr-600w

"... Sintonizador TV: Sintonizador integrado de TV digital SD y HD de alta definición. MPEG2 / MPEG4 ..."

Pruebas con DvdPlayer HMR-600W_18

alonso_c

Mensajes : 72
Fecha de inscripción : 11/03/2010

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  vic1972 Vie Mayo 14, 2010 4:08 pm

Por supuesto, el tema es probar, ya que has comentado un metodo para probar rapido, no?
Ademas, con este aparato supuestamente se prodria grabar de una fuente externa ....
Fijate que en source ya puedes elegir grabar de DTV, SCART, etc
Tan solo es por probar...
Esta claro, que a dia de hoy, con los addons y trucos que tenemos, me quedo con el firmware tal y como lo tenemos Smile
Saludos
vic1972
vic1972

Mensajes : 2260
Fecha de inscripción : 09/12/2009
Edad : 51
Localización : Malaga

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  alonso_c Vie Mayo 14, 2010 6:44 pm

Está claro que lo interesante es poder probar otra versión del 'DvdPlayer', lo que pasa es que este modelo que tú indicas tiene, entre otros, dos entradas de euroconector, una de entrada para grabar y otra de salida para reproducir en una pantalla. Lo mismo para la entrada y salida de vídeo compuesto.

En nuestro caso, el living box no tiene conectores scart y de vídeo compuesto para poder grabar. Es por ello que digo que no le vea mucho la utilidad de este 'DvdPlayer'.

Pruebas con DvdPlayer Conexiones

alonso_c

Mensajes : 72
Fecha de inscripción : 11/03/2010

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  vic1972 Vie Mayo 14, 2010 8:44 pm

Hola,
pues a mi no me funciona.

me conecto, mato al proceso,
y ahora hago, sin cambiar nada de nada,

cd /usr/local/bin
./RootApp DvdPlayer

en el display aparece wait, y al minuto se rebota solo.
vic1972
vic1972

Mensajes : 2260
Fecha de inscripción : 09/12/2009
Edad : 51
Localización : Malaga

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  alonso_c Sáb Mayo 15, 2010 1:51 pm

Bueno, pues después de probarlo he de decir que funciona parcialmente. Tenía que haber indicado que no lo había probado todavía.

Cosas a considerar: Hay que retocar el script rcS para comentar las líneas del command_sender, tail -f command_sender y los 'pipes' antes y después de 'RootApp DvdPlayer' y 'DvdPlayer'.

He retocado el script rcS para que el 'DvdPlayer' se ejecute sin el 'RootApp' porque cada vez que se mata el proceso 'RootApp' lo que hace es reiniciar el LivingBox.

Fichero rcS:
Código:

...
                                                                     
if [ -f $DEFAULT_AP_DIR/DvdPlayer ] && [ -x $DEFAULT_AP_DIR/DvdPlayer ]; then
        cd $DEFAULT_AP_DIR                                                 
        #touch /tmp/command_sender.txt                                     
        if [ -f $DEFAULT_AP_DIR/RootApp ] && [ -x $DEFAULT_AP_DIR/RootApp ]; the
                echo Running dvdplayer with RootApp                           
                #tail -f /tmp/command_sender.txt | ./RootApp DvdPlayer | /usr/local/etc/PipeManagement &
                ./DvdPlayer &                                                 
        else                                                                   
                echo Running dvdplayer                                         
                #tail -f /tmp/command_sender.txt | ./DvdPlayer | /usr/local/etc/PipeManagement &
                ./DvdPlayer &                                                 
        fi                                                                     
        #echo " " >> /tmp/command_sender.txt                                   
else                                                                           
        /usr/local/etc/dvdplayer/script/run_tail                               
fi                                                                             

...                                                             

Por otra parte, una vez reinicado el Living Box, podemos hacer un killall DvdPlayer sin problemas.

A continuación nos vamos al directorio /usr/local/bin y ejecutamos ./DvdPlayer

Vemos como 'escupe' un montón de logs bastante interesantes. Luego, podemos pulsar las teclas que antes he comentado: Por ejemplo, tras pulsar la tecla 'D' sale el siguiente log:

[HDMI]: HDCP A5 Check Ri OK 4, Ri_source=0x9bbb Ri'_sink=0x9bbb
D
right
Key processed (179 ms).

Logs generados por DvdPlayer:
Código:

CMD: mkdir -p /tmp/netb/smb
In my system...
downloader 0 starts, 0x10162050
downloader 1 starts, 0x10164240
CMD: mkdir -p /tmp/smb
In my system...
CMD: ifconfig > /tmp/netb/samba_my_ip
In my system...
         This debug log
         RTK_DLNA_DMP create at 1273928336sec
         This debug log
file system 2, sector 4294966272
mount to /tmp/hdd/volumes/HDD1
file system 4, sector 262144
mount to na
file system 0, sector 0
mount to /tmp/hdd/livepause
file system 3, sector 262144
mount to /tmp/hdd/root
GrandMa Revision: 283843
(User Input)Pipe Created.
(Internal Event)Pipe Created.
pli initialization...
yearVersion=0x9, monthVersion=0xC, dayVersion=0x9, swVersion=0x1389
yearVersion=0x9, monthVersion=0x8, dayVersion=0x12, swVersion=0x1312
[AbstractAP.cpp:8074:IsNeedModify_rcS], no found check str=ignore:sata:1 in rcS

 @@@[AbstractAP.cpp:1141:Init():263749]@@@


 @@@[AbstractAP.cpp:1148:Init():263749]@@@


 @@@[AbstractAP.cpp:1157:Init():263749]@@@

MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125

 @@@[AbstractAP.cpp:1167:Init():264055]@@@


 @@@[AbstractAP.cpp:1191:Init():264056]@@@


 @@@[AbstractAP.cpp:1200:Init():264056]@@@

DB FILENAME = /tmp/ramfs/setup.real
[DataObject.cpp 382]DB Develop Version same . Don't be upgrade.
[DataObject.cpp 421]DB Version same . Don't be upgrade.

 @@@[AbstractAP.cpp:1227:Init():264211]@@@


 @@@[AbstractAP.cpp:1233:Init():264211]@@@


 @@@[AbstractAP.cpp:1248:Init():264211]@@@


 @@@[AbstractAP.cpp:1254:Init():264218]@@@

Video DebugMem Physical Address = 0xf532200

 @@@[AbstractAP.cpp:1258:Init():264220]@@@

MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125

 @@@[AbstractAP.cpp:1270:Init():264836]@@@


 @@@[AbstractAP.cpp:1276:Init():264836]@@@


 @@@[AbstractAP.cpp:1299:Init():264843]@@@


 @@@[AbstractAP.cpp:1324:Init():264844]@@@

[HDMI]: Set AVMute

 @@@[AbstractAP.cpp:1335:Init():264844]@@@

open pli interface twice...

-------------------------------------------
- MARS TP TP Driver (V 2.3 DATE 20090615) -
- DES/TDES CBC Calibration : OFF          -
-------------------------------------------

TP_FRAMER[0] input channel : 0 - dedicate TP0 input
TP_FRAMER[1] input channel : 1 - PCMCIA input
TP_FRAMER[0] input channel : 0 - dedicate TP0 input
TP buffer register mutex created
TP_FRAMER[1] input channel : 1 - PCMCIA input

[TVCTL] INFO, creating tuning thread

 @@@[AbstractAP.cpp:1341:Init():265635]@@@


 @@@[AbstractAP.cpp:1393:Init():265644]@@@

 ----------- ============= ---------------- RGB=0

 @@@[AbstractAP.cpp:1466:Init():265661]@@@


 @@@[AbstractAP.cpp:1472:Init():265662]@@@


 @@@[AbstractAP.cpp:1502:Init():265662]@@@

[HDMI]: HDMI is running...
[HDMI]: Enable HDCP
[HDMI]: PID = 287 Priority = 5
[HDMI]: Hotplug Change !!! -1 -> 1
[Util.cpp 948] videoVersion = 281756

 @@@[AbstractAP.cpp:1507:Init():265763]@@@

getHDMIReady()==1, i=0
[getHDMIPlugged()=1] [getHDMIReady()=1]
GetTvSystem=4, GetTvStandard=0, line=1548
MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125

[HDMI]: Start HDCP Authentication. t=338.081
[HDMI]: Tx Reads EDID from Rx.
[HDMI]: Tx Reads EDID from Rx. block=0
[HDMI]: Tx Reads EDID from Rx. block=1
[HDMI]: EDID chksum valid!!! chksum=14592 chksum divide 256=0
[HDMI]: 24-bit IEEE Registration Identifier (0x000C03) found   => HDMI Device
[HDMI]: HDMI_Device=1
[HDMI]: HDMI_Device=1 => HDMI Device
[HDMI]: HDMI Device

23 09 04 07 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[HDMI]: GetVidNameByTV   =>  VIDEO_HD1080_50HZ   VIDEO_INTERLACED   => 1080i 50Hz
[HDMI] HDMI_thread(280) call setHDMIAudioVideoFormat()
[HDMI] VID = 0x14   1080i 50Hz
[HDMI] check EDID structure !!!!
[HDMI]: TVSupportxvYCC = 0
[HDMI]: TVSupportxvYCC = 0, do not send metadata.
[HDMI]: Turn on HDMI................... 1 s_freq=0 c_cnt=0 t=338.610
[HDMI]: TVSupportYCbCr = 3
[HDMI]: This TV supports both YCbCr444 & YCbCr422.
[HDMI]: Disable audio setting by video.
[HDMI]: TVSupportxvYCC = 0, do not send metadata.
[HDMI]: Tell AUDIO firmware, now is HDMI_Video_Format_HD
[HDMI]: Send_Video_Format_To_Audio(1)
[HDMI]: argp.video_type=1
[HDMI]: Clear AVMute
[HDMI]: GetVidNameByTV   =>  VIDEO_HD1080_50HZ   VIDEO_INTERLACED   => 1080i 50Hz
[HDMI]: HDMI Latency does not exist.
[HDMI]: Turn on HDMI AUDIO
[HDMI]: Clear HDMI Audio Mute(Turn on AUDIO)
[HDMI]: Send_AudioMute() Ok, argp.hdmi_mute=0
[HDMI]: SET_HDMI_Frequency ST vid=0x14 HDMI_Freq=2
[HDMI]: call AUDIO_RPC_ToAgent_AOUT_HDMI_Set 1111
[HDMI]: call AUDIO_RPC_ToAgent_AOUT_HDMI_Set 2222
[HDMI]: SET_HDMI_Frequency SP vid=0x14 HDMI_Freq=2 hdmi_freq=74
[HDMI]: Setup a wider window of opportunity.
[HDMI]: HDMISwitchTVSystem SP. t=338.917
[HDMI]: GetVidNameByTV   =>  VIDEO_HD1080_50HZ   VIDEO_INTERLACED   => 1080i 50Hz
[HDMI]: HDMI use Device Private Key...................
MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125
 ----------- ============= ---------------- RGB=0
[HDMI] VID = 0x14   1080i 50Hz
[HDMI] check EDID structure !!!!
[HDMI]: TVSupportxvYCC = 0
[HDMI]: TVSupportxvYCC = 0, do not send metadata.
[HDMI]: Turn on HDMI................... 2 s_freq=0 c_cnt=0 t=339.092
[HDMI]: TVSupportYCbCr = 3
[HDMI]: This TV supports both YCbCr444 & YCbCr422.
[HDMI]: Disable audio setting by video.
[HDMI]: TVSupportxvYCC = 0, do not send metadata.
[HDMI]: Tell AUDIO firmware, now is HDMI_Video_Format_HD
[HDMI]: Send_Video_Format_To_Audio(1)
[HDMI]: argp.video_type=1
[HDMI]: Clear AVMute
[HDMI]: GetVidNameByTV   =>  VIDEO_HD1080_50HZ   VIDEO_INTERLACED   => 1080i 50Hz
[HDMI]: HDMI Latency does not exist.
[HDMI]: Turn on HDMI AUDIO
[HDMI]: Clear HDMI Audio Mute(Turn on AUDIO)
[HDMI]: Send_AudioMute() Ok, argp.hdmi_mute=0
[HDMI]: SET_HDMI_Frequency ST vid=0x14 HDMI_Freq=2
[HDMI]: call AUDIO_RPC_ToAgent_AOUT_HDMI_Set 1111
[HDMI]: call AUDIO_RPC_ToAgent_AOUT_HDMI_Set 2222
[HDMI]: SET_HDMI_Frequency SP vid=0x14 HDMI_Freq=2 hdmi_freq=74
[HDMI]: Setup a wider window of opportunity.
[HDMI]: HDMISwitchTVSystem SP. t=339.405
[HDMI]: GetVidNameByTV   =>  VIDEO_HD1080_50HZ   VIDEO_INTERLACED   => 1080i 50Hz

 @@@[AbstractAP.cpp:1566:Init():267153]@@@


 @@@[AbstractAP.cpp:1572:Init():267270]@@@


 @@@[AbstractAP.cpp:1589:Init():267270]@@@

IN : /tmp/ramfs/usb/livepause
IN : /tmp/ramfs/usb/rec

 @@@[AbstractAP.cpp:1593:Init():267271]@@@


 @@@[AbstractAP.cpp:1606:Init():267272]@@@


 @@@[AbstractAP.cpp:1636:Init():267379]@@@

AMute(1)


 startMode=0

startMode == NORMAL_START
IsFirstBootupAfterStandbyOtaUpdate, NO FOUND flag file
AbstractAP::Init, normal power on count=10
 ----------- ============= ---------------- RGB=0

 @@@[AbstractAP.cpp:1698:Init():267415]@@@

set Region to:2008000  cc:8 offset:1(h) onid:0x20fa
ll lastLCN:900
m_pDtvApp[0]=0x10237C20
set Region to:2008000  cc:8 offset:1(h) onid:0x20fa
ll lastLCN:900
m_pDtvApp[1]=0x10249E18
[RootAP.cpp:7184, allocateTuner] m_tunerState[0] = 1
[RootAP.cpp:7184, allocateTuner] m_tunerState[1] = 1
[SI DB ] err region undef. time offset match error cc=0
set Region to:0  cc:0 offset:0(h) onid:0x0
ll lastLCN:900
[CInputDTV.cpp 617] m_tunerHandle = 0

[TVFE] INFO, TunerControlInit, Init Tuner 0
TP_FRAMER[0] input channel : 0 - dedicate TP0 input
 BUF[0] : BASE=0d400000, LIMIT=0d74e000, RP=0d400000, WP=0d400000, OFST=40000000
[CInputDTV.cpp 683] set EVENT_FLUSH
[CInputDTV.cpp 684] TS base = 0x4d400000, limit = 0x4d74e000
MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125

1 usb block device found

device 0 is /sys/block/sda
No Recording Partition Available !!!!!!
No Timeshift Partition Available !!!!!!
MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125
TTDecodeFilter....
TTDecoderCreate.....
TTMainThread...start...
creating thread
TTDecoderCreate...1..done
TTDecodeFilter....done  m_id = 1
start ao rpc config
start ao rpc config spdif
MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125
PPAOUT output pin is  pp pin
AOUT_PIN_EN == 1
MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125
[HDMI]: Bcaps=      0x00
[HDMI]: Bcaps=      0x80 => HDMI Device
flow: dvbApp BuildFlow end
*** aout pause
MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125
TTDecodeFilter::Pause
flush TELETEXT begin
TTPinFlush...
TTPinFlush...return 1.
flush TELETEXT end
flush SPIC begin
flush SPIC end
flush AUDIO begin
flush AUDIO end
flush VIDEO begin
flush VIDEO end
******** Updated PID Filter List ********
[CInputDTV.cpp 2792] set EVENT_FLUSH
flush TELETEXT begin
TTPinFlush...
TTPinFlush...return 1.
flush TELETEXT end
flush SPIC begin
flush SPIC end
flush AUDIO begin
flush AUDIO end
flush VIDEO begin
flush VIDEO end
[HDMI]: HDCP A3 Check Ri fail, Ri_err=0 --- Ri_source=0x3d17  Ri'_sink=0x66d4
[HDMI] HDMI_thread(315) hdmi->HDCP_Authenticate(0x6) return S_FALSE

[HDMI]: Start HDCP Authentication. t=344.321
TTDecodeFilter::Run
src/tpif_NeptuneTP.cpp : 281 : StreamControl : TSOUT MUTE <OFF>
src/NeptuneTP.cpp, 1455, StreamControl: Start Streaming
Dvb PlayChannel 1
src/tpif_NeptuneTP.cpp : 291 : StreamControl : TSOUT MUTE <ON>
src/NeptuneTP.cpp, 1437, StreamControl: Stop Streaming

[TVFE] INFO, SetNIM_Frontend : freq=770000000, tv_sys=DVBT 8M
[HDMI]: EDID read before, no need to read again.
[HDMI]: HDMI use Device Private Key...................
[NIM] INFO, MXL5007 fre: 770000000, count = 2, Lock Status = locked
DTV: Tuner lock ok 770000000
si set ch :1 sType:1 flag:0x100004
SiAgtIF_ChangeChannel st
SiAgtIF_ChangeChannel end
src/tpif_NeptuneTP.cpp : 281 : StreamControl : TSOUT MUTE <OFF>
src/NeptuneTP.cpp, 1455, StreamControl: Start Streaming
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
[CInputDTV.cpp 2792] set EVENT_FLUSH
flush TELETEXT begin
TTPinFlush...
TTPinFlush...return 1.
flush TELETEXT end
flush SPIC begin
flush SPIC end
flush AUDIO begin
============ CDtvState::setSubtitle, type(0), value(0) showVideo(1)
flush AUDIO end
flush VIDEO begin
RootAP::Activate, internal HDD is not ready, DONT start timeshift
flush VIDEO end
RP=0xd400000 WP=0xd40500c
============ CDtvState::setSubtitle, type(0), value(0) showVideo(1)

 @@@[AbstractAP.cpp:1752:Init():272842]@@@

MediaServer.cpp , 433 bind local IP fail !!error = Unknown error 125

 @@@[AbstractAP.cpp:1781:Init():272846]@@@

AMute(1)
IN : /tmp/net
Create /tmp/net Ok!!!
GetDeviceUp 0 flag : 0x1043
SetupClass::GetInstance()->GetNetEth0DHCPEnable() = 1
  Kill Pid File = /var/lock/udhcpc_eth0.pid , Pid = 232Click eth0 DHCP IP and DNS
In my system...
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
info, udhcpc (v0.9.9-pre) started
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
 - pid: 100, active: 1, type: 1, codec: 20
RAT: send PRESENT_EIT to AP 0x212
=======================
Power On Count : 10
=======================
GuideAP::StartNetworkBackgroundCheck, enter
NetworkUpdateState::Init, enter
NetworkUpdateState::ChangeState, enter, m_state=0, toState=1
NetworkUpdateState::ChangeState, STATE_NET_UP_INITED success
NetworkUpdateState::ChangeState, leave, ret=0x10000000
NetworkUpdateState::ChangeState, enter, m_state=1, toState=2
1. MakeQueryRequest 
In my system...
[SI DB ] pmt #audio:2
[SI API] SI info: pmt update :530 530
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
 - pid: 100, active: 1, type: 1, codec: 20
 - pid: 200, active: 1, type: 1, codec: 20
 - pid: 1000, active: 1, type: 1, codec: 20
 - pid: 1500, active: 1, type: 1, codec: 20
 - pid: 2000, active: 1, type: 1, codec: 20
In my system...
In my system...
In my system...
ifconfig eth0 169.254.87.222
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
 - pid: 100, active: 1, type: 1, codec: 20
 - pid: 200, active: 1, type: 1, codec: 20
 - pid: 1000, active: 1, type: 1, codec: 20
 - pid: 2010, active: 1, type: 1, codec: 20
 - pid: 2000, active: 1, type: 1, codec: 20
In my system...
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
 - pid: 100, active: 1, type: 1, codec: 20
 - pid: 2020, active: 1, type: 1, codec: 20
 - pid: 2010, active: 1, type: 1, codec: 20
 - pid: 2000, active: 1, type: 1, codec: 20
route add -net 0.0.0.0 netmask 0.0.0.0 eth0
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
 - pid: 100, active: 1, type: 1, codec: 20
 - pid: 2020, active: 1, type: 1, codec: 20
In my system...
debug, Sending discover...
In my system...
debug, Sending select for 192.168.1.4...
In my system...
RP=0xd49958c WP=0xd49e7cc
[SI DB ] pmt #audio:2
[SI API] SI info: pmt update :530 530
In my system...
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
 - pid: 100, active: 1, type: 1, codec: 20
info, Lease of 192.168.1.4 obtained, lease time 259200
In my system...
In my system...
NetworkUpdateState::ChangeState, leave, ret=0x10000000
NetworkUpdateState::Init, leave
GuideAP::StartNetworkBackgroundCheck, leave

 @@@[AbstractAP.cpp:1806:Init():274225]@@@

NetworkUpdateState::ExecuteQuery, enter
In my system...
In my system...
[SI API] SI info:SDT change
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
 - pid: 100, active: 1, type: 1, codec: 20
NetworkUpdateState::ExecuteQuery, 1, cmd=./base64 /tmp/hdd/root/first_request > /tmp/hdd/root/first_request_64encode
NetworkUpdateState::CmdRun, m_pid=339
DeleteStandbyOtaFirstBootFlagFile, success, cmd=rm -f /usr/local/etc/dvdplayer/standby_ota_first_boot

 @@@[AbstractAP.cpp:1931:Init():274631]@@@

 0/4 - /proc/net/rtl8187/wlan0
 1/4 - /proc/net/rtl819xU/wlan0
 2/4 - /proc/net/rtl819xSU/wlan0
 3/4 - /proc/net/rtl819xE/wlan0

 @@@[AbstractAP.cpp:1953:Init():274632]@@@

=== GPIO 102, mute = 0
In my system...
deleting routers

 @@@[AbstractAP.cpp:1998:Init():274898]@@@

In my system...
RP=0xd539b74 WP=0xd53d578

 @@@[AbstractAP.cpp:2007:Init():274988]@@@


 @@@[AbstractAP.cpp:2015:Init():274989]@@@


 @@@[AbstractAP.cpp:2021:Init():274990]@@@


 @@@[AbstractAP.cpp:2030:Init():274990]@@@


 @@@[AbstractAP.cpp:2037:Init():274992]@@@

CheckReloadHdmi==0
#0, path=/tmp/ramfs/volumes/HDD ( Internal ), type=1, port=1
Key processed (2 ms).
>>>>>>>>>>>tuner SI_MESSAGE_NEW_PRESENT_EIT
adding dns 192.168.1.1
NetworkUpdateDialogs::HandleTimer, NETWORK_UPDATE_TIMER, m_look=0
NetworkUpdateState::HandleTimer, receive NETWORK_UPDATE_TIMER, m_state=2
NetworkUpdateDialogs::ChangeLookTo, look=0 isn't allowed under background check
RP=0xd5c0850 WP=0xd5c4be0
[HDMI]: Bcaps=      0x80
[HDMI]: Bcaps=      0x80 => HDMI Device
NetworkUpdateDialogs::HandleTimer, NETWORK_UPDATE_TIMER, m_look=0
NetworkUpdateState::HandleTimer, receive NETWORK_UPDATE_TIMER, m_state=2
[HDMI]: HDMI HDCP Authenticated. t=348.913
[HDMI]: HDCP A5 Check Ri OK 3, Ri_source=0xd561  Ri'_sink=0xd561
RP=0xd64a13c WP=0xd64a2b4
NetworkUpdateDialogs::HandleTimer, NETWORK_UPDATE_TIMER, m_look=0
NetworkUpdateState::HandleTimer, receive NETWORK_UPDATE_TIMER, m_state=2
[SI DB ] found TOT
got tot:2
[SI DB ] numRegions:2 iter:0 CC:ESP regId:1
[SI DB ] CC:ESP +/-:0 offSet hr:2 min:0 CRegId:1 entries:2
[SI DB ] TOT offset:7200 unmatch preCompute one:3600. set to new
      ==========================================================================
      # RootAP::UpdateDtvTimeToSystem, get time from DTV: 12:59:10, 2010/05/15 #
      ==========================================================================
RootAP::UpdateDtvTimeToSystem, m_isGotDtvTimeWhenBootup = 1, SUCCESS
RP=0xd6cabb0 WP=0xd6cd648
NetworkUpdateState::ExecuteQuery, 2, cmd=./wget http://aswnus.lge.com/servlet/CheckFEInfoCmd.fec --post-file=/tmp/hdd/root/first_request_64encode -S -O /tmp/hdd/root/CheckFEInfoCmd.fec
NetworkUpdateState::ExecuteQuery, leave
NetworkUpdateDialogs::HandleTimer, NETWORK_UPDATE_TIMER, m_look=0
NetworkUpdateState::HandleTimer, receive NETWORK_UPDATE_TIMER, m_state=2
In my system...
NetworkUpdateState::ChangeState, enter, m_state=2, toState=3
NetworkUpdateState::ChangeState, leave, ret=0x10000000
NetworkUpdateDialogs::ChangeLookTo, look=4 isn't allowed under background check
RP=0xd40ed34 WP=0xd40ef68
NetworkUpdateDialogs::HandleTimer, NETWORK_UPDATE_TIMER, m_look=0
NetworkUpdateState::HandleTimer, receive NETWORK_UPDATE_TIMER, m_state=3
RP=0xd4946f8 WP=0xd499068
NetworkUpdateDialogs::HandleTimer, NETWORK_UPDATE_TIMER, m_look=0
NetworkUpdateState::HandleTimer, receive NETWORK_UPDATE_TIMER, m_state=3

...

RP=0xd62e378 WP=0xd6361c8
[SI DB ] pmt #audio:2
[SI API] SI info: pmt update :530 530
******** Updated PID Filter List ********
 - pid: 101, active: 1, type: 2, codec: 2
 - pid: 103, active: 1, type: 3, codec: 6
 - pid: 104, active: 0, type: 3, codec: 6
 - pid: 111, active: 0, type: 4, codec: 19
 - pid: 102, active: 0, type: 5, codec: 19
 - pid: 0, active: 1, type: 1, codec: 20
 - pid: 20, active: 1, type: 1, codec: 20
 - pid: 16, active: 1, type: 1, codec: 20
 - pid: 17, active: 1, type: 1, codec: 20
 - pid: 18, active: 1, type: 1, codec: 20
 - pid: 100, active: 1, type: 1, codec: 20
NetworkUpdateDialogs::HandleTimer, NETWORK_UPDATE_TIMER, m_look=0
NetworkUpdateState::HandleTimer, receive NETWORK_UPDATE_TIMER, m_state=3
RP=0xd6f4680 WP=0xd6f4c60
RP=0xd462390 WP=0xd466954
...

El problema que veo es que la pantalla no se actualiza. Obedece los comandos del teclado y también las teclas del mando a distancia.

Para matar el proceso, hacemos un CTRL+C y listo.

Por cierto, no intentéis ejecutar de nuevo el 'DvdPlayer' porque cascará y generará un archivo core.

alonso_c

Mensajes : 72
Fecha de inscripción : 11/03/2010

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  vic1972 Dom Mayo 16, 2010 11:54 am

Hola,
muy interesante, gracias por el aporte.

Varios.


1. dices que modificas rcS para que se ejecute sin el RootApp, pero veo y el fichero que tu has puesto sigue estando el RootApp
Esto es asin? o donde me he perdido?



2. No entiendo bien cuando dices que saca muchas cosas por la pantalla, pero que luego no puedes ver la salida.

Quizas puedas hacer algo como: ./DvdPlayer & > /tmp/appout

y luego escribes un tail -f /tmp/apput
Tan solo una idea por si ayuda ...

Que bueno ...
vic1972
vic1972

Mensajes : 2260
Fecha de inscripción : 09/12/2009
Edad : 51
Localización : Malaga

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  alonso_c Dom Mayo 16, 2010 1:12 pm

vic1972 escribió:Hola,
muy interesante, gracias por el aporte.

Varios.


1. dices que modificas rcS para que se ejecute sin el RootApp, pero veo y el fichero que tu has puesto sigue estando el RootApp
Esto es asin? o donde me he perdido?

El fichero que he puesto es un trozo del rcS en el que he comentado varias líneas de código y también he comentado la ejecución del DvdPlayer con y sin el RootApp. En ambas líneas las he sustituido directamente por ./DvdPlayer &


vic1972 escribió:2. No entiendo bien cuando dices que saca muchas cosas por la pantalla, pero que luego no puedes ver la salida.

Quizas puedas hacer algo como: ./DvdPlayer & > /tmp/appout

y luego escribes un tail -f /tmp/apput
Tan solo una idea por si ayuda ...

Que bueno ...

Pueso eso es lo que he hecho precisamente y he puesto esa salida.

alonso_c

Mensajes : 72
Fecha de inscripción : 11/03/2010

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  vic1972 Dom Mayo 16, 2010 5:13 pm

Cierto!!! Smile
se me paso por alto el # del comentario.
Que bueno,
entonces veo que se puede lanzar sin el RootApp.

Entonces basicamente el RootApp es como una especie de watchdog, para rebotar el lg en caso de que no
responda la aplicación principal ....
Lo probara luego. gracias.
vic1972
vic1972

Mensajes : 2260
Fecha de inscripción : 09/12/2009
Edad : 51
Localización : Malaga

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  alonso_c Dom Mayo 16, 2010 9:00 pm

He hecho también la prueba de comentar también las líneas de ejecución del 'DvdPlayer' pero tras reiniciar se queda en la pantalla del 'LG' con el 'HELLO' en la pantalla del Living Box.

Supongo que se podrá acceder conectando el PC con IP 10.0.0.4 y haciendo un telnet al Living Box con IP 10.0.0.5

El propio programa 'DvdPlayer' arranca el DHCP luego inicializa el sonido y luego el vídeo, entre otras cosas.

He tenido que volver a instalar de nuevo el firmware.

Como indicación, he cogido el firmware tuyo 'MS400_091209_0118.img' retocado y en el archivo package1/usr.local.etc.tar.bz2 he incluido el fichero dvdplayer/dtv_channel.txt vamos, el archivo de los canales ya configurado y al tras instalar el firmware retocado, ya te copia también el archivo con los canales.

Estaría chulo poder incluir el archivo donde se guarda la configuración del Living Box, así como el idioma por defecto, etc.

alonso_c

Mensajes : 72
Fecha de inscripción : 11/03/2010

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  vic1972 Lun Mayo 17, 2010 9:31 am

Bueno, muy bien, ...
A ver si tengo algo de tiempo y consegio hacer yo tambien esas pruebas.
Que se me estan ocurriendo algunas ideas Wink

Buen trabajo!!
vic1972
vic1972

Mensajes : 2260
Fecha de inscripción : 09/12/2009
Edad : 51
Localización : Malaga

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  xotaerre Jue Ene 13, 2011 11:44 am

Hola,

Buscando cosas, he encontrado una página que parece ofrecer el fuente del firmware de un pvr.
Parece que incluye también el fuente del dvdplayer. Seguramente estará adaptado a este equipo (Mvix Ultio),
pero no sé si puede ser interesante:

http://www.mvixusa.com/support/index.php?_m=downloads&_a=viewdownload&downloaditemid=50

Estoy usando el harmony 1.2 y ya se me ha colgado una vez.

Un saludo, y gracias por el esfuerzo de la comunidad....
Xota

xotaerre

Mensajes : 11
Fecha de inscripción : 12/02/2010

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  vic1972 Jue Ene 13, 2011 1:40 pm

Hola,
gracias por el enlace,
lo he estado mirando,
y parece interesante, aunque no he conseguido encontrar el codigo fuente de la aplicación principal.
Quizas otros usuarios puedan encontrar algo util, no se.

Aparecen los entornos para crear linux, y los distintos paquetes/utilidades abiertos GPL que tienen la obligación de
decir cuales han usado y publicar.
saludos.
vic1972
vic1972

Mensajes : 2260
Fecha de inscripción : 09/12/2009
Edad : 51
Localización : Malaga

Volver arriba Ir abajo

Pruebas con DvdPlayer Empty Re: Pruebas con DvdPlayer

Mensaje  Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.