2 Star 0 Fork 0

INNO-MAKER/lcd-3.5-inch-r-c

 / 详情

Calibrationn problem

待办的
创建于  
2020-05-27 19:21

Hi,
i have trouble with calibration touch.
I installed the drivers as described in the procedure.
While for calibration I used this procedure:

  • sudo apt-get install xinput-calibrator
  • sudo reboot
  • DISPLAY=:0.0 xinput_calibrator (conection with ssh)
  • In the calibration interface I clicked on the four calibration points
  • I copied the configuration parameters and past into/etc/X11/xorg.conf.d/99-calibration.conf and saved with nano editor with root privileges
  • sudo reboot

At the end of this procedure the touchscreen is not correctly calibrated.

Model: Raspberry pi 3B +
Firmware: Raspbian Buster - Linux version 4.19.97-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:15:58 GMT 2020
3.5 tft drivers used: PI3/4.19.97

My configuration file.

Config.txt

# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
#max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d
dtparam=i2c_vc=on
#dtoverlay=vc_mipi_imx327c
#dtoverlay=vc_mipi_ov9281

#Uncomment this to enable debug uart!
#enable_uart=1

#Uncomment this to enable DS3231 RTC !
dtoverlay=i2c-rtc,ds3231

#Uncomment this to enable ft6236 TFT capcitive touch screen !
dtoverlay=lcd35_spi,fps=60,speed=63000000,touch-swapxy=1,touch-invx=1

#Uncomment this to enable ft6x06 TFT capacitive touch screen!
#dtoverlay=lcd35_spi_ft6x06,fps=60,speed=32000000

#Uncomment this to enable ads7846 resistive touchscreen!
dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=1000000,keep_vref_on=1,swapxy=1,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900

cmdline.txt

console=serial0,115200 console=tty1 root=PARTUUID=ea7d04d6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

99-calibration.conf

Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "generic ft5x06 (11)"
        Option  "Calibration"   "22 409 160 468"
        Option  "SwapAxes"      "0"
EndSection

Can you help me please?

评论 (1)

musicaways 创建了任务
musicaways 修改了描述
musicaways 修改了描述
展开全部操作日志

Dear Customer,
Could you confirm with me that is Resistance or capacitors touch?

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
1
https://gitee.com/inno-maker/lcd-3.5-inch-r-c.git
git@gitee.com:inno-maker/lcd-3.5-inch-r-c.git
inno-maker
lcd-3.5-inch-r-c
lcd-3.5-inch-r-c

搜索帮助

A270a887 8829481 3d7a4017 8829481