Author Topic: A Couple Of Irritating Problems  (Read 10455 times)

adam

  • Newbie
  • *
  • Posts: 5
    • View Profile
A Couple Of Irritating Problems
« on: November 30, 2005, 07:42:58 am »
Very often when I put my Zaurus to sleep (with zzz) the clock appears to stop. I've seen that people have reported this before - was there any solution? It's a problem when you're trying to use the Z for storing your upcoming calendar events and it's way out.

I've also noticed that the battery has a habit of suddenly being completely drained - is this a known issue, or do I just have a bad battery?

Thanks in advance,
Adam

barryg

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://web.kssp.upd.edu.ph/barry/zaurus/
A Couple Of Irritating Problems
« Reply #1 on: November 30, 2005, 07:57:22 am »
Good day!

Quote
Very often when I put my Zaurus to sleep (with zzz) the clock appears to stop.

<SNIP>

Fixed in -current and snapshots, logs here[0] and here[1].

Quote
I've also noticed that the battery has a habit of suddenly being completely drained -
is this a known issue, or do I just have a bad battery? 

Also experienced by devs, theyre hunting it down. Not sure if this is the same issue though.
Mine works fine.


Quote
Adam



Mabuhay! barryg

[0]
http://www.openbsd.org/cgi-bin/cvsweb/src/...le/pxa2x0_apm.c
[1]
http://www.openbsd.org/cgi-bin/cvsweb/src/...ev/zaurus_apm.c
--
Barry Dexter A. Gonzaga, bofh
« Last Edit: November 30, 2005, 07:58:37 am by barryg »

adam

  • Newbie
  • *
  • Posts: 5
    • View Profile
A Couple Of Irritating Problems
« Reply #2 on: December 03, 2005, 05:56:46 pm »
Thanks as always, Barry. I've just upgraded to the current snapshots.

At first I thought that the battery issue might be down to buttons being pressed while the Zaurus was being thrown around in my laptop bag, but inconsistent readings from apm probably means it has something to do with that instead.

I'll keep an eye on things and report back in a few days.

adam

  • Newbie
  • *
  • Posts: 5
    • View Profile
A Couple Of Irritating Problems
« Reply #3 on: December 10, 2005, 06:55:03 pm »
I can happily report that the clock problems have gone away  

On the downside, the battery is still an issue. "apm" never seems to think that the battery drops below 90% or so, but this sometimes rises back to 100% even though it hasn't been recharged. I'm sure I don't remember this problem with the original OS but I'm still considering buying a new battery just in case it's broken.

The power button now seems to suspend the Zaurus - I don't remember it working before (I had to do apm -z or zzz) so this is a nice improvement. If only it would suspend when I close the lid...!

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
A Couple Of Irritating Problems
« Reply #4 on: January 20, 2006, 06:35:38 pm »
Adam, check the features in the latest current, there is a sysctl.conf switch to suspend on lid close - note says that it doesn't wake it up when it opens though.

the setting you are looking for is machdep.lidsuspend=1

(http://www.openbsd.org/plus.html)

I like to leave this turned off myself since I leave my Z running for long periods of time compiling stuff and use an ssh connection whilst it's doing this. Seems to generate a lot less heat whilst the screen is off

- Andy
« Last Edit: January 20, 2006, 06:37:49 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

adam

  • Newbie
  • *
  • Posts: 5
    • View Profile
A Couple Of Irritating Problems
« Reply #5 on: March 28, 2006, 06:02:03 pm »
Quote
Adam, check the features in the latest current, there is a sysctl.conf switch to suspend on lid close - note says that it doesn't wake it up when it opens though.

the setting you are looking for is machdep.lidsuspend=1

(http://www.openbsd.org/plus.html)

I like to leave this turned off myself since I leave my Z running for long periods of time compiling stuff and use an ssh connection whilst it's doing this. Seems to generate a lot less heat whilst the screen is off

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

I've been running the latest with suspend on lid close for two or three weeks now. I'm still finding that the battery is completely drained when not used for a few days; I don't find this problem if I boot back into Linux. Barry hinted that some of the OpenBSD developers might have experienced a similar problem. I'm hoping something is found by the time 3.9 is officially released. If not, I'll just have to remember to charge up more often!

Sequethin

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
A Couple Of Irritating Problems
« Reply #6 on: April 11, 2006, 09:39:24 am »
I think APM is a liar. On the way to work I was working on my zsh prompt and my apm status said 50%, 90 mins remaining. Then the z went to sleep. I turned it back on and it went to sleep again. Obviously it didn't have 90mins remaining. Now I'm here at work, I plug in my z and after 2 minutes it says 100%! Yet the orange charging light is still on. I know that it must still be charging, even my cell phone takes at least a few hours to get fully charged. Why is apm lying to me?

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
A Couple Of Irritating Problems
« Reply #7 on: April 11, 2006, 11:52:34 pm »
Quote
I think APM is a liar. On the way to work I was working on my zsh prompt and my apm status said 50%, 90 mins remaining. Then the z went to sleep. I turned it back on and it went to sleep again. Obviously it didn't have 90mins remaining. Now I'm here at work, I plug in my z and after 2 minutes it says 100%! Yet the orange charging light is still on. I know that it must still be charging, even my cell phone takes at least a few hours to get fully charged. Why is apm lying to me?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122637\"][{POST_SNAPBACK}][/a][/div]

Not sure really, I get about 3 hours constant runtime from my battery, however, I do a calibration run every month or so, maybe this makes a difference.. basically all I do is charge it up fully and then let it drain itself powered up doing nothing until it hits forced suspend.

3 hours is about what to expect from a Z running OpenBSD because the Microdrive is constantly moving.

It sounds like you were getting the failsafe poweroff when your device was showing 50%... I would suggest trying calibration first then hitting arm@openbsd.org to see if anyone has any answers (Uwe will almost certainly be the one who can answer this).

-Andy
« Last Edit: April 11, 2006, 11:55:38 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

barryg

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
    • http://web.kssp.upd.edu.ph/barry/zaurus/
A Couple Of Irritating Problems
« Reply #8 on: April 12, 2006, 11:58:58 pm »
Good day!

Quote
I think APM is a liar.
<SNIP>
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

It is, [0]. [1].

Mabuhay! barryg

[0]
[a href=\"http://www.openbsd.org/papers/eurobsd2005/niallo-uwe/mgp00036.html]http://www.openbsd.org/papers/eurobsd2005/...e/mgp00036.html[/url]
[1]
http://marc.theaimsgroup.com/?l=openbsd-ar...38906524485&w=2

sylvain

  • Newbie
  • *
  • Posts: 17
    • View Profile
A Couple Of Irritating Problems
« Reply #9 on: June 26, 2006, 04:49:49 pm »
Could you detail what you mean by "calibration run" ? Is it a simple cycling of the battery ?

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
A Couple Of Irritating Problems
« Reply #10 on: June 01, 2007, 05:15:14 pm »
i'm under GENERIC#113 and it seems that apm is no longer a liar !

apm

Battery state: high, 91% remaining, 163 minutes life estimate
A/C adapter state : not connected
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
A Couple Of Irritating Problems
« Reply #11 on: June 02, 2007, 01:25:39 pm »
Quote
i'm under GENERIC#113 and it seems that apm is no longer a liar !

apm

Battery state: high, 91% remaining, 163 minutes life estimate
A/C adapter state : not connected

You can edit the Zaurus zapm source code and change the 180 minute max battery life to a less pessimistic value.
« Last Edit: June 02, 2007, 01:26:25 pm by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
A Couple Of Irritating Problems
« Reply #12 on: June 02, 2007, 01:53:35 pm »
But then how do we know the actual value? We know that battery life depends on many factors, such as cpu clock, screen brightness, connection status, running programs, to name but a few.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]