maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Palm OS] Garnet VM virtual SD card (https://talk.maemo.org/showthread.php?t=14391)

Addison 2009-07-11 03:00

Re: [Palm OS] Garnet VM virtual SD card
 
Joy!

I'm now able to run all of my gvm.stores on my external memory card! :D

None of them are on the internal memory anymore which freed up about 128 megs.

Load up time is about 10 seconds which is extremely acceptable.

Happy! Happy!

Addison 2009-07-12 01:49

Re: [Palm OS] Garnet VM virtual SD card
 
Heya Bun!

Okay, so I was able to get Merck Manual installed correctly on a SD card slot.

I downloaded it from Skyscape and Hotsynched it to a normal gvm.store. I'm also using Resco Explorer.

So using Resco Explorer go to
RAM(0:)
expand the Merck Manual section
edit
select all
copy

then go to
Slot1(A:)
PALM
Launcher
edit
paste

After that go back to
RAM(0:)
expand the Merck Manual section again (if needed)
edit
select all
file
delete

There ya go!

The only thing to be aware of is that there needs to be a section called Skyscape under Applications in your gvm.store. Not sure why since there's nothing in that folder.

Other apps that work using this same method are Pedisuite and ER Suite.

Ones that don't work are 5 Minute Medical Consult, 5 Minute Emergency Consult, 5 Minute Pediatric Consult, and Davis's Drug Guide just to name a few.

I'm thinking that all of these require being placed in RAM(0:) and nowhere else. I'll look into it some more though.

Also, if you haven't already, you should look closely at Palmleavr's suggestions I pointed out earlier.

Basically, I deleted the file /home/user/.gvm/gvm.store and entered this into Xterm
ln - s /media/mmc2/Garnet/gvm.store /home/user/.gvm/gvm.store

From then on, when you run Garnet VM, it's reading the gvm.store from your memory card instead of the internal flash.

I'm really surprise no one seemed to get excited over this.

Well, post back if you have any luck.

Cheers!

Pushwall 2009-07-12 02:57

Re: [Palm OS] Garnet VM virtual SD card
 
Quote:

Originally Posted by Addison (Post 303937)
Basically, I deleted the file /home/user/.gvm/gvm.store and entered this into Xterm
ln - s /media/mmc2/Garnet/gvm.store /home/user/.gvm/gvm.store

From then on, when you run Garnet VM, it's reading the gvm.store from your memory card instead of the internal flash.

I'm really surprise no one seemed to get excited over this.

I'm reading this after some heavy libation and pondering what it means. Hmmmm,.....I think it's a huge revelation and yes, I'm really excited!! I'll test this tomorrow. Addison, you're the man!:cool:

Addison 2009-07-12 03:49

Re: [Palm OS] Garnet VM virtual SD card
 
Hey Push.

Execute that command line and look at /home/usr/.gvm using Emelfm2.

The file will be light blue instead of black.

What that means is when Garnet attempts to read that file, it now gets redirected to wherever you set the new location.

It's callled symlinking (sp?).

And yeah, you can do this with all of your stores.

I would suggest rereading Palmleavr's posts on this page:
http://talk.maemo.org/showthread.php?t=25207&page=11

There's some great stuff that most people overlooked in his findings.

See ya.

Addison 2009-07-12 06:46

Re: [Palm OS] Garnet VM virtual SD card
 
One other quick mention, Bun.

If you copy and paste the Merck_Manual.prc file (size 55 kb) back to RAM(0:) you can then launch straight to the application using this command or something similar based on your preferences:
/usr/bin/gvm/gvm -a K2GQ -L 0x0000,0x0000,0x0000 -O no

Otherwise you would have to start the launcher, select the SD card, and then choose the Merck icon.

Addison 2009-07-12 14:17

Re: [Palm OS] Garnet VM virtual SD card
 
Is there any crazy genius here that might be able to figure out why Hotsync under gvm doesn't work but is featured inside the ROM?

Is it because the file has a flag set to be read only?

http://img3.imageshack.us/img3/6771/...9071206120.png

bunanson 2009-07-12 21:14

Re: [Palm OS] Garnet VM virtual SD card
 
Quote:

Originally Posted by Addison (Post 303937)
..., I deleted the file /home/user/.gvm/gvm.store and entered this into Xterm
ln - s /media/mmc2/Garnet/gvm.store /home/user/.gvm/gvm.store
...

Thanks for the detail step by step. It is very useful for the uninitiated. I think there should be no space between "- s", try to pick bones from egg :)

I cannot make it work. It keeps on crashing. I dont understand. Your steps seem so logical and you also have it worked. Oh, well witchcraft :( . BTW, to remove a symlink one would have to remove the 'link' file.

Anyhow, I am kind of satisfy with my setup so far, once in a blue moon, crashed, resurrect with RescoExp Restore. I have also set up as a button on personal menu
Under Command to execute
/usr/bin/gvm/gvm -a ep25 -z 1.5 (Epocrates)

or

/usr/bin/gvm/gvm -a Mmmo -z 1.5 (MerckManual, you use K2GQ, what is that?)
and check run under xterm

It loads in 25 sec

Nice keyboard, how about a step by step to that too. TIA,

bun

Addison 2009-07-12 21:47

Re: [Palm OS] Garnet VM virtual SD card
 
Well, it stopped working for me today. However, I've been doing some really, really stupid stuff on my end. :D

Anyway, I'll be starting all over again today with a fresh flash and see where that gets me.

Here's the keyboard:
Keyboard Collection

In a nutshell just unzip the keyboard folder and put it in /media/mmc2/

There's a Notes folder inside to look at and copy and paste from if needed.

Anyway, your new script would be something like:
/usr/bin/gvm/gvm -a Mmmo -z 1.5 & xkbd -geometry +722+65536 -k /media/mmc2/Keyboards/Rightfull.xkbd

It's super easy if you already have xkbd installed.

The only thing is that the keyboard sticks on the screen. So when you close Garnet, you'll still need to also click the keyboard off as well.

I'll post back tomorrow if I have any luck getting that stupid symlink to work again.

bunanson 2009-07-12 22:02

Re: [Palm OS] Garnet VM virtual SD card
 
Let me say something really really looked stupid on me (in fact, I am!), I think the way you do it does work, NOT all the time, if you try it 10x, 5x will work. Dont know why, I just have that feeling. For example the xterm -a command, that is what happens, it works ALL the time when lauching from personal menu. But when I type it from xterm, it works 5 out of 10, the time they dont work, it showed me a screen of perference and no apps at all.
================================================== ===========
..
Other apps that work using this same method are Pedisuite and ER Suite.
Ones that don't work are 5 Minute Medical Consult, 5 Minute Emergency Consult, 5 Minute Pediatric Consult, and Davis's Drug Guide just to name a few.
...
================================================== =============
So, in your previous post, you said some apps work and some apps dont work, I suspect if you keep on trying, they all work some of the time.

You mentioned "fresh flash", you mean to flash your tablet? I have been doing flashing from either mmc1 and mmc2, here, so I always have a good copy of 'last working OS', never have to start from scratch, strongly recommend when playing with new apps. It is really really convenient



bun

javispedro 2009-07-12 22:17

Re: [Palm OS] Garnet VM virtual SD card
 
As for the symbolic link idea, I think you're forgetting about the "removing the noexec mount option" part.

Detail: GVM mmaps the gvm.store with PROT_EXEC and as such needs Maemo's default noexec option disabled or it'll crash at boot.

There are lots of threads about that around here, but basically: you have to edit /usr/sbin/mmc-mount and remove the "noexec," part (only THAT option and not the whole line). Backup everything first.


All times are GMT. The time now is 15:51.

vBulletin® Version 3.8.8