Lemuntu

Screen rotate

2 248
r9ft  
I have 7" LCD connected. Need to rotate it on 180deg, for best view angle.
I've checked posts in a neighboring forums like banana pi etc (like this http://forum.lemaker.org/thread-22657-1-1.html) but did not get luck. Can anyone help with this? May be with another OS like raspbian or ubuntu.
r9ft  
Found some way...

Replace /usr/bin/X with /usr/bin/X.original
Replace /usr/bin/Xorg with /usr/bin/Xorg.original

write to /etc/xorg.conf:


# X.Org X server configuration file
Section "Device"
        Identifier      "lvds"
        Driver          "fbdev"
Option "Rotate" "UD"
EndSection

Section "Monitor"
        Identifier      "Monitor"
EndSection

Section "Screen"
        Identifier      "Screen"
        Monitor         "Monitor"
        Device          "Video Device"
EndSection


Limitation:
- need to add touch calibration (driver ctp_ft5x06)
- GPU acceleration is not working now (here is some info http://wiki.lemaker.org/LeMaker_Guitar:GPU_hardware_acceleration)


Any suggestions?

r9ft  
Touch calibration can be done by following:

apt-get install xinput-calibrator

then run xinput_calibrator in the terminal

copy output to xorg.conf

I have the following:

Section "InputClass"
    Identifier  "calibration"
    MatchProduct        "ft5x06"
    Option      "Calibration"   "1012 -2 593 9"
    Option      "SwapAxes"      "0"
EndSection


--

Besides this, I have added to /etc/modprobe.d/blacklist-guitar.conf  10" LCD driver:

blacklist ctp_gt9xx

If not, you will get error mesages (on dmesg output) because of module conflict on i2c bus:

[   18.795144] <<-GTP-ERROR->> I2C Read: 0x814E, 10 bytes failed, errcode: -6! Process reset.
[   18.803447] <<-GTP-INFO->> Guitar reset
[   18.917981] <<-GTP-ERROR->> I2C transfer error. errno:-6

[   18.925099] <<-GTP-ERROR->> I2C Read: 0x814E, 10 bytes failed, errcode: -6! Process reset.
[   18.933395] <<-GTP-INFO->> Guitar reset
[   19.048038] <<-GTP-ERROR->> I2C transfer error. errno:-6

[   19.055205] <<-GTP-ERROR->> I2C Read: 0x814E, 10 bytes failed, errcode: -6! Process reset.
[   19.063512] <<-GTP-INFO->> Guitar reset

---

So the question is still available: how to rotate screen when using GPU acceleration (XSGX, pvr_driver, etc) ?

You have to log in before you can reply Login | Sign Up

Points Rules