Yocto / i.Mx.6: How to support touch on touchscreen monitor



  • I am working on Nitrogen6x board that runs on Yocto 2.1 with Qt 5.6.2 support. I have developed a Qt application that shall support the input options like USB Keyboard, Mouse and Touchscreen and shall support a Full HD resolution display.

    I have connected a touchscreen monitor which supports Full HD resolution to the Nitrogen board using HDMI to VGA converter cable, and my application was working fine with the correct resolution and supports plug and play keyboard and mouse connections.

    BUT, the touch response on the touchscreen monitor was not received by the Qt Framework and hence the touch interface was not working for me as expected.

    When I plug the mouse am seeing the below information on my nitrogen board console:

    ~ # usb 1-1.1: new low-speed USB device number 8 using ci_hdrc
    input: HID 413c:3010 as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/0003:413C:3010.0006/input/input3
    hid-generic 0003:413C:3010.0006: input: USB HID v1.00 Mouse [HID 413c:3010] on usb-ci_hdrc.1-1.1/input0
    

    But, When I plug the touchscreen monitor am only seeing this:

    ~ # usb 1-1.1: new full-speed USB device number 7 using ci_hdrc
    

    I was expecting that the touch screen interface will get automatically detected and will be passed as a input plugin to the Qt application.

    I have run make menuconfig and have enabled USB Touch screen rebuilt the kernel. But, still am noticing the below error messages while the kernel is booting:

    Galcore version 5.0.11.41671
    egalax_ts 2-0004: Failed to read firmware version
    egalax_ts: probe of 2-0004 failed with error -5
    ft5x06-ts 2-0038: reset fffffffe
    ft5x06-ts 2-0038: Could not detect touch screen -19.
    

    Am some how missing to configure the right kernel options to detect the touchscreen. any help on this is appreciable. Thanks in advance.



  • @chaithubk It seems that you have selected wrong driver. What touchscreen it is? Show outputs of dmesg and lsusb commands when touchscreen is connected. Are you sure that touchscreen is working properly?



  • @tomasz3dk I tried on two different touch screen monitors 1. Elo Touch Panel and 2. Dell S2240T and both the touchscreen monitors are working properly.

    These pictures below shows the drivers that I have enabled in my menu config:
    0_1493210660404_Screenshot__menuonfig_1.png

    Page:2
    0_1493210667713_Screenshot_menuconfig_2.png

    And my dmesg log appears as below:

    dmesg
    Booting Linux on physical CPU 0x0
    Initializing cgroup subsys cpu
    Linux version 4.1.15-1.0.0_ga+yocto+g76c24a0 (ubuntu@ubuntu-desktop) (gcc version 5.3.0 (GCC) ) #7 SMP PREEMPT Wed Apr 26 16:11:45 IST 2017
    CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine model: Freescale i.MX6 Quad Nitrogen6x Board
    Reserved memory: created CMA memory pool at 0x3c000000, size 320 MiB
    Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
    Memory policy: Data cache writealloc
    On node 0 totalpages: 262144
    free_area_init_node: node 0, pgdat 80d4dfc0, node_mem_map ab757000
      Normal zone: 2048 pages used for memmap
      Normal zone: 0 pages reserved
      Normal zone: 262144 pages, LIFO batch:31
    PERCPU: Embedded 12 pages/cpu @ab703000 s17164 r8192 d23796 u49152
    pcpu-alloc: s17164 r8192 d23796 u49152 alloc=12*4096
    pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
    Kernel command line: mxc_hdmi.only_cea=1 console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait fixrtc root=/dev/mmcblk0p2
    PID hash table entries: 4096 (order: 2, 16384 bytes)
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 697788K/1048576K available (8196K kernel code, 316K rwdata, 2476K rodata, 1024K init, 444K bss, 23108K reserved, 327680K cma-reserved, 0K highmem)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
        lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
        pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
        modules : 0x7f000000 - 0x7fe00000   (  14 MB)
          .text : 0x80008000 - 0x80b6c0c4   (11665 kB)
          .init : 0x80c00000 - 0x80d00000   (1024 kB)
          .data : 0x80d00000 - 0x80d4f140   ( 317 kB)
           .bss : 0x80d52000 - 0x80dc1360   ( 445 kB)
    SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Preemptible hierarchical RCU implementation.
    	Additional per-CPU info printed with stalls.
    NR_IRQS:16 nr_irqs:16 16
    L2C-310 erratum 769419 enabled
    L2C-310 enabling early BRESP for Cortex-A9
    L2C-310 full line of zeros enabled for Cortex-A9
    L2C-310 ID prefetch enabled, offset 16 lines
    L2C-310 dynamic clock gating enabled, standby mode enabled
    L2C-310 cache controller enabled, 16 ways, 1024 kB
    L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
    mxc_clocksource_init 3000000
    Switching to timer-based delay loop, resolution 333ns
    sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
    clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
    Console: colour dummy device 80x30
    Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    AppArmor: AppArmor initialized
    Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x10100000 - 0x10100058
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    Brought up 4 CPUs
    SMP: Total of 4 processors activated (24.00 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    cpuidle: using governor ladder
    cpuidle: using governor menu
    CPU identified as i.MX6Q, silicon rev 1.2
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    hw-breakpoint: maximum watchpoint size is 4 bytes.
    imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
    imx-gpc 20dc000.gpc: no fsl,ldo-bypass found!
    mxs-dma 110000.dma-apbh: initialized
    2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 25, base_baud = 5000000) is a IMX
    21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 301, base_baud = 5000000) is a IMX
    console [ttymxc1] enabled
    21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 302, base_baud = 5000000) is a IMX
    SCSI subsystem initialized
    libata version 3.00 loaded.
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
    2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
    i2c i2c-0: IMX I2C adapter registered
    i2c i2c-0: can't use DMA
    i2c i2c-1: IMX I2C adapter registered
    i2c i2c-1: can't use DMA
    i2c i2c-2: IMX I2C adapter registered
    i2c i2c-2: can't use DMA
    Linux video capture interface: v2.00
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    PTP clock support registered
    imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
    imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
    mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
    mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
    MIPI CSI2 driver module loaded
    Advanced Linux Sound Architecture Driver Initialized.
    Bluetooth: Core ver 2.20
    NET: Registered protocol family 31
    Bluetooth: HCI device and connection manager initialized
    Bluetooth: HCI socket layer initialized
    Bluetooth: L2CAP socket layer initialized
    Bluetooth: SCO socket layer initialized
    NetLabel: Initializing
    NetLabel:  domain hash size = 128
    NetLabel:  protocols = UNLABELED CIPSOv4
    NetLabel:  unlabeled traffic allowed by default
    Switched to clocksource mxc_timer1
    AppArmor: AppArmor Filesystem Enabled
    NET: Registered protocol family 2
    TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    UDP hash table entries: 512 (order: 2, 16384 bytes)
    UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    PCI: CLS 0 bytes, default 64
    CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
    hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    imx rpmsg driver is registered.
    Bus freq driver module loaded
    futex hash table entries: 1024 (order: 4, 65536 bytes)
    audit: initializing netlink subsys (disabled)
    audit: type=2000 audit(0.880:1): initialized
    VFS: Disk quotas dquot_6.6.0
    VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    NFS: Registering the id_resolver key type
    Key type id_resolver registered
    Key type id_legacy registered
    fuse init (API version 7.23)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
    fbcvt: 1920x1080@60: CVT Name - 2.073M9
    mxc_sdc_fb fb@2: registered mxc display driver hdmi
    mxc_sdc_fb fb@2: 1920x1080 h_sync,r,l: 44,88,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz
    imx-ipuv3 2800000.ipu: try ipu internal clk
    imx-ipuv3 2800000.ipu: disp=0, pixel_clk=148500000 148500000 parent=148500000 div=1
    find_field: [0] = 0x7ff, max=23
    find_field: [1] = 0xfff, max=23
    find_field: [2] = 0x17ff, max=23
    find_field: [0] = 0x820, max=29
    imx-ipuv3 2800000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
    mxc_sdc_fb fb@2: 1920x1080 h_sync,r,l: 44,88,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz
    imx-ipuv3 2800000.ipu: try ipu internal clk
    imx-ipuv3 2800000.ipu: disp=0, pixel_clk=148500000 148500000 parent=148500000 div=1
    Console: switching to colour frame buffer device 240x67
    add tfp410 i2c driver
    imx-sdma 20ec000.sdma: no iram assigned, using external mem
    imx-sdma 20ec000.sdma: no event needs to be remapped
    imx-sdma 20ec000.sdma: loaded firmware 3.3
    imx-sdma 20ec000.sdma: initialized
    imx sema4 driver is registered.
    [drm] Initialized drm 1.1.0 20060810
    [drm] Initialized vivante 1.0.0 20120216 on minor 0
    mxc_sdc_fb fb@2: 1920x1080 h_sync,r,l: 44,88,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz
    imx-ipuv3 2800000.ipu: try ipu internal clk
    brd: module loaded
    loop: module loaded
    [max77823_init] start 
    ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024
    ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480
    ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000
    ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000
    imx-ipuv3 2800000.ipu: disp=0, pixel_clk=148500000 148500000 parent=148500000 div=1
    ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
    ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 
    scsi host0: ahci-imx
    ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 312
    m25p80 spi0.0: sst25vf016b (2048 Kbytes)
    3 ofpart partitions found on MTD device spi0.0
    Creating 3 MTD partitions on "spi0.0":
    0x000000000000-0x0000000c0000 : "U-Boot"
    0x0000000c0000-0x0000000c2000 : "env"
    0x0000000c2000-0x000000200000 : "splash"
    spi_imx 2008000.ecspi: probed
    CAN device driver interface
    2090000.flexcan supply xceiver not found, using dummy regulator
    flexcan 2090000.flexcan: device registered (reg_base=c0a88000, irq=34)
    2188000.ethernet supply phy not found, using dummy regulator
    pps pps0: new PPS source ptp0
    libphy: fec_enet_mii_bus: probed
    fec 2188000.ethernet eth0: registered PHC device 0
    usbcore: registered new interface driver asix
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    usbcore: registered new interface driver cdc_acm
    cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver usbserial
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial support registered for generic
    usbcore: registered new interface driver cp210x
    usbserial: USB Serial support registered for cp210x
    usbcore: registered new interface driver ftdi_sio
    usbserial: USB Serial support registered for FTDI USB Serial Device
    usbcore: registered new interface driver keyspan
    usbserial: USB Serial support registered for Keyspan - (without firmware)
    usbserial: USB Serial support registered for Keyspan 1 port adapter
    usbserial: USB Serial support registered for Keyspan 2 port adapter
    usbserial: USB Serial support registered for Keyspan 4 port adapter
    usbcore: registered new interface driver pl2303
    usbserial: USB Serial support registered for pl2303
    usbcore: registered new interface driver qcserial
    usbserial: USB Serial support registered for Qualcomm USB modem
    2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
    setup_reset_gpios:-2, flags 0
    setup_reset_gpios:204, flags 1
    mxc_sdc_fb fb@2: 1920x1080 h_sync,r,l: 44,88,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz
    imx-ipuv3 2800000.ipu: try ipu internal clk
    setup_reset_gpios:-2, flags 0
    imx-ipuv3 2800000.ipu: disp=0, pixel_clk=148500000 148500000 parent=148500000 div=1
    2184200.usb supply vbus not found, using dummy regulator
    ci_hdrc ci_hdrc.1: EHCI Host Controller
    ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
    ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    mousedev: PS/2 mouse device common for all mice
    egalax_ts 2-0004: Failed to read firmware version
    egalax_ts: probe of 2-0004 failed with error -5
    usbcore: registered new interface driver usbtouchscreen
    rtc-isl1208 0-006f: chip found, driver version 0.3
    rtc-isl1208 0-006f: rtc core: registered rtc-isl1208 as rtc0
    rtc-isl1208 0-006f: rtc power failure detected, please set clock.
    check_alarm_past: alarm in the past
    snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
    i2c /dev entries driver
    mxc_v4l2_output v4l2_out: V4L2 device registered as video16
    mxc_v4l2_output v4l2_out: V4L2 device registered as video17
    imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
    device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    sdhci-pltfm: SDHCI platform and OF driver helper
    /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
    sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
    mmc2: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
    /soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified
    sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode
    sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO
    sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
    mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
    /soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified
    sdhci-esdhc-imx 219c000.usdhc: could not get ultra high speed state, work on normal mode
    sdhci-esdhc-imx 219c000.usdhc: Got CD GPIO
    sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found
    mmc1: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
    mxc_vpu 2040000.vpu_fsl: VPU initialized
    mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
    caam 2100000.caam: Entropy delay = 3200
    caam 2100000.caam: Instantiated RNG4 SH0
    ata1: SATA link down (SStatus 0 SControl 300)
    ahci-imx 2200000.sata: no device found, disabling link.
    ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug
    caam 2100000.caam: Instantiated RNG4 SH1
    caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524)
    caam 2100000.caam: job rings = 2, qi = 0
    usb 1-1: new high-speed USB device number 2 using ci_hdrc
    mmc0: host does not support reading read-only switch, assuming write-enable
    mmc0: new high speed SDHC card at address aaaa
    mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
     mmcblk0: p1 p2
    caam algorithms registered in /proc/crypto
    caam_jr 2101000.jr0: registering rng-caam
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    sgtl5000 0-000a: sgtl5000 revision 0x11
    hub 1-1:1.0: USB hub found
    hub 1-1:1.0: 3 ports detected
    mxc_sdc_fb fb@2: 640x480 h_sync,r,l: 96,16,48  v_sync,l,u: 2,10,33 pixclock=25175000 Hz
    imx-ipuv3 2800000.ipu: try ipu internal clk
    sgtl5000 0-000a: Using internal LDO instead of VDDD
    imx-ipuv3 2800000.ipu: disp=0, pixel_clk=25175000 25142857 parent=264000000 div=10
    imx-sgtl5000 sound: sgtl5000 <-> 2028000.ssi mapping ok
    imx-audio-hdmi sound-hdmi: hdmi-hifi <-> soc:hdmi_audio@00120000 mapping ok
    NET: Registered protocol family 26
    NET: Registered protocol family 10
    sit: IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    can: controller area network core (rev 20120528 abi 9)
    NET: Registered protocol family 29
    can: raw protocol (rev 20120528)
    can: broadcast manager protocol (rev 20120528 t)
    can: netlink gateway (rev 20130117) max_hops=1
    Bluetooth: RFCOMM TTY layer initialized
    Bluetooth: RFCOMM socket layer initialized
    Bluetooth: RFCOMM ver 1.11
    Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    Bluetooth: BNEP filters: protocol multicast
    Bluetooth: BNEP socket layer initialized
    8021q: 802.1Q VLAN Support v1.8
    rfkill_gpio bt_rfkill: bt_rfkill device registered.
    Key type dns_resolver registered
    Registering SWP/SWPB emulation handler
    AppArmor: AppArmor sha1 policy hashing enabled
    mxc_sdc_fb fb@2: 1920x1080 h_sync,r,l: 44,88,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz
    imx-ipuv3 2800000.ipu: try ipu internal clk
    imx-ipuv3 2800000.ipu: disp=0, pixel_clk=148500000 148500000 parent=148500000 div=1
    imx6q-pcie 1ffc000.pcie: phy link never came up
    imx6q-pcie 1ffc000.pcie: failed to initialize host
    imx6q-pcie: probe of 1ffc000.pcie failed with error -22
    rtc-isl1208 0-006f: hctosys: unable to read the hardware clock
    wlan-en: disabling
    usb_otg_vbus: disabling
    ALSA device list:
      #0: imx6q-nitrogen6x-sgtl5000
      #1: imx-hdmi-soc
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    devtmpfs: mounted
    Freeing unused kernel memory: 1024K (80c00000 - 80d00000)
    usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
    hub 1-1.1:1.0: USB hub found
    hub 1-1.1:1.0: 4 ports detected
    udevd[201]: starting version 3.1.5
    random: udevd urandom read with 25 bits of entropy available
    usb 1-1.1.1: new low-speed USB device number 4 using ci_hdrc
    input: gpio-keys as /devices/soc0/gpio-keys/input/input0
    Galcore version 5.0.11.41671
    tc358743_mipi 1-000f: no sensor pwdn pin available
    get_pixelformat: YUV 4:2:2 8-bit (56595559, 1e)
    tc358743_probe: format: 56595559, capture mode: 0 fps: 60 width: 640 height: 480
    1-000f supply DGPO not found, using dummy regulator
    input: PixArt HP USB Optical Mouse as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1.1/1-1.1.1:1.0/0003:03F0:094A.0001/input/input1
    power_control: 1
    tc_standby: powerdown=0, power_gp=0xfffffffe
    hid-generic 0003:03F0:094A.0001: input: USB HID v1.11 Mouse [PixArt HP USB Optical Mouse] on usb-ci_hdrc.1-1.1.1/input0
    adv7180 2-0020: adv7180_get_gpios: pwn-gpios flags(1 -> 0)
    tc358743_read_reg:reg=0 ret=-5
    adv7180 2-0020: adv7180_get_gpios: rst-gpios flags(1 -> 0)
    tc358743_probe:cannot find camera
    adv7180_gpio_state: active=0, rst-gpios(78)=0x1
    power_control: 0
    tc_standby: powerdown=1, power_gp=0xfffffffe
    adv7180_probe: cea861=0
    adv7180_gpio_state: active=0, pwn-gpios(77)=0x1
    tc358743_probe: failed, error=-19
    adv7180 2-0020: get mclk failed
    adv7180 2-0020: adv7180_read:read reg error: reg=11 ret=-5
    adv7180: probe of 2-0020 failed with error -5
    usb 1-1.1.3: new low-speed USB device number 5 using ci_hdrc
    Goodix-TS 2-0014: i2c test failed attempt 1: -5
    Goodix-TS 2-0014: i2c test failed attempt 2: -5
    input: Dell Dell USB Keyboard as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.0/0003:413C:2003.0002/input/input2
    Goodix-TS 2-0014: I2C communication failure: -5
    Goodix-TS: probe of 2-0014 failed with error -5
    hid-generic 0003:413C:2003.0002: input: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-ci_hdrc.1-1.1.3/input0
    usb 1-1.1.4: new full-speed USB device number 6 using ci_hdrc
    Goodix-TS 2-005d: i2c test failed attempt 1: -5
    Goodix-TS 2-005d: i2c test failed attempt 2: -5
    Goodix-TS 2-005d: I2C communication failure: -5
    Goodix-TS: probe of 2-005d failed with error -5
    ft5x06-ts 2-0038: reset fffffffe
    ft5x06-ts 2-0038: Could not detect touch screen -19.
    ftdi_sio 1-1.1.4:1.0: FTDI USB Serial Device converter detected
    usb 1-1.1.4: Detected FT232RL
    usb 1-1.1.4: FTDI USB Serial Device converter now attached to ttyUSB0
    FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    ov5640_read_reg:write reg error:reg=300a
    camera ov5640 is not found
    ili210x_i2c 2-0041: No platform data!
    update_device_addr: ov5640_mipi ret=-5
    ili210x_i2c 2-0041: i2c transfer failed
    ili210x_i2c 2-0041: Failed to get firmware version, err: -5
    ili210x_i2c: probe of 2-0041 failed with error -5
    tsc2004_reset: write_cmd -5
    tsc2004 2-0048: Failed to reset TSC -5
    tsc2004: probe of 2-0048 failed with error -5
    ov5640_read_reg(mipi):reg=300a ret=-5
    camera ov5640_mipi is not found
    update_device_addr: ov5642 ret=-5
    ov5642_read_reg:write reg error:reg=300a
    camera ov5642 is not found
    mxc_v4l_open: Mxc Camera no sensor ipu0/csi0
    mxc_v4l_open: Mxc Camera no sensor ipu1/csi1
    mxc_v4l_open: Mxc Camera no sensor ipu1/csi0
    mxc_v4l_open: Mxc Camera no sensor ipu0/csi0
    EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ9021 Gigabit PHY] (mii_bus:phy_addr=2188000.ethernet:06, irq=65)
    IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    using random self ethernet address
    using random host ethernet address
    using host ethernet address: 00:19:b8:00:00:01
    using self ethernet address: 00:19:b8:00:00:02<6>usb0: HOST MAC 00:19:b8:00:00:01
    usb0: MAC 00:19:b8:00:00:02
    using random self ethernet address
    using random host ethernet address
    g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    g_ether gadget: g_ether ready
    IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    random: nonblocking pool is initialized
    mxc_sdc_fb fb@2: 1920x1080 h_sync,r,l: 44,88,148  v_sync,l,u: 5,4,36 pixclock=148500000 Hz
    imx-ipuv3 2800000.ipu: try ipu internal clk
    imx-ipuv3 2800000.ipu: disp=0, pixel_clk=148500000 148500000 parent=148500000 div=1
    fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
    IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    

    lsusb log when I connected Elo Touch Panel appears as below:

    ~ # lsusb
    Bus 001 Device 005: ID 413c:2003  -> Dell Keyboard
    Bus 001 Device 004: ID 03f0:094a   -> HP Optical Mouse
    Bus 001 Device 003: ID 2109:2812  -> VIA Labs, Inc., VL812 Hub
    Bus 001 Device 002: ID 0424:2513  -> Standard Microsystems Corp. 2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 -> Linux Foundation 2.0 root hub
    

    lsusb log when I connecte Dell S2240T appears as below:

    ~ # lsusb
    Bus 001 Device 005: ID 413c:2003  -> Dell Keyboard
    Bus 001 Device 004: ID 03f0:094a   -> HP Optical Mouse
    Bus 001 Device 003: ID 2109:2812  -> VIA Labs, Inc., VL812 Hub
    Bus 001 Device 002: ID 0424:2513  -> Standard Microsystems Corp. 2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 -> Linux Foundation 2.0 root hub
    Bus 001 Device 007: ID 2575:8753  -> **Unable to find any vendor specific data for this.** 
    

    And when I disconnect the Dell S2240T touch screen monitor this line Bus 001 Device 007: ID 2575:8753 disappears from the lsusb output.



  • @chaithubk I googled about solutions, and i think, that for Elo Touch you should choose "Elo TouchSystems 2700 Intellitouch controller device support" from Device Drivers > Input device support > Touchscreens, section USB Touchscreen Driver. And for Dell you should choose "HID Multitouch panels" from Device Drivers > HID support > Special HID drivers. Of course i could be wrong. One more thing about touchscreen drivers if you knew that you wouldn't use some devices in future disable support for them or if you don't knew compile them as modules. I saw in dmesg output that you have driver for touchscreen based on ft5x06 chip and probably will never use such device (it's connected over i2c).



  • @tomasz3dk Thanks for your help.

    I was missing the below part and after your reply I have selected the below option:
    Device Drivers -> HID Devices -> Special HID drivers -> HID Multitouch panels as an embedded driver (*) in my Kernel configuration, and then I have rebuilt the kernel by adding my touchscreen's Vendor ID and Device / Product ID to the files hid-ids.h and hid-multitouch.c at relevant places.

    My touchscreen is working as expected now.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.