![]() ![]() |
Apr 1 2006, 08:00 PM
Post
#1
|
|
![]() Group: Members Posts: 13 Joined: 24-March 06 From: USA, CA(Santa Cruz) Member No.: 9,437 |
Hey all,
I've been at this for a week now and I can't seem to get the Blanker utlity to work at all. I have gone so far as to reinstall pdaxrom with a fresh clean install to see if i could get Blanker to work... The only thing I have done is jgraves key mapping hack/mod... Right now, know matter what I do or don't do with the Blanker utlity, I get 6 mins of music from xmms befor my Z c3100 suspends it's self... and then you know what happens after that... #killall xmms #ps -e #kill #### (if i'm lucky) And 6 mins just happens to be what I set my Z to suspend at... (I kinda feel like the Blanker utlity is one of those Playschool toys where the kid sits in the toy pushs the buttons, turns the wheel, but never gets anywhere...) I vary curious as to how the Blanker utility is preventing the Z from suspending, if thats what it's supposed to do. #man mb-applet-blanker (anyone?) I would be greatful for any help (including the you stupid noob kind) -Thanks 10baseT P.S. THANKS pdaxrom for all your hard work!!! |
|
|
|
Apr 2 2006, 02:33 PM
Post
#2
|
|
|
Group: Members Posts: 343 Joined: 3-October 05 From: NZ Member No.: 8,243 |
QUOTE(10BaseT @ Apr 2 2006, 05:00 PM) Hey all, I've been at this for a week now and I can't seem to get the Blanker utlity to work at all. I have gone so far as to reinstall pdaxrom with a fresh clean install to see if i could get Blanker to work... The only thing I have done is jgraves key mapping hack/mod... Right now, know matter what I do or don't do with the Blanker utlity, I get 6 mins of music from xmms befor my Z c3100 suspends it's self... and then you know what happens after that... #killall xmms #ps -e #kill #### (if i'm lucky) And 6 mins just happens to be what I set my Z to suspend at... (I kinda feel like the Blanker utlity is one of those Playschool toys where the kid sits in the toy pushs the buttons, turns the wheel, but never gets anywhere...) I vary curious as to how the Blanker utility is preventing the Z from suspending, if thats what it's supposed to do. #man mb-applet-blanker (anyone?) I would be greatful for any help (including the you stupid noob kind) -Thanks 10baseT P.S. THANKS pdaxrom for all your hard work!!! It seems to work fine for me out of the box - just choose 'Disable suspend'. I have noticed that the screen blanking part is a bit strange - it only blanks two thirds of it from the top (I suspect because I have an SL6000 in portrait mode and it expects landscape). Are you using openbox/matchbox? |
|
|
|
Apr 2 2006, 03:11 PM
Post
#3
|
|
![]() Group: Members Posts: 13 Joined: 24-March 06 From: USA, CA(Santa Cruz) Member No.: 9,437 |
yeah right now i'm using the basic install of 1.1.0beta1. So yeah i think thats what comes with 1.1.0beta1...
(i do notice that the Blank Screen option dose work but, then all the keyboad and out side buttons stop working(and it still suspends)) right now i going through the source code to see if i can understand better whats going on... |
|
|
|
Apr 2 2006, 06:53 PM
Post
#4
|
|
|
Group: Members Posts: 343 Joined: 3-October 05 From: NZ Member No.: 8,243 |
QUOTE(10BaseT @ Apr 3 2006, 12:11 PM) yeah right now i'm using the basic install of 1.1.0beta1. So yeah i think thats what comes with 1.1.0beta1... (i do notice that the Blank Screen option dose work but, then all the keyboad and out side buttons stop working(and it still suspends)) right now i going through the source code to see if i can understand better whats going on... If blanking the screen stops things from working then it definitely seems like a bug or incompatibility somewhere. Do you have other suspend crashes/problems with your Z? If so, then I imagine you need to sort these first. |
|
|
|
Apr 3 2006, 03:34 PM
Post
#5
|
|
![]() Group: Members Posts: 13 Joined: 24-March 06 From: USA, CA(Santa Cruz) Member No.: 9,437 |
Yeah....
I'm not get very far with this. Can anyone with a c3100 running 1.1.0beta1 post here if there are experiencing the same problem, or am I the only one? I hate to be chasing down a problem if it's something that i'm not doing right. I just don't know what will fix the my suspend problem if a clean install didn't... (unless it's a bug and not local to me.) I did find something out that both the Blanker utility and Lightnpower both seem to set the suspend time with a # xset dpms * * * (basically) a snippet from the man pages about xset dpms "When numerical values are given, they set the inactivity period (in units of seconds) before the three modes are activated. The first value given is for the `standby' mode, the second is for the `suspend' mode, and the third is for the `off' mode. Setting these values implicitly enables the DPMS features. A value of zero disables a particular mode. " So if you want the Z not to suspend # xset dpms 30 0 0 (30 can be whatever... It just turns the screen off in 30 sec) right ? which is what Blanker does.... (doesn't work) and if i type it in (doesn't work) any input? |
|
|
|
Apr 3 2006, 04:42 PM
Post
#6
|
|
|
Group: Members Posts: 343 Joined: 3-October 05 From: NZ Member No.: 8,243 |
QUOTE(10BaseT @ Apr 4 2006, 12:34 PM) Yeah.... I did find something out that both the Blanker utility and Lightnpower both seem to set the suspend time with a # xset dpms * * * (basically) So if you want the Z not to suspend # xset dpms 30 0 0 (30 can be whatever... It just turns the screen off in 30 sec) right ? which is what Blanker does.... (doesn't work) and if i type it in (doesn't work) any input? Use 'xset -q' to check whether the values are taking; lightnpower.py sets the default values using standby and off, but not suspend (although suspend does work if I set it manually). Other than that, you're right - someone else with a C3100 needs to comment... |
|
|
|
Apr 4 2006, 02:04 AM
Post
#7
|
|
![]() Group: Members Posts: 13 Joined: 24-March 06 From: USA, CA(Santa Cruz) Member No.: 9,437 |
Yeah i'm ahead of ya' their...
wote me a little sript go somethin' like dis' CODE #!/bin/bash for ((i = 0; i < 1; i = i )) do xset q | tail -5 | head -1 sleep 2 done Yep they take and nothing chages them ether. the Z suspends while "xset q" still reports the off values is at 0 If I kill the blanker utility and type the "xset dpms 0 0 0" or "xset -dpms" the Z seems to pick a random time to shut off the sreen and to suspend... sometimes it's 5 seconds sometimes it's 5 minutes.... Starting to get a bit frustrated |
|
|
|
Apr 4 2006, 02:28 AM
Post
#8
|
|
|
Group: Members Posts: 742 Joined: 15-October 05 From: Gulag, Siberia Member No.: 8,322 |
QUOTE(karlto @ Apr 4 2006, 12:42 AM) Other than that, you're right - someone else with a C3100 needs to comment... OK, in "Light & Power": battery suspend = 0 screen off = 5 min backlighting = 1 ac power suspend = 0 screen off = 0 backlighting = 1 This is the observed behaviour: When on AC Power, does not suspend and does not blank. This is the expected behaviour. When on Battery, does not suspend, this is expected. But after power on (resume) the screen will blank after 5 min regardless of activity - so I could be typing away or poking the touchscreen and *bang* the screen blanks after 5 min. After I unblank the screen (ie press a key or touchscreen), then screen does not blank again, ever, that is until I suspend/resume, whereupon it will cycle thru "blank after 5 min, then don't blank". -- cheers |
|
|
|
Apr 4 2006, 10:30 AM
Post
#9
|
|
|
Group: Members Posts: 65 Joined: 21-January 05 Member No.: 6,279 |
I've got the same issue, and it's true the Blanker applet is broken since beta1. I don't know why the screen shuts off after resume on battery, even when you're typing text, which is of course a totally unexpected behaviour, but a report should be submitted on the tracker.
|
|
|
|
Apr 4 2006, 02:31 PM
Post
#10
|
|
|
Group: Members Posts: 343 Joined: 3-October 05 From: NZ Member No.: 8,243 |
QUOTE(maxg @ Apr 5 2006, 07:30 AM) I've got the same issue, and it's true the Blanker applet is broken since beta1. I don't know why the screen shuts off after resume on battery, even when you're typing text, which is of course a totally unexpected behaviour, but a report should be submitted on the tracker. Judging by what is posted here, the blanker isn't broken - it's the apm (again!) |
|
|
|
Apr 4 2006, 08:11 PM
Post
#11
|
|
![]() Group: Members Posts: 13 Joined: 24-March 06 From: USA, CA(Santa Cruz) Member No.: 9,437 |
Well, now that i have looked at the code for both lightnpower and blanker I have come to some conclusions
1) i don't think that the blanker utility is really broken (but, something somewhere sure is...) 2) the blanker utility doesn't do exactly what you think it does (at lest I was confused about a few things) 3) lightnpower and the blanker utility should be rewritten into one entity ( my opinion of course...) But... I have hit a dead end, I don't think rewriting the blanker utility is the solution to the problem at hand... I think that there is a third element somewhere that is cause the Z to suspend and to shut off the screen. (which is overwriteing the xset dpms ... command) Any clues? (maybe a bug report is needed) |
|
|
|
Apr 4 2006, 08:30 PM
Post
#12
|
|
|
Group: Members Posts: 343 Joined: 3-October 05 From: NZ Member No.: 8,243 |
QUOTE(10BaseT @ Apr 5 2006, 05:11 PM) Well, now that i have looked at the code for both lightnpower and blanker I have come to some conclusions 1) i don't think that the blanker utility is really broken (but, something somewhere sure is...) 2) the blanker utility doesn't do exactly what you think it does (at lest I was confused about a few things) 3) lightnpower and the blanker utility should be rewritten into one entity ( my opinion of course...) But... I have hit a dead end, I don't think rewriting the blanker utility is the solution to the problem at hand... I think that there is a third element somewhere that is cause the Z to suspend and to shut off the screen. (which is overwriteing the xset dpms ... command) Any clues? (maybe a bug report is needed) It seems like the xset dpms just isn't working - this is likely a kernel/machine specific issue, as it works for others using the same xset. I would recommend using the lightnpower applet to test a few different settings (if the above is all correct then it will probably ignore those settings), then file a bug report with the results. |
|
|
|
Apr 6 2006, 02:02 PM
Post
#13
|
|
![]() Group: Members Posts: 13 Joined: 24-March 06 From: USA, CA(Santa Cruz) Member No.: 9,437 |
Hey!
Think i got something here. I looked into what karlto suggested about testing the lightnpower applet and found that it worked... always.... which didn't make any sense being that it's useing the same command "xset dpms"... So, I looked at the lightnpower.py sript a little closer to see what it was doing different, and there is one difference. It execs two commands to xset (as far as I can understand, sense I'm not good with python(i think it is) Something like this... to disable suspend #xset dpms * 0 0 #xset -dpms (the '*' is the time you want the screen to shut off at, in seconds. This still works after you exec the "xset -dpms" command which, doesn't make much sense to me but it works, so... whatever) and to enable it again #xset +dpms #xset dpms * 0 * which works!!! (so far) and therefore, my current work around is killing off the Blanker utility and running this wrapper sript for xmms Create an xmms wrapper file: /usr/bin/xmmsWrapper.sh CODE #!/bin/bash xmodmap /etc/X11/kb/xmms.xmodmap /usr/X11R6/bin/xset dpms 30 0 0 /usr/X11R6/bin/xset -dpms xmms /usr/X11R6/bin/xset +dpms /usr/X11R6/bin/xset dpms 120 0 360 xmodmap /etc/X11/kb/xmmsBack.xmodmap I'm useing jgraves mp3 player hack/mod (my version of it) mp3 player hack/mod I think thats understandable... -Enjoy --MY $600 MP3 player!!!! |
|
|
|
Apr 6 2006, 08:14 PM
Post
#14
|
|
|
Group: Members Posts: 343 Joined: 3-October 05 From: NZ Member No.: 8,243 |
QUOTE(10BaseT @ Apr 7 2006, 11:02 AM) to disable suspend #xset dpms * 0 0 #xset -dpms (the '*' is the time you want the screen to shut off at, in seconds. This still works after you exec the "xset -dpms" command which, doesn't make much sense to me but it works, so... whatever) and to enable it again #xset +dpms #xset dpms * 0 * which works!!! (so far) Cool; I know that 'xset dpms * * *' implies 'xset +dpms' (turn on dpms). I would have thought using a value of 0 would have implied the opposite ('xset -dpms' to turn it off). Obviously not... (or a bug in xset?) Glad you got it sorted anyway |
|
|
|
Apr 11 2006, 10:37 PM
Post
#15
|
|
![]() Group: Members Posts: 13 Joined: 24-March 06 From: USA, CA(Santa Cruz) Member No.: 9,437 |
QUOTE(karlto @ Apr 6 2006, 08:14 PM) QUOTE(10BaseT @ Apr 7 2006, 11:02 AM) to disable suspend #xset dpms * 0 0 #xset -dpms (the '*' is the time you want the screen to shut off at, in seconds. This still works after you exec the "xset -dpms" command which, doesn't make much sense to me but it works, so... whatever) and to enable it again #xset +dpms #xset dpms * 0 * which works!!! (so far) Cool; I know that 'xset dpms * * *' implies 'xset +dpms' (turn on dpms). I would have thought using a value of 0 would have implied the opposite ('xset -dpms' to turn it off). Obviously not... (or a bug in xset?) Glad you got it sorted anyway What I meant by * * * is u can put any value there... I don't think a xset dpms takes * as a valid argument but yeah, seems to be working fine |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 07:00 PM |