2

I've been trying to get a touchscreen monitor to work with my Raspberry Pi 3. The monitor is 15", externally powered, and is to be connected via HDMI and USB for the touchscreen interface. The HDMI works fine, however the USB is not detected by the PI.

With the USB plugged in I listed the USB device with lsusb. Here are the results:

Bus 001 Device 006: ID 1c4f:0026 SiGma Micro Keyboard
Bus 001 Device 005: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

As you can see my USB keyboard and mouse are successfully detected, however no sign of the touch controller.

Next I cleared kernel message buffer with sudo dmesg -C and printed it with dmesg both after plugging in and pulling out the USB cable of the touchscreen, but there were no new messages in the buffer.

At this point I would've thought the device is dead, however after plugging it into my windows laptop it was instantly detected, and after installing a driver it was operating perfectly. I took a screenshot of the device properties in Windows.

The power consumption of the device shouldn't be an issue, since these are usually low power devices, but just to make sure, I did the same tests with a powered USB 2.0 hub connected to the PI and got the same results.

My system (uname -a):

Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux

At this point I have no idea how should I get this device to work, so any advice is appreciated.

EDIT: I have tried running a live Raspberry PI Desktop on my laptop and after plugging in the touchscreen it was working perfectly. So I guess the source of the problem is the different hardware. Any ideas what could cause this?

SOLUTION: Okay, I have managed to find out what cause the problem. I was using an open-frame monitor which was custom built by a local company and as I later figured, they didn't do a particularly good job.

I disassembled the monitor to see the touch controller. The touch controller is marked ETP-4500UG-B. After finding the datasheet and some documentation the touch controller seemed perfect however the wiring seemed iffy inside the monitor, as the controller's connections wired onto an existing usb connector on a different board.

After checking the connections I realised the Vbus(5v) connection of the touch controller was not connected to the usb socket, but to some internal 5V supply. The voltages were perfect, only the touch controller wasn't powered by the USB host. Since the ground was still common, the host should've been able to communicate with the slave, however it seems like the PI couldn't for some reason.

After fixing the USB connections inside the monitor, it was instantly working. After calibration using xinput-calibrator (by following some tutorials) the monitor was working like a charm.

3
  • Take a look at this artice How to Setup an LCD Touchscreen on the Raspberry Pi which provides quite a bit of details on setting up an LCD touchscreen. The article describes a number of configuration changes that need to be made for the LCD display and the touchscreen sensors. I hope that it helps and I would like to know if it does as I want to do something similar. Sep 21, 2017 at 4:20
  • Thanks for the reply. I've checked out the tutorial, however it seems to mostly apply to touchscreens connected via GPIO. Mine is basically a touch monitor connected via HDMI and USB. After couple of days of trial and error, I'm starting to feel like the USB touch controller is somehow incompatible with the Pi hardware. I will consider taking the monitor apart and trying to interface with GPIO, but that will be a last resort. Very useful tutorial nevertheless
    – 1nsane
    Sep 21, 2017 at 11:51
  • 1
    I am also interested in this topic so thanks for reply. See also this Raspberry Pi forum discussion Enabling USB Touch Screen - How? which mentions success with single touch and an investigation along with a link to a Github hosted driver at github.com/bsteinsbo/rpi_touch_driver and also see raspberrypi.stackexchange.com/questions/49834 Sep 21, 2017 at 13:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.