Author Topic: Cacko3k Feedback  (Read 212750 times)

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #90 on: April 26, 2005, 04:50:21 pm »
Quote
PS I remotedesktopped into my file server at home, from that into my computer and from that to my wife's computer...and then launched tetris on her computer!

I was sitting on my couch laughing my A** off using 4 computers to play TETRIS!

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

That may be the most CPU horsepower ever dedicated to a single game of Tetris.  You're not sick, just a true Zaurite!

Sorry to hear about your circumstances. I expect that you'll be able to join in on beta1 RSN (Real Soon Now), so chin up!
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #91 on: April 26, 2005, 05:01:09 pm »
Do you have any suggestions for standard places to symlink stuff off of /home/zaurus in our 3000-detecting ipks?

The Opera ipk just moved the files to /hdd2/Applications, which may not be the best idea. How about /hdd2/zaurus, owned by zaurus and part of the qpe group?

I ask because I want to get it straight before making any more modifications. Euroclie built some nice extensions on my Opera scripts. I'd like to finish those off properly and make a template out of them so that it will be easy to add 3000 detection and symlinking to Ipks. It'll be fairly trivial to add creation of the /hdd2/zaurus directory if it doesn't exist - that way they can be used on stock 3000s as well as Cacko3k'd 3000s.

Mr. Smith - let me know if you've decided on an Opera version. The IPKs for both have to be cleaned up regardless.
« Last Edit: April 26, 2005, 05:19:32 pm by kahm »
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #92 on: April 26, 2005, 05:56:27 pm »
Quote
Do you have any suggestions for standard places to symlink stuff off of /home/zaurus in our 3000-detecting ipks?

The Opera ipk just moved the files to /hdd2/Applications, which may not be the best idea. How about /hdd2/zaurus, owned by zaurus and part of the qpe group?

.....

Mr. Smith - let me know if you've decided on an Opera version. The IPKs for both have to be cleaned up regardless.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77003\"][{POST_SNAPBACK}][/a][/div]

I would suggest a subdirectory under /hdd2/Applications for application data since ~/Applications is symlinked to this location and it seems a sensible place to reasonable quantities of user data needing a functional filesystem. That way we keep all user data in the same location. This may be useful if someone wants to write a script to prune the backups for transfer between ROM versions.

I actually really like what Euroclie has done with the 7.55 Opera. How are the bitmap artifact issues progressing Euroclie ?

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #93 on: April 26, 2005, 06:01:24 pm »
How about /hdd2/Applications/3000, then? Or should we stick with /hdd2/Applications/zaurus?

I've been playing around with test cases for symlinking, etc (Damn you Zaurus for making me learn bash scripting!) I've got a much safer script in mind now (The current script never fails, no matter what happens, it'll happily let the IPK go through). I'll put together a test IPK for ncftp for demonstration purposes so you can let me know what you think.
« Last Edit: April 26, 2005, 06:03:28 pm by kahm »
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #94 on: April 26, 2005, 07:38:50 pm »
I've added ncftp to the http://www3.telus.net/~ranko

It has the new scripts in place that I was suggesting, starting with creating the /hdd2/Applications/3000 directory if necessary. It errors out if there's a problem creating the linkages, and is uninstall/reinstall friendly.

LMK what you think and I'll start work on setting up other packages (Opera, Apache, etc).

For amusement value I put an (unresized, 5 megapixel, 900kb) image of my Zaurus work area up on my site. My "accessories" now include a 40gb, battery powered HD and a cd-burner - it's getting kind of silly!

But I like it
« Last Edit: April 26, 2005, 08:21:33 pm by kahm »
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #95 on: April 26, 2005, 09:21:39 pm »
I've added an experimental repack of opera 7.55 to my site, which takes euroclie's ipk and adds the new scripts.

Edit: Oops. There's a typo in one of the scripts, and I'm having problems connecting to fix it. Don't download it quite yet.
Edit again: Fixed.

There is one major problem with 7.55. The "small screen" option is optimized for the 320x240 5x00 series, so it bunches everything up into a 240 pixel wide area on the left side of the screen. The v7.25 of Opera doesn't do this. Does anyone know if this can be fixed? If not, I strongly suggest the older version. We should be able to apply euroclie's icon updates to it.
« Last Edit: April 26, 2005, 09:31:04 pm by kahm »
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

euroclie

  • Full Member
  • ***
  • Posts: 205
    • View Profile
    • http://
Cacko3k Feedback
« Reply #96 on: April 26, 2005, 09:43:02 pm »
Quote
I actually really like what Euroclie has done with the 7.55 Opera. How are the bitmap artifact issues progressing Euroclie ?
Sorry, I haven't had time to polish the icons yet (another internet-less long flight, another timezone shift), but I'll have them ready within the next 12 hours, I promise!

I'll do some testing with transparency and see if I can "hide" the voice command icon that way (since we're not going to use it anyway if I remove the voice stuff from the package).

As for kahm's comment about small screen rendering, I haven't looked at it yet, it might be worth investigating the issue before dumping 7.55 alltogether, but if needed I can certainly live with 7.3 if it works better! I'll let you know if I find anything useful on this subject...

Now, I just have a few minutes before the breakfast buffet closes in the hotel restaurant, if you guys don't mind I'll go and eat something!
Patrick

fastscirocco

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Cacko3k Feedback
« Reply #97 on: April 26, 2005, 10:26:27 pm »
Quote
For amusement value I put an (unresized, 5 megapixel, 900kb) image of my Zaurus work area up on my site. My "accessories" now include a 40gb, battery powered HD and a cd-burner - it's getting kind of silly!

But I like it
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]


OK had to take a look and damn I love it!
So I hope you don't mind I've uploaded your pic to my photobucket account and am sharing it here in as a thumbnail, click to see a bigger pic.

[a href=\"http://img.photobucket.com/albums/v48/chrisanjenn/z-work-area.jpg][img]http://img.photobucket.com/albums/v48/chrisanjenn/th_z-work-area.jpg\" border=\"0\" class=\"linked-image\" /][/url]

Oh and I think that's the most number of PDA's let alone Zaurus' I have seen in one pic! LOL IS that a Sony I see poking out? I'm guessing there are a C3000, C1000, C860 and a 5600?


What I would really love to see is some screen grabs of Cacko3K!


Loving it!
Chris
« Last Edit: April 26, 2005, 10:28:59 pm by fastscirocco »

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #98 on: April 26, 2005, 11:14:44 pm »
Quote
OK had to take a look and damn I love it!
So I hope you don't mind I've uploaded your pic to my photobucket account and am sharing it here in as a thumbnail, click to see a bigger pic.

Go ahead

Quote
Oh and I think that's the most number of PDA's let alone Zaurus' I have seen in one pic! LOL IS that a Sony I see poking out? I'm guessing there are a C3000, C1000, C860 and a 5600?

Well, if it's PDAs that you want to see, I've uploaded 2 more shots to the directory, both large files.

the PDA army (850kb)
This has, in no particular order, a C3k, C1k, C860, 5500, 5000D, 2xIpaq 3635, Siemens FX56 (Aka HTC Wallaby), Palm Vx, Sony TJ35, and a PSP.

The Mobile Corps (530kb)
I can't find my digital shot of this pic, and my scanner is MIA, so this is a pic of the photo I took. It includes most of the above PDAs (save the CxKs and PSP, which I didn't have at the time, but including my Gameboy advance SP, my Wacom Intuos3 tablet, and a bunch of PCMCIA cards), and from left to right, in increasing order of size:
C860, Toshiba Libretto 50m, Libretto 110ct, Panasonic Toughbook M34, IBM Thinkpad 390x, Thinkpad a21p.

Missing from both shots is a Nokia 3650 (Symbian 60) cellphone.

Quote
What I would really love to see is some screen grabs of Cacko3K!
Loving it!
Chris
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Well, Cacko3k looks basically 100% the same as Cacko 1.22.

[a href=\"http://www3.telus.net/~ranko/scrn001.jpg]Cacko3k 1[/url]
Cacko3k 2
Cacko3k 3


A little more on topic, I'm working on 3k-ing Apache right now.
« Last Edit: April 26, 2005, 11:45:55 pm by kahm »
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #99 on: April 27, 2005, 01:59:21 am »
Allright, here's a doozy of a bug for you. Two, actually. I've spent a couple of hours now trying to figure out why the apache ipk refuses to install properly on Cakco3k. (And presumably on default Sharp roms for 1k and 3k)

1) Cacko 1.22 has bash v3.0. Cacko3k and the Sharp rom have bash v2.05. Among other things, v2.05 doesn't allow stdout redirection in a script (used to eliminate output from the individual commands. The two syntax I've seen tried for this are <command> &> /dev/null, and <command> 2> /dev/null. Hmm. Is that stdout or stderr redirection? I can't remember... In either case, any command that tries to make use of this fails. ) This causes the postinst script for apache to miss a number of commands and fail. If I elimitnate the redirection ( 2> /dev/null), it seems to work. I noticed this when writing my own bash preinst scripts, but didn't think much of it.

Edit: Nope. Scratch that. /bin/sh is linked to ash on the Z's. The redirection works in bash. The script worked under ash on cacko 1.22, but not under ash on cacko3k. Ash on both systems is the same size, built 2 years apart. I haven't found an easy way to get it to spit out version info. My head hurts.

2) Cacko 1.22 has tinylogin 1.2. Cacko3k and the Sharp rom have tinylogin 1.4. The "addgroup" functionality in 1.4 seems to have a bug wherein you must manually specify the GID. (addgroup -g <number> <groupname>). The proper functionality, and how it works on Cacko 1.22, is to use the next available GID if none is specified. This also breaks the Apache install script on Cacko3k.

Annoyingly enough, both of these bugs are present in the 1000 v1.01jp Sharp ROM, which will make the apache from the Cacko feed un-installable on the default roms. No wonder people have been having trouble with the damn things.

Edit: It's even worse, actually. Using addgroup -g <gid> <groupname>, which is the correct syntax according to the tinylogin homepage (http://tinylogin.busybox.net/TinyLogin.html) results in an incorrect group entry of <gid>:x:<gid>:<goupname> instead of <groupname>:x:<gid>:
Doing addgroup -g <groupname> works, though. It acts like addgroup <groupname> is supposed to. Notably addgroup -g <groupname> fails on Cacko 1.22.
Aaaaargh.            

Now the $1,000,000 question. Do I work around it? If I do and we don't fix the bug, then I can make an IPK that will install on all clamshells. However, people who don't know about the bug will make ipks that don't work.

If we fix the bug then our ipkgs will install on Cxx0's, and Cacko on the 1k/3k, but not the default Sharp rom for 1k/3k. People who don't know about the bug will make ipks that work on Cacko, but not the Sharp rom for the 1k/3k.

You know what? If I didn't own three of these things, and run linux on my desktop, I'd never be able to figure what the heck is going on.  I actually wish I had a 4th clamshell so I could compare to Sharp 1.4jp as well...
« Last Edit: April 27, 2005, 03:47:23 am by kahm »
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Cacko3k Feedback
« Reply #100 on: April 27, 2005, 04:00:34 am »
Actually, as far as the addgroup rom compatibility goes, I can just make the script try both options and force the result code to successful. This would allow it to install no matter whether the bug is present or not. One attempt will always succeed and the other fail.

The downside is that the script will never error out if something truly unexpected does happen . The commands in there aren't that critical, though.

This really shouldn't be this hard, you know.
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #101 on: April 27, 2005, 04:58:33 am »
kahm,

It should be pretty easy to sync the versions of these utilities with the 1.22 versions, that's not a problem. - We might however get Sharp packages that assume some particular type of behaviour from these utils so I would be inclined to stick with the 3K versions at the moment.

Basically I have built an overlaying system that unpacks a Sharp ROM, removes all the bits that we don't want and then patches in the additions from a tarball. This script handles the unpacking of the initrd, home structure, hdd1 and hdd2 - it then repacks everything recreating the initrd etc. So any such modification doesn't take much time to apply to the ROM. I'm calling your attention to this not just for the sake of adding these patches but to also say that creation of a Japanese enabled ROM (I think that you mentioned this) will be a natural progression when we have stabilised the 3K English ROM - we simply copy the structure and make some slight modifications and then run the ROM build process - leaving in all the Japanese stuff, input methods and locale bits.

As you point out though. If you want a 3K Sharp ROM friendly IPK though I don't see any other option than to check the bash version and work accordingly... strictly I don't see a necessity to redirect stderr or stdout during preinst/postinst as installation through the Add/Remove tool isn't going to display these messages anyway. - unless you need to output these results to something that you can act upon (temporary file).

BTW: How did you get QKconsole to appear in a floating window in the screenshot? I didn't know it supported that feature.

Regards,

Andy
« Last Edit: April 27, 2005, 08:26:19 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #102 on: April 27, 2005, 05:48:53 am »
kahm,

If you want to keep /dev/sg0...15 across reboots recreate them in /home/dev.. the startup scripts populate the real /dev structure from this location.

+ I have built, tested and will include the following tools.

bind-utils 9.3.1 (nslookup, host, dig, nsupdate) (man that was a poor package to cross compile!)

whois 4.7.1

traceroute 1.4a12

Regards,

Andy
« Last Edit: April 27, 2005, 07:58:11 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Cacko3k Feedback
« Reply #103 on: April 27, 2005, 08:40:43 am »
Quote
kahm,

If you want to keep /dev/sg0...15 across reboots recreate them in /home/dev.. the startup scripts populate the real /dev structure from this location.

+ I have built, tested and will include the following tools.

bind-utils 9.3.1 (nslookup, host, dig, nsupdate) (man that was a poor package to cross compile!)

whois 4.7.1

traceroute 1.4a12

Regards,

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

Does anyone have Cack's ROM 1.22 filesystems as a tarball?
-albertr

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Cacko3k Feedback
« Reply #104 on: April 27, 2005, 08:44:22 am »
Quote
.....
Does anyone have Cack's ROM 1.22 filesystems as a tarball?
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77100\"][{POST_SNAPBACK}][/a][/div]

Please clarify Albert... is this appropriate to this thread or the 3K at all ?

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card