Author Topic: Oz3.5.3 (collie) On/off Button Problem  (Read 53493 times)

ronbus

  • Newbie
  • *
  • Posts: 6
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« on: April 14, 2005, 09:25:10 am »
When I press the on/off button, collie goes to sleep but won't wake up again unless I flip the "replace battery" switch.  I know this problem was documented in 3.5.2 but I thought it was fixed in 3.5.3-official.  Does anyone else have this problem, or do I have something messed up.  If it is something that I can fix--without building from OE--pleas let me know.

Thanks,
-Ron
----
SL5500
3.5.3 OPIE ROM
1 GB/256 MB Lexar SD
1 GB Kingston/64 MB Lexar CF
DLink 802.11b CF

crow

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://
Oz3.5.3 (collie) On/off Button Problem
« Reply #1 on: April 14, 2005, 10:19:46 am »
I tried it a few times, it woke up each time.

sojourner

  • Newbie
  • *
  • Posts: 13
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #2 on: April 14, 2005, 10:30:04 am »
Quote
When I press the on/off button, collie goes to sleep but won't wake up again unless I flip the "replace battery" switch.
...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75135\"][{POST_SNAPBACK}][/a][/div]
I saw this yesterday with 3.5.3 after installing a number of packages but it woke up fine this morning.

-- sojourner
SL-5500
Opie 3.5.4
SanDisk 512M SD (ext3)
Viking 256M CF
CompUSA 32M CF
AmbiCom WL1100C-CF
Xircom CFM56G modem
Slackware-current

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Oz3.5.3 (collie) On/off Button Problem
« Reply #3 on: April 14, 2005, 10:47:49 am »
Are you sure the kernel flashed correctly?

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

charlie

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Oz3.5.3 (collie) On/off Button Problem
« Reply #4 on: April 15, 2005, 07:47:12 am »
I loved 3.5.2 and 3.5.3 looks like it is better so far.
Thanks to the team.
I can confirm that this bug exists.  Not all the time but whenever it has been swithced off for a while.
Everything flashed okay as far as I know.

Chas
The one true Charlie on the board.

UK sl5500 with oz3.5.4 (opie)(Hentges-RC candidate,  64/0 kernel  with apps from HRW's experimental feed).  PQI 256m cf card.  Dane 512mb sd card.

charlie

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • http://
Oz3.5.3 (collie) On/off Button Problem
« Reply #5 on: April 15, 2005, 07:55:39 am »
Sorry I should have said oz 3.5.3 Opie 64/0
The one true Charlie on the board.

UK sl5500 with oz3.5.4 (opie)(Hentges-RC candidate,  64/0 kernel  with apps from HRW's experimental feed).  PQI 256m cf card.  Dane 512mb sd card.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Oz3.5.3 (collie) On/off Button Problem
« Reply #6 on: April 15, 2005, 07:59:43 am »
I have no idea what could cause that. Guess some kernel experts should take a look at that...
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ronbus

  • Newbie
  • *
  • Posts: 6
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #7 on: April 15, 2005, 09:23:03 am »
I should have been more specific, like charlie.  The GPE version works fine, it only affects the OPIE version.  I've also only tried the 64/0 version.  I don't know if it is normal or not, but there is an odd message when it boots for the first time: something about a tainted kernel due to the sharp SD module?

I'm pretty sure the kernel flashed properly.  The lights came on for a few minutes.  The system info says 2.4.18-rmk7-pxa3-embedix-3.5.3.

I just reflashed to the OPIE 64/0 version and I had the same problem.  However, I flipped the replace battery switch and rebooted, removed the SD card and CF card, hit the on/off button and it came back to life.  I put the CF card in, it also worked fine.  I took the CF card out, put the SD card in and it worked fine.  I put both the CF and SD card in and....it still worked fine.  I don't know what's going on but it seems to be working since I removed the CF and SD card and replaced them.
----
SL5500
3.5.3 OPIE ROM
1 GB/256 MB Lexar SD
1 GB Kingston/64 MB Lexar CF
DLink 802.11b CF

sojourner

  • Newbie
  • *
  • Posts: 13
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #8 on: April 15, 2005, 09:24:20 am »
Quote
...
I can confirm that this bug exists.  Not all the time but whenever it has been swithced off for a while.
Everything flashed okay as far as I know.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75346\"][{POST_SNAPBACK}][/a][/div]
Ok, after my first post on this yesterday I am now seeing this every time I suspend. Not sure what the issue is. OZ 3.5.3 32-32 zImage w/Opie, md5sums checked out fine.

-- sojourner
SL-5500
Opie 3.5.4
SanDisk 512M SD (ext3)
Viking 256M CF
CompUSA 32M CF
AmbiCom WL1100C-CF
Xircom CFM56G modem
Slackware-current

ankhcraft

  • Newbie
  • *
  • Posts: 10
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #9 on: April 15, 2005, 02:59:40 pm »
Quote
Quote
...
I can confirm that this bug exists.  Not all the time but whenever it has been swithced off for a while.
Everything flashed okay as far as I know.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75346\"][{POST_SNAPBACK}][/a][/div]
Ok, after my first post on this yesterday I am now seeing this every time I suspend. Not sure what the issue is. OZ 3.5.3 32-32 zImage w/Opie, md5sums checked out fine.

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

Yup.  I can also confirm that this bug exists.  I just flashed my Zaurus last night, and since then, this has happened to me about 6 times.  It's also probably woke up successfully about 6 times too.  I'm using the Opie image and a 32/32 kernel.

If this only happens with the Opie image, could this really be an issue with the kernel build?  If it is in fact, occurring only the Opie image, it's probably some other issue.  Not that I know, I'm just suggesting...  

I've had other instabilities with the Opie image in OZ before too.  In OZ 3.5.2 and now in OZ 3.5.3, the entire desktop will die (processes go bye-bye - not running anymore) and leave the VT useless, assumedly after some program crash.  Restarting Opie via remote login works fine at these points, but this is not an option at work.  SysAdmin no-likey install software and USB networking on these boxen.

Anyhow, does anyone have a guess as to what is causing this On/Off button problem yet?
SL-5500 (Symbol24 High Rate WLAN, Viking 256MB SD, 256MB CF)
OZ 3.5.3 (Opie, AQPkg, Opera, XMMS-Embedded)

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Oz3.5.3 (collie) On/off Button Problem
« Reply #10 on: April 15, 2005, 04:09:36 pm »
Confirmed. Suspending a collie with the "cancel" button freezes the device on resume
about 90% of the time. This has been the case for some time now.

Also pressing "right-arrow" for a few seconds will suspend the device, too and it won't wake up again.
Webmaster of hentges.net & Embedded Linux Developer.

ankhcraft

  • Newbie
  • *
  • Posts: 10
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #11 on: April 15, 2005, 05:15:39 pm »
Quote
Confirmed. Suspending a collie with the "cancel" button freezes the device on resume
about 90% of the time. This has been the case for some time now.

Also pressing "right-arrow" for a few seconds will suspend the device, too and it won't wake up again.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75422\"][{POST_SNAPBACK}][/a][/div]

Now, since everyone's in agreeance, what do we about it?  ;-)  It's likely fixable, since the Sharp ROM doesn't have this problem.

Honestly, I'd love to try and fix this (and a whole host of other OZ bugs) myself.  If I wasn't so busy coding at work, I might be inclined to dive in and help, but spare time is pretty slim.  Now, if I had a better idea about where to look, I'd be more inclined to try and fix this myself.  Without knowing where to look, and having never hacked at the OZ source code before, this would otherwise take a while.

Anyhow, another coding project is exactly what I need to get my girlfriend to kill me.
SL-5500 (Symbol24 High Rate WLAN, Viking 256MB SD, 256MB CF)
OZ 3.5.3 (Opie, AQPkg, Opera, XMMS-Embedded)

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Oz3.5.3 (collie) On/off Button Problem
« Reply #12 on: April 15, 2005, 08:04:56 pm »
Quote
Confirmed. Suspending a collie with the "cancel" button freezes the device on resume about 90% of the time.
This is also confirmed now on the 5600 (OZ3.5.3-Opie)... about 90% of the time.

For a temporary fix that beats the reset method you can use the O-menu> suspend instead of the On/Off button... then the On button will bring it back on again.(works for poodle I haven't tried the collie yet with 3.5.3)

Greg
« Last Edit: April 15, 2005, 08:10:31 pm by Greg2 »

Cwiiis

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #13 on: April 15, 2005, 09:26:10 pm »
This 'fix' has been applied in the gpe-image for collie handhelds only - if you have problems resuming after suspend, try this:

-Remove the line containing /dev/apm_bios from /etc/device_table
-Reboot

If that doesn't fix things, I'm afraid I don't know. The problem, with collie at least, is a buggy apm implementation in the kernel - I will fix this as soon as I get a Zaurus serial cable (donations welcome!)

sojourner

  • Newbie
  • *
  • Posts: 13
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #14 on: April 15, 2005, 10:44:12 pm »
Quote
This 'fix' has been applied in the gpe-image for collie handhelds only - if you have problems resuming after suspend, try this:

-Remove the line containing /dev/apm_bios from /etc/device_table
-Reboot
...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75463\"][{POST_SNAPBACK}][/a][/div]
Thanks for the info. I just made the change and will let everyone know how it goes...

-- sojourner
SL-5500
Opie 3.5.4
SanDisk 512M SD (ext3)
Viking 256M CF
CompUSA 32M CF
AmbiCom WL1100C-CF
Xircom CFM56G modem
Slackware-current