Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Automatic screen rotate for N810

    Reply
    Page 13 of 26 | Prev | 3   11     12   13   14     15   23 | Next | Last
    gerbick | # 121 | 2008-05-24, 06:58 | Report

    geoff, thanks a ton... however one question. I want to disallow onslide too. how would I accomplish that?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Shucker | # 122 | 2008-05-27, 13:52 | Report

    Apparently, I'm the only guy who can't get this to install.

    I clicked on the One-Click Install and the process went awry...
    App Installer prompted to: Install Sliderotate 0.0.16

    It proceeded to install Sliderotate and crapped out at about 10% saying: Unable to install sliderotate

    Any ideas?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Borgel | # 123 | 2008-05-27, 15:59 | Report

    I had the same problem, but couldnt fix it. My solution ended up being totally wiping the tablet, installing sliderotate before I did anything else, and then restoring my backup.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    geoffstewart | # 124 | 2008-05-27, 16:26 | Report

    Originally Posted by gerbick View Post
    geoff, thanks a ton... however one question. I want to disallow onslide too. how would I accomplish that?
    I only have a n800, so I didn't even looking into onslide... in fact, it took a few seconds to figure out what you meant

    I can't test this, but it would seem that the same logic can be used on the function called slide():
    Code:
    def slide(id,obj):
            f = open(slidestatus,'r')
            status = f.read()
            f.close()
            if status == "closed\n":
                    new_orientation = "closed"
                    rotate(new_orientation)
            elif status == "open\n":
                    new_orientation = "open"
                    rotate(new_orientation)
    If this snippet, change new_orientation to be normal in the case where you don't want rotation.

    Hope this helps.

    Geoff

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Shucker | # 125 | 2008-05-27, 23:37 | Report

    Did a software update to try installing it from a fresh install and still no luck. All sorts of permissions errors. Formatted the internal memory card, did a Nokia update and all was fine. Actually, beyond fine.... I spent half the afternoon looking for iPhone formatted sites and for the first time, thoroughly enjoyed reading on the n810.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jjstewart | # 126 | 2008-05-28, 03:40 | Report

    Don't think this has been mentioned or maybe I missed it. You can get the "right" rotation by replacing the four instances of "left" with "right" in the previously mentionned sliderotate.py file.

    Code:
    def rotate(new_orientation):
    	orientation = client.get_string('/apps/rotate/orientation')
    	if new_orientation == "power":
    		if orientation == "right":
            		client.set_string('/apps/rotate/orientation',"normal")
                    	rotate='DISPLAY=:0.0 /usr/bin/xrandr -o normal'
    			xmodmap_conf='/usr/lib/sliderotate/normal.xmodmap'
            	elif orientation == "normal":
                    	client.set_string('/apps/rotate/orientation',"right")
                    	rotate='DISPLAY=:0.0 /usr/bin/xrandr -o right'
                            xmodmap_conf='/usr/lib/sliderotate/right.xmodmap'

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

     
    tagazok | # 127 | 2008-06-01, 00:58 | Report

    OK Houston, I have a problem.

    When I use the install script, everything is ok, it ask me if I want to install xserver-xomap (it ask me each time I make /root/install.....) and seems to install it (unpacking, etc...) ans then download a lot of things, then, "Checking kerner image kerner-rx-34_2.6.21.0-osso71-randr2".So, it ask me if I want to flash. I say yes.
    Here is what I have :
    Are you ready to flash? (yes/no) yes
    Erasing 128 Kibyte @ 120000 -- 50 % complete.
    Skipping bad block at 0x00140000
    Erasing 128 Kibyte @ 1c0000 -- 77 % complete.
    Skipping bad block at 0x001e0000
    Erasing 128 Kibyte @ 220000 -- 94 % complete.
    Writing data to block 0
    Writing data to block 20000
    Writing data to block 40000
    Writing data to block 60000
    Writing data to block 80000
    Writing data to block a0000
    Writing data to block c0000
    Writing data to block e0000
    Writing data to block 100000
    Writing data to block 120000
    Writing data to block 140000
    Bad block at 140000, 1 block(s) from 140000 will be skipped
    Writing data to block 160000
    Writing data to block 180000
    Kernel flashed, reboot to make it active.
    Cleaning up... done.
    REBOOT IS REQUIRED!
    after rebooting....

    So, what is wrong with my tablet?
    thx

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gemniii42 | # 128 | 2008-06-01, 01:36 | Report

    Originally Posted by tagazok View Post
    OK Houston, I have a problem.
    <snip>
    So, what is wrong with my tablet?
    thx
    It could just be the operator.
    I had the same result. Then when I reviewed the thread and found the command "xrandr -o left" it worked. Look back in this thread.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tagazok | # 129 | 2008-06-01, 03:25 | Report

    I tried a few hours ago and it said something like Xlib error randr does not exist for display 0 or something like that but it seems to work now

    It's awsome (for internet ant canola), thank you

    Edit | Forward | Quote | Quick Reply | Thanks

     
    windzilla | # 130 | 2008-06-05, 17:57 | Report

    after installing this on a freshly flashed n810 everything seems to run nicely for a bit, but at some point, while surfing the web or doing something non web-related, My n810 freezes and reboots.

    The only other program I installed was becomeroot. the crashes happen regardless of weather i have even used the portrait view. I have tried a reflash and reinstall a few times with the same outcome.

    I feel that this is a problem somehow involving the kernel because if I use the install but only allow for xomap (on a completely re-flashed device) and deny flashing* the kernel I don't experience the problem. (i do get some UI issues with home/power button obviously)

    also My own reboot method after install is not the vi command but rather just turn on/off without being plugged in. any way this could cause the problem?

    anyway I'm pretty new to all this and it is a learning process so any help would be appreciated.

    I really love how it works in portrait mode, but this freeze/reboot has got to go.

    Thanks

    *i think i say flash to much

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 13 of 26 | Prev | 3   11     12   13   14     15   23 | Next | Last
vBulletin® Version 3.8.8
Normal Logout