Announcement

Collapse
No announcement yet.

Can't calibrate touch 4DPi-35II

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't calibrate touch 4DPi-35II

    Hi to All
    Is my first post

    I have a problem with touch screen of 4DPi-35II display
    Raspberry A+ with last Raspbian (upgraded today 30/03/2017) and 4dsystem Kernel (4d-hats-4-4-50_v1.0)

    Applied istruction of Datasheet revision 2.6
    Display works and touch need a calibration

    Installed xinput_calibration
    Start Raspberry from consolle
    FRAMEBUFFER=/dev/fb1 startx
    run xinput-calibrator
    with output created a new file
    /etc/X11/xorg.conf.d/99-calibration.conf

    After reboot touch screen remains not calibrated

    follow the output of xinput-calibrator

    Section "InputClass"
    Identifier "calibration"
    MatchProduct "AR1020 Touchscreen"
    Option "MinX" "3220"
    Option "MaxX" "662656"
    Option "MinY" "2799"
    Option "MaxY" "63146"
    Option "SwapXY" "0" # unless it was already set to 1
    Option "InvertX" "0" # unless it was already set
    Option "InvertY" "0" # unless it was already set
    EndSection

    May someone help me?
    Thank you in advance for answer


  • #2
    Second step
    I have copied 99-calibration.conf file in /usr/share/X11/xorg.conf.d/ without result
    anybody have some idea?

    Comment


    • #3
      akrobaticone,

      The 4DPi-24-HAT uses an AR1021 resistive touchscreen which is the default setting while the 4DPi-35II uses an TSC2046 which is compatible to the ADS7846 chip.
      For the 4DPi-35II you must make the following changes:

      sudo nano /etc/modules

      From this:

      i2c-dev
      #pwmbl
      ar1020-i2c
      #4dpi_touch

      to this:

      i2c-dev
      #pwmbl
      #ar1020-i2c
      4dpi_touch

      reboot and please try the touchscreen calibration procedure again.

      Best regards,

      Comment


      • #4
        Make changes in /etc/modules, and attempted again the calibration procedure without results
        Touch screen remains uncalibrated
        Last version of Raspbian has the Pixel Gui and systemd
        In this case procedure is the same?

        On datasheet in 99-calibration.conf there is the option "calibration" with "100 100 100 100"
        My xinput-calibration output is different (like the first post)
        is correct?

        Comment


        • #5
          akrobaticone,

          There is a bug in the latest 4DPi-Hats package 4d-hats-4-4-50_v1.0. I have referred this to our Senior Engineers.
          In the mean time, you can use the 4d-hats_4-4-34_v1.1.tar.gz. I have tested it with the latest Raspbian Image (Pixel)
          and it works.

          Best regards,

          Comment

          Working...
          X