Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Automatic screen rotate for N810

    Reply
    Page 17 of 26 | Prev | 7   15     16   17   18     19   | Next | Last
    tme | # 161 | 2008-07-31, 09:17 | Report

    I find this very useful but I think it's draining my battery. Consistently since I've
    installed this my tablet dies overnight. Watching in top, I can see sliderotate
    continuously using approx 0.1%-0.9% CPU which can make a big impact on battery life.
    Anyone else seeing this?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    emjayes | # 162 | 2008-07-31, 10:18 | Report

    In version 0.0.22 there is the option to use sounds when opening the slide.
    This is very poorly implemented and causes the high cpu usage.
    I am now testing the next version, which hopefully solves this problem.
    Note: it does not matter whether the sounds are turned off, since the
    pygame.mixer is still initiated.

    The version I am now testing, will unload the mixer if sounds are not enabled, which sound stop the battery drain.

    I will make the new version available today so you can test it.

    For the impatient: version 0.0.21 should not have this issue.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to emjayes For This Useful Post:
    tme

     
    emjayes | # 163 | 2008-07-31, 13:02 | Report

    New version: 0.0.23diablo.

    -If sounds are not used, the mixer is uninitialized, battery drain should stop.
    -If sounds are used, well, until I figure a better way to handle it, the battery will drain faster. Your choice.

    -fixed the typo in sliderotatesettings.
    "Use portrait mode when slide is opened", now reads "Use landscape mode...." like it should.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to emjayes For This Useful Post:
    brontide, ekarjala, qwerty12

     
    emjayes | # 164 | 2008-07-31, 18:33 | Report

    Question: Does anyone remember the dbus-send magic to bring up the menu that you normally get when pressing the power button?

    I would like to make the powerbutton behave like normal if the checkbox "Use powerbutton to rotate" is unchecked.

    I used to know that, but seem to have forgotten it and Google was not helpful enough this time.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwerty12 | # 165 | 2008-07-31, 18:43 | Report

    Arg, using dbus-monitor --system only returns me the value for the Hal device which I am sure you do not want.

    I have a little leaked file from Nokia that should help me in this mission, brb.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qwerty12 For This Useful Post:
    emjayes

     
    emjayes | # 166 | 2008-07-31, 18:50 | Report

    Originally Posted by qwerty12 View Post
    I have a little leaked file from Nokia that should help me in this mission, brb.
    Perhaps I should have searched the intranet at work then

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to emjayes For This Useful Post:
    qwerty12

     
    qwerty12 | # 167 | 2008-07-31, 19:10 | Report

    Arrgh, my dbus "skills" really suckzors.

    I have been able to find the following: com.nokia.system_ui.request.powerkeymenu_open

    Don't know if that helps or if I am barking up the wrong tree. I'll keep trying but hopefully you will figure it out

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qwerty12 For This Useful Post:
    emjayes

     
    emjayes | # 168 | 2008-07-31, 19:57 | Report

    Seems like this could be it. I must fiddle with it tomorrow to see if it works.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ekarjala | # 169 | 2008-08-01, 01:07 | Report

    I installed .23diablo, disabled sounds and things are looking good. Thanks for the effort on this. Sliderotate really helps me get more from my n810.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by ekarjala; 2008-08-01 at 13:15.

     
    The Biles | # 170 | 2008-08-01, 21:28 | Report

    Whenever I rotate, the screen just kind of moves to the side. I can see new icons from the taskbar appear next to the old ones, but the screen itself doesn't actually flip. I'm trying to reinstall xrandr-kernel right now.

    That fixed it. Awesome!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by The Biles; 2008-08-01 at 21:30.

     
    Page 17 of 26 | Prev | 7   15     16   17   18     19   | Next | Last
vBulletin® Version 3.8.8
Normal Logout