D series rooting (arm cpu architecture only) UPDATE!

Here is information about customize your D series firmware..:!:This forum is NOT FOR USER questions or problems but DEVELOPER.

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby rass » Thu Dec 29, 2011 3:08 pm

Denny wrote:
rass wrote:....
...
..
As I undestand right, I should change 03_03_nfsmount.init to mount nfs to virtual usb root /dtv/usb/sda not like now to /dtv/usb/sda/nfs/IP/_share ? That is all ?
R.


100 % correct!

if posible for each mount point to install viritual usb device, you may change between them and select whitch one is default recording device.




Ok, thanks for answer, I will test it.

And next question: how to create more virtual usb devices ? ( change some init scripts ?, now is done automatically when samygo is started )


And one next: is it possible to change default recording device, somewhere in the options ? ( I didn't found it)
40D6000 (T-GAS6DEUC-1014.0)
______________________________________________
my other hobby: saablin.net, www.trionictuning.com/forum/
rass
 
Posts: 15
Joined: Sat Dec 17, 2011 7:14 pm

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby Denny » Thu Dec 29, 2011 8:27 pm

And one next: is it possible to change default recording device, somewhere in the options ? ( I didn't found it)


i wrote you, it is posible if you have multiple devices, look at facebook , there is one image i think posted.

to get options menue you may go :
SmartHub -> RecordedTV -> RightSideUP you have 3 icons -> select 1st one "Device Managment" then go down to Default Recording Device : -> Select whitch one you want , if you have more then one.

remember, device that is not xfs format , will be listed only after exec uting of samygo app.
Denny - 데니 - 丹尼 (card2000)
UE55C8000 UE55D8000 UE32D6510 BD-C9600 3xDM8000
Reversing HW Demux Drivers and API from Samsung´s TV
Denny
Official SamyGO Developer
 
Posts: 327
Joined: Thu Sep 30, 2010 12:18 pm
Location: Croatia

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby cderory » Fri Dec 30, 2011 1:04 pm

Hello,

is someone with a a working recording on NFS configuration could make a copy of the configuration files ?
Many peoples like me are trying to record on NFS and can't find any solutions.

Thanks

Cyrille
cderory
 
Posts: 6
Joined: Thu Dec 29, 2011 11:18 am

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby jarod73 » Fri Dec 30, 2011 10:24 pm

This is my 03_03_nfsmount.init
I use a pendrive always connected to tvset to create sda1 virtual usb. ( at the moment I've not figured how to create one new at samygo start-up)
My nfsserver is freenfs configured to share d:\nfsrec\rec .
I can record but i can't access recorded files by tv-recording widget in smart-hub.

bye J.


Code: Select all
#!/bin/sh
#
# © Copyright 1996-2010, ZsoltTech.Com
#       by Ser Lev Arris <arris@ZsoltTech.Com>
#
#       donated for the SamyGo Project
#       http://samygo.sourceforge.net/
#
#       Version: SamyGO svn $Id: 03_03_nfsmount.init 1069 2011-01-03 16:47:24Z arris69 $

. /dtv/SGO.env
# sleep 9
##### YOU CAN CHANGE ME HERE ######
SERVER="10.7.128.23"
# SERVER="10.0.0.1" # if you want a fixed server
SHARES="/rec"
# SHARES="Video Music Photo" # if you won't all your shares, but then set SERVER too!!
##### CHANGE ME END ######

FR_NAME="NFS Server"

M_OPTS="soft,tcp,async,nolock,rsize=32768,wsize=8192"

# M_OPTS="rw,soft,udp,nolock,rsize=32768,wsize=32768"
# M_OPTS="soft,tcp,nolock,rsize=32768,wsize=32768"
# M_OPTS="soft,tcp,nolock,rsize=8192,wsize=8192"
# M_OPTS="soft,tcp,nolock"

SERVERS="Don't set me!!"

####### DEST_DIR=$MOUNT_PATH/nfs
DEST_DIR="/dtv/usb/sda1"

do_mount()
{
#      $(echo -e "[sdg]\nVendor : NfsMount\nProduct : $FR_NAME\n\
#Serial : Q80VQLFG\nDevpath : 7\nLun : 0\nMountDir : $DEST_DIR\nFileSystem : vfat\n" >> /dtv/usb/log)
   
   for i in $S_MOUNTS ; do
########   M_POINT="$DEST_DIR/$1/$(echo -n $i | sed -e "s/\//_/g")"
      M_POINT="$DEST_DIR(echo -n $i | sed -e "s/\//_/g")"
########   mkdir -p "$M_POINT"
      if [ `cat /proc/mounts | grep -c "$M_POINT"` -lt "1" ] ; then
########      /bin/busybox mount -o "$M_OPTS" "$1:$i" "$M_POINT"
         /bin/busybox mount -o "$M_OPTS" "$1:$i" "$DEST_DIR" -t nfs
      else
         echo "$M_POINT is mounted!"
      fi
   done
}

get_shares()
{
   if [ -z "$SHARES" ] ; then
      echo -n "Search Shares on: "
      for i in $SERVERS ; do
         echo $i
         # S_MOUNTS=$(showmount --no-headers -e $i | cut -d " " -f1)   
         S_MOUNTS=$(showmount --no-headers -e $i | sed 's/^\(.*\) .*/\1/')   
         [ -n "$S_MOUNTS" ] && do_mount $i
      done
   else
      echo -n "Fixed Server: "
      for i in $SERVERS ; do
         echo $i
         S_MOUNTS=$SHARES
         [ -n "$S_MOUNTS" ] && do_mount $i
      done
   fi
}

get_servers()
{
   if [ -z "$SERVER" ] ; then
      # SERVERS=$(cat /proc/net/arp | grep -v "IP address" | cut -d " " -f1)
      SERVERS=$(cat /proc/net/arp | grep -v "IP address" | sed 's/^\(\w*.\w*.\w*.\w*\) *.*/\1/')
   else
      SERVERS=$SERVER
   fi
}

case $1 in
   start)
   # for systems with modular nfs kernel support
   insmod $MOD_DIR/kernel/net/sunrpc/sunrpc.ko
   insmod $MOD_DIR/kernel/fs/lockd/lockd.ko
   insmod $MOD_DIR/kernel/fs/nfs_common/nfs_acl.ko
   insmod $MOD_DIR/kernel/fs/nfs/nfs.ko
   get_servers
   get_shares
   ;;
   stop)
   # may can fail if device access the mount from content library
   # for i in $(cat /proc/mounts | grep nfs | cut -d " " -f2) ; do
   for i in $(cat /proc/mounts | grep "$DEST_DIR" | sed 's/^\(.*\) \(.*\) nfs .*/\2/') ; do
      /bin/busybox umount $i
   done
   ;;
   status)
   /bin/mount | grep "$DEST_DIR"
   ;;
   *)
   echo "Usage: $0 {start|stop|status}" 1>&2
   exit 0
   ;;
esac
UE40D7000LQXZT
T-GAPDEUC 1018.0
DUID 2DCFP7.......
WinXP sp3
jarod73
 
Posts: 22
Joined: Mon Nov 14, 2011 10:45 pm
Location: Italy

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby cderory » Sat Dec 31, 2011 1:18 pm

Thanks Jarod73,

I've changed file "03_03_nfsmount.init" with the following :
##### YOU CAN CHANGE ME HERE ######
SERVER="192.168.1.10" # if you want a fixed server
SHARES="Multimedia Multimedia/Films Multimedia/Dessins_animes"
# SHARES="Video Music Photo" # if you won't all your shares, but then set SERVER too!!
##### CHANGE ME END ######

FR_NAME="NFS Server"
# M_OPTS="soft,udp,async,nolock,rsize=32768,wsize=8192"
# M_OPTS="rw,soft,udp,nolock,rsize=32768,wsize=32768"
# M_OPTS="soft,tcp,nolock,rsize=32768,wsize=32768"
# M_OPTS="soft,tcp,nolock,rsize=8192,wsize=8192"
M_OPTS="soft,tcp,nolock"

SERVERS="Don't set me!!"

DEST_DIR="/dtv/usb/sda1"

I can watch movies on the pendrive.
NFS is mounted on pendrive on /dtv/usb/sda1/Multimedia and /dtv/usb/sda1/Multimedia_Films and /dtv/usb/Multimedia_Dessins_Animes.

But I can't record.
I've "04_04_samba.dis" and "03_03_djmount.dis" : disable.
I can't understand what is the use of "80_80_record_to_nwshare.init" (mount NFS over SMB ???)

Thanks.

Cyrille
cderory
 
Posts: 6
Joined: Thu Dec 29, 2011 11:18 am

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby jarod73 » Sat Dec 31, 2011 1:47 pm

Cyrille, I don't use 80_80 anymore and I don't use scripts from remi75.
You need only to use 03_03 I've attached here.

replace your 03_03 ( after a making a backp copy of it )and change only server and share.
share must start with / so your share should be "/Multimedia Multimedia/Films Multimedia/Dessins_animes",
assuming you nfs server is sharing this full path.

there is something wrong if you have NFS mounted on /dtv/usb/sda1/Multimedia , you have to mount it on /dtv/usb/sda1 to work.
I think you have not replaced 03_03 script.
I use nfs only for recording and samba to access shares where my video are.

Bye J.
UE40D7000LQXZT
T-GAPDEUC 1018.0
DUID 2DCFP7.......
WinXP sp3
jarod73
 
Posts: 22
Joined: Mon Nov 14, 2011 10:45 pm
Location: Italy

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby hondavtec » Sat Dec 31, 2011 2:14 pm

jarod73 wrote:I use nfs only for recording and samba to access shares where my video are.


Do I need to create a second virtual USB device... if yes: how?
Could I just create / duplicate a 02_04_vusb2.init file?

This question is really bugging me for some time now...
UExxES6710
PSxxE8000
Synology NAS
hondavtec
 
Posts: 51
Joined: Wed Sep 28, 2011 12:30 am

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby cderory » Sat Dec 31, 2011 5:40 pm

jarod73, I've modified your "03_03_nfsmount.init" to :

##### YOU CAN CHANGE ME HERE ######
SERVER="192.168.1.10"
# SERVER="10.0.0.1" # if you want a fixed server
SHARES="/SamyGO"
#SHARES="/Multimedia /Multimedia/Films /Multimedia/Dessins_animes"
# SHARES="Video Music Photo" # if you won't all your shares, but then set SERVER too!!
##### CHANGE ME END ######

FR_NAME="NFS Server"

M_OPTS="soft,tcp,async,nolock,rsize=32768,wsize=8192"

# M_OPTS="rw,soft,udp,nolock,rsize=32768,wsize=32768"
# M_OPTS="soft,tcp,nolock,rsize=32768,wsize=32768"
# M_OPTS="soft,tcp,nolock,rsize=8192,wsize=8192"
# M_OPTS="soft,tcp,nolock"

SERVERS="Don't set me!!"

####### DEST_DIR=$MOUNT_PATH/nfs
DEST_DIR="/dtv/usb/sda1"



I can watch movies from my NFS share "/SamyGO" on root from my pendrive (sda1) but not on vitual USB.
But I can't record, I get the following message when I try to record "Capacité périph.insuffisante.Libérer de l'espace disque et réessayer" (something like : Not enough memory. Free disk space and try again).

Cyrille
cderory
 
Posts: 6
Joined: Thu Dec 29, 2011 11:18 am

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby jarod73 » Sat Dec 31, 2011 6:19 pm

Cyrille ,
on my tvset sda1 is pendrive (I use the one xfs formatted by the pvr-recorder and is always connected), sdb is samygo virtual usb where samba shares are mounted automatically .
script executes pratically this :
Code: Select all
/bin/busybox mount -o soft,tcp,async,nolock,rsize=32768,wsize=8192 10.7.128.23:/rec /dtv/usb/sda1 -t nfs


try to run the command above manually to see what you obtain via <your tv ip>/phpsysinfo/shell.php
and also try browse your tv to see if your pendrive is really sda1 like on mine.

ah.. and you changed default recording device , right?? if not you are trying to record over samygo virtual usb I suppose.
UE40D7000LQXZT
T-GAPDEUC 1018.0
DUID 2DCFP7.......
WinXP sp3
jarod73
 
Posts: 22
Joined: Mon Nov 14, 2011 10:45 pm
Location: Italy

Re: D series rooting (arm cpu architecture only) UPDATE!

Postby cderory » Sat Dec 31, 2011 6:48 pm

jarod73,.

Now, I can record on NFS.

I've just changed :
DEST_DIR="/dtv/usb/sda1"
to
DEST_DIR="/dtv/usb/sdb"

sda1 is fat32 and was mounted before samygo started.
sdb is virtual usb.

Cyrille
cderory
 
Posts: 6
Joined: Thu Dec 29, 2011 11:18 am

PreviousNext

Return to [D] Firmware

Who is online

Users browsing this forum: No registered users and 1 guest