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 »

maniootek wrote:
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)
Done that. It only gets rid of the message and thin gray overly is still there.

However, I have another problem now. I cant see the shares. It was working for 2 days and suddenly stopped. I have re-installed samygo, deleted the usblog, deleted the files from /mtd_contents/database. I can start the samba using cgi but only if I run it from the PC not from the laptop since the shares on the PC. I read in an other post (in firmware section) that its looking for usblog, some one wrote a script to rewrite the usblog each time it loads or somethig in that respect. can some one help please?

Every bit of help is appreciated.

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 »

Spoza wrote:
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.
this is works for me very well, after adding that index.html file I never see anything after enabling samygo
hazara
Posts: 51
Joined: Wed Jan 11, 2012 1:50 pm

Re: D5700 Virtual USB Server and shared files

Post by hazara »

maniootek wrote: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
How exactly made it work? Did you disable the vusb.init and un-commented the section of the code in samba.init or have done some extra work as well?

I want to try it as well. Although I can not see the shares without starting samba from CGI.
Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: D5700 Virtual USB Server and shared files

Post by Spoza »

maniootek wrote:
Spoza wrote: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.
this is works for me very well, after adding that index.html file I never see anything after enabling samygo
I hardly believe the grey overlay is model specific. I bet you just don't realize it. Just watch the TV picture VERY carefully after SamyGO starts and then press Exit on the remote twice - you should see the difference if you are not totally blind ;-)
PS59D6900 T-MST5DEUC-1023.0
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 »

Spoza wrote: I hardly believe the grey overlay is model specific. I bet you just don't realize it. Just watch the TV picture VERY carefully after SamyGO starts and then press Exit on the remote twice - you should see the difference if you are not totally blind ;-)
I've tried few times and there is no difference. What is your tv model? My is D5700 and I had issue with 404 error page which was displayed some time after enabling samyGo. Now when I added that index.html file this issue gone.
User avatar
brunogts77
Posts: 772
Joined: Sat Feb 18, 2012 8:34 pm

Re: D5700 Virtual USB Server and shared files

Post by brunogts77 »

maniootek wrote:
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



Good afternoon. Hi, can you explain what steps to take samba shares without need usb pen turned on tv?
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
hazara
Posts: 51
Joined: Wed Jan 11, 2012 1:50 pm

Re: D5700 Virtual USB Server and shared files

Post by hazara »

brunogts77 wrote:Good afternoon. Hi, can you explain what steps to take samba shares without need usb pen turned on tv?
The follwing steps are to make samba shares work without a physical USB. It is presumed you have SamyGo installed and have access to your TV via ftp and have a text editor other then notepad, (notepad++ is the one I have used).

1. Disable all these files/scripts: vusb.init, djmount.init, nfsmount.init, fuse.init, and fusesmb.init
2. Edit samba.init add this piece of code:

Code: Select all

### MANIOOTEK EDIT ###
device="sdh"
MOUNT_PATH=/dtv/usb/$device
#rm -fr /dtv/usb/$device/
rm -fr /mtd_contents/database/
$(echo -e "[$device]\nVendor : Home\nProduct : Samba Server\nSerial : M4N100T3K\nDevpath : 8\nLun : 0\n\
ScsiDevicePath : /dev/$device\nMountDir : /dtv/usb/$device\nFileSystem : vfat\n" >> /dtv/usb/usblog)
### MANIOOTEK EDIT END ###
You have to make sure you can access share with usb first, otherwise it is difficult to find where the problem is.

I have done it and it works, but I have this problem that I can not see the share without manualy starting the samba.init from the PC where the share is.
User avatar
juusso
SamyGO Moderator
Posts: 10128
Joined: Sun Mar 07, 2010 6:20 pm

Re: D5700 Virtual USB Server and shared files

Post by juusso »

here is updated vusb.init script.
Should work. who can test?

http://samygo.svn.sourceforge.net/viewv ... ision=1204

"Save As.."

(use original scripts, not changed ones.)
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:here is updated vusb.init script.
Should work. who can test?

http://samygo.svn.sourceforge.net/viewv ... ision=1204

"Save As.."

(use original scripts, not changed ones.)
I can successfully see "SamyGo Virt." usb device and new direction under:
/dtv/usb/sdj
and there is no issue with endless "Loading..." message
on my D5700
User avatar
juusso
SamyGO Moderator
Posts: 10128
Joined: Sun Mar 07, 2010 6:20 pm

Re: D5700 Virtual USB Server and shared files

Post by juusso »

Does it mean - you can see your shares in media player mounted there?
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

Post Reply

Return to “[D] Support”