View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#1040
please keep discussions about mounting etc out of this thread! See post #9

For the rest of you I created a little
scriptie that at least for me does completely 'hidden' (non-interactive) hostmode,
I.E. you can start it from shell as root, or via single click on a icon with according .desktop (use sudo there, adjust your sudoers.d/ by adding a file named start-hostmode...) Obviously it's meant to get started _after_ plugging in your memstick/whatever. Be patient, I had to implement a few delays to allow things to settle, so give it a minute. Last thing it does is invoking the original mount script by mohammad, which in turn shows a short notification about "successfull mount"

http://maemo.cloud-7.de/maemo5/usr/sbin/start-hostmode (does highspeed "echo hosth >/sys...")

To stop hostmode, you kill the script - in shell for example you do Ctrl-C. ATTENTION! This doesn't do proper umount! I eventually might fix this.

/j
ps: this script is a marginally augmented version of "improved booston script" as shipping with new version of h-e-n mentioned in next post
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2012-05-20 at 20:37.
 

The Following 7 Users Say Thank You to joerg_rw For This Useful Post: