OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: sashz on November 22, 2005, 03:26:29 pm

Title: For Testing: Hostap Drivers And Java Midps
Post by: sashz on November 22, 2005, 03:26:29 pm
HOSTAP drivers, utils, daemon and wpa-supplicant
please try test hostap drivers from current rc12 feed (use need feed for your Z)

SUN MIDP2 (  http://java.sun.com/products/midp/ (http://java.sun.com/products/midp/) )

download: http://mail.pdaxrom.org/rc12/test/MIDP2.0-arm.tar.gz (http://mail.pdaxrom.org/rc12/test/MIDP2.0-arm.tar.gz)
ungzip it
for run enter:
./midp

for install applets use:

./midp -install http://super.games.com/game.jar (http://super.games.com/game.jar)


warning, before running midp you will need update X11 for support 2 bytes chars.
remove installed xserver and install again from feed (use rigth feed for your Z):
Title: For Testing: Hostap Drivers And Java Midps
Post by: urielka on November 22, 2005, 04:28:01 pm
realy sweet!!!!!!!!!11
does it support 2.0 midp(=3D graphics)
Title: For Testing: Hostap Drivers And Java Midps
Post by: urielka on November 22, 2005, 04:33:04 pm
try this:
http://rzr.online.fr/docs/java/00index.htm (http://rzr.online.fr/docs/java/00index.htm)
real 3D
good java  J2ME for 3D:
http://www.benhui.net/modules.php?name=For...e=viewforum&f=8 (http://www.benhui.net/modules.php?name=Forums&file=viewforum&f=8)
Title: For Testing: Hostap Drivers And Java Midps
Post by: Sna on November 22, 2005, 04:51:40 pm
sorry for this dumb question but
what are hostap driver for?
if this is for the wireless network, why i don't have a package already installed in the rom?
i dont understaind really those drivers :/
Title: For Testing: Hostap Drivers And Java Midps
Post by: urielka on November 22, 2005, 05:12:59 pm
tried Diet3D and it is damn fast. 500FPS for spining cube @416MHZ
how i install a file that i have localy it keep saying JAD url not valid
Title: For Testing: Hostap Drivers And Java Midps
Post by: urielka on November 22, 2005, 05:35:02 pm
hostap is for HOTSPOTS connection if i remember right
Title: For Testing: Hostap Drivers And Java Midps
Post by: sashz on November 22, 2005, 05:43:50 pm
Quote
tried Diet3D and it is damn fast. 500FPS for spining cube @416MHZ
how i install a file that i have localy it keep saying JAD url not valid
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104582\"][{POST_SNAPBACK}][/a][/div]

install boa and in /etc/boa/boa.conf add mime types

AddType application/java-archive jar
AddType text/vnd.sun.j2me.app-descriptor jad

than put jar files in /home/httpd/html
and install it from localhost
Title: For Testing: Hostap Drivers And Java Midps
Post by: urielka on November 22, 2005, 06:19:16 pm
need Apache2?
Title: For Testing: Hostap Drivers And Java Midps
Post by: urielka on November 22, 2005, 06:28:52 pm
it know says that configuration or profile is not supported.
does 1.0 doesn`t work with 2.0?
Diet3D works great but this is a realy nice demo
Title: For Testing: Hostap Drivers And Java Midps
Post by: urielka on November 22, 2005, 06:33:55 pm
MIDP 1.0 not supported any way to add 1.0?
Title: For Testing: Hostap Drivers And Java Midps
Post by: desertrat on November 23, 2005, 02:26:51 am
Quote
sorry for this dumb question but
what are hostap driver for?
if this is for the wireless network, why i don't have a package already installed in the rom?
i dont understaind really those drivers :/
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104578\"][{POST_SNAPBACK}][/a][/div]

The wireless card drivers that comes with rc12 does not work properly with some cards, eg Ambicom. The hostap drivers allows cards like Ambicom to function properly.

-- cheers
Title: For Testing: Hostap Drivers And Java Midps
Post by: gryning on November 23, 2005, 07:28:38 am
great sashz!!!
have installed, haven't got either wireless card on me atm, but will test tonight.
think they are both listed in my sig.

sna/desertrat:
hostap supports more wireless extensions than some other drivers. e.g for promiscuous modes on some chipsets. it's probably the "best" (used carefully) prism driver atm with support for more of the newer chipsets. prism3 cards are the best example of this atm.
Title: For Testing: Hostap Drivers And Java Midps
Post by: gryning on November 23, 2005, 07:29:27 am
oh yeah...and wpa
Title: For Testing: Hostap Drivers And Java Midps
Post by: Sna on November 23, 2005, 07:35:04 am
ok, thanks a lot for answer
so, if you have the 2 differents drivers installed on your system, how can you specify witch is used for your card?
is it automatically hostap if installed?
Title: For Testing: Hostap Drivers And Java Midps
Post by: desertrat on November 23, 2005, 01:03:49 pm
Quote
warning, before running midp you will need update X11 for support 2 bytes chars.
remove installed xserver and install again from feed (use rigth feed for your Z):
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104571\"][{POST_SNAPBACK}][/a][/div]

Help! I removed the original xfree and installed the latest as per the 3100 feed. Now xfce4-panel dies with a segfault.

Any idea how I can fix this? Or where can I get older version of xfree?

-- cheers
Title: For Testing: Hostap Drivers And Java Midps
Post by: Chero on November 23, 2005, 02:20:36 pm
Quote
Quote
warning, before running midp you will need update X11 for support 2 bytes chars.
remove installed xserver and install again from feed (use rigth feed for your Z):
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=104571\")

Help! I removed the original xfree and installed the latest as per the 3100 feed. Now xfce4-panel dies with a segfault.

Any idea how I can fix this? Or where can I get older version of xfree?

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

[a href=\"http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/rc12/feed/]There is an rc12 feed over here, but I guess it's a 7x0-860 one, not sure if the ipk is the same[/url]
Title: For Testing: Hostap Drivers And Java Midps
Post by: desertrat on November 23, 2005, 02:51:14 pm
Quote
There is an rc12 feed over here, but I guess it's a 7x0-860 one, not sure if the ipk is the same (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/rc12/feed/)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104710\"][{POST_SNAPBACK}][/a][/div]

Thanks Chero, but would anything nasty happen if I installed a "7x0-860" package on a C3100? In general, would the only difference be that they would be compiled with different optimisation flags? I don't want to make an even bigger mess  It's bad enough already now that I have to go back to using Matchbox!

Um, how about recompiling the XFCE packages for the new Xfree?  

BTW it's not only xfce4-panel which segfaults. It appears that xfdesktop does so as well (I run it from xterm to change my background image, the image changes then segfaults), thus right-clicking on the desktop has no response.

-- cheers
Title: For Testing: Hostap Drivers And Java Midps
Post by: Chero on November 24, 2005, 02:26:57 am
Quote
Quote
There is an rc12 feed over here, but I guess it's a 7x0-860 one, not sure if the ipk is the same (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/rc12/feed/)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104710\"][{POST_SNAPBACK}][/a][/div]

Thanks Chero, but would anything nasty happen if I installed a "7x0-860" package on a C3100? In general, would the only difference be that they would be compiled with different optimisation flags? I don't want to make an even bigger mess  It's bad enough already now that I have to go back to using Matchbox!

Um, how about recompiling the XFCE packages for the new Xfree?  

BTW it's not only xfce4-panel which segfaults. It appears that xfdesktop does so as well (I run it from xterm to change my background image, the image changes then segfaults), thus right-clicking on the desktop has no response.

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

I haven't installed the new xfree yet, so I don't know what's going on, but :
- did you install it while running xfce ? I can imagine this being a bad idea.

What I would try first :
1. leave xfce (no problem cause you can't even enter)
2. remove .config and .cache from the home-dir
3. try to run xfce again
4. if this doesn't work, reinstall xfce
5. try to run xfce again
6. if it still doesn't work : it probably won't work with the new xfree, so recompiling is an option or it's time to try and play with icewm, fvwm, ... .

Good luck and keep us up to date.
Chero.
Title: For Testing: Hostap Drivers And Java Midps
Post by: pgas on November 24, 2005, 02:55:10 am
Quote
There is an rc12 feed over here, but I guess it's a 7x0-860 one, not sure if the ipk is the same

Probably yes as the owner of spy.org has a 760, unless he upgraded recently.

Quote
but would anything nasty happen if I installed a "7x0-860" package on a C3100? In general, would the only difference be that they would be
compiled with different optimisation flags?
Not quite, the hardware is different most packages of the 7x0-860 feed run on the 1000/3100 but not the kernel, kernel modules and ...the xserver which uses a different driver for graphic acceleration.

Perhap as a quick fix you can try to use the xserver from rc11?
Title: For Testing: Hostap Drivers And Java Midps
Post by: desertrat on November 24, 2005, 03:23:26 am
Quote
I haven't installed the new xfree yet, so I don't know what's going on, but :
- did you install it while running xfce ? I can imagine this being a bad idea.

No. I was sane enough to quit X and remove old xfree and reinstall new xfree from the command line  

Quote
What I would try first :
1. leave xfce (no problem cause you can't even enter)

Not strictly true. xfce starts and loads my session. It seems to function fine, but without the xfce4-panel it makes using it a pita

Quote
2. remove .config and .cache from the home-dir
3. try to run xfce again
4. if this doesn't work, reinstall xfce
5. try to run xfce again
6. if it still doesn't work : it probably won't work with the new xfree, so recompiling is an option

OK I'm going to try that later on.

Quote
or it's time to try and play with icewm, fvwm, ... .

The thing I don't like about icewm (and matchbox) is that windows can't be moved beyond the boundary of the screen size. Firefox is a major culprit. many of its dialogs are huge and go way off the screen making it difficult to use on those WMs.

As for fvwm, some guy was doing some great work on it a few months back. But because it doesn't seem to have been updated for rc12 I decided to give it a miss for now.

Quote
Good luck and keep us up to date.

Will do.

-- cheers
Title: For Testing: Hostap Drivers And Java Midps
Post by: desertrat on November 24, 2005, 03:26:07 am
Quote
Perhap as a quick fix you can try to use the xserver from rc11?

I was hoping someone would have the older version for rc12 (C3100) -- sashz? pretty please!  

-- cheers
Title: For Testing: Hostap Drivers And Java Midps
Post by: pgas on November 24, 2005, 03:36:41 am
Quote
The thing I don't like about icewm (and matchbox) is that windows can't be moved beyond the boundary of the screen size. Firefox is a major culprit. many of its dialogs are huge and go way off the screen making it difficult to use on those WMs.

With icewm (and with openbox iirc) I can move the window outside the screen pressing alt and moving the window with the stylus.
Title: For Testing: Hostap Drivers And Java Midps
Post by: desertrat on November 24, 2005, 02:08:55 pm
Quote
With icewm (and with openbox iirc) I can move the window outside the screen pressing alt and moving the window with the stylus.

Thanks for that. When I had tried it previously it didn't work because the "catch" is that the window must not be maximised. So to move window outside boundaries of the screen you must "unmaximise" them first.

For the good news, I've got my Xfce desktop back  

I removed my xfce settings and xfce starts up fine -- even the panel. I then removed practically everything from the default panel -- leaving just the graphical pager and the clock -- then started adding things (that I want) back in. All went well until I tried to add the "Xfce4 Panel Menu", everytime I try to add this item, the panel dies with a segfault on clicking the close button.

Anyway I reconfigured the rest of my settings and all is well -- so far. I've restarted Xfce a few times and the panel is still holding up


-- cheers
Title: For Testing: Hostap Drivers And Java Midps
Post by: smuelas on November 24, 2005, 02:55:10 pm
Quote
HOSTAP drivers, utils, daemon and wpa-supplicant
please try test hostap drivers from current rc12 feed (use need feed for your Z)

SUN MIDP2 (  http://java.sun.com/products/midp/ (http://java.sun.com/products/midp/) )

download: http://mail.pdaxrom.org/rc12/test/MIDP2.0-arm.tar.gz (http://mail.pdaxrom.org/rc12/test/MIDP2.0-arm.tar.gz)
ungzip it
for run enter:
./midp

for install applets use:

./midp -install http://super.games.com/game.jar (http://super.games.com/game.jar)


warning, before running midp you will need update X11 for support 2 bytes chars.
remove installed xserver and install again from feed (use rigth feed for your Z):
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104571\"][{POST_SNAPBACK}][/a][/div]

I've tried it on my SL-6000 and it works without touching anything, with the sole exception of the letters. Perhaps this is due to the X's (I haven't changed). Anyway: Thanks and WELL DONE!!
smuelas
Title: For Testing: Hostap Drivers And Java Midps
Post by: Chero on November 24, 2005, 03:27:13 pm
Quote
I removed my xfce settings and xfce starts up fine -- even the panel. ..... All went well until I tried to add the "Xfce4 Panel Menu", everytime I try to add this item, the panel dies with a segfault on clicking the close button.

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

The panel menu needs files in .config.

Try to bring back your panel after it disappears (from an aterm). It's a known issue that the panel disappears after adding it the first time. If that doesn't work, try reinstalling the panel-menu.
Title: For Testing: Hostap Drivers And Java Midps
Post by: magicbb on November 27, 2005, 02:08:26 am
The hostap driver works
however for my Ambicom WL1100C card, it shows that it is a Z-Com XI300 card when I press the pcmica icon at the bottom panel, i need to manually put a # in front of the Z-Com card and insert the Ambicom information in the hostap_cs.conf
Title: For Testing: Hostap Drivers And Java Midps
Post by: desertrat on November 27, 2005, 12:51:15 pm
Quote
The panel menu needs files in .config.

Try to bring back your panel after it disappears (from an aterm). It's a known issue that the panel disappears after adding it the first time. If that doesn't work, try reinstalling the panel-menu.

OK thanks, but I think I'll give it a miss. I didn't need it before (ie before I upgrade the X server) so I don't think I'll need it this time. What does it do anyway? Does it duplicate the "Settings > Panel Settings"? If so, I definitely don't need it, I want to keep my system mean and lean

-- cheers
Title: For Testing: Hostap Drivers And Java Midps
Post by: gryning on November 28, 2005, 07:44:19 am
ok...

Planex GW-CF11X:
works....but i get some ioctl err's when loading firmware.

Origo-Senao:
Just works.

not tried WEP or WPA
Title: For Testing: Hostap Drivers And Java Midps
Post by: adf on December 21, 2005, 09:14:43 pm
edit: nevermind  
Title: For Testing: Hostap Drivers And Java Midps
Post by: Darth_Sith on August 26, 2006, 07:11:17 pm
Any news about j2me?
Anyone can run midlet on pdaxrom?