Author Topic: Found Reason For "wait 30 Sec" Remaining Forever  (Read 16869 times)

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Found Reason For "wait 30 Sec" Remaining Forever
« on: April 14, 2005, 06:47:09 pm »
Hello

I found why sometimes it failed: missing ldconfig

So when you use a new gui, do :
1) untar it and properly link it
2) log it as root
3) run ldconfig

Then either reset or log out. qtopia will start only if you are not logged in. (think about  this feature a safe way to hack) . If your console crashes (or an app hangs) a long press on "record" will open a new one.

I strongly suggest to start up a network connection manually and monitor /var/log/qtopia.log for applications log files. If they crash they'll tell you why in this file. do tail -f /var/log/qtopia.log to monitor it.

Regarding external keyboard, it's mostly working. Today I tested my bluetooth mouse and keyboard.

I only have the following problems:
 - redraw of the mouse pointer confuses some apps like freenoteqt
 - a/fn confusion (I really need C3000/c1000 files ! I hope someone will provide them)
 - the blue Fn button on the stowaway bt keyboard turns light off (my fault - mapped 0x1052 )
 - the arrows are rotated

They can be fixed.

On the Gui problems, the only serious remaining bug is the date/clock app. I simply don't understand why it fails. Maybe it must be run as root?

Could testers please concentrate on the console mode bugs? The gui problems will hopefully be fixed with the next release, which will ship with a minimal qtopia 1.5. It will also include a development environment module based on the devimage 1.6 put in the proper places instead of symlinked all over.

PS: I would be interested in any "size reduction" proposal for the base system. 12 Mb is still too much - it should be even more minimal

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #1 on: April 14, 2005, 07:04:28 pm »
on the size issue (you've probably already thought of this) maybe cut down the number of modules and provide a means for a second modules location on external flash? same w/ library files in lib vs a possible extyernal /usr/lib or usr/share lib..or something along those lines? what about  UCLX (undertow.net, I think) compression of the executables? a little trimming and some compression or even just compression, should help.

On the requested-not-to-be-concentrated-on gui stuff. it looks like the cacko setup doesn't redraw the desktop.  I'll ldconfig  and look at the path...  ideas would be appre ciated
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #2 on: April 14, 2005, 07:06:59 pm »
hello

yes the modules are big. yet if the setup is too minimal, ppl complain they miss some. maybe we could provide them separately as you suggest, so ppl would download what they need.

I'm not sure compression is the way to go. it may be too slow. There may be unneeded stuff, like the fbvnc I forgot.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #3 on: April 14, 2005, 09:14:53 pm »
hmmm. I was thinking maybe monolithic kernels for the different models based on hardware.... the zImage-L not having bluetooth built in for example... that way only the sd module would need to be on internal flash..and everything will work. would allow offloading of a bigger tree of modules, and less local space required..maybe?  a fat basic monolithic kernel runs about 1.2-1.3 megs. 4-500k bigger than a basic modular one. worth it?

re-thinking my uclx idea... isn't stuff on the internal memory already compressed anyway?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #4 on: April 15, 2005, 05:29:24 pm »
could be done. I like modules to recompile them separately and test stuff in a working kernel, but it could be good. Now the question is which modules will make it

amdonati

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #5 on: April 17, 2005, 02:58:23 pm »
Quote
could be done. I like modules to recompile them separately and test stuff in a working kernel, but it could be good. Now the question is which modules will make it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75434\"][{POST_SNAPBACK}][/a][/div]

Please add at least the BT modules for the CF cards! :-)

Adalberto

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #6 on: April 17, 2005, 08:38:13 pm »
Quote
Quote
could be done. I like modules to recompile them separately and test stuff in a working kernel, but it could be good. Now the question is which modules will make it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75434\"][{POST_SNAPBACK}][/a][/div]

Please add at least the BT modules for the CF cards! :-)

Adalberto
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75655\"][{POST_SNAPBACK}][/a][/div]
If they (excpt the sd/mmc) are going on sd as many as yyou like... all of 'em
if you mean in the monolithic kernel?

pretty much everything you compile as a module plus maybe ipv6 minus z specific stuff.. no bluetooth for the l no wifi nor bleutooth for the n (does anyone have an n?)ext2 support has to be in the kernel if you do things this way might as well do vfat too.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #7 on: April 18, 2005, 12:37:34 am »
I got qtopia 1.5 running.

gui issue: the gui crashes on zoomed apps.

console issue. how do I get wireless going?  I managed to turn on the prism2 usb via usbctl.. but couldn't get networking going.

Of course, I haven't messed w/ iwconfig much lately.  maybe ifup/down should be included?
« Last Edit: April 19, 2005, 11:31:34 am by adf »
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #8 on: April 20, 2005, 06:32:48 am »
I got qtopia 1.5 running too !
infos : yes gui crashes on zoomed apps
Time ad date hung up when i try to change time from a city to another....
try to set-up network using gui but it fails......
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #9 on: April 20, 2005, 08:09:14 am »
gab74, adf - I hadn't experienced the zoom bug - thanks a lot for the bug report!

Actually I'm working on the date problem. No idea why it happens- maybe it's due to my half vanilla sharp rom/half cacko mixed bred :-) Will start from scratch with a vanilla 1.5

Today I got A/FN key working thanks to an ugly hack in the kernel. My axim external keyboard (bluetooth) now works like a charm, and USB keyboard is fine too, so I guess keyboard problems are gone (besides arrows rotation stuff - will fix that in 5 minutes)

I would like to fix the qtopia 1.5 problems before the next release.  I'll see if I have sometime to do that today.

I'm also trying to set up a softfloat toolchain to work on the post 1.5 release which hopefully will include lots of opie/oz goodies and speed while remaining compatible with sharp apps thanks to ugly LD_PRELOAD hacks.

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #10 on: April 20, 2005, 08:20:44 am »
guylhem, how can i configure wlan working ? Is your network qtopia gui working ?
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #11 on: April 20, 2005, 06:55:38 pm »
Mine does, but I fixed may bugs since the release.

Try the safe way - the following script:

#!/bin/sh

/sbin/modprobe p80211
/sbin/modprobe prism2_usb

/sbin/usbctl on 1

/bin/sleep 1

/sbin/wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
/sbin/wlanctl-ng wlan0 lnxreq_autojoin ssid=externe.net authtype=opensystem
/sbin/ifconfig wlan0 10.3.0.76 netmask 255.255.255.0
/sbin/route add default gw 10.3.0.1

# replace externe.net by your wifi SSID, 10.3.0.76 by your IP,10.3.0.1 by your server


Besides that, anything else you miss or you would like to see fixed in the next version?

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #12 on: April 20, 2005, 08:22:45 pm »
Quote
Mine does, but I fixed may bugs since the release.

Try the safe way - the following script:

#!/bin/sh

/sbin/modprobe p80211
/sbin/modprobe prism2_usb

/sbin/usbctl on 1

/bin/sleep 1

/sbin/wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
/sbin/wlanctl-ng wlan0 lnxreq_autojoin ssid=externe.net authtype=opensystem
/sbin/ifconfig wlan0 10.3.0.76 netmask 255.255.255.0
/sbin/route add default gw 10.3.0.1

# replace externe.net by your wifi SSID, 10.3.0.76 by your IP,10.3.0.1 by your server


Besides that, anything else you miss or you would like to see fixed in the next version?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76193\"][{POST_SNAPBACK}][/a][/div]

well.. i kinda like an icon for this---

I assume "ANY" will work for SSID?

what about the default gateway?  if I don't know its ip, (It happens) how do I set that to auto?

ifconfig wlan0 dhcp work?

Proxy settings?



aside from this, maybe a good look at what would make up the essential 57 meg rom? a good enough selection that it might be "good" without sd or cf? Off the top of my head, here is stuff I think most of us use:


pim
kismet or wellenreiter
browser, or room left for one (though included opera 7.55 would be cool.and the devices come with an opera license...right?)
calculator
spreadsheet?
word processor/or good gui text editor (tinykate?).
tree explorer
media player. (mplayer based?)
maybe a good playlist player as well?
email client
nano (I'll put it on anyway-- I really don't like vi, but that is a different discussion)
handwriting?
Xqt? or room for it? (would make the pocket workstation guys really happy)
Java
good sytem settings guis (the sharp stuff seems ok to me)


What is the indispensible stuff? might as well try to make the package selection really handy. the repartitioning makes it seem that possibly everything needed could go internally...  and given your approach those who want their system on flash can do it easily.

any clue as to how to use a usbmouse in xqt without the bottom bar from Qtopia  staying on top would probably be appreciated (certainly by the pocketworkstation and x-forwarding fans). I have no idea if that can even be done, though.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #13 on: April 20, 2005, 08:24:51 pm »
the softfloated stuff is definitley something to look forward to.  As is Qtopia 2.1
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Found Reason For "wait 30 Sec" Remaining Forever
« Reply #14 on: April 22, 2005, 06:35:21 am »
Quote
the softfloated stuff is definitley something to look forward to.  As is Qtopia 2.1
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76205\"][{POST_SNAPBACK}][/a][/div]

Here's my proposed roadmap :
 - I will release a embedix like + sharp qtopia 1.5 rom hopefully with everything working this time.
If it works this will be the last release

 - Then I'll work on porting 3.5.3 to have everything at least as good (ie make sure hancom opera etc work, no function is failing etc.) that's when softfloat will be added

 - Then qtopia 2.1, which will require the compatibility (hancom opera etc.) to be further improved

adf, would you like to help? If you're ok, you could be the official "packager" ie who does the tests and the nandbackup.