D5700 Virtual USB Server and shared files

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

User avatar
maniootek
Posts: 34
Joined: Wed Jan 25, 2012 6:35 am
Location: Poland

D5700 Virtual USB Server and shared files

Post by maniootek »

Hello
I successfully installed SamyGo to my TV. Now I can see "USB Server". Now, is it possible to mount into it some pc from lan? For example I will put my laptop ip on it and it will show all shared files from it? Or only NFS is supported for it?

My TV is: TV SAMSUNG LED UE40D5700RS
Software version: 001013
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 »

When I open virtual USB Server then I can only see endless message "Loading..."
Is it any possible to use any NFS software on Windows 7 to work with this virutal USB? For example haneWIN NFS Server? How can I mount it? I'm rather noobie linux user.
Thanks in advance.
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 »

When I edit "04_04_samba.init" and put my laptop username and password and FR_NAME="Download" and still I can see only "Loading..." message
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: D5700 Virtual USB Server and shared files

Post by juusso »

maniootek wrote:When I edit "04_04_samba.init" and put my laptop username and password and FR_NAME="Download" and still I can see only "Loading..." message
virtual usb device isnt working on D5xxx as well as on C series mstars. Insstead of this you should see sda2 (or other) usb in media player mode where you get your network shares mounted.

BTW, you dont need to touch "FR_NAME="
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
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:virtual usb device isnt working on D5xxx
Virtual USB Device isn't working for D5xxx ? If I would get to know about it before then I would save a lot of time :P Why there is no info in wiki about it?

Anyway I can see USB Server after enabling SamyGo widget. Now I followed to configure my network according to this info: http://sourceforge.net/projects/samygo/ ... f/download
But still no result, when I enter to USB Server then I can only see message "Loading..."
juuso wrote:Insstead of this you should see sda2 (or other) usb in media player mode where you get your network shares mounted.
Can you give me more details about it? I'm rather noobie. Thank you !
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:
maniootek wrote:When I edit "04_04_samba.init" and put my laptop username and password and FR_NAME="Download" and still I can see only "Loading..." message
virtual usb device isnt working on D5xxx as well as on C series mstars. Insstead of this you should see sda2 (or other) usb in media player mode where you get your network shares mounted.

BTW, you dont need to touch "FR_NAME="
what you mean "media player mode" ? how to mount my shares?
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 »

I can see my shares mounted successfully to

Code: Select all

\dtv\usb\sda1\smb\192.168.0.10\...
sda1 is a virtual usb drive (as I guess), but now when I try to open this virtual usb drive then I can only see "Loading..." message. Now I'm thinking if I could change mounting point from sda1 to sda4 (my real one usb drive plugged to tv) then maybe it could works? Any idea how to change this mounting point?
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 »

Mounting network shares (samba, nfs, etc.) on Samsung D series with Mstar CPU tested on D5700 by changing virtual usb mounting point to your real usb drive plugged to tv.

If yours virtual usb device with name "Server" ...
Image
Image
... doesn't works properly by showing endless "Loading..." message ...
Image
... then you can solve this issue by changing virtual usb mounting direction.

This is how to step by step:
1. Make sure before you go next step. Check on another device if your shares are visible, also check this file if you are win7 user: http://freefr.dl.sourceforge.net/projec ... ndows7.pdf

2. Disable the following scripts:

Code: Select all

03_01_fuse.init
03_03_djmount.init
03_03_nfsmount.init
04_04_fusesmb.init
Start your SamyGo, connect via ftp to your Samsung TV and go to dir "mtd_rwdata/widgets/user/SamyGO/SamyGO/etc/init.d/"
You can disable them by adding to end of each file name ".dis"
so this all files should have name like this now:

Code: Select all

03_01_fuse.init.dis
03_03_djmount.init.dis
03_03_nfsmount.init.dis
04_04_fusesmb.init.dis
3. Plug to your Samsung TV some usb drive (no matter which port USB1 or USB2). Go to "/dtv/usb/" and check which folder is your real usb drive (for me it was "sda4")
Now remember the name of this folder and go to "mtd_rwdata/widgets/user/SamyGO/SamyGO/etc/init.d/02_04_vusb.init" and find a value (line 56):

Code: Select all

dev="sda1" # set fallback if someting wrong with modules
now change it with your real usb drive folder name:

Code: Select all

dev="sda4" # set fallback if someting wrong with modules
4. Provide username and password (even if your shares aren't password protected) in file:
mtd_rwdata/widgets/user/SamyGO/SamyGO/etc/init.d/04_04_samba.init

Code: Select all

USER="test"
PASSWD="test"
Now all stuff which suppose to be mounted on virtual usb will be mounted on your phisicaly usb drive.

One disadvantage of this solution is that all mounted folders gonna stay on your real usb stick even after turning off tv, but you can simply add line to 04_04_samba.init file with script which will delete all folders from smb folder. Just put this line:

Code: Select all

rm -fr /dtv/usb/sda4/smb
rm -fr /mtd_contents/database
here (line 11):

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: 04_04_samba.init 1069 2011-01-03 16:47:24Z arris69 $
#

rm -fr /dtv/usb/sda4/smb
rm -fr /mtd_contents/database/

. /dtv/SGO.env
# sleep 9
##### CHANGE MEEEEE !!!!! ######
USER="test"
PASSWD="test"
PERM="rw" # can be ro or rw
##### CHANGE MEEEEE END ######
(...)
Last edited by maniootek on Wed Mar 21, 2012 2:14 am, edited 2 times in total.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: D5700 Virtual USB Server and shared files

Post by juusso »

Finally :)

I hope your info helps many users. Can you move this to wiki too?

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.
But IIRC, here should be some important info inside scripts where this info is to be written to required places and for strange reasons it is commented out. Check samba.init. If you dissable vusb.init, then uncomment this:

Code: Select all

do_mount()
{
#		$(echo -e "[sdh]\nVendor : CifsMount\nProduct : $FR_NAME\n\
#Serial : Q80VQLFH\nDevpath : 8\nLun : 0\nMountDir : $DEST_DIR\nFileSystem : vfat\n" >> /dtv/usb/log) 
In this case we use /dtv/usb/sdh as our faked mountpoint...

Try this and report if it worked :)
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
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 »

I don't know how to mount my shares without vusb.init. Anyway if I would mount them anywhere (like /dtv/usb/sdh) then how can I see them in TV? I have to make some virtual usb first like that one which is writen in nfsmount.init file (but with that loading issue)

Post Reply

Return to “[D] Support”