Program cannot write to usb drive.

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
Regor
Posts: 25
Joined: Fri Mar 04, 2011 6:03 pm
Location: Scotland

Program cannot write to usb drive.

Post by Regor » Wed Mar 16, 2011 12:56 am

Hi

I am trying to get a program running on the native Joggler to save a file to an attached usb pen drive. The write is attempted but fails. The attempt is recorded in the Program's log. The Program can read files from the drive.

Has any forum user experienced this problem and have a solution they can share?

Regards

:(
Last edited by Regor on Wed Mar 16, 2011 11:42 am, edited 1 time in total.

gegs
Posts: 1143
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: Program cannot write to usb drive.

Post by gegs » Wed Mar 16, 2011 1:23 am

Hi Regor,

Rather than start a new topic, it might be a good idea to put this under the 'Squeezebox Server issues' topic. People with an answer to your question are more likely to be reading those posts.

Regor
Posts: 25
Joined: Fri Mar 04, 2011 6:03 pm
Location: Scotland

Re: Program cannot write to usb drive.

Post by Regor » Wed Mar 16, 2011 11:44 am

by gegs » Wed Mar 16, 2011 12:23 am
Hi Regor,

Rather than start a new topic, it might be a good idea to put this under the 'Squeezebox Server issues' topic. People with an answer to your question are more likely to be reading those posts.
Hi gegs
Thank you for your prompt reply. I take on board your comment and I have modified my initial question. It was my intention to make the topic open to include all programs that run on the native Joggler.

Regards
:oops:

gegs
Posts: 1143
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: Program cannot write to usb drive.

Post by gegs » Wed Mar 16, 2011 12:13 pm

If you can't save directly to a USB drive, you can use WinSCP (not sure of any Mac equivalents) to copy the file to your computer hard drive. The following page tells you how to install SCP on the Joggler. You must have SSH installed first but you already have if you've installed P'n'P.

http://www.jogglerwiki.com/wiki/Scp

Probably not the answer you were looking for but a decent workaround. It's how I copy files to/from my Joggler (on the native O2 software).

User avatar
BuZz
Site Admin
Posts: 1447
Joined: Fri Mar 04, 2011 1:15 am

Re: Program cannot write to usb drive.

Post by BuZz » Wed Mar 16, 2011 6:07 pm

gegs wrote:If you can't save directly to a USB drive, you can use WinSCP (not sure of any Mac equivalents) to copy the file to your computer hard drive. The following page tells you how to install SCP on the Joggler. You must have SSH installed first but you already have if you've installed P'n'P.

http://www.jogglerwiki.com/wiki/Scp

Probably not the answer you were looking for but a decent workaround. It's how I copy files to/from my Joggler (on the native O2 software).
I have adjusted the link in your post. the link you gave to the old wiki is not editable and is run by a squatter to try and make money (its just a set of static pages). Considering the address of the forum, I would have thought the wiki would be quite easy to find ;-)

gegs
Posts: 1143
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: Program cannot write to usb drive.

Post by gegs » Wed Mar 16, 2011 6:26 pm

Sorry about the old link. It was a page I had bookmarked ages ago from a Google search and I just copied the URL from a list without loading the page.

This should definitely be made a sticky item on the board index, in my opinion.

User avatar
BuZz
Site Admin
Posts: 1447
Joined: Fri Mar 04, 2011 1:15 am

Re: Program cannot write to usb drive.

Post by BuZz » Wed Mar 16, 2011 6:31 pm

Will do. Cheers

spoyser
Posts: 134
Joined: Mon Mar 07, 2011 6:45 pm

Re: Program cannot write to usb drive.

Post by spoyser » Wed Mar 16, 2011 6:44 pm

mount /mnt -orw,remount
Just before the write seems to work.

I have tried adding this to the rcS file but that doesn't work (no idea why).

Could tango be periodically remounting it read-only?

Regor
Posts: 25
Joined: Fri Mar 04, 2011 6:03 pm
Location: Scotland

Re: Program cannot write to usb drive.

Post by Regor » Thu Mar 17, 2011 3:24 pm

by gegs » Wed Mar 16, 2011 11:13 am
If you can't save directly to a USB drive, you can use WinSCP (not sure of any Mac equivalents) to copy the file to your computer hard drive. The following page tells you how to install SCP on the Joggler. You must have SSH installed first but you already have if you've installed P'n'P.

http://www.jogglerwiki.com/wiki/Scp

Probably not the answer you were looking for but a decent workaround. It's how I copy files to/from my Joggler (on the native O2 software).
Hi gegs

Apologies for not replying quicker but when I read your reply I had to do a some research into SCP. Having read what information I could find, it would not appear to provide me with a solution to my situation, but thanks for the suggestion.
Do you know where the usb drive would be mounted? There is no entry in the /etc/fstab directory for sda1 which I have established is the usb drive.
by spoyser » Wed Mar 16, 2011 5:44 pm
mount /mnt -orw,remount
Just before the write seems to work.

I have tried adding this to the rcS file but that doesn't work (no idea why).

Could tango be periodically remounting it read-only?
Hi spoyser

I carried out your suggestion just before clicking on the save button. Alas it did not work for me. By the way, do you have a source list for Busybox Linux commands you could direct me to?

Regards All
:?

gegs
Posts: 1143
Joined: Fri Mar 04, 2011 3:22 pm
Location: Edinburgh

Re: Program cannot write to usb drive.

Post by gegs » Thu Mar 17, 2011 6:20 pm

Regor wrote:Apologies for not replying quicker but when I read your reply I had to do a some research into SCP. Having read what information I could find, it would not appear to provide me with a solution to my situation, but thanks for the suggestion.
Is there nowhere you can safely save the file on the Joggler itself, then use SCP to copy the file to another computer, then delete it from the Joggler? I'm not sure if it would work but it might be worth a try.

Regor
Posts: 25
Joined: Fri Mar 04, 2011 6:03 pm
Location: Scotland

Re: Program cannot write to usb drive.

Post by Regor » Fri Mar 18, 2011 9:27 pm

Is there nowhere you can safely save the file on the Joggler itself, then use SCP to copy the file to another computer, then delete it from the Joggler? I'm not sure if it would work but it might be worth a try.
Hi gegs
I have decided to give up the quest to save files from the Joggler to an attached usb drive. I think your suggestion will work but I really don't want a complicated save routine for the sanity of other users of the Joggler. I had hoped that it could be simply done via the programs UI.
Regards
;)

carynax
Posts: 1
Joined: Tue Jul 12, 2011 11:03 am

Re: Program cannot write to usb drive.

Post by carynax » Sat Jul 16, 2011 6:18 am

How can i play movie with dat file through pen drive to L.G home theater which is not support dat file.? I have copied movie from CD to my PC and then copied to pen drive. Home theater is not reading (usb facilities present) the movie. Then tried to convert in AVI file as wel as JPEG file.Still not reading. Any one can help me how to run any movie through pen drive to home theater's USB.
______________________
yahoo keyword tool ~ overture ~ traffic estimator ~ adwords traffic estimator

Post Reply