Resetting the touch screen on VU7+

Post Reply
Sebas_Ledesma
Posts: 85
Joined: Thu Jun 08, 2017 2:49 am
languages_spoken: english
ODROIDs: c2
Has thanked: 4 times
Been thanked: 2 times
Contact:

Resetting the touch screen on VU7+

Unread post by Sebas_Ledesma » Fri Nov 16, 2018 4:51 am

Hi:

I'm using Ubuntu 18.04 + kernel 3.16.60-28.
Sometimes when i reboot my device the touch on the VU7+ does not work, in this condition rebooting sometimes solves the problem (not always).
There is a way to unmount and re-mount the device via command line?

Thanks in advance.

Sebas

User avatar
rooted
Posts: 6610
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 104 times
Been thanked: 20 times
Contact:

Re: Resetting the touch screen on VU7+

Unread post by rooted » Fri Nov 16, 2018 7:34 am

Rmmod and modprobe the driver is the only other way I know of.

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

Re: Resetting the touch screen on VU7+

Unread post by odroid » Fri Nov 16, 2018 9:51 am

If the boot/reboot process causes a short period of voltage drop due to heavy load, the touchscreen controller couldn't detect properly.
In that case, you have to connect a separated power supply to the Vu7+ with a power bridge board.
https://www.hardkernel.com/shop/micro-u ... dge-board/

Check "lsusb" output to find "16B4:0705" touch controller ID.

Or, turning off and on the USB Host ports with the sysfs gpio interface:

Code: Select all

echo 126 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio126/direction
echo 0 > /sys/class/gpio/gpio126/value       # OFF
echo 1 > /sys/class/gpio/gpio126/value       # ON

Sebas_Ledesma
Posts: 85
Joined: Thu Jun 08, 2017 2:49 am
languages_spoken: english
ODROIDs: c2
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: Resetting the touch screen on VU7+

Unread post by Sebas_Ledesma » Thu Nov 22, 2018 4:10 am

lsusb shows that 16B4:0705 device is in the system.
Bus 001 Device 003: ID 16b4:0705 iStation
I've tried with:
echo 126 > /sys/class/gpio/export
but I get 'Permission denied' (Using Ubuntu 18.04 with Kernel 3.16.60-28).
I've tried also with 'sudo echo...' with the same result.


Sebas

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

Re: Resetting the touch screen on VU7+

Unread post by odroid » Thu Nov 22, 2018 9:33 am

Run the commands after issuing "sudo su".

Sebas_Ledesma
Posts: 85
Joined: Thu Jun 08, 2017 2:49 am
languages_spoken: english
ODROIDs: c2
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: Resetting the touch screen on VU7+

Unread post by Sebas_Ledesma » Sat Aug 24, 2019 5:06 am

Hi:

I've found a way to do it.
I've used usbreset from Alan Stern available here:
https://marc.info/?l=linux-usb&m=121459435621262&w=2

I use lsusb to detect the bus where the device it's connected, then I call usbreset and the device starts to work.

Sebas
These users thanked the author Sebas_Ledesma for the post (total 2):
mad_ady (Sat Aug 24, 2019 5:32 am) • odroid (Mon Aug 26, 2019 8:43 am)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest