OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Bundabrg on June 29, 2006, 02:45:38 am

Title: Opie/gpe
Post by: Bundabrg on June 29, 2006, 02:45:38 am
Hi All,

(C860, 1Gb SD, Symbol24 Wifi CF)

OK, I'm doing a 'rom' tryout, and have now setup OZ Opie and GPE to run at the same time on VT2 and VT3. Also edited the relevant files so pressing <ctrl><alt>#num on any VT will change VT's fine. Oh, and switched / and ,.
The only thing I needed to do to really get this to work different from the wiki is to chmod u+s /usr/bin/chvt as chvt needs to run with root privs.
Oh, I also did it from the GPE image and then installing the Opie packages. The other way just seemed not to work well for me and indeed its interesting the number of differences the two ways gives (ie, /etc/ipkg/* versus /etc/ipkg.conf is one example).

Now I realise Opie/GPE is not a supported option, fair enough so I'm looking for what people who HAVE got it running did. Maybe some tricks and tips etc. I almost think that bar running qt4 under X instead, having a dual image would be useful, though installing it was fairly easy anyway.

My questions: -
  - I've had to disabled ALL idle suspends etc under both GPE and Opie. Is there anyway that the idle checker can determine if there is activity on another VT? Currently if they are enabled, then if say I'm in GPE, and Opie suddenly realises there is no activty on it for 5 minutes, it suspends.

  - Feeds. ipkg is really really REALLY slow. I think because of the base feed. However I can live with this. My issue is knowing if a package is opie or GPE when installing. Currently I comment out the opie feed, update then install when wanting to install a GPE app, and vice versa for opie. (IE, kopi is a good example). My question I guess is, are there any collisions of names between the feeds (the official OZ ones, not 3rd party).

  - I have set my sd to be default install (after installing most OPIE and GPE apps to root first). However I have one of those annoying SD cards that comes up with Input/Output error frequently if under usage (even mounted sync). I solved this by forcing a sync every 1 second when installing packages and hopefully will get another card one day. When I restart, the SD card is never automatically checked, and I can't unmount it as its always in use now (applets running etc...). Any proper way of getting round this? I've updated the insert scripts so when an SD/CF is inserted, it runs a filesystem check on it, then plays a 'sound' when its done.



Oh and finally, why gpe-bootsplash? I always just remove this because I like to see whats happening. Why cover up nice the really nice main splash screen with the whiteout splash of GPE (though I now see that the boot messages come up through it, which is an improvement).

EDIT: Excuse typos. I've just had a daughter and am very sleep deprived (and hence why I have the time to reflash ;-)

 - Bundabrg
Title: Opie/gpe
Post by: CoreDump on June 29, 2006, 05:13:27 am
Quote
Hi All,

(C860, 1Gb SD, Symbol24 Wifi CF)

OK, I'm doing a 'rom' tryout, and have now setup OZ Opie and GPE to run at the same time on VT2 and VT3. Also edited the relevant files so pressing <ctrl><alt>#num on any VT will change VT's fine. Oh, and switched / and ,.
The only thing I needed to do to really get this to work different from the wiki is to chmod u+s /usr/bin/chvt as chvt needs to run with root privs.
Oh, I also did it from the GPE image and then installing the Opie packages. The other way just seemed not to work well for me and indeed its interesting the number of differences the two ways gives (ie, /etc/ipkg/* versus /etc/ipkg.conf is one example).

Now I realise Opie/GPE is not a supported option, fair enough so I'm looking for what people who HAVE got it running did. Maybe some tricks and tips etc. I almost think that bar running qt4 under X instead, having a dual image would be useful, though installing it was fairly easy anyway.

My questions: -
  - I've had to disabled ALL idle suspends etc under both GPE and Opie. Is there anyway that the idle checker can determine if there is activity on another VT? Currently if they are enabled, then if say I'm in GPE, and Opie suddenly realises there is no activty on it for 5 minutes, it suspends.

  - Feeds. ipkg is really really REALLY slow. I think because of the base feed. However I can live with this. My issue is knowing if a package is opie or GPE when installing. Currently I comment out the opie feed, update then install when wanting to install a GPE app, and vice versa for opie. (IE, kopi is a good example). My question I guess is, are there any collisions of names between the feeds (the official OZ ones, not 3rd party).

No, with the possible exception of libsdl.

Quote
  - I have set my sd to be default install (after installing most OPIE and GPE apps to root first). However I have one of those annoying SD cards that comes up with Input/Output error frequently if under usage (even mounted sync). I solved this by forcing a sync every 1 second when installing packages and hopefully will get another card one day. When I restart, the SD card is never automatically checked, and I can't unmount it as its always in use now (applets running etc...). Any proper way of getting round this? I've updated the insert scripts so when an SD/CF is inserted, it runs a filesystem check on it, then plays a 'sound' when its done.

There is no such function in OZ currently. Patches which work with multi-partition cards are of course welcome  

Quote
Oh and finally, why gpe-bootsplash? I always just remove this because I like to see whats happening. Why cover up nice the really nice main splash screen with the whiteout splash of GPE (though I now see that the boot messages come up through it, which is an improvement).

Eye-candy. That's it, really. And the messages messing up the bootsplash on some models is a bug.
Title: Opie/gpe
Post by: Bundabrg on June 29, 2006, 05:44:05 am
Actually, interestingly if I disable gpe-bootsplash, Opie AND GPE execute on the same VT. So thats been re-enabled quicksmart.
Title: Opie/gpe
Post by: zedkatuf2 on June 30, 2006, 02:07:37 am
Quote
Hi All,

(C860, 1Gb SD, Symbol24 Wifi CF)

Now I realise Opie/GPE is not a supported option, fair enough so I'm looking for what people who HAVE got it running did. Maybe some tricks and tips etc. I almost think that bar running qt4 under X instead, having a dual image would be useful, though installing it was fairly easy anyway.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133260\"][{POST_SNAPBACK}][/a][/div]

FANTASTIC! Did the opie/gpe at same time info on the OZ wiki work then?  When I tried on my ex-collie, when I tried running gpe, the X server would start & nothing else..actually, I might've got as far as the login screen, but when I tried logging in, gpe crashed & restarted...back to the login screen again ad nauseum

If you have any insights let me know!
Title: Opie/gpe
Post by: Bundabrg on June 30, 2006, 03:56:52 am
The wiki is a bit out of date. As it stands now, GPE and OPIE start on different VT's, so you don't need to edit ANYTHING. Just add the feed, and do the install of the packages (with -force-overwrite for the bluetooth thing)

I may either update it (if I can get the access to that page) or do a writeup here if anyone is interested, though the wiki is pretty close. Maybe I'll make an 'ipk' with the correct dependencies and 'fixup' scripts.

The only showstopper-bug I've noticed (coming from pdaXrom though) is that my SD card is really pissing me off. Can't copy a 100Mb file to it (debian) as it gets halfway and hangs the whole system. That only happened under extreme load on pdaX but it still happened so I think I must have a dud SD . Also, pdaX running X is vastly faster than GPE X, though I prefer the security design etc of GPE and its fullscreen wm etc...

Oh, and I've ended up editing xmodmaps so I can map the silkscreen keys in GPE. Is there a way to map them in Opie? (Ideally, I want to set the E/J key to toggle between opie/gpe).

For xmodmap, I edited /etc/X11/xmodmap.shepherd and added the following
Code: [Select]
! Silkscreen
keycode 118 = XF86Launch0
keycode 119 = XF86Launch1
keycode 120 = XF86Launch2
keycode 121 = XF86Launch3
keycode 122 = XF86Launch4

Then editing /etc/keylaunchrc to assign commands.

 - Bundabrg

(Excuse my rambles.. still sleep deprived)
Title: Opie/gpe
Post by: zedkatuf2 on June 30, 2006, 04:40:03 am
Quote
The wiki is a bit out of date. As it stands now, GPE and OPIE start on different VT's, so you don't need to edit ANYTHING. Just add the feed, and do the install of the packages (with -force-overwrite for the bluetooth thing)

I may either update it (if I can get the access to that page) or do a writeup here if anyone is interested, though the wiki is pretty close. Maybe I'll make an 'ipk' with the correct dependencies and 'fixup' scripts.

The only showstopper-bug I've noticed (coming from pdaXrom though) is that my SD card is really pissing me off. Can't copy a 100Mb file to it (debian) as it gets halfway and hangs the whole system. That only happened under extreme load on pdaX but it still happened so I think I must have a dud SD . Also, pdaX running X is vastly faster than GPE X, though I prefer the security design etc of GPE and its fullscreen wm etc...

Oh, and I've ended up editing xmodmaps so I can map the silkscreen keys in GPE. Is there a way to map them in Opie? (Ideally, I want to set the E/J key to toggle between opie/gpe).

For xmodmap, I edited /etc/X11/xmodmap.shepherd and added the following
Code: [Select]
! Silkscreen
keycode 118 = XF86Launch0
keycode 119 = XF86Launch1
keycode 120 = XF86Launch2
keycode 121 = XF86Launch3
keycode 122 = XF86Launch4

Then editing /etc/keylaunchrc to assign commands.

 - Bundabrg

(Excuse my rambles.. still sleep deprived)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133460\"][{POST_SNAPBACK}][/a][/div]

OK, many thanks for this.  To edit the wiki, just create a user account & then you should be able to....if you can update the wiki with this info that'd be great...I could do it, but it'd be better if you did, as you've got the experience of a working system, which is fantastic.

zedkatuf
Title: Opie/gpe
Post by: zedkatuf2 on June 30, 2006, 04:42:28 am
Quote
correct dependencies and 'fixup' scripts.

The only showstopper-bug I've noticed (coming from pdaXrom though) is that my SD card is really pissing me off. Can't copy a 100Mb file to it (debian) as it gets halfway and hangs the whole system. That only happened under extreme load on pdaX but it still happened so I think I must have a dud SD . Also, pdaX running X is vastly faster than GPE X, though I prefer the security design etc of GPE and its fullscreen wm etc...

...do you mean that you tried to copy the file whilst running pdaX?  Under OZ 3.5.4.1 my 2gig sd card is useable (so far!) with no similar probs.though admiteddly, I haven't tried copying a large file yet.

zedkatuf
Title: Opie/gpe
Post by: Bundabrg on June 30, 2006, 04:48:06 am
Hmmm, I'm not sure what you mean 'whilst running pdaX', since pdaX is running from the moment the kernel starts.

Under X under pdaXrom or under the console I was able to copy the debian tar file, extract it, and then execute stuff under it. If I execute an apt-get update though under the debian chroot, it churns the SD too hard and the Z loses connection to it. I could never work out if it was the poor SD driver sharp supplies or I had a crap SD card. My money is on the card though it works fine under windows.

Under OZ I can't even finish the first step before all hell breaks loose. However I think OZ uses a different SD driver which just exasperates the crappiness of my SD card.

On your 2Gb, are you able to download pocket workstation debian tgz (the 20Mb or so one) to it, then extract that tar to a directory on that card (IE, so its effectively reading AND writing to the card at the same time). If that works, I'm getting a new card

Waaaay off topic. Sorry ;-)

 - Bundabrg
Title: Opie/gpe
Post by: koen on June 30, 2006, 06:24:32 am
Quote
Under X under pdaXrom or under the console I was able to copy the debian tar file, extract it, and then execute stuff under it. If I execute an apt-get update though under the debian chroot, it churns the SD too hard and the Z loses connection to it.[div align=\"right\"][a href=\"index.php?act=findpost&pid=133468\"][{POST_SNAPBACK}][/a][/div]

People seem to never answer this question when it gets asked: what does the debian tar provide that you think OZ doesn't have?
Title: Opie/gpe
Post by: alee16 on June 30, 2006, 08:24:43 am
I would like to install the OPIE/GPE setup, but I don't have a wireless card  .  Is it possible just to download the packages (and their dependencies, I know it will take a while), or do I need to hook up my Z to the internet somehow (SL-C1000)?

Also, is there a list of dependencies for the packages that are needed?

Koen, while you're here, could you list the packages that are needed to print from your c700, or are they installed by default?

Thanks!
Title: Opie/gpe
Post by: poushag on June 30, 2006, 08:26:26 am
I also was interested in trying GPE and Opie together but my feeling was that I didn't want to run them simultaneously.  I use a Collie and even if I didn't I would probably still feel this way.  I use hentges Opie ROM with his Opie cardfs (on SD), which I recommend because if I have to reflash, I can easily restore the non-UI files I customized, such as fstab and ipkg.conf, using mhbackup.  (mhbackup is a utility written by hentges)  I don't suppose you have mhbackup on your ROM do you, Bundabrg?

The most basic customization I used was to partition the SD card FAT/ext2/ext2.  The first partition is for the mhbackup and opie-backup archives (so I can transfer them to a workstation in case the Z gets stolen or bricked and I have to buy another one).  The second and third partitions were meant to be Opie and GPE respectively.  (But I think that I may end up going with only one ext2 partition.)

I wonder when using the two GUIs how easy it is to update to a newer version of Opie or GPE.  Does anybody have insight into that?  And I have had to reflash a few times already due to some corruption.  If I upgrade a bunch of ipks, then I don't want to have to reinstall them all after a reflash (but running ipkg-link on the 2nd partition of the SD would be my preferred alternative).  Bundabrg, can you please update the wiki on installing both GUIs and add a section on the implications of reflashing? (especially how to restore things that aren't part of the flash)

As for your problems with the inactive GUI suspending the Z, it seems like you need a way to pause the GUI process that has become inactive (and its child processes).  Does anyone know if this is possible?

The power management features are too valuable to me to go without.  So I would rather exit one GUI and start the other.  Bundabrg, do you think  you can update the wiki to explain how this would be done as an alternative to running both simultaneously?

Thanks.
Title: Opie/gpe
Post by: Bundabrg on June 30, 2006, 08:29:26 am
Quote
Quote
Under X under pdaXrom or under the console I was able to copy the debian tar file, extract it, and then execute stuff under it. If I execute an apt-get update though under the debian chroot, it churns the SD too hard and the Z loses connection to it.[div align=\"right\"][a href=\"index.php?act=findpost&pid=133468\"][{POST_SNAPBACK}][/a][/div]

People seem to never answer this question when it gets asked: what does the debian tar provide that you think OZ doesn't have?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133476\"][{POST_SNAPBACK}][/a][/div]

Koen, you're kidding right?

 - Bundabrg
Title: Opie/gpe
Post by: koen on June 30, 2006, 08:41:29 am
Quote
Quote
Quote
Under X under pdaXrom or under the console I was able to copy the debian tar file, extract it, and then execute stuff under it. If I execute an apt-get update though under the debian chroot, it churns the SD too hard and the Z loses connection to it.[div align=\"right\"][a href=\"index.php?act=findpost&pid=133468\"][{POST_SNAPBACK}][/a][/div]

People seem to never answer this question when it gets asked: what does the debian tar provide that you think OZ doesn't have?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133476\"][{POST_SNAPBACK}][/a][/div]

Koen, you're kidding right?

 - Bundabrg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133488\"][{POST_SNAPBACK}][/a][/div]

I'm not kidding. I've heard comments l like "I installed debian for <foo>, because OZ doesn't have it" when people actually mean "I didn't search and didn't try ipkg install <foo>".
And as I hinted above when asked for specifics they don't reply, but start bitching about other stuff. So consider this a form of "calling your bluff".
So please provide a list of specific things you miss in OZ, and please see if they are actually missing or you are not looking hard enough.
Since nobody has been able to produce such a list we are still unable to add the missing parts to OZ, since people seem to be too lazy to tell us.

(yes, I'm annoyed, since I've asked this question too many times without getting any answer at all)
Title: Opie/gpe
Post by: Bundabrg on June 30, 2006, 08:47:24 am
Fair enough I suppose.
OZ has only a fraction of debians packages. Those that I use I'll eventually port over myself, but I find it faster in the short term to simply apt-get install them. I don't run the debian chroot via VNC (ugg), but rather have it come to the X display (in this case GPE).

Anyway, you wanted proof. Compare the output of 'apt-cache pkgnames'  under debian to 'ipkg list' under OE. The set of names that are in apt but not ipkg are what OZ (and indeed any OS) is missing.

 - Bundabrg
Title: Opie/gpe
Post by: Bundabrg on June 30, 2006, 09:04:32 am
Quote
I would like to install the OPIE/GPE setup, but I don't have a wireless card  .  Is it possible just to download the packages (and their dependencies, I know it will take a while), or do I need to hook up my Z to the internet somehow (SL-C1000)?

Also, is there a list of dependencies for the packages that are needed?

Koen, while you're here, could you list the packages that are needed to print from your c700, or are they installed by default?

Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133484\"][{POST_SNAPBACK}][/a][/div]

Once I'm not holding my new daughter in one arm I'll grab my installed packages list. Theoretically you would only need these to install.

Otherwise, I _think_ you can get ipkg compiled for x86, then use it to 'download-only' the dependencies in the wiki, then dump all those files to cf/sd.

 - Bundabrg
Title: Opie/gpe
Post by: Bundabrg on June 30, 2006, 09:11:56 am
Quote
I also was interested in trying GPE and Opie together but my feeling was that I didn't want to run them simultaneously.  I use a Collie and even if I didn't I would probably still feel this way.  I use hentges Opie ROM with his Opie cardfs (on SD), which I recommend because if I have to reflash, I can easily restore the non-UI files I customized, such as fstab and ipkg.conf, using mhbackup.  (mhbackup is a utility written by hentges)  I don't suppose you have mhbackup on your ROM do you, Bundabrg?
Nope, I'm using vanilla OZ. Can't comment on mhbackup or equiv.

Quote
I wonder when using the two GUIs how easy it is to update to a newer version of Opie or GPE.  Does anybody have insight into that?  And I have had to reflash a few times already due to some corruption.  If I upgrade a bunch of ipks, then I don't want to have to reinstall them all after a reflash (but running ipkg-link on the 2nd partition of the SD would be my preferred alternative).  Bundabrg, can you please update the wiki on installing both GUIs and add a section on the implications of reflashing? (especially how to restore things that aren't part of the flash)

I would think it depends on how much you have to hack a file from default install . I've removed a couple startup files that would be installed back each time I updated (just me being fussy . However in general I've found the install to work as is no changes.

Quote
As for your problems with the inactive GUI suspending the Z, it seems like you need a way to pause the GUI process that has become inactive (and its child processes).  Does anyone know if this is possible?

Interesting idea. It would be trivial in the script to determine what vt is active. Maybe as simple as putting it into /etc/apm somewhere such that if a call is made on another vt it doesn't suspend. Something similar for dimming as well.
Title: Opie/gpe
Post by: koen on June 30, 2006, 09:16:41 am
Quote
Anyway, you wanted proof. Compare the output of 'apt-cache pkgnames'  under debian to 'ipkg list' under OE. The set of names that are in apt but not ipkg are what OZ (and indeed any OS) is missing.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133493\"][{POST_SNAPBACK}][/a][/div]

oooh, the usual worthless proof by handwaving.

I'll try to make the question a bit more idiotproof:

Which programs you *need* and have actually *ran* on your Z aren't in OZ (and by extension OE)?
Title: Opie/gpe
Post by: zedkatuf2 on June 30, 2006, 09:28:26 am
Quote
People seem to never answer this question when it gets asked: what does the debian tar provide that you think OZ doesn't have?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133476\"][{POST_SNAPBACK}][/a][/div]


Hi koen - I'd like to have gpe & opie running at the same time because:

*I like the functionality of opie - it's easier for me as an end-user for setting up networking, ease of navigation.

*I need to run imageJ, which I've successfully run using Jeode & compat libs in opie.  I guess it might be possible to install a jvm & get it to work under gpe, if I know enough about that sort of thing, but I'm not motivated to learn, partly based on some threads I've read on getting jvm 1.4 working (I think, but this is from half-baked memory), and partly because I already have it working under opie

*I want to run a decent wordprocessor & spreadsheet app & abiword & gnumeric, which only work under gpe beat the socks off the rest as far as I can tell.

Hope that helps!

Cheers,

zedkatuf
Title: Opie/gpe
Post by: Meanie on June 30, 2006, 11:38:49 am
Quote
Quote
Anyway, you wanted proof. Compare the output of 'apt-cache pkgnames'  under debian to 'ipkg list' under OE. The set of names that are in apt but not ipkg are what OZ (and indeed any OS) is missing.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133493\"][{POST_SNAPBACK}][/a][/div]

oooh, the usual worthless proof by handwaving.

I'll try to make the question a bit more idiotproof:

Which programs you *need* and have actually *ran* on your Z aren't in OZ (and by extension OE)?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133501\"][{POST_SNAPBACK}][/a][/div]

OpenOffice and no, it's not a case for showing off, my company actually mandates that all company documents have to be in openoffice/staroffice format. abiword can convert oo documents but some formatting get lost during conversion so having openoffice is important to me and some others
Title: Opie/gpe
Post by: koen on June 30, 2006, 11:47:26 am
Quote
Quote
Quote
Anyway, you wanted proof. Compare the output of 'apt-cache pkgnames'  under debian to 'ipkg list' under OE. The set of names that are in apt but not ipkg are what OZ (and indeed any OS) is missing.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133493\"][{POST_SNAPBACK}][/a][/div]

oooh, the usual worthless proof by handwaving.

I'll try to make the question a bit more idiotproof:

Which programs you *need* and have actually *ran* on your Z aren't in OZ (and by extension OE)?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133501\"][{POST_SNAPBACK}][/a][/div]

OpenOffice and no, it's not a case for showing off, my company actually mandates that all company documents have to be in openoffice/staroffice format. abiword can convert oo documents but some formatting get lost during conversion so having openoffice is important to me and some others
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133513\"][{POST_SNAPBACK}][/a][/div]

Thank you, now I have a reason to try building OOo again
Title: Opie/gpe
Post by: alee16 on June 30, 2006, 01:00:15 pm
Quote
Quote
I would like to install the OPIE/GPE setup, but I don't have a wireless card  .  Is it possible just to download the packages (and their dependencies, I know it will take a while), or do I need to hook up my Z to the internet somehow (SL-C1000)?

Also, is there a list of dependencies for the packages that are needed?

Koen, while you're here, could you list the packages that are needed to print from your c700, or are they installed by default?

Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133484\"][{POST_SNAPBACK}][/a][/div]

Once I'm not holding my new daughter in one arm I'll grab my installed packages list. Theoretically you would only need these to install.

Otherwise, I _think_ you can get ipkg compiled for x86, then use it to 'download-only' the dependencies in the wiki, then dump all those files to cf/sd.

 - Bundabrg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133497\"][{POST_SNAPBACK}][/a][/div]

Thanks, that would be great.  In the meantime, can I connect my Z via USB sync cable to my PC which has internet access and the Z will then have internet access, or is it more complicated?

I would like to setup the OPIE/GPE running at the same time over the weekend, but I can't leave my Z hanging because on Monday I have to have it for class.
Title: Opie/gpe
Post by: Bundabrg on July 02, 2006, 12:58:32 am
Umm, still can't figure out what the issue is Koen? Debian obviously has a larger application store. Ideally there would be a method that could get the 'source' files for the whole repository, then compile them in OE and store as ipkg. However even then I would still look all over the place. It also runs on all my other ARM machiens, so

Under my ubuntu box, I use debian repositories as well as ubuntu and also have a host of other repositories in chroot env that I use (IE Gentoo etc).

If I wanted to run my tetrinet server I wrote, tetrix, I can apt-get it. I run 'gtimer' as my time tracker. Need the latest deer park? I can get it. Debian tends to be more up to date on some things. Theres a host of apps that I run that are not in the repositories and have no close alternative. Also, some packages I would prefer to run chrooted. Time permitting I'll port them. Till then, my way.

Honestly ;-) in the end f I want to run Debian/Gentoo chroot then I will. Case closed.

 - BundaBRG
Title: Opie/gpe
Post by: Bundabrg on July 02, 2006, 01:41:12 am
alee16, I've attached two files to this post.

One is 'installed.txt'. This is the output of my 'ipkg list_installed'. Its a bit large as I've since installed more things.

The other is 'oz_get.txt'. Its a shell script (so feel free to rename to oz-get.sh though linux won't care). I very quickly whipped up. If you run it on a standard linux box with my installed.txt file, it will automatically pull down all the files.

Format of oz_get.txt is:
Code: [Select]
 oz_get installed_list machine_name [dirname]
So, installed_list is the file I've provided. Machine name is one of c7x0, collie, poodle, tosa. Dirname is where you want to store the stuff, else defaults to current dir.
Run without any parameters for a short help message.

I've not tested it much so hope it works ;-). Its a really primitive quick'n'dirty script but it should be quite quick.

 - Bundabrg
Title: Opie/gpe
Post by: Bundabrg on July 02, 2006, 03:44:26 am
Quote
Thanks, that would be great.  In the meantime, can I connect my Z via USB sync cable to my PC which has internet access and the Z will then have internet access, or is it more complicated?

Check OZ Wiki USB Network (http://openzaurus.org/wordpress/howto/usb-networking/).
It has instructions for windows in the comments section.

YMMV, I've never tried it, but theoretically it should work.

 - Bundabrg
Title: Opie/gpe
Post by: poushag on July 03, 2006, 01:21:19 am
Koen, What about Kspread and KWord for Opie?  The microKDE libs are working great for kopi so far.  Why not supply these other apps too?
Title: Opie/gpe
Post by: Hrw on July 03, 2006, 04:05:10 am
poushag: feel free to make it and send us patches.

There are atleast 3 versions of microkde libraries.
Title: Opie/gpe
Post by: poushag on July 03, 2006, 04:24:11 am
I intended to set up a dev environment.  But my workstation is Mac OSX and there is no way for me to do so.  The only other alternative for me would be to use a virtual machine (vmware image) to set it up on a work pc.  My boss won't mind a vm using a little space and some cpu cycles.  But installing linux on a real partition is not permitted.  I don't suppose one of you already has a virtual machine vmx file (all open-source of course) and would like to put it on a DVD and send it to me?  I have Vmware 3.2.0 installed on the pc.
Title: Opie/gpe
Post by: alee16 on July 06, 2006, 01:33:08 pm
I'm just getting started now trying to set this up.  Can I download all the packages from the feeds and put them on a cf card?

Bundabrg, thanks for the script, but mine is an akita (C1000), so what should I change to make it work (I think I need the packages that have "armv5te" at the end because mine has a PXA270 chip and the "armv5te" packages are optimized for this chip)?

I can't get USB networking to work, I've posted a question in the OZ/Common forum about it.  

If I understand correctly, all I do is:
ipkg update
I read the wiki and figured out which packages to install.

How do I switch back and forth (what keyboard shortcut), I know on a desktop it is Ctrl + Alt + F2, is it the same, and how do I get an "F" key.

Also, looking under the GPE 3.5.4 feed, it looks empty, is there anything there, or can I just not browse through it? To answer my own question, it's all in the x11 folder now I think.
Title: Opie/gpe
Post by: alee16 on July 06, 2006, 10:55:10 pm
I've tried to download the entire feed to my cf card, but when I point ipkg.conf to the cf and type "ipkg update" it says "not url" error 6.  

I can't get USB networking working, is it no longer working in OZ 3.5.4.1?  When I plug it into my PC, I get no dmesg output or anything.

If someone could provide a list of packages to install GPE by hand if possible that would be great!

Thanks!
Title: Opie/gpe
Post by: alee16 on July 07, 2006, 01:44:49 pm
Quote
I've tried to download the entire feed to my cf card, but when I point ipkg.conf to the cf and type "ipkg update" it says "not url" error 6.  

[div align=\"right\"][a href=\"index.php?act=findpost&pid=134191\"][{POST_SNAPBACK}][/a][/div]

Got a reply via PM.  All that is needed is add file:// to the beginning of the location in ipkg.conf.
Title: Opie/gpe
Post by: alee16 on July 07, 2006, 02:37:09 pm
Ok, I've got everything installed, but the GPE isn't working.  Which xserver do I need for an akita (C1000)?

I think from what I've read GPE is supposed to start on VT1.  When I switch to VT1, it says:
akita login:  Can't open display (null)

Does this mean I have the wrong xserver installed?
Do I need to uninstall the wrong xserver and install the correct one or just install the correct one?
Title: Opie/gpe
Post by: zedkatuf2 on July 07, 2006, 02:46:24 pm
Quote
Ok, I've got everything installed, but the GPE isn't working.  Which xserver do I need for an akita (C1000)?

I think from what I've read GPE is supposed to start on VT1.  When I switch to VT1, it says:
akita login:  Can't open display (null)

Does this mean I have the wrong xserver installed?
Do I need to uninstall the wrong xserver and install the correct one or just install the correct one?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=134262\")


Change /etc/init.d/opie to start opie on vt3
& follow the wiki opie_gpe at same time stuff.
There are atika gpe images here:
[a href=\"http://hentges.net/tmp/do_not_use/akita/]http://hentges.net/tmp/do_not_use/akita/[/url]

...v similar to official gpe images, but with some nice tweaks:
https://www.oesf.org/forums/index.php?showt...46&#entry133846 (https://www.oesf.org/forums/index.php?showtopic=18503&st=105&p=133846&#entry133846)

Cheers,

zedkatuf
Title: Opie/gpe
Post by: alee16 on July 07, 2006, 03:01:51 pm
Never mind, I don't know what I did wrong, but I started fresh (reflashed OPIE), obeyed the Wiki to the letter, (except I didn't have to move root to SD or CF), and it works great!

I didn't want to have to move root, because I remove my cards too much to have one of them locked in.

Thanks for your help!
Title: Opie/gpe
Post by: zedkatuf2 on July 08, 2006, 04:05:41 am
Quote
Never mind, I don't know what I did wrong, but I started fresh (reflashed OPIE), obeyed the Wiki to the letter, (except I didn't have to move root to SD or CF), and it works great!

I didn't want to have to move root, because I remove my cards too much to have one of them locked in.

Thanks for your help!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134265\"][{POST_SNAPBACK}][/a][/div]

Good to know someone else has gpe/opie working.

One tip (which I should post to the wiki):

Disable the Sleep settings in gpe & give opie control over this, otherwise you might find your opie screen goes blank unexpectedly.
Title: Opie/gpe
Post by: alee16 on July 08, 2006, 09:14:38 am
Quote
Good to know someone else has gpe/opie working.

One tip (which I should post to the wiki):

Disable the Sleep settings in gpe & give opie control over this, otherwise you might find your opie screen goes blank unexpectedly.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134304\"][{POST_SNAPBACK}][/a][/div]

Yep, learned that one the hard way.  

After a reboot, GPE now boots to the third terminal, so both of them were running at the same time, so I exited OPIE, edited the /etc/init.d/opie file and changed it back to terminal 2, and everything works fine now.
Title: Opie/gpe
Post by: McChubby on July 08, 2006, 01:40:19 pm
Quote
Quote
Good to know someone else has gpe/opie working.

One tip (which I should post to the wiki):

Disable the Sleep settings in gpe & give opie control over this, otherwise you might find your opie screen goes blank unexpectedly.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134304\"][{POST_SNAPBACK}][/a][/div]

Yep, learned that one the hard way.  

After a reboot, GPE now boots to the third terminal, so both of them were running at the same time, so I exited OPIE, edited the /etc/init.d/opie file and changed it back to terminal 2, and everything works fine now.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134317\"][{POST_SNAPBACK}][/a][/div]

Thanks for the info guys - I just plucked-up the courage and tried it on my C3200 and it worked!!

One question though; GPE has the "Goto Opie" icon/script - what mechanism did you use when going from OPIE->GPE (other than chvt 3 from the terminal), as I've yet to understand how the OPIE desktop relates to commands/scripts underneath?
Title: Opie/gpe
Post by: alee16 on July 08, 2006, 01:50:17 pm
Quote
Quote
Quote
Good to know someone else has gpe/opie working.

One tip (which I should post to the wiki):

Disable the Sleep settings in gpe & give opie control over this, otherwise you might find your opie screen goes blank unexpectedly.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134304\"][{POST_SNAPBACK}][/a][/div]

Yep, learned that one the hard way.  

After a reboot, GPE now boots to the third terminal, so both of them were running at the same time, so I exited OPIE, edited the /etc/init.d/opie file and changed it back to terminal 2, and everything works fine now.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134317\"][{POST_SNAPBACK}][/a][/div]

Thanks for the info guys - I just plucked-up the courage and tried it on my C3200 and it worked!!

One question though; GPE has the "Goto Opie" icon/script - what mechanism did you use when going from OPIE->GPE (other than chvt 3 from the terminal), as I've yet to understand how the OPIE desktop relates to commands/scripts underneath?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134350\"][{POST_SNAPBACK}][/a][/div]

I just hold down the "Ctrl+(the key right next to Ctrl which is mapped to Alt I think)+"insert terminal number here"  
I have OPIE running on terminal 2 because for some reason after a reboot GPE decided to move to terminal 3.

Hope this helps.
Title: Opie/gpe
Post by: McChubby on July 08, 2006, 02:45:36 pm
Quote
I just hold down the "Ctrl+(the key right next to Ctrl which is mapped to Alt I think)+"insert terminal number here" 
I have OPIE running on terminal 2 because for some reason after a reboot GPE decided to move to terminal 3.

Hope this helps.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134351\"][{POST_SNAPBACK}][/a][/div]
Ah OK, I've done it that way too, so I'm not missing anything   .  I can feel my knowledge edging towards the dangerous level now   .

Yep, GPE did the same to me (both OPIE and GPE on VT3), so I moved OPIE back to VT2 - I thought the point of moving OPIE to VT3 in the first place was because GPE used VT2...ho hum...
Title: Opie/gpe
Post by: zedkatuf2 on July 09, 2006, 02:58:57 am
Quote
One question though; GPE has the "Goto Opie" icon/script - what mechanism did you use when going from OPIE->GPE (other than chvt 3 from the terminal), as I've yet to understand how the OPIE desktop relates to commands/scripts underneath?



I created this file:
/opt/QtPalmtop/apps/Applications/gpe.desktop

...which contains:

[Desktop Entry]
Comment=Goto GPE
Exec=/gotogpe.sh
Icon=logo/tux-logo
Type=Application
Name=GPE
CanFastload=1

&
 /gotogpe.sh contains:

#!/bin/sh
chvt 2

...don't forget to chmod 755  /gotogpe.sh
Title: Opie/gpe
Post by: poushag on July 09, 2006, 09:09:54 am
Have you guys who got it working updated the wiki?  If not, I hope you will do so while it's fresh in your mind.  

Power management seems like all that you Opie+GPE folks are missing.  According to Bundabrg it's possible to pause the GUI process that has become inactive (and its child processes).  He said 'It would be trivial in the script to determine what vt is active. Maybe as simple as putting it into /etc/apm somewhere such that if a call is made on another vt it doesn't suspend. Something similar for dimming as well.'
Has anyone worked on this yet?
Title: Opie/gpe
Post by: Bundabrg on July 09, 2006, 09:38:55 am
Sorry, slightly more difficult than I thought. There is a 'queryvt' program around that I'm trying to compile for ARM that is supposed to tell you what VT you are on now. Once thats available hopefully it should be simple enough to script this up a bit...

 - Bundabrg
Title: Opie/gpe
Post by: Mickeyl on July 09, 2006, 12:58:27 pm
Opie suspends itself if you change to another VT via the VTapplet. If GPE would do the same, then you had no conflicting PM.
Title: Opie/gpe
Post by: poushag on July 09, 2006, 06:12:18 pm
Quote
Opie suspends itself if you change to another VT via the VTapplet. If GPE would do the same, then you had no conflicting PM.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134442\"][{POST_SNAPBACK}][/a][/div]

I think that there are several GPE developers who might be willing to help.  Perhaps if you guys would join #openzaurus and #hentges.net on irc://freenode.net we could really get this thing going.  I expect the developers would be more responsive if they hear the same request coming from multiple users....
Title: Opie/gpe
Post by: McChubby on July 10, 2006, 02:57:07 pm
Quote
Quote
One question though; GPE has the "Goto Opie" icon/script - what mechanism did you use when going from OPIE->GPE (other than chvt 3 from the terminal), as I've yet to understand how the OPIE desktop relates to commands/scripts underneath?



I created this file:
/opt/QtPalmtop/apps/Applications/gpe.desktop

...which contains:

[Desktop Entry]
Comment=Goto GPE
Exec=/gotogpe.sh
Icon=logo/tux-logo
Type=Application
Name=GPE
CanFastload=1

&
 /gotogpe.sh contains:

#!/bin/sh
chvt 2

...don't forget to chmod 755  /gotogpe.sh
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134400\"][{POST_SNAPBACK}][/a][/div]
Excellent, thanks - I'll give it a go.  It's also good to start learning how the OPIE desktop/icons and scripts relate - another knowledge gap filled.
Title: Opie/gpe
Post by: portalgod on May 11, 2007, 03:02:45 pm
Quote
Quote
Quote
One question though; GPE has the "Goto Opie" icon/script - what mechanism did you use when going from OPIE->GPE (other than chvt 3 from the terminal), as I've yet to understand how the OPIE desktop relates to commands/scripts underneath?



I created this file:
/opt/QtPalmtop/apps/Applications/gpe.desktop

...which contains:

[Desktop Entry]
Comment=Goto GPE
Exec=/gotogpe.sh
Icon=logo/tux-logo
Type=Application
Name=GPE
CanFastload=1

&
 /gotogpe.sh contains:

#!/bin/sh
chvt 2

...don't forget to chmod 755  /gotogpe.sh
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134400\"][{POST_SNAPBACK}][/a][/div]
Excellent, thanks - I'll give it a go.  It's also good to start learning how the OPIE desktop/icons and scripts relate - another knowledge gap filled.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134582\"][{POST_SNAPBACK}][/a][/div]


I would assume having the OPIE environment alongside the GPE/X environmenet is a waste of resources since they're both running simultaneously.  Has anyone noticed any significant performance hits running them both at the same time?