ODROID-VU7 Plus Touchscreen
Has anyone had success getting this VU7+ touch to work on Raspberry Pi?
It shows up as a RPI_TOUCH in dmesg
[ 1.956164] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 2.049525] usb 1-1.2: New USB device found, idVendor=16b4, idProduct=0705
[ 2.051994] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.054493] usb 1-1.2: Product: By ZH851
[ 2.056936] usb 1-1.2: Manufacturer: RPI_TOUCH
[ 2.059371] usb 1-1.2: SerialNumber: E�0U5852533
[ 2.069318] hid-generic 0003:16B4:0705.0001: hiddev0,hidraw0: USB HID v1.10 Device [RPI_TOUCH By ZH851] on usb-3f980000.usb-1.2/input0
The video part of it works just fine after getting the config.txt correct.
i.e.
hdmi_group=2
hdmi_drive=1
hdmi_mode=87
hdmi_cvt=1024 600 60 3 0 0 0
hdmi_force_hotplug=1dtoverlay=vc4-fkms-v3d,cma-256
dtoverlay=i2c-rtc,ds3231
dtoverlay=rpi-backlight
dtoverlay=rpi-ft5406
avoid_warnings=2dtparam=audio=on
dtparam=i2c1=on
dtparam=i2c_arm=on
enable_uart=1initial_turbo=30
start_x=1
kernel=u-boot.bin
However, the touch doesn't work.
I can read out hidraw0 and things show up when I touch the screen. Here are a few single finger touches:
rpi3:/ # od -tx1 /dev/hidraw0
0000000 aa 01 02 3a 00 d5 bb 01 02 58 00 00 02 58 00 00
*
0000040 aa 01 02 39 00 d5 bb 01 00 00 00 00 00 00 00 00
0000060 aa 01 02 37 00 d4 bb 01 00 00 00 00 00 00 00 00
0000100 aa 01 02 36 00 d3 bb 01 00 00 00 00 00 00 00 00
0000120 aa 01 02 37 00 d1 bb 01 02 58 00 00 02 58 00 00
0000140 aa 01 02 36 00 c6 bb 01 02 58 00 00 02 58 00 00
0000160 aa 00 00 00 00 00 bb 01 00 00 00 00 00 00 00 00
0000200 aa 00 00 00 00 00 bb 00 00 00 00 00 00 00 00 00
*
0000260 aa 00 00 00 00 00 bb 01 02 58 00 00 02 58 00 00
0000300 aa 00 00 00 00 00 bb 00 00 00 00 00 00 00 00 00
*
Is this a case of needing to port a driver or is there some configuration I can do to make it work?
Comments
It seems their driver isn't in the mainline yet (https://github.com/hardkernel/linux/commit/95dce33eb7503973a7aa899eadeb2039d64519a3). We'll check if this commit can be reused in our kernel, but since we don't have this touchscreen here, we are not able to test the result
@Griffin, it seems our kernel compiles just fine with their driver included. We will keep it for now, such that you can test it in the next release.
@Griffin, a short update: this display has the same USB device ID as the 7" by Waveshare (https://www.waveshare.com/wiki/7inch_HDMI_LCD_(B)). However, the Waveshare screen uses the standard USB driver, which is broken by the ODROIDs code. Since we can't support both screens at the same time, we will stay with Waveshare, as it's driver is already in the mainline Linux. Sorry.
Understood. Thanks for taking the time to look into it.