Automounting CIFS on virtual USB problems
Posted: Fri Jan 22, 2010 7:39 pm
Hi,
Thanks for providing such a great hack for the TV. I was getting so frustrated with the Samsung streaming software but using the SamyGO extensions allowed me to use SAMBA to access my videos which has improved things hugely.
I'm now trying to get my shares mounted automatically to a virtual USB rather than having to go to my content folder each time I switch on the TV. I've followed the instructions from this page on the wiki and after huge amounts of trouble, worked out that the reason it wasn't exectuing was because I hadn't set the CR/LF format to unix.
Having set the format correctly, I was able to get the script to fire off from a telnet session. I can see the correct directory listing in /dtv/usb/sda4 however the mediaplayer isn't picking up the virtual USB for some reason.
Here's my script which I've amended slightly from the example:
Is there something else I need to do to get this to work or does my script nead a tweak? When I do get it working, do I have to patch the firmware to get it to fire off automatically or is there another method I can use?
If someone can work out how to get DTS passthrough to work, it will make it perfect!
Thanks for your help,
Ant.
Thanks for providing such a great hack for the TV. I was getting so frustrated with the Samsung streaming software but using the SamyGO extensions allowed me to use SAMBA to access my videos which has improved things hugely.
I'm now trying to get my shares mounted automatically to a virtual USB rather than having to go to my content folder each time I switch on the TV. I've followed the instructions from this page on the wiki and after huge amounts of trouble, worked out that the reason it wasn't exectuing was because I hadn't set the CR/LF format to unix.
Having set the format correctly, I was able to get the script to fire off from a telnet session. I can see the correct directory listing in /dtv/usb/sda4 however the mediaplayer isn't picking up the virtual USB for some reason.
Here's my script which I've amended slightly from the example:
Code: Select all
#!/bin/sh
#Load cifs.ko module
insmod /mtd_rwarea/cifs.ko
#Create directory structure on virtual usb memory:
mkdir -p /dtv/usb/sda4
mount -o user=username,password=password -t cifs //192.168.1.5/Videos /dtv/usb/sda4/
# append sda4 notification to log file:
echo "[sdd]
Vendor : Linux
Product : Samba Server
Serial : Q80VQLFL
Devpath : 4
Lun : 0
MountDir : /dtv/usb/sda4
FileSystem : vfat
" >> /dtv/usb/log
If someone can work out how to get DTS passthrough to work, it will make it perfect!
Thanks for your help,
Ant.