No announcement yet.

Calibration for 4DPi-24-Hat

  • Filter
  • Time
  • Show
Clear All
new posts

  • Calibration for 4DPi-24-Hat

    I was successful in getting LXDE to appear on my new 4DPi-24-HAT and that was very nice. I was not able to determine how XINPUT_CALIBRATOR was installed on my Pi2.
    I was eventually able to follow these instructions
    to do:​
     sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb
    Then I was able to run xinput_calibrator from the "Menu > Run" command.

    I also discovered a new option "Menu > Perferences > Calibrate Touchscreen".

    This does not appear to be the expected sequence of steps from the instructions in Section 4.3 of the 4DPi-24-HAT Datasheet instructions.

    I did not find any feedback to enter into the /etc/X11/xorg.conf.d/99-calibration.conf file.

    Ok, perhaps I can get a Linux merit badge with this solution.
    I brought up an LXDE terminal and entered this command:

    [INDENT]    xinput_calibrator > cal.txt[/INDENT]
    I then calibrated the screen.

    Then using PUTTY from my Win7 box I did:

    [INDENT]     nano cal.txt [/INDENT]
    and deleted all the extra text at the start of the file before the instructions to "copy the stuff below to //etc/X11/xorg.conf.d/99-calibration.conf"
    after saving to 99-calibration.conf and exiting nano.

    I could then do:

    [INDENT]     sudo cp 99-calibration.conf /etc/X11/xorg.conf.d/99-calibration.conf[/INDENT]
    after wiping my brow and rebooting - TaDa - it works!

    To misquote Steven Wright: "Experience is what you have just after you need it"

    What did I miss? Was this a valid approach?