Touch Screen 7" PORTRAIT

Discussion in 'Accessories' started by Bill, Mar 30, 2014.

  1. Bill

    Bill New Member

    Joined:
    Mar 30, 2014
    Messages:
    1
    Likes Received:
    0
    Hi all,

    I would like to use the UDOO board with the proposed 7" touch screen in PORTRAIT mode.

    I choose the UBUNTU 12.0.4 LTS distribution but if I solve this problem on other distribution (like Debian) i can change. The following development are made on UBUNTU.

    I order to rotate the screen I change the Device Driver from "vivante" to "fbdev" in "xorg.conf " file. I this way the system take into account the rotation options. E.g.

    Code:
            
    Section "Device"
            Identifier      "i.MX Accelerated Framebuffer Device"
            Driver             "fbdev" #"vivante"
            Option          "RandRRotation" "on"
            Option          "Rotate" "CCW"
            Option          "fbdev"         "/dev/fb0"
            Option          "vivante_fbdev" "/dev/fb0"
            Option          "HWcursor"      "false"
    EndSection
    
    
    So Now I can not rotate the touch input. I know I have to change the 99-calibration.conf file like this:

    Code:
    Section "InputClass"
           Identifier "calibration"
           MatchProduct "sitronix-i2c-touch-mt"
           Option  "Calibration"   "797 49 474 18"
           Option  "SwapAxes"      "1"
           Option "InvertX" "0"
           Option "InvertY" "0"
    EndSection
    
    ... and, of course, the "xinput_calibrator" command can help me.

    But does not works. The feedback pointer on screen is still in wrong position and direction.
    I think this message in "Xorg.0.log " can help us:

    Code:
    [    59.560] (**) sitronix-i2c-touch-mt: Applying InputClass "calibration"
    [    59.560] (II) No input driver specified, ignoring this device.
    [    59.560] (II) This device may have been added with another device file.
    
    Seems to need a driver... I do not know.

    Thanks in advance to all give me a solution right or wrong... bye
     

Share This Page