Sign up here and you can log into the forum!

MSHEETDIR migration guide

Everything (else) to do with Movie Sheets and homebrew firmware on the WDTV(s), including how the %*#^ do I get them working?

Re: MSHEETDIR migration guide   

Postby bchtpc » Fri Jan 13, 2012 1:22 pm

KAD wrote:hum, it looks like it's been changed a bit, since last I looked at it

first we'll try the easy way, since there's a restart block
Code: Select all
config_tool -c LINKSHEETS=OFF
config_tool -s
config_tool -s
reboot
yes, we're disabling linksheets because I don't want it to interfere/give false positive etc
KAD


OK, I'm flying blind here for the sake of expediency. Just so you know, I'm nowhere near my home so I can't look at the TV till late this afternoon.

WDTVLIVEPLUS login: root
Password:
_ _ _ ______ _ _ _ _______ _ _
(_)(_)(_|______)(_) (_) (_|_______|_) (_)
_ _ _ _ _ _ ___ _ _ _
| || || | | | | | | | | | | | | |
| || || | |__/ /| |_____ / / \ \ | | \ \ / /
\_____/|_____/ |_______)_| |_| |_| \___/
1.05.04_B_WDLXTV.COM_WDLXTV_PLUS-0.5.1.1
# config_tool -c LINKSHEETS=OFF
config saved val:key => (LINKSHEETS,OFF)
# config_tool -s
F:mkconfig_translate_config_dir_to_file,75: [load config] ret_config=0
save config_file=/dev/sigmblockk, config_id=598
write to block file OK.

# config_tool -s
F:mkconfig_translate_config_dir_to_file,75: [load config] ret_config=1
save config_file=/dev/sigmblockj, config_id=599
write to block file OK.

# reboot
Stopping all applications...
S97samba: stopping Samba
S96rtorrent: Stopping rtorrent: not running...?
Stopping usenet downloader: nzbgetRequest sent
server returned: Stopping server
...done
S96nzbget: nzbget stopped
Stopping mt-daapd: done
^AStopping pure-ftpd: done
S67msheet: seperating /msheets (stopping linksheets)
S67msheet: MSHEETDIR (/msheets) detached
Stopping UMSP: done
Saving config...
write to block file OK.

Unmounting app.bins / osd.bin / opt.bin / custom images...
Unmounting all attached devices...
Flushing all disk writes...
Stopping / spinning down all attached devices...
/dev/sda: WDC WD10 EADS-00L5B1
/dev/sdb: USB2.0 Flash Disk 5.00
# Rebooting now!
Stopping dropbear SSH server: done
Stopping telnetd:

Connection to host lost.
KAD wrote:once rebooted
Code: Select all
config_tool -c LINKSHEETS=ON
/etc/init.d/S67msheet restart


and see what output it give, and if moviesheets from MSHEETDIR are available on screen
the script should put them in /msheets and in /osd

KAD



WDTVLIVEPLUS login: root
Password:
_ _ _ ______ _ _ _______ _ _
| | | | \ | \___/ | \ /
|__|__| |_____/ |_____ _/ \_ | \/
1.05.04_B_WDLXTV.COM_WDLXTV_PLUS-0.5.1.1
# config_tool -c LINKSHEETS=ON
config saved val:key => (LINKSHEETS,ON)
# /etc/init.d/S67msheet restart
S67msheet: seperating /msheets (stopping linksheets)
cat: can't open '/tmp/MSHEETDIR': No such file or directory
mount: can't find /osd in /proc/mounts
S67msheet: MSHEETDIR () failed detaching!?!
#

Via Dolphin, /tmp/mnt/3CE4-ADBC is empty, /msheets is empty, /osd has several files and folders .. not sure what to look for here.
bchtpc
n00b
 
Posts: 15
Joined: Wed Jan 11, 2012 1:19 pm

Re: MSHEETDIR migration guide   

Postby KAD » Fri Jan 13, 2012 1:48 pm

well, everything still points back to something wrong with the directory

Via Dolphin, /tmp/mnt/3CE4-ADBC is empty,

this is why it keeps failing, if you can't see the directory, then neither will the script see it

OK, I'm flying blind here for the sake of expediency. Just so you know, I'm nowhere near my home so I can't look at the TV till late this afternoon

also no rush, I'm at work as well
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4008
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: MSHEETDIR migration guide   

Postby bchtpc » Fri Jan 13, 2012 1:53 pm

Is there any point in trying the thumb drive in Port 2?

Anything else you want me to try?
bchtpc
n00b
 
Posts: 15
Joined: Wed Jan 11, 2012 1:19 pm

Re: MSHEETDIR migration guide   

Postby KAD » Fri Jan 13, 2012 2:15 pm

you can try port 2, who knows

something else you can try is

Code: Select all
chmod -R 777 /tmp/mnt/3CE4-ADBC/

this changes permission to everybody can read/write do whatever for all contents on the thumbdrive

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4008
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: MSHEETDIR migration guide   

Postby bchtpc » Fri Jan 13, 2012 2:34 pm

KAD wrote:you can try port 2, who knows

something else you can try is

Code: Select all
chmod -R 777 /tmp/mnt/3CE4-ADBC/

this changes permission to everybody can read/write do whatever for all contents on the thumbdrive

KAD


Per Dolphin, the rights of /tmp/mnt/3CE4-ADBC were 755. I used Telnet to chmod -R 777 /tmp/mnt/3CE4-ADBC/ and then dolphin shows rights as 777. I then reboot and the rights are back to 755. Is this because the folder is being recreated at boot?
bchtpc
n00b
 
Posts: 15
Joined: Wed Jan 11, 2012 1:19 pm

Re: MSHEETDIR migration guide   

Postby KAD » Fri Jan 13, 2012 2:42 pm

in theory the 755 should be ok as well, what are the permissions on the MSHEETDIR

I'm running out of idea's, but as long as you can't use dolphin / file manager to browse to that folder the script is not going to work
what did you use to format the stick, I know the HP tool creates a hidden incompatible partition
maybe there's something odd like that going on

while it's located at /tmp/mnt/...

what happens if you mkdir ...../test

can you then navigate and find the folder in file manager/dophin
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4008
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: MSHEETDIR migration guide   

Postby bchtpc » Fri Jan 13, 2012 2:55 pm

KAD wrote:in theory the 755 should be ok as well, what are the permissions on the MSHEETDIR


/tmp/media/usb/USB1/3CE4-ADBC/MSHEETDIR is 777

KAD wrote:I'm running out of idea's, but as long as you can't use dolphin / file manager to browse to that folder the script is not going to work
what did you use to format the stick, I know the HP tool creates a hidden incompatible partition
maybe there's something odd like that going on

while it's located at /tmp/mnt/...

what happens if you mkdir ...../test

can you then navigate and find the folder in file manager/dophin


I formatted the drive fat32 with XP.

In dolphin I can't create a directory in /tmp/mnt. I assume because it's not a real folder.
Is that what you mean by "while it's located at..."
To use mkdir, I would have to be in a dos prompt but can't cd to a unc so mapped D: with WD Link.
cd d:
mkdir test

I can then navigate to /tmp/media/usb/USB1/3CE4-ADBC and see test in dolphin but I can and always have been able to see MSHEETDIR as well. I think I've missed the point here somehow?

OK, update, I figured out I could do this in Telnet.

cd /
cd tmp
cd mnt
mkdir test

test is visible in dolphin in /tmp/mnt/



I originally created the MSHEETDIR folder using windows explorer. Don't remember if it was with the thumb drive plugged into netbook usb or via WD Link.
Last edited by bchtpc on Fri Jan 13, 2012 3:10 pm, edited 1 time in total.
bchtpc
n00b
 
Posts: 15
Joined: Wed Jan 11, 2012 1:19 pm

Re: MSHEETDIR migration guide   

Postby KAD » Fri Jan 13, 2012 3:05 pm

the file manager for WD will not let you create directories, that's fine
but you should be able to create something via telnet

Code: Select all
mkdir /tmp/mnt/3CE4-ADBC/Test


and then if you can browse to it in file manager, you can cp everything there

Code: Select all
cp /tmp/mnt/3CE4-ADBC/MSHEETDIR/* /tmp/mnt/3CE4-ADBC/Test/
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4008
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: MSHEETDIR migration guide   

Postby bchtpc » Fri Jan 13, 2012 3:16 pm

KAD wrote:the file manager for WD will not let you create directories, that's fine
but you should be able to create something via telnet

Code: Select all
mkdir /tmp/mnt/3CE4-ADBC/Test


and then if you can browse to it in file manager, you can cp everything there

Code: Select all
cp /tmp/mnt/3CE4-ADBC/MSHEETDIR/* /tmp/mnt/3CE4-ADBC/Test/


OK, just figured the above out. Here are my results. I've left my dos blunders in for comic relief.

# cd mnt
# ls
3CE4-ADBC apps
# mkdir test
# rmdir test
# ls
3CE4-ADBC apps
# cd 3CE4-ADBC
# DIR
-sh: DIR: not found
# LS
-sh: LS: not found
# ls
# mkdir test
# cp /tmp/mnt/3CE4-ADBC/MSHEETDIR/* /tmp/mnt/3CE4-ADBC/Test/
cp: cannot stat `/tmp/mnt/3CE4-ADBC/MSHEETDIR/*': No such file or directory
#

Did you intend for me to copy from tmp/media?
bchtpc
n00b
 
Posts: 15
Joined: Wed Jan 11, 2012 1:19 pm

Re: MSHEETDIR migration guide   

Postby KAD » Fri Jan 13, 2012 3:24 pm

so are you able to navigate to "test" in the file manager?

if /tmp/media/... can find the folder MSHEETDIR, yes you can copy from there
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4008
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

PreviousNext

Return to Movie Sheet Support & Discussion

Who is online

Users browsing this forum: No registered users and 0 guests