Page 7 of 18

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 4:45 pm
by zoelechat
See the output of ls LIBSO_DIR:
viewtopic.php?f=63&t=7295&start=140#p57388
it is usr/so!?

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 4:46 pm
by juusso
zoelechat wrote:Funny that there's no output at all from injection

Code: Select all

+ samyGOso -p 91 -l /mnt/opt/privateer/usr/so/libPVRAnyDev.so
Should be "successfully injected" or something like this...
It shouldnt, because path is incorrect. Will check why

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 4:47 pm
by juusso
zoelechat wrote:See the output of ls LIBSO_DIR:
viewtopic.php?f=63&t=7295&start=140#p57388
it is usr/so!?
f**k... then i changed this on my pc, but haven`t updated on server yet :)

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 4:49 pm
by juusso
karo2204 wrote:so now i have maybe a problem... i send the wrong copy file to tv.

maybe i overwrite the libso folder with the libso file...

Code: Select all

VDLinux#> ls -la $LIBSO_DIR/*
-rwxr-xr-x    1 65534    65534         7903 Sep 14  2013 /mnt/opt/privateer/usr/so/libChannelInfo.so
-rwxr-xr-x    1 65534    65534        22838 Sep 18  2013 /mnt/opt/privateer/usr/so/libMPEGts.so
-rwxr-xr-x    1 65534    65534          249 Sep  4  2013 /mnt/opt/privateer/usr/so/libRCremap.config
-rwxr-xr-x    1 65534    65534        30041 Sep  1  2013 /mnt/opt/privateer/usr/so/libRCremap.so
-rwxr-xr-x    1 65534    65534          290 Sep 21  2013 /mnt/opt/privateer/usr/so/libSTFU.config
-rwxr-xr-x    1 65534    65534        23429 Sep 21  2013 /mnt/opt/privateer/usr/so/libSTFU.so
-rwxr-xr-x    1 65534    65534          119 Sep 13  2013 /mnt/opt/privateer/usr/so/libSleepTimer.config
-rwxr-xr-x    1 65534    65534        38668 Sep 13  2013 /mnt/opt/privateer/usr/so/libSleepTimer.so
Copy the libPVRAnyDev.so also there...

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 4:53 pm
by karo2204
VDLinux#> ll
total 152
-rwxr-xr-x 1 65534 65534 7903 Sep 14 2013 libChannelInfo.so
-rwxr-xr-x 1 65534 65534 22838 Sep 18 2013 libMPEGts.so
-rwxr-xr-x 1 65534 65534 27454 Jan 1 01:55 libPVRAnyDev.so
-rwxr-xr-x 1 65534 65534 249 Sep 4 2013 libRCremap.config
-rwxr-xr-x 1 65534 65534 30041 Sep 1 2013 libRCremap.so
-rwxr-xr-x 1 65534 65534 290 Sep 21 2013 libSTFU.config
-rwxr-xr-x 1 65534 65534 23429 Sep 21 2013 libSTFU.so
-rwxr-xr-x 1 65534 65534 119 Sep 13 2013 libSleepTimer.config
-rwxr-xr-x 1 65534 65534 38668 Sep 13 2013 libSleepTimer.so

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 4:54 pm
by juusso
change code in script (add -d option)

Code: Select all

samyGOso -p $(pidof exeTV || pidof exeDSP) -l $LIBSO_DIR/$SO
to

Code: Select all

samyGOso -p $(pidof exeTV || pidof exeDSP) -l $LIBSO_DIR/$SO -d
start script

Code: Select all

sh -x /mnt/etc/init.d/02_05_PVRtoAnyDev.init start
give the output here (put in

Code: Select all

[ /code] text formatting tags)

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 4:56 pm
by karo2204

Code: Select all

VDLinux#> sh -x /mnt/etc/init.d/02_05_PVRtoAnyDev.init start
+ . /dtv/SGO.env
+ SYSROOT=/mnt
+ MOUNT_PATH=/dtv/usb/sda
+ export KMOD_VER=0114
+ export MOD_DIR=/mnt/lib/modules/3.0.33
+ export TMPDIR=/dtv
+ export HOME=/mtd_rwcommon
+ export SMB_CONF_PATH=/mnt/etc/samba/smb.conf
+ LOGFILE=/mnt/samygo.log
+ LD_LIBRARY_PATH=/mnt/opt/privateer/lib:/mnt/opt/privateer/usr/lib:/mnt/lib:/mnt/usr/lib:/tmp/bin:/mtd_cmmlib/RECOGNITION_LIB:/lib:/mtd_cmmlib/lib:/mtd_cmmlib/Comp_LIB:/mtd_exe/lib:/mtd_cmmlib/YWidget_LIB:/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_appdata/moip:/mtd_cmmlib/GAME_LIB:/mtd_appdata/gemstar:/mtd_cmmlib/DRM_LIB:/Java/lib:/mtd_cmmlib/InfoLink/lib:/mtd_appext/WidgetEngine:/mtd_appext/Webkit:/mtd_exe/WebServerApp/bin:/mtd_cmmlib/CBRE:/mtd_cmmlib/CBRE/bin/lib:/mtd_cmmlib/flashplayer/libs:/mtd_appdata/Runtime/lib/CairoShadow:/mtd_appdata/Runtime/lib:/mtd_appdata/Runtime/XorgLibs:/mtd_cmmlib/CM_LIB:/mtd_appext/OIPF/lib:/mtd_exe/OIPF/lib:/mtd_contents:/dtv
+ PATH=/mnt/opt/privateer/sbin:/mnt/opt/privateer/bin:/mnt/opt/privateer/usr/bin:/mnt/opt/privateer/usr/sbin:/mnt/sbin:/mnt/bin:/mnt/usr/bin:/mnt/usr/sbin:/tmp/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc/Scripts:/util:/mtd_appdata/Runtime/bin
+ export ENV=/dtv/.ashrc
+ export FRAMEBUFFER=/dev/sam/fb0
+ export DISTROOT=/mnt/opt/privateer
+ export LIBSO_DIR=/mnt/opt/privateer/usr/so
+ export TERM=linux
+ export LS_OPTIONS=--color=auto
+ SO=libPVRAnyDev.so
+ RecordingDevice=
+ PID_FILE=/dtv/.pvranydevd.pid
+ stop_bootloop
+ echo checking /dtv/usb/sda
checking /dtv/usb/sda
+ [ -e /dtv/usb/sda/STOP ]
+ pidof exeTV
+ samyGOso -p 91 -l /mnt/opt/privateer/usr/so/libPVRAnyDev.so
+ stop_daemon
+ [ -f /dtv/.pvranydevd.pid ]
+ cat /dtv/.pvranydevd.pid
+ pvrad_pid=6231
+ echo Stopping PVRAnyDev daemon. pid: 6231
Stopping PVRAnyDev daemon. pid: 6231
+ kill 6231
+ kill -9 6231
+ rm /dtv/.pvranydevd.pid
+ update_usblog
+ pidof exeTV
+ RecordingFS=ext4
+ [ -e /dtv/usb/usblog ]
+ cp -f /dtv/usb/usblog /tmp
+ printf
+ sleep 2
+ [ ! -z ]
+ mv -f /tmp/usblog /dtv/usb
+ start_daemon
+ [ -z ]
+ echo Starting PVRAnyDev daemon...
Starting PVRAnyDev daemon...
+ pvrad_pid=8016
+ echo PVRAnyDev daemon started with pid: 8016.
+ PVRAnyDev daemon started with pid: 8016.
+ echo 8016
/mnt/etc/init.d/02_05_PVRtoAnyDev.init daemon
VDLinux#>
Start/Stop:

Code: Select all


/mnt/etc/init.d/01_01_catch_crap.init start stop
Status:
/mnt/etc/init.d/01_02_telnet.init start stop
Status:
/mnt/etc/init.d/02_04_vusb.init start stop
Status:
File-Stor Gadget
/mnt/etc/init.d/02_05_PVRtoAnyDev.init start stop
Status:
[PVRAnyDev] SamyGO PVRAnyDev v0.1.8 - (c) bugficks 2013
[PVRAnyDev] * (null) - T-MST12DEUC T-MST12DEUC-1118.2 2014-02-05 *
[PVRAnyDev] Sym not found: _ZN11CDevListMgr19IsValidDeviceForPVREi
[PVRAnyDev] Error sym _ZN11CDevListMgr9AddDeviceERKiS1_: (nil) _ZN11CDevListMgr14t_AddToRecListEPKv: (nil)
[PVRAnyDev] Sym not found: _ZN16CPVRDataProvider20SetTimeshiftDurationEl
[PVRAnyDev] Sym not found: _ZN16CPVRPreprocessor34t_CheckDevicePerformanceTestResultEv
[PVRAnyDev] Sym not found: _ZN17CMMBrowserViewMgr9AddDeviceEi
[PVRAnyDev] init done...

Daemon started with pid: 8016
/mnt/etc/init.d/02_10_wakelan.init start stop
Status:
/mnt/etc/init.d/03_01_fuse.init start stop
Status:
/mnt/etc/init.d/03_03_nfsmount.init start stop
Status:
/mnt/etc/init.d/04_04_samba.init start stop
Status:
/mnt/etc/init.d/06_02_PVRtoTS.init start stop
Status:
/mnt/etc/init.d/06_05_apache.init start stop
Status:
tcp 0 0 0.0.0.0:1080 0.0.0.0:* LISTEN 1208/httpd
tcp 0 222 192.168.0.15:1080 192.168.0.16:2853 ESTABLISHED 6814/httpd
/mnt/etc/init.d/06_05_samba-server.init start stop
Status:
1206 1201
/mnt/etc/init.d/99_99_MPEGts.init start stop
Status:
looks better

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 4:58 pm
by juusso
add -d option as i wrote in previous post

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Posted: Sat Mar 22, 2014 5:01 pm
by zoelechat
Better to reboot TV between tests, I see daemon is stopped when it should be started...
In fact I forgot that start also restarts, but it's good to reboot sometimes ;)

Also for PVRtoTS use this script, the one you're using is totally wrong and outdated:
06_02_PVRtoTS.zip
Also try it and give output to see if there's just a PVRAnyDev problem or whole injections

Re: [App] SamyGO PVRAnyDev E/F Series

Posted: Sat Mar 22, 2014 5:07 pm
by karo2204

Code: Select all

VDLinux#> sh -x /mnt/etc/init.d/02_05_PVRtoAnyDev.init start
+ . /dtv/SGO.env
+ SYSROOT=/mnt
+ MOUNT_PATH=/dtv/usb/sda
+ export KMOD_VER=0114
+ export MOD_DIR=/mnt/lib/modules/3.0.33
+ export TMPDIR=/dtv
+ export HOME=/mtd_rwcommon
+ export SMB_CONF_PATH=/mnt/etc/samba/smb.conf
+ LOGFILE=/mnt/samygo.log
+ LD_LIBRARY_PATH=/mnt/opt/privateer/lib:/mnt/opt/privateer/usr/lib:/mnt/lib:/mnt/usr/lib:/tmp/bin:/mtd_cmmlib/RECOGNITION_LIB:/lib:/mtd_cmmlib/lib:/mtd_cmmlib/Comp_LIB:/mtd_exe/lib:/mtd_cmmlib/YWidget_LIB:/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_appdata/moip:/mtd_cmmlib/GAME_LIB:/mtd_appdata/gemstar:/mtd_cmmlib/DRM_LIB:/Java/lib:/mtd_cmmlib/InfoLink/lib:/mtd_appext/WidgetEngine:/mtd_appext/Webkit:/mtd_exe/WebServerApp/bin:/mtd_cmmlib/CBRE:/mtd_cmmlib/CBRE/bin/lib:/mtd_cmmlib/flashplayer/libs:/mtd_appdata/Runtime/lib/CairoShadow:/mtd_appdata/Runtime/lib:/mtd_appdata/Runtime/XorgLibs:/mtd_cmmlib/CM_LIB:/mtd_appext/OIPF/lib:/mtd_exe/OIPF/lib:/mtd_contents:/dtv
+ PATH=/mnt/opt/privateer/sbin:/mnt/opt/privateer/bin:/mnt/opt/privateer/usr/bin:/mnt/opt/privateer/usr/sbin:/mnt/sbin:/mnt/bin:/mnt/usr/bin:/mnt/usr/sbin:/tmp/bin:/usr/sbin:/usr/bin:/bin:/sbin:/etc/Scripts:/util:/mtd_appdata/Runtime/bin
+ export ENV=/dtv/.ashrc
+ export FRAMEBUFFER=/dev/sam/fb0
+ export DISTROOT=/mnt/opt/privateer
+ export LIBSO_DIR=/mnt/opt/privateer/usr/so
+ export TERM=linux
+ export LS_OPTIONS=--color=auto
+ SO=libPVRAnyDev.so
+ RecordingDevice=
+ PID_FILE=/dtv/.pvranydevd.pid
+ stop_bootloop
+ echo checking /dtv/usb/sda
checking /dtv/usb/sda
+ [ -e /dtv/usb/sda/STOP ]
+ pidof exeTV
+ samyGOso -p 91 -l /mnt/opt/privateer/usr/so/libPVRAnyDev.so -d
+ stop_daemon
+ [ -f /dtv/.pvranydevd.pid ]
+ update_usblog
+ pidof exeTV
+ RecordingFS=ext4
+ [ -e /dtv/usb/usblog ]
+ cp -f /dtv/usb/usblog /tmp
+ printf
+ sleep 2
+ [ ! -z ]
+ mv -f /tmp/usblog /dtv/usb
+ start_daemon
+ [ -z ]
+ echo Starting PVRAnyDev daemon...
Starting PVRAnyDev daemon...
+ pvrad_pid=8518
+ echo PVRAnyDev daemon started with pid: 8518.
PVRAnyDev daemon started with pid: 8518.
+ echo 8518
VDLinux#> + /mnt/etc/init.d/02_05_PVRtoAnyDev.init daemon

VDLinux#>
Now with the new PVRtoTS and the -d option.

So i did reboot the TV..

Code: Select all


/mnt/etc/init.d/01_01_catch_crap.init start stop
Status:
/mnt/etc/init.d/01_02_telnet.init start stop
Status:
/mnt/etc/init.d/02_04_vusb.init start stop
Status:
File-Stor Gadget
/mnt/etc/init.d/02_05_PVRtoAnyDev.init start stop
Status:
[PVRAnyDev] SamyGO PVRAnyDev v0.1.8 - (c) bugficks 2013
[PVRAnyDev] * (null) - T-MST12DEUC T-MST12DEUC-1118.2 2014-02-05 *
[PVRAnyDev] Sym not found: _ZN11CDevListMgr19IsValidDeviceForPVREi
[PVRAnyDev] Error sym _ZN11CDevListMgr9AddDeviceERKiS1_: (nil) _ZN11CDevListMgr14t_AddToRecListEPKv: (nil)
[PVRAnyDev] Sym not found: _ZN16CPVRDataProvider20SetTimeshiftDurationEl
[PVRAnyDev] Sym not found: _ZN16CPVRPreprocessor34t_CheckDevicePerformanceTestResultEv
[PVRAnyDev] Sym not found: _ZN17CMMBrowserViewMgr9AddDeviceEi
[PVRAnyDev] init done...

Daemon started with pid: 1152
/mnt/etc/init.d/02_10_wakelan.init start stop
Status:
/mnt/etc/init.d/03_01_fuse.init start stop
Status:
/mnt/etc/init.d/03_03_nfsmount.init start stop
Status:
/mnt/etc/init.d/04_04_samba.init start stop
Status:
/mnt/etc/init.d/06_02_PVRtoTS.init start stop
Status:
Not started
/mnt/etc/init.d/06_05_apache.init start stop
Status:
tcp 0 0 0.0.0.0:1080 0.0.0.0:* LISTEN 1297/httpd
tcp 0 0 192.168.0.15:1080 192.168.0.16:3067 ESTABLISHED 1299/httpd
/mnt/etc/init.d/06_05_samba-server.init start stop
Status:
1293 1288
/mnt/etc/init.d/99_99_MPEGts.init start stop
Status: