[SOLVED] Odroid VU7 Screen, Touch Not Working

Post Reply
stepy
Posts: 10
Joined: Tue Sep 10, 2019 11:12 pm
languages_spoken: english
ODROIDs: Odroid C2, N2, VU7
Has thanked: 6 times
Been thanked: 1 time
Contact:

[SOLVED] Odroid VU7 Screen, Touch Not Working

Unread post by stepy » Tue Sep 10, 2019 11:57 pm

Hi,

Have an Odroid N2, PSU and VU7 Touch Screen, that I bought from Hardkernel about a week ago.

Image on the screen seems to work OK.

Touch from the screen does not seem to work. It does nothing when you touch the screen.

Tested it with:
Ubuntu Minimal, which has a basic desktop,
Armbian Stretch Minimal,
Armbian Stretch with LXDE, and also
Armbian Buster Minimal.

Spent several days searching the web for solutions, but could find nothing that works, also a lot of the posts are quite a few years old.

The device, USB ID 0EEF:0005 D-WAV Scientific, is listed when I use: lsusb

and the module, dwav_usb_mt is listed when I use: lsmod

But there is no touch device listed when I use: xinput

Also cannot find any reference to a touch device in any of the desktops or settings, etc. Only the screen, mouse and keyboard.

Question: How to get it working?

Is there a method to determine if the problem is:

Hardware: N2, PSU, VU7, connectors, etc.

or

Software?

Any help would be very much appreciated, thanks.

User avatar
odroid
Site Admin
Posts: 32508
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 181 times
Been thanked: 349 times
Contact:

Re: Odroid VU7 Screen, Touch Not Working

Unread post by odroid » Wed Sep 11, 2019 8:36 am

If you use our Ubuntu image, change this line in /media/boot/boot.ini file to activate our Vu series touchscreen device driver.
https://github.com/mdrjr/n2_bootini/blo ... t.ini#L100
These users thanked the author odroid for the post:
stepy (Fri Oct 11, 2019 4:12 am)

stepy
Posts: 10
Joined: Tue Sep 10, 2019 11:12 pm
languages_spoken: english
ODROIDs: Odroid C2, N2, VU7
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: Odroid VU7 Screen, Touch Not Working

Unread post by stepy » Thu Sep 12, 2019 12:11 am

Hi,

Thanks very much for your reply this was very helpful.

The line of code that you highlighted in the /media/boot.ini file:

if test "${hdmimode}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi

already existed in my fresh installation of Ubuntu.

However, a few lines above this, I found the following code:

# Hardkernel ODROID-VU7 support
# By default VU7 support is disabled
setenv disable_vu7 "true"
# setenv disable_vu7 "false"

changed to:

setenv disable_vu7 "false"

Then rebooted and touch is now working. Thanks again for your help.

If possible could you further advise, is there a similar equivalent line of code in Debian operating system, such as Armbian Stretch or Buster?
Was intending to use Armbian minimal headless with no desktop and using xorg for the screen.

Is the VU7 enable mechanism documented anywhere?

If I had not had your kind help, where should I have started my search, in order to quickly and systematically find the relevant settings?

Thank you

User avatar
mad_ady
Posts: 6783
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 215 times
Been thanked: 164 times
Contact:

Re: Odroid VU7 Screen, Touch Not Working

Unread post by mad_ady » Thu Sep 12, 2019 12:48 am

That option gets passed to the kernel as a boot parameter. It gets parsed by a script in the initrd I think called something like c2_init.sh
These users thanked the author mad_ady for the post:
stepy (Fri Oct 11, 2019 4:12 am)

stepy
Posts: 10
Joined: Tue Sep 10, 2019 11:12 pm
languages_spoken: english
ODROIDs: Odroid C2, N2, VU7
Has thanked: 6 times
Been thanked: 1 time
Contact:

Re: Odroid VU7 Screen, Touch Not Working

Unread post by stepy » Thu Sep 12, 2019 5:58 am

Hi

Thanks for your help.

Tested in a fresh install of Armbian Buster Server.

Could not find the initrd file, but your suggestion put me on the right tracks.

In the /boot directory, found the file boot.ini

which is similar to the ubuntu /media/boot/boot.ini file, mentioned above.

added

# Hardkernel ODROID-VU7 support
# By default VU7 support is disabled
# setenv disable_vu7 "true"
setenv disable_vu7 "false"

and also

# VU7 Settings
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi

and also added

${hid_quirks}

to the boot args c, under the comment

# Boot Args c

Rebooted and then the touch works.

Thanks for the help

Post Reply

Return to “ODROID-VU”

Who is online

Users browsing this forum: No registered users and 0 guests