Author Topic: how to terminate qtopia  (Read 5716 times)

hans

  • Newbie
  • *
  • Posts: 15
    • View Profile
how to terminate qtopia
« on: April 11, 2004, 03:13:19 pm »
My version of Qtopia doesn\'t have the infamous \"shutdown app\" -- I only have the option to Reboot.  So, if I want to go into console mode, I can\'t choose \"Terminate Qtopia\" (and then press\"/\" during the countdown).   I tried to press \"/\" during reboot, but nothing happens.  Is there another way to get into console mode? Please help!
Zaurus C750, Sharp ROM
AmbiCom WL1100C-CF
256MB SD Card

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
how to terminate qtopia
« Reply #1 on: April 11, 2004, 05:48:38 pm »
You have to press / when you see the countdwn. \"Wait 5..4..3..2..\"  Then press a and then login.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

hans

  • Newbie
  • *
  • Posts: 15
    • View Profile
how to terminate qtopia
« Reply #2 on: April 12, 2004, 10:31:20 am »
When I click on \"reboot\"in the Qtopia menu, I don\'t see any countdown -- I only get a query about whether I want to shutdown all applications; if I click OK, then everything goes blank for a couple of seconds, and then the Sharp startup screen (a white screen with red \"Sharp\", and some Japanese characters), and then back into Qtopia.
 
Thanks for your help.

(I have Qtopia for OpenPDA, Version 1.5.4 on a Zaurus C750.)
Zaurus C750, Sharp ROM
AmbiCom WL1100C-CF
256MB SD Card

tonyb

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://www.sysdev.org
how to terminate qtopia
« Reply #3 on: April 13, 2004, 01:58:49 am »
The statement below is correct, but not precise:
      \"You have to press / when you see the countdwn. \"Wait 5..4..3..2..\" Then press a and then login.\"

The actual procedure is:

1. Click on the Qtopia screen  lower-left-hand screen icon to pull-up the menu.
2. Select \'Settings\'.
3. Select \'Shutdown\' from the new pull-down.4. Click on the \'Terminate Qtopia\' button.
5. Wait for text console and while the \"Wait  5 4 3 2 1\" countdown is in-progress
    press the \'/\' key
6. a list of available runtime levels (3-5) will be displayed.
7. Select level 3. by pressing the \'a\' key for text mode login.
8. Enter user and password at the login prompt.

Done.
TonyB Hufnus Borras
Zaurus SL-6000 ROM 1.12
http://www.sysdev.org
OpenEmbedded Rules

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
how to terminate qtopia
« Reply #4 on: April 13, 2004, 02:11:50 am »
Quote
The statement below is correct, but not precise:
      \"You have to press / when you see the countdwn. \"Wait 5..4..3..2..\" Then press a and then login.\"

The actual procedure is:

1. Click on the Qtopia screen  lower-left-hand screen icon to pull-up the menu. 
2. Select \'Settings\'.
3. Select \'Shutdown\' from the new pull-down.4. Click on the \'Terminate Qtopia\' button.
5. Wait for text console and while the \"Wait  5 4 3 2 1\" countdown is in-progress
    press the \'/\' key
6. a list of available runtime levels (3-5) will be displayed.
7. Select level 3. by pressing the \'a\' key for text mode login.
8. Enter user and password at the login prompt.

Done.

NOT when you have a Cxx0 model - sharp removed the countdown.

Without editiing the read-only filesystem there is no easy way to get it back.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
how to terminate qtopia
« Reply #5 on: April 13, 2004, 03:38:38 am »
Cacko ROMs have that option enabled.

hans

  • Newbie
  • *
  • Posts: 15
    • View Profile
how to terminate qtopia
« Reply #6 on: April 13, 2004, 12:04:45 pm »
Stubear\'s solution worked for me.  (I have the original Sharp ROM on the C750, and so no countdown.)  Thanks!!
Zaurus C750, Sharp ROM
AmbiCom WL1100C-CF
256MB SD Card

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
how to terminate qtopia
« Reply #7 on: August 10, 2004, 12:55:04 pm »
Quote
NOT when you have a Cxx0 model - sharp removed the countdown.

Without editiing the read-only filesystem there is no easy way to get it back.
Sharp indeed removed the countdown, also removed the icon in the Settings menu. So I made a link to the shutdown command on the Settings menu, however when I choose terminate Qtopia there is no countdown, only a slide bar going to 100%. I tried hitting / before it turns off and resets, but nothing, and it only restarts Qtopia.

So which files do you have to edit the read-only permissions to get the ability to terminate Qtopia back?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
how to terminate qtopia
« Reply #8 on: August 10, 2004, 04:01:48 pm »
hans,

did you search the file system for the "infamous" shutdown app?  The tkcrom for the clamshells were also missing from the gui, but it was in the filesystem.  I used the tab setting app to add it back in.
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
how to terminate qtopia
« Reply #9 on: August 10, 2004, 06:13:23 pm »
Yeah, I had to do the same thing, add it...

However then, when you select terminate Qtopia, there is no countdown and pressing / while it's powering off, doesn't help...

Later.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
how to terminate qtopia
« Reply #10 on: August 11, 2004, 06:20:32 am »
It might be worth trying this from the command line:

qcop QPE/System "quit()"

or

qcop QPE/System "shutdown()"

or

qcop QPE/System "restart()"

to exit qtopia (and go to a console), shutdown everything (like a soft reset) or to restart the qtopia environment respectively.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
how to terminate qtopia
« Reply #11 on: August 11, 2004, 11:11:06 am »
Quote
qcop QPE/System "quit()"
Doesn't work.

When I type it, I get the standard
Code: [Select]
Display size 640x480 response and then it just sits there, i.e. no more output on the display, the display doesn't react to the stylus, you have to reset.

I let it sit for ten minutes just to be sure, but it doesn't do anything...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
how to terminate qtopia
« Reply #12 on: August 11, 2004, 11:26:27 am »
Getting desparate now...try

killall qpe

which does the obvious.

BTW the qcop calls are documented right here.

The zaurus uses 1.5 but the qcop messages we're discussing are identical and work on my 5000 so I don't know why that didn't work.

BTW, don't wait more than a few seconds. If its going to work the effect is fairly fast.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
how to terminate qtopia
« Reply #13 on: August 12, 2004, 12:22:41 am »
Code: [Select]
killall qpeYeah, does the obvious... That works, but it only does a quick restart of Qtopia, i.e. not a reboot, but it terminates everything, pops you in to the Zaurus screen and then Qtopia starts again....

Aggghhhh...

Perhaps something has to be edited, read-write prefs like Stubear said above, unfortunately didn't say what...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze