Active Topics

 


Reply
Thread Tools
Posts: 10 | Thanked: 0 times | Joined on Sep 2007 @ Swamps of Jersey
#1
I'm new at this but I did get a power injector built, and was able to mount a flash drive yesterday.

Today, I'm told it can not mount, a block device is required ??

Using a 700, in r&d mode, usb enables, and xtrem

Any Help, or do I re-flash (not much on the 770 yet)

Thanks
 
mrlanrat's Avatar
Posts: 292 | Thanked: 46 times | Joined on Oct 2007
#2
Try disabling usb host mode and then reenabling it.

Host mode short and sweet:
Code:
Enable/Disable USB host mode from Xterm

(As root)

command to put it into host mode:

echo host > /sys/devices/platform/tahvo-usb/otg_mode

command to put it into peripheral mode:

echo peripheral > /sys/devices/platform/tahvo-usb/otg_mode
 
Posts: 10 | Thanked: 0 times | Joined on Sep 2007 @ Swamps of Jersey
#3
mrlanrat,

Tried it this morning (by the way thanks for the reply), did not work. Is a bocking device hardware or software?

The only bash I've use before was a 3 lb hammer on an old pc.

Will keep your note on switching modes.

Thanks
 
mrlanrat's Avatar
Posts: 292 | Thanked: 46 times | Joined on Oct 2007
#4
Try reading my thread.
http://www.internettablettalk.com/fo...ad.php?p=80151
your device may be moving around.

Does that help?
 
Posts: 10 | Thanked: 0 times | Joined on Sep 2007 @ Swamps of Jersey
#5
mrlanrat,

Kind of took the weekend off, I read it and get back to you.

Thanks
Faithful
 
Posts: 10 | Thanked: 0 times | Joined on Sep 2007 @ Swamps of Jersey
#6
mrlanrat

read the post and fanoush scrip. Silly question, how do I get the scrip onto the 770 and run it. Do I just copy it into a text file?

Thanks

faithful
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#7
You copy it into a text file somewhere on the internal flash storage (e.g. /home/user/). Don't put it on the memory card, as scripts cannot execute as easily from there.
When it's in place (e.g. /home/user/my-script) then make it executable with the following command:
chmod a+x /home/user/my-script (<-- this step doesn't work if the script file is on the memory card, so that's why we avoid the card except for maybe a way of getting the script copied into the IT in the first place)
(or just my-script if you're in your home (default) directory).
Then you can execute it with either of
Code:
/home/user/my-script
or, just
Code:
./my-script
which just means 'find it here in this directory' (the ./)
There are other ways, e.g. the script can be put in a directory included in the $PATH environment variable and then the directory part (the /home/user/ or ./) can be left off.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2007-10-10 at 11:06.
 
Posts: 10 | Thanked: 0 times | Joined on Sep 2007 @ Swamps of Jersey
#8
Ta-t3,

Thank, I figured I had to find another program (VI, VIM ??) to put the scrip into and make it work. Almost like a DOS Bat file (hope it didn't say a bad word)

I'll try it in the next day or so and post back. Thanks for the help

faithful
 
mrlanrat's Avatar
Posts: 292 | Thanked: 46 times | Joined on Oct 2007
#9
Originally Posted by faithful View Post
Ta-t3,

Thank, I figured I had to find another program (VI, VIM ??) to put the scrip into and make it work. Almost like a DOS Bat file (hope it didn't say a bad word)

I'll try it in the next day or so and post back. Thanks for the help

faithful
Yha your correct. I would recommend nano but those others will work fine.

Last edited by mrlanrat; 2007-10-14 at 19:17.
 
Posts: 10 | Thanked: 0 times | Joined on Sep 2007 @ Swamps of Jersey
#10
Just to keep you up to date. Thanks for the help. I will not get to try most of you recommendations till Sunday, but, read some where else that I should flash my 770 in R&D mode, then out of R&D mode, Then flash again and set the usb to host, then onset it again. Well, it work to the point I can now plug the 770 into my Win box and access the mem card. This should make it easer to transfer the scrips and stuff. (Run the scrips off the internal mem)

I'll post again when I have tried all the other stuff.

Thanks Again

faithful
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:40.