Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cascadefx

Pages: [1] 2
1
General Discussion / Trolltech releases Qtopia 2.1
« on: November 12, 2004, 11:32:09 pm »
How would one go about updating a zaurus 5600 with the new qtopia version.?

2
General Discussion / Three nice applications - now freeware
« on: September 17, 2004, 01:19:07 pm »
Quote
It's nice, but this announcement is done in a typical "Zaurus way" - there is no mention which Zauruses are supported (5500? 6000? sl-c700? sl-c860?), which ROMs are supported (Sharp JP?, Cacko? PDAXROM?), if/what additional libraries are required...

I'm really fed up with Zaurus software - I spend more time fighting with device to get something working rather than using it as a tool. This definitely is a geek-only gadget
I noticed that you have one of the models that has to be "converted" in order to  work with  almost any software as it was originally only released in Japan.  Seems like you have put yourself in the world of hurt that you're experiencing.

I rarely fight with my Z when installing applications, but I have a 5600.  The 6000 will have issues with a lot of Java out there, but its possible advantages as an upgraded platform probably outwiegh those.

And... you are complaining about the Z ("
I'm really fed up with Zaurus software") too, not just the announcements because you talk about fighting with applications.  You might not have that with better announments, but again you're choice of model probably plays a bigger role as it isn't widely available and generally developers have worked with one of the more widely released versions (AKA expect problems).

3
Doesn't Keypebble (vnc) allow you to specify the port you are coming in over? If so, you should be able to use it over port 80.

4
Personal Java/Jeode/J2ME Personal Profile / Java Compiling
« on: September 10, 2004, 12:48:33 pm »
Quote
are bugger!!!!!  yeah I need a cf card thats why it says cf.  God i really am idiot!  Well I had better buy a cf card pretty soon then.

Thanks
You can also do it from an SD or MMC card is you want, they are generally cheaper and leave the CF slot open for things like your Wireless card.

Then your path will be something like /mnt/card/

and so on and so forth.

Jim

5
Personal Java/Jeode/J2ME Personal Profile / Inner classes
« on: September 10, 2004, 12:35:56 pm »
Quote
Thanks for your help.

Yes it works to add all of the inner classes to a jar file and then execute it using
Code: [Select]
evm -cp NameOfJarFile.jar:. NameOfMainClassBut you cannot put all of the files in one jar and create a manifest file then run it using
Code: [Select]
evm -jar NameOfJarFile.jarBecause evm will not recognize the jar flag.


What a pain....
What about:

Code: [Select]
evm -classpath /path/to/jar/NameOfJarFile.jar?

6
I should have posted this question about compiling a 2 file java program on the zaurus here.

Sorry.

7
General Discussion / compiling java program with multiple files on a Z
« on: September 10, 2004, 12:27:28 pm »
Never mind.  I found it.

It was actually a combination of two problems.

Being lazy, I have a template.java file that looks something like this:

Code: [Select]
class CLASSNAMEHERE{
     public static void main(String[] arguments){

      }
}

I used it to create both sample.java and usesample.java.

So my sample looked like this:

Code: [Select]
class Sample{
public static void main(String[] arguments){
 int height;
 int width;
 int depth;
}
}

This is the offending line:

public static void main(String[] arguments){

since I have the main section defined in both files, I caused myself a world of headaches.

Changing the files to be:

sample.java
Code: [Select]
class Sample{
  int height;
  int width;
  int depth;
}

usesample.java
Code: [Select]
class UseSample {
    public static void main(String[] arguments) {
        Sample sampling = new Sample();
        sampling.height = 72;
        sampling.weight = 1000;
        sampling.depth = 420;
        System.out.println("Height: " + sampling.height);
        System.out.println("Weight: " + sampling.weight);
        System.out.println("Depth: " + sampling.depth);
    }
}

fixed my problem partially.

The jikes compiler on the zaurus using the rt.jar libraries compiled these fine.  I first compiled the sample.java file and THEN usesample.java so that the Sample.class would be available for the other to use.  No other tricks necessary.  The problem, at least my problem with jikes is that it (or I) appear to be missing some math libraries (with rt.jar and pj.jar) making it difficult to use for some programs (this isn't one of them).  Kopi doesn't seem to have this limitation, but perhaps I'm doing something wrong.

However Kopi would choke if I compiled the "fixed" program above complaining that it couldn't find Sample even when the Sample.class was in the same directory as the usesample.java file.  No amount of messing with the CLASSPATH either in the environment variables or through the compile time command line seemed to fix the problem.

It finally occured to me to compile both programs with kopi at the same time ala:

Code: [Select]
evm -cp /mnt/cf/kjc-suite.jar at.dms.kjc.Main -C/mnt/cf/gclasses.zip sample.java usesample.java
I actually have the command line in a script file named javac:

Code: [Select]
#!/bin/bash

evm -cp /mnt/card/java/kjc-suite.jar at.dms.kjc.Main -C/mnt/card/java/gclasses.zip $@

So I can compile these files with this call

Code: [Select]
javac sample.java usesample.java
That seems to work.  Problem solved for now.

8
General Discussion / Terminal Annoyances
« on: September 08, 2004, 07:47:24 pm »
Quote
Aha! I think that's it. I have the terminal installed to internal memory, but I was cd'd into a CF directory. It wakes from suspend just fine if I'm in a non-CF directory. I don't have an SD card yet, so I can't try that.

One other bit of weirdness, though. If I go into suspend while a program is running (such as a looping Perl script or even "su"), waking from sleep will either kill that process (su) or push it to the background (Perl).
Wake from suspend while in an sd directory doesn't show any problems that I know of.  Wierd that it causes that issue while in a CF directory.

9
General Discussion / compiling java program with multiple files on a Z
« on: September 08, 2004, 03:31:38 pm »
I have been trying like crazy to compile a simple two file java program on a 5600.  One file calls a class defined in the other.  The non dependent java file compiles withou problems but the other is a pain and won't work.  I think I have everything set up ande called correctly, but it chokes using both the kopi and jikes compiler.  Here is the code:

sample.java
Code: [Select]
class Sample{
    public static void main(String[] arguments){
  int height;
  int width;
  int depth;
    }
}

usesample.java
Code: [Select]
class UseSample {
    public static void main(String[] arguments) {
        Sample sampling = new Sample();
        sampling.height = 72;
        sampling.weight = 1000;
        sampling.depth = 420;
        System.out.println("Height: " + sampling.height);
        System.out.println("Weight: " + sampling.weight);
        System.out.println("Depth: " + sampling.depth);
    }
}

Any help would be appreciated.

Also, I do realize that programming on the Zaurus isn't ideal, but it is fun and allows me to learn during meetings, bus rides, and car trips.

thanks

10
Cxx0 General discussions / Zaurus good for "road coders"?
« on: September 02, 2004, 02:38:15 pm »
Quote
I would like opinions from people who done any sort of development work on the Zaurus.  Is the device at all suitable for this purpose?  I would like a small device for getting work done on the road, and although a small subnotebook (like the Fujitsu Lifebook) is one option, there's an appeal to just being able to pull an small, instant-on, Linux device like the Zaurus out of my pocket.  Some specific concerns are, 1) is the keyboard useful enough?  2) what about editors in general (I'm assuming Emacs isn't the best choice here?)    3)  Can gcc and javac be installed?  (C and Java are my most used languages, although I occasionally use others). 

Anyway, I'm interesting in hearing any anecdotes and pros/cons about this.  Thanks!
I use Zeditor and code in java on my 5600.  It is slow, but it passes meetings and long lunches without a fuss.  

No syntax highlighting with zeditor, but I don't really need it.

I use the java tools (compilation and so forth) available here:  Development Tools for programming on the zaurus

11
General Discussion / Linksys wcf12
« on: August 02, 2004, 01:25:08 pm »
Quote
Oh, I just noticed you are using the older ROM... I have no experience with this... when I got my Z I just Flashed directly to 3.10 and when I inserted the wfc12 card it just worked after I added the wireless connection in "network". It is possible that you may have to do some configuration, but that is beyond the little bit that I have learned so far  I would suggest upgrading to the newer ROM, but I don't know how much work you have put into it. Also, and I am not a wifi expert, I thought that channels were more for peer-to-peer adhoc connections. Your configuration, if indeed a standard "hotspot" connection, may need to be set to "infrastructure".

Good Luck!

-cor-
If I recall, you have to have the 3.10 ROM for the 5500 for the wcf12 to "just work" otherwise you have to set up the driver profile in the wlan-ng.conf (I think) file.

Some user comments in this web page tell how to fix it...
http://www.enotalone.com/electronics/B00006ELLL.html


There is also this great thread on the Kismet site that explains the process: http://www.kismetwireless.net/Forum/Genera...53974839.417335

12
5x00 Hardware / 5600 wont recognize sd card.
« on: July 30, 2004, 10:06:50 am »
I had similar problems.  I formatted it with a camera (of all things) at Walmart (using their display models) and it has worked fine since.  

I had tried fdisking and reformatting with Linux and the Zaurus, but it wouldn't work.  

The camera did the trick.  

It has been three months now and it still works like a charm.  I had caused it by not unmounting the card one too many times before removing it.

13
5x00 Hardware / SD fdisk not working (Help???) (Advice???)
« on: June 22, 2004, 07:24:27 pm »
Quote
Back to my question: Should you use FAT16 format?  Or should you fdisk and mkfs a linux file system.
I tried that on a new Viking memory and it is not auto detected and mounted.  I switched it back to a vfat file system and it automounts it when I plug it in.  Do I have to change something else when you put a linux filesystem on it for the Qt software to auto detect it?  But the original question was...is it best to use linux filesystems on SD or leave it VFAT so your PC running XP can see it?
Had the same problem.  

It came from me pulling the card without unmounting it using either the command line controls or the tast bar SD icon/applet.  Totally killed the card and made it so I couldn't fix it with standard tools available on the Z.

My solution...

Run to Walmart and ask the clerk if she'd mind if I used one of their display cameras to reformat my memory card that "my camera" can't seem to handle.  

Popped it in and a few minutes later the camera's format operation finished.  The card has been working fine ever since.

14
5x00 General discussions / Cracked screen on 5500
« on: June 18, 2004, 04:16:26 pm »
Actually, you could still use it in text only mode.  It makes for a handy console and you should still be able, via the cardctl command, to use networking.

15
5x00 General discussions / Help urgently needed with WiFi
« on: June 18, 2004, 03:48:24 pm »
Quote
I\'m having problems getting a Symbol Spectrum24 card to work on an SL5500 (Sharp ROM3.10).

I don\'t have access to a WLAN to properly test, however when I run Kismet near an area FULL of APs, the light blinks steadily, but nothing happens on Kismet or KismetQT.  When I set up a wireless connection in the network setting panel, it says that the signal is 84%, but as I said I don\'t have proper access to the network to check that it actually can connect.

Does this mean that the card is working or not, and if it working, how can I get promiscuous mode to start/work.  I want to use the WiFi card for Warwalking at the moment, so getting it to work that way is pretty important.
  
Any help or advice would be greatly appreciated.
Many thanks.


Kismet doesn\'t work like you think it might.  At least on my system I had to do two steps.  First create a network profile (I named mine testnetwork) that is basically the defaults with no ESSID and give it a static IP address a subnet mask and a gateway (this prevents it from trying to pull stuff from APs it is near.

Now create a bash script that will set up and take down the kismet application.

Mine looks like this:

Code: [Select]
#!/bin/sh

cardctl scheme CardResume

cardctl scheme testnetwork

/usr/bin/kismet_server

cardctl scheme default


name the file something useful, mine is kprelaunch.

Now... put your card in and don\'t try to use the network globe to connect to anything.

Open your console and switch to root (su).

execute your script (you may have to make it executable the first time, chmod u+x kprelaunch) by typing ./kprelaunch

After the card comes on and the text in console stops scrolling, use the Q button to lauch Kismet (don\'t close your console).  The kismet client should hook up with your server and be off and running.

When you are done, close Kismet and the script should handle shutting down the card.

Pages: [1] 2