iMX portrait mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX portrait mode

5,075 Views
mariusoctavian
Contributor III

Hello,

I am trying to go in Portrait mode with SABRE iMX6 and 'eGalax Touch Screen,

using Kernel 3.0.35-2508-g54750ff. and uboot u-boot-mx6q-sabresd.bin

The Option Rotate CCW in xorg.conf works only if I comment out the vivante driver.

I really need the vivante inplace, because the media play is acceptable. Without it is terrible.

1. Is there a workaround to rotate and keep vivante in place ?

Section "Device"
    Identifier    "i.MX Accelerated Framebuffer Device"
    Driver        "fbdev"
#    Driver        "vivante"
    Option        "fbdev"        "/dev/fb0"
#    Option        "vivante_fbdev"    "/dev/fb0"
    Option        "Rotate"    "CCW"
EndSection

Second is the evdev touch Axis swap option which does not work, even the

xinput --list-props 11 <cr> reports the swapping setting was committed.

Device 'eGalax Touch Screen':

    Device Enabled (114):    1

    Coordinate Transformation Matrix (115):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000

    Device Accel Profile (232):    0

    Device Accel Constant Deceleration (233):    1.000000

    Device Accel Adaptive Deceleration (234):    1.000000

    Device Accel Velocity Scaling (235):    10.000000

    Evdev Axis Inversion (236):    0, 0

    Evdev Axis Calibration (237):    31935, 284, 33626, 869

    Evdev Axes Swap (238):    1

Thank you.

Labels (2)
0 Kudos
Reply
4 Replies

2,011 Views
henriroosen
Contributor I

I'm having the same issue: our product will have it's display rotated by 90-degrees.

The vivante driver doesn't seem to support any display rotation and the normal fbdev is not an option performance wise.

Does anyone have some workaround or early code available that enables hardware rotation?

0 Kudos
Reply

2,011 Views
mariusoctavian
Contributor III

Hi,

Does anyone know where the vivante source code drivers are located?

... I found the source in kernel, but there is noting more than meaningless entry points.

Also: I've tried:

echo NN > /sys/class/graphics/fb0/rotate

where NN id 0 1 2 3 4, and works only if the vivante driver is not loaded.

Any success out there. 

0 Kudos
Reply

2,011 Views
Dataedge
Contributor I

Hi all,

about Vivante drivers screen rotation: like you, our product will have it's display rotated by 270-degrees (counter clockwise CCW).

Any news about that ?

0 Kudos
Reply

2,011 Views
mariusoctavian
Contributor III

Rotation touch work around:

Is working with matrix as:

  • xinput set-prop "eGalax Touch Screen" 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1

which I place it in ~/.xitinit

0 Kudos
Reply