Giter VIP home page Giter VIP logo

Comments (6)

A124Bob avatar A124Bob commented on August 15, 2024 2

Fixed! Touch is running!
I connected the Micro-USB (power and data) of the display to the Pi USB.

from lcd-show.

goodtft avatar goodtft commented on August 15, 2024

from lcd-show.

gauone avatar gauone commented on August 15, 2024

Hi,

Does the touch function needs a software on a 3.5 inch RPi Display? I also have the screen running without any touch functionality… I downloaded the "Raspbian Stretch with desktop and recommended software" and I used a "dd" command without using SDFormatter or Win32DiskImager for step 1. However, I rigorously followed step 2 and 3.

Thank you for your help

gauone

from lcd-show.

A124Bob avatar A124Bob commented on August 15, 2024

I have followed your installation guide using Raspbian-2017-03-02 on an Pi3b with LCD7C 1024x768 screen.

Both devices are powered from a single 5V 2.5amp power supply, the screen piggybacking power off the Pi via USB

I am able to get the screen up and running but without any Touchscreen functionality.

Anyone have an success trying to get touchscreen functions working with this screen?

Have the same problem by a joy-it RB-LCD-7-2 Display (also same to Waveshare 7")
LCD is running, but touch is not operating. (Crankshaft OpenCarOS NG Alpha-5 2019-06-08)
Tried X11, Dev-Mode and install driver.
Can't put a USB-Cable between Pi and Display. The display has only Micro-USB for Power and HDMI.

tar xzvf /boot/LCD-show-160701.tar.gz
cd LCD-show/
chmod +x LCD7C-show
./LCD7C-show

from lcd-show.

dlmiles avatar dlmiles commented on August 15, 2024

Attempt 1) To confirm for me @A124Bob the 7" model touchscreen did not work when:

Micro USB port 1: Attached to RPI 4 (which is powered by its own USB PSU)
Micro USB port 2: Attached to another USB PSU (with current ampere rating exceeding that needed to power an RPI 4)

When in this state I get (and touchscreen not working):

$ lsusb
Bus 001 Device 006: ID 4348:55e0 WinChipHead

Attempt 2) When I disconnect that arrangement and make it:

Micro USB port 1: USB lead attached to RPI 4
Micro USB port 2: USB lead attached to RPI 4 (another port)

Now I get in this state (and touchscreen still not working):

$ lsusb
Bus 001 Device 030: ID 1a86:e2e3 QinHeng Electronics
Bus 001 Device 031: ID 1a86:e2e3 QinHeng Electronics

What is happening is in /var/log/Xorg.0.log it keeps finding the USB device twice and ping-pong:

 $ grep Class /var/log/Xorg.0.log
[    12.667] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    12.667] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    12.667] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    13.983] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    13.983] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    13.983] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    15.313] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    15.313] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    15.313] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    16.497] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    16.497] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    16.497] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    17.776] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    17.776] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    17.776] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    18.504] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    18.504] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    18.504] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    19.123] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    19.123] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    19.123] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    19.880] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    19.880] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    19.880] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    20.493] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    20.493] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    20.493] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    21.263] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "evdev touchscreen catchall"
[    21.263] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"
[    21.263] (**) wch.cn USB2IIC_CTP_CONTROL: Applying InputClass "libinput touchscreen catchall"

Attempt 3)

When I disconnect that arrangement and make it:

Micro USB port 1: USB lead attached to RPI 4
Micro USB port 2: Disconnected

Now I get in this state (and touchscreen is working):

$ lsusb
Bus 001 Device 003: ID 1a86:e2e3 QinHeng Electronics

This information is not exactly CLEAR in the documentation, specially when the device has 2 USB connectors and talks of power usage concerns.

from lcd-show.

humberry avatar humberry commented on August 15, 2024

Some micro usb cables have only power wires and no data wires (necessary for the touch function). I checked it with lsusb, thanks a lot.

from lcd-show.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.