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


          • #6
            When do you expect the new kernel to be released?

            Best regards

            Comment


            • #7
              Hello,

              We just released 4DPi kernel compatible with the latest Raspbian Jessie release 2017-07-05-raspbian-jessie kernel version 4.9.

              To download and install files, enter the following commands in terminal/shell /SSH to download the kernel from the 4D Systems Server:

              $ wget http://www.4dsystems.com.au/download...35_v1.0.tar.gz
              $ sudo tar -xzvf 4d-hats_4-9-35_v1.0.tar.gz -C /

              The package automatically selects the kernel required for Pi1, Pi2 or Pi3 automatically.

              Hope this helps.

              Best regards,

              Paul

              Comment


              • #8
                Many thanks!

                Comment


                • #9
                  Hi
                  Unfortunately don't work again

                  download the latest version of Raspbian (Jessie release 2017-07-05)

                  installed new kernel with

                  $ wget http://www.4dsystems.com.au/download...35_v1.0.tar.gz
                  $ sudo tar -xzvf 4d-hats_4-9-35_v1.0.tar.gz -C /

                  installed and run xinput_calibrator following exactly the istruction of
                  http://www.4dsystems.com.au/productp...heet_R_2_6.pdf
                  page 7
                  step 4.3.
                  but the calibration failed


                  try also:

                  From this:

                  i2c-dev
                  #pwmbl
                  ar1020-i2c
                  #4dpi_touch

                  to this:

                  i2c-dev
                  #pwmbl
                  #ar1020-i2c
                  4dpi_touch

                  without result


                  How to do?
                  ​​​​​​​

                  Comment


                  • #10
                    Hi
                    some questions:
                    Last version of Raspian start with Systemd
                    there is any configuration difference compared to previous version?
                    is the calibration.conf read at startup?

                    Comment


                    • #11
                      .....Up...

                      Comment


                      • #12
                        Hello,

                        Would you like to open a technical support ticket by visiting http://www.4dsystems.com.au/support

                        Best regards

                        Paul

                        Comment

                        Working...
                        X