D5700 Virtual USB Server and shared files

Here for general support for D series TVs, request and problem solve area.

hazara
Posts: 51
Joined: Wed Jan 11, 2012 1:50 pm

Re: D5700 Virtual USB Server and shared files

Post by hazara »

This is the test.cgi:-

Code: Select all

/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/01_01_catch_crap.init start stop
Status:
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/01_04_server_replacement.init start stop
Status:
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/01_05_hiddev.init start stop
Status:
cat: can't open '/sys/class/input/input*/name': No such file or directory
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/02_04_vusb.init start stop
Status:
DT 100 G2
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_bluetooth.init start stop
Status:
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/bluetooth.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/drivers/bluetooth/hci_usb.ko': unknown symbol in module, or unknown parameter
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/l2cap.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/rfcomm/rfcomm.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/bnep/bnep.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/hidp/hidp.ko': File exists
mknod: /dtv/vhci: File exists
which: no hid2hci in (/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/bin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/bin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/bin:/mtd_down/widgets/user/SamyGO/SamyGO/usr/bin:/mtd_down/widgets/user/SamyGO/SamyGO/usr/sbin:/usr/sbin:/usr/bin:/bin:/sbin:/etc/Scripts:/util:/etc:/mtd_rocommon/Runtime/bin)
Usage: /mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_bluetooth.init {start|stop}
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_samba.init start stop
Status:
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/06_05_apache.init start stop
Status:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 881/httpd
tcp 0 0 192.168.1.2:80 192.168.1.4:3372 ESTABLISHED 890/httpd 
And this is the out put after clicking start on

Code: Select all

/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_samba.init start stop
:

Code: Select all

+ . /dtv/SGO.env
+ SYSROOT=/mtd_down/widgets/user/SamyGO/SamyGO
+ MOUNT_PATH=/dtv/usb/sda1
+ export MOD_DIR=/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9
+ export TMPDIR=/dtv
+ export HOME=/mtd_wiselink
+ export SMB_CONF_PATH=/mtd_down/widgets/user/SamyGO/SamyGO/etc/samba/smb.conf
+ LOGFILE=/mtd_down/widgets/user/SamyGO/SamyGO/samygo.log
+ LD_LIBRARY_PATH=/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/lib:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/lib:/mtd_down/widgets/user/SamyGO/SamyGO/lib:/mtd_down/widgets/user/SamyGO/SamyGO/usr/lib:/mtd_rocommon/Runtime/lib/CairoShadow:/mtd_rocommon/Runtime/lib:/mtd_cmmlib/GAME_LIB:/dtv:/mtd_cmmlib/YWidget_LIB:/mtd_contents:/mtd_appdata/Java/lib:/mtd_exe:/mtd_exe/Comp_LIB:/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_cmmlib/InfoLink/lib:/mtd_cmmlib/OIPF:/mtd_exe/:/lib:/usr/lib
+ PATH=/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/bin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/bin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/bin:/mtd_down/widgets/user/SamyGO/SamyGO/usr/bin:/mtd_down/widgets/user/SamyGO/SamyGO/usr/sbin:/usr/sbin:/usr/bin:/bin:/sbin:/etc/Scripts:/util:/etc:/mtd_rocommon/Runtime/bin
+ export ENV=/dtv/.ashrc
+ export FRAMEBUFFER=/dev/sam/fb0
+ export DISTROOT=/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer
+ USER=
+ PASSWD=
+ PERM=rw
+ [ -e /mtd_rwarea/smb_userdata ]
+ [ -z ]
+ exit 1
There is a folder/directory under ftp://192.168.1.2/dtv/usb/sda1/.. called OCAP_LSV which contains only one file named _idinfo

This is all after a very fresh installation of SamyGo with all the 4 files disabled.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: D5700 Virtual USB Server and shared files

Post by arris69 »

i not really get the point why nobody knows anything about useraccounts and passwords...
hazara
Posts: 51
Joined: Wed Jan 11, 2012 1:50 pm

Re: D5700 Virtual USB Server and shared files

Post by hazara »

arris69 wrote:i not really get the point why nobody knows anything about useraccounts and passwords...
because the shares are not password protected and on previous install did that one but with no effect.

Here is the out of test.cgi after editing the samba.init with username and password:

Code: Select all

/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/01_01_catch_crap.init start stop
Status:
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/01_04_server_replacement.init start stop
Status:
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/01_05_hiddev.init start stop
Status:
cat: can't open '/sys/class/input/input*/name': No such file or directory
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/02_04_vusb.init start stop
Status:
DT 100 G2
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_bluetooth.init start stop
Status:
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/bluetooth.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/drivers/bluetooth/hci_usb.ko': unknown symbol in module, or unknown parameter
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/l2cap.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/rfcomm/rfcomm.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/bnep/bnep.ko': File exists
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/net/bluetooth/hidp/hidp.ko': File exists
mknod: /dtv/vhci: File exists
which: no hid2hci in (/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/bin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/bin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/bin:/mtd_down/widgets/user/SamyGO/SamyGO/usr/bin:/mtd_down/widgets/user/SamyGO/SamyGO/usr/sbin:/usr/sbin:/usr/bin:/bin:/sbin:/etc/Scripts:/util:/etc:/mtd_rocommon/Runtime/bin)
Usage: /mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_bluetooth.init {start|stop}
[color=#FF0000]/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_samba.init start stop
Status:
/dtv/cgi-bin/test.cgi: line 20: /mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_samba.init: not found[/color]
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/06_05_apache.init start stop

However, here is the out put clicking start on

Code: Select all

 /mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_samba.init start stop

Code: Select all

+ 
[color=#FF0000]/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_samba.init: line 11: 
: not found[/color]
+ . /dtv/SGO.env
/mtd_down/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_samba.init: .: line 12: can't open '/dtv/SGO.env
'
What about that folder under ../../sda1/.. (i.e. Index of ftp://192.168.1.2/dtv/usb/sda1/OCAP_LSV/)?

Regards
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: D5700 Virtual USB Server and shared files

Post by arris69 »

1. make your shares password protected
2. same username and password must be set in the 04_04_samba.init script
3. dont edit the init scripts with windows editor
4. dont't know from where the directory OCAP_LSV came from
hazara
Posts: 51
Joined: Wed Jan 11, 2012 1:50 pm

Re: D5700 Virtual USB Server and shared files

Post by hazara »

arris69 wrote: 3. dont edit the init scripts with windows editor
I have used notepad for editing. it is still a text editor with no formatting, what difference does it make?
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: D5700 Virtual USB Server and shared files

Post by arris69 »

hazara wrote:
arris69 wrote: 3. dont edit the init scripts with windows editor
I have used notepad for editing. it is still a text editor with no formatting, what difference does it make?
it destroys the scripts... use notepad++
hazara
Posts: 51
Joined: Wed Jan 11, 2012 1:50 pm

Re: D5700 Virtual USB Server and shared files

Post by hazara »

Very many thanks. It is sorted and I can see and access shares on PC but not laptop. I think it is because I disabled the default share on laptop a while ago. Other think that I have noticed is that I had use simple file sharing on pc to make it work.

Next step is to get back the HD channels that I have lost due making some changes on type and ch table.

Does any one have the default values for type and ch table for a UE32D5520?

The options available on type are: 32A6AF0C, 32A6AH0C, 32D6AF0C, 32D6AH0C and 32L6AH0C
The options available on ch table are: NONE, PBA, SUWON, SESK, SEH, SERK, SDMA_AU SDMA_NZSDMA_SG, SEIN, SAVINA, SIEL_C, SIEL_C, TTSEC, TSED,TSE, IRAN, SESK-T2, SUWON-T2 and INL.

Update: I have got my HD channels back. Set the ch table to SUWON and type to 32A6AH0c.

Next steps are to:
1. sort the 404 error when samygo starts using autorun from SmartHub->Settings->Service manager->Ticker Autorun
2. Auto shutdown of of SmartHub.

can some one help me please? I was searching the forum but could not find anything.
Regards
User avatar
maniootek
Posts: 34
Joined: Wed Jan 25, 2012 6:35 am
Location: Poland

Re: D5700 Virtual USB Server and shared files

Post by maniootek »

hazara wrote: 1. sort the 404 error when samygo starts using autorun from SmartHub->Settings->Service manager->Ticker Autorun
add "index.html" file to
mtd_rwdata/widgets/user/SamyGo/
make this file empty (0 bytes)
User avatar
maniootek
Posts: 34
Joined: Wed Jan 25, 2012 6:35 am
Location: Poland

Re: D5700 Virtual USB Server and shared files

Post by maniootek »

juuso wrote:p.s. how about to create non existing usb mount point, then perhaps you don`t need any physical usb device?
eg:

Code: Select all

mkdir /dtv/usb/sdh
and mount your shares to it? Sure, the info about this device should be written to /dtv/usb/log file.
this is not "log" file, it is "usblog" file and it works !! example:

Code: Select all

mkdir /dtv/usb/sdx
echo "[sdx]
Vendor : World
Product : Network
Serial : DIN1FA6O123
Devpath : 4
Lun : 0
ScsiDevicePath : /dev/sdx
MountDir : /dtv/usb/sdx
FileSystem : vfat

" >> /dtv/usb/usblog
thank you ! now I don't need plug the real phisicaly usb stick, all shares are mounted on that faked usb drive, whenever I will get chance I will put article on wiki about it
Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: D5700 Virtual USB Server and shared files

Post by Spoza »

maniootek wrote:add "index.html" file to
mtd_rwdata/widgets/user/SamyGo/
make this file empty (0 bytes)
As written somewhere else already, this is only partial solution... the existence of index.html file results in a very light grey overlay on the TV picture and you still have to press 2x Exit on the remote to get rid of it.
PS59D6900 T-MST5DEUC-1023.0

Post Reply

Return to “[D] Support”