Page 4 of 10
Re: D5700 Virtual USB Server and shared files
Posted: Wed Mar 21, 2012 2:12 pm
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
Re: D5700 Virtual USB Server and shared files
Posted: Wed Mar 21, 2012 2:16 pm
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
Re: D5700 Virtual USB Server and shared files
Posted: Wed Mar 21, 2012 2:25 pm
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.
Re: D5700 Virtual USB Server and shared files
Posted: Wed Mar 21, 2012 7:20 pm
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

Re: D5700 Virtual USB Server and shared files
Posted: Fri Mar 23, 2012 6:29 am
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.
Re: D5700 Virtual USB Server and shared files
Posted: Fri Mar 23, 2012 6:13 pm
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:
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?
Re: D5700 Virtual USB Server and shared files
Posted: Sat Mar 24, 2012 6:43 pm
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.
Re: D5700 Virtual USB Server and shared files
Posted: Sun Mar 25, 2012 4:55 pm
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.)
Re: D5700 Virtual USB Server and shared files
Posted: Sun Mar 25, 2012 5:03 pm
by maniootek
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
Re: D5700 Virtual USB Server and shared files
Posted: Sun Mar 25, 2012 5:09 pm
by juusso
Does it mean - you can see your shares in media player mounted there?