OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

5 Pages V  « < 3 4 5  
Reply to this topicStart new topic
> Suspend Crashes, Does suspend work for you on OpenBSD?
gen2
post May 12 2007, 01:26 PM
Post #61





Group: Members
Posts: 60
Joined: 7-October 04
From: Left Coast, USA. Criminals Stole My Country.
Member No.: 4,926



QUOTE(mathemajikian @ May 12 2007, 07:31 PM)
QUOTE(mathemajikian @ May 12 2007, 05:23 PM)
So there is an issue with lidsuspend, but it dosn't result in complete catastrophic device lockup.

Just noticed the following from 3.9 changes located here: http://www.openbsd.org/plus39.html

QUOTE
On Zaurus, allow sysctl machdep.lidsuspend=1 to cause suspend on screen closure. Opening does not yet wake it up though.

The Z wakes up it just fails to turn the back light back on.
*



Current testing here produces full lockup on lidsuspend, no ssh'ing in possible, no status lights a flashin. I'm running 6 partitions, sleep DOES work as advertised using # zzz -S. Unable to verify any specific link between 6 partition scheme and suspend/wake problems.

I can handle typing instead of just closing the lid. Moving on.
Go to the top of the page
 
+Quote Post
ZDevil
post May 13 2007, 01:01 AM
Post #62





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Just another update:

I have tried suspending with closing lid, zzz and power off button several times under the 4.1 release version, with at least half an hour interval between suspend and resume. Everything works so far. smile.gif
Pray that the issue won't come back again...
Go to the top of the page
 
+Quote Post
ZDevil
post May 15 2007, 08:42 AM
Post #63





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



More update:

I've updated the kernel to 4.1-current (GENERIC) #100 (8 May 2007).
Suspend and resumes now works like a charm!
Even closing lid is no longer a problem.
Tried two days and haven't experienced any resume failure yet, except on one occasion after building stuff overnight the system refused to suspend. A reboot fixed that.

Thanks for the hard work!

[Update+]
Shortly after posting I ran into one incidence of failing to resume.

A handy tip:
Just create either a tiny shell script or alias as shortcuts to the backlight commands: wsconsctl display.backlight=100, wsconsctl display.brightness+=1, wsconsctl display.brightness-=1.
For example, i am using don ("Display On"), bup ("Brightness Up") and bdn ("Brightness Down") respectively. wink.gif

This post has been edited by ZDevil: May 16 2007, 04:08 AM
Go to the top of the page
 
+Quote Post
ZDevil
post May 18 2007, 09:26 AM
Post #64





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Updated to GENERIC#110 last night. Suspend by closing lid and pressing power button quite a few times. Resume hasn't failed yet.

GREAT JOB! THANK YOU FOR THE CONSTANT AND PERSISTENT UPDATING! wink.gif

I really hope I can contribute my small part soon by submitting packages to the repository.
I've been collecting OBSD tips and making notes of them. Will try to make a newbie starter guide in addition to the great installation documentations.
Go to the top of the page
 
+Quote Post
jpmatrix
post May 20 2007, 11:31 AM
Post #65





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



Great piece of news ! I think i ll be back to openbsd as soon as i come back from holidays smile.gif
any news about bluetooth and sd card support in latest builds ?
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 4 2007, 02:04 AM
Post #66





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



well, it seems suspend/resume troubles are now gone smile.gif
i've zzz -S a couple of time and resume always worked for me smile.gif let's touch some wood ! (french proverb wink.gif

however i've some troubles when i suspend and the usb host cable is plugged (and perhaps pppd is running): when i resume i got lot of messages which fills the screen and i cannot do anything other than reboot.....

messages are:
uhub0: device problem, disabling port 2

would someone help?
Go to the top of the page
 
+Quote Post
mathemajikian
post Jun 4 2007, 03:32 AM
Post #67





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(jpmatrix @ Jun 4 2007, 10:04 AM)
however i've some troubles when i suspend and the usb host cable is plugged (and perhaps pppd is running): when i resume i got lot of messages which fills the screen and i cannot do anything other than reboot.....

messages are:
uhub0: device problem, disabling port 2

would someone help?

Disconnect usb host cable before suspending? smile.gif
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 4 2007, 04:03 AM
Post #68





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(mathemajikian @ Jun 4 2007, 01:32 PM)
QUOTE(jpmatrix @ Jun 4 2007, 10:04 AM)


however i've some troubles when i suspend and the usb host cable is plugged (and perhaps pppd is running): when i resume i got lot of messages which fills the screen and i cannot do anything other than reboot.....

messages are:
uhub0: device problem, disabling port 2

would someone help?

Disconnect usb host cable before suspending? smile.gif
*



lol i didn't thought about it biggrin.gif
you know this weekend i let the zaurus plugged to the nokia and internet up for quite all saturday and sunday smile.gif compilation stories wink.gif then i said to myself : perhaps the zaurus would need some pause to rest a little wink.gif so sometimes i just switched the backlight off (i created scripts) .
but sometimes you also need to zzz it no? perhaps the suspend/resume process should be modified to disconnect the usb bus before and reconnect it on resume?
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 12 2007, 03:46 AM
Post #69





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



guys,
i'm running into a new problem : suspend just doesn't work !
nothing happens as i type zzz -S ........
just a "suspending system..." message then back to prompt......

any clue before i reboot ?
Go to the top of the page
 
+Quote Post
gaarder
post Jun 12 2007, 07:39 PM
Post #70





Group: Members
Posts: 19
Joined: 4-June 07
Member No.: 16,894



I've tried zzz -S, zzz -z, with and without sd card, cf card, and cf wifi card, with apm -A, apm -At 300, apm -t 300, machdep.maxspeed=520 or #machdep.maxspeed=520...

my new z (3200) fails to shut down its charge light during an overnight suspend charge session (~6hrs)

any idea? when I boot back to sharp rom the charge light usually disappears after a few hours.

Also, if suspend charging under OpenBSD works for anyone, can someone post their configurations?

I am using OpenBSD #current 114 dual booting OpenBSD and sharp original rom. Resume works, but I prefer not to use lidsuspend.
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 13 2007, 03:32 AM
Post #71





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(gaarder @ Jun 13 2007, 05:39 AM)
I've tried zzz -S, zzz -z, with and without sd card, cf card, and cf wifi card, with apm -A, apm -At 300, apm -t 300, machdep.maxspeed=520 or #machdep.maxspeed=520...

my new z (3200) fails to shut down its charge light during an overnight suspend charge session (~6hrs)

any idea? when I boot back to sharp rom the charge light usually disappears after a few hours.

Also, if suspend charging under OpenBSD works for anyone, can someone post their configurations?

I am using OpenBSD #current 114 dual booting OpenBSD and sharp original rom. Resume works, but I prefer not to use lidsuspend.
*


well,
with apmd -A that didn't work for me too...
but with apmd="" or -t 300 it does work
but it probably depends on what you're doing with your Zaurus (wifi ? bluetooth?)
when i let the zaurus up to compile, i'm used to plug my nokia via its usb cable so power requirements are at low level
Go to the top of the page
 
+Quote Post
jpmatrix
post Jun 16 2007, 03:49 AM
Post #72





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(jpmatrix @ Jun 12 2007, 01:46 PM)
guys,
i'm running into a new problem : suspend just doesn't work !
nothing happens as i type zzz -S ........
just a "suspending system..." message then back to prompt......

any clue before i reboot ?
*


any news about how to solve this bug ? i'm having it again....
Go to the top of the page
 
+Quote Post
mathemajikian
post Oct 27 2007, 09:20 AM
Post #73





Group: Members
Posts: 304
Joined: 8-July 06
From: United Kingdom for now....
Member No.: 10,349



QUOTE(jpmatrix @ Jun 16 2007, 12:49 PM) *
QUOTE(jpmatrix @ Jun 12 2007, 01:46 PM)
guys,
i'm running into a new problem : suspend just doesn't work !
nothing happens as i type zzz -S ........
just a "suspending system..." message then back to prompt......

any clue before i reboot ?
*


any news about how to solve this bug ? i'm having it again....


Here's some new news:

"Revision 1.3, Mon Oct 8 20:18:19 2007 UTC (2 weeks, 4 days ago)
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -1 lines
Diff to previous 1.2
Align the suspend saved data to a cache line boundary, apparently prevents issues upon resume."
Go to the top of the page
 
+Quote Post

5 Pages V  « < 3 4 5
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th November 2014 - 02:39 PM