Request Android touch screen support here.

Post Reply
Outbound
Posts: 5
Joined: Sun Jan 30, 2022 3:46 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Request Android touch screen support here.

Post by Outbound »

I've edited env.ini to add the vid and pid on Lineage as well as the trial test build suggested on your post to maximaljan:
Re: Request Android touch screen support here.
Post by codewalker » Tue Jan 18, 2022 3:24 pm

Try installing this trial test version.
https://dn.odroid.com/S922X/ODROID-N2/A ... dn2.img.xz
I'm still experiencing the same issues on both builds. HDMI functions but USB touchscreen fails and kills all my USB slots so no other USB devices function after the touchscreen USB has been plugged in.

Code: Select all

odroidn2:/odm # nano env.ini
odroidn2:/odm # lsusb
Bus 002 Device 002: ID 05e3:0620
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 05e3:0610
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 003: ID 1997:2433
odroidn2:/odm # lsusb
Bus 002 Device 002: ID 05e3:0620
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 05e3:0610
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 004: ID 0416:c168
Bus 001 Device 003: ID 1997:2433
odroidn2:/odm # reboot

c:\adb>adb shell
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
The first lsusb I ran was before the USB touchscreen was plugged in, the second was after, then my input devices stopped functioning and the touchscreen would not work even when I would unplug and replug them in. After I reboot the USB devices continue to fail and no longer show as connected.

These are popular large touchscreens on Amazon that work with Raspberry Pi / Windows, and I'm really hoping to get this functioning on Odroid N2 / N2+.

Thank you for assisting! Please let me know if there's anything else I can try.

User avatar
codewalker
Posts: 1613
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Has thanked: 67 times
Been thanked: 116 times
Contact:

Re: Request Android touch screen support here.

Post by codewalker »

When touch device does not working, Is not other usb device (ex, mouse or storage) working?
Outbound wrote:
Sat Feb 05, 2022 1:27 pm
I've edited env.ini to add the vid and pid on Lineage as well as the trial test build suggested on your post to maximaljan:
Re: Request Android touch screen support here.
Post by codewalker » Tue Jan 18, 2022 3:24 pm

Try installing this trial test version.
https://dn.odroid.com/S922X/ODROID-N2/A ... dn2.img.xz
I'm still experiencing the same issues on both builds. HDMI functions but USB touchscreen fails and kills all my USB slots so no other USB devices function after the touchscreen USB has been plugged in.

Code: Select all

odroidn2:/odm # nano env.ini
odroidn2:/odm # lsusb
Bus 002 Device 002: ID 05e3:0620
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 05e3:0610
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 003: ID 1997:2433
odroidn2:/odm # lsusb
Bus 002 Device 002: ID 05e3:0620
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 05e3:0610
Bus 002 Device 001: ID 1d6b:0003
Bus 001 Device 004: ID 0416:c168
Bus 001 Device 003: ID 1997:2433
odroidn2:/odm # reboot

c:\adb>adb shell
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
odroidn2:/ # lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0003
The first lsusb I ran was before the USB touchscreen was plugged in, the second was after, then my input devices stopped functioning and the touchscreen would not work even when I would unplug and replug them in. After I reboot the USB devices continue to fail and no longer show as connected.

These are popular large touchscreens on Amazon that work with Raspberry Pi / Windows, and I'm really hoping to get this functioning on Odroid N2 / N2+.

Thank you for assisting! Please let me know if there's anything else I can try.

Outbound
Posts: 5
Joined: Sun Jan 30, 2022 3:46 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Request Android touch screen support here.

Post by Outbound »

No, once the USB touch device is connected all USB devices stop working. I can't use mouse or keyboard or touch device. When I restart all USB devices continue not to work. I must disconnect USB touch device and restart for other USB devices to work again. I have tried using different USB devices and tried all USB slots, but same result each time.

I connected with adb over network connection to run lsusb. You can see in my previous post vid/pid 0416:c168 appears and then all USB devices stop running in following attempts for running lsusb.

Any ideas?

Thank you

Richard Schaefer
Posts: 71
Joined: Wed Oct 11, 2017 9:40 am
languages_spoken: english
ODROIDs: C1, C2, HC1, XU4, N2
Has thanked: 7 times
Been thanked: 10 times
Contact:

Re: Request Android touch screen support here.

Post by Richard Schaefer »

It might be the display is taking to much power ... Try a power adapter with more power.
Does the display support external power ?

Outbound
Posts: 5
Joined: Sun Jan 30, 2022 3:46 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Request Android touch screen support here.

Post by Outbound »

Thank you for the suggestion Richard. The touchscreen has it's own power adapter, though I did try a 12V 3A adapter on the Odroid N2+ to see if the additional 1A would make difference but unfortunately it didn't help.

I've tried multiple builds of Android & Lineage on both my Odroid N2 and Odroid N2+ and find they both fail in the same way for my touchscreen (VID: 0416 PID: C168). I also noted that the same behavior of all the USB slots on the Odroid failing when the touchscreen's USB is connected, occurs even on Armbian 22.02.1 terminal when no Android / Lineage is installed. This makes me think it's a compatibility issue with the board rather than the OS, as karlosoliveira suggested:
Hello,
I have tested the touchscreen in a XU4 powered by Android Lineage 16 and it works fine.
Seems like Amlogic platform doesn`t have support for this.
With that being said, does anyone know if it's likely there will be a solution for this? Should I be looking at using a different device than Odroid N2+ for my project? I'd really like to use the Odroid N2+ if possible.

I appreciate the feedback!

Outbound
Posts: 5
Joined: Sun Jan 30, 2022 3:46 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Request Android touch screen support here.

Post by Outbound »

I still haven't been able to get my touchscreen VID: 0416 PID: C168 to work with Odroid N2 or N2+, but I was able to get it to work properly with Lineage on Raspberry Pi 3B+.

I tried using a powered USB hub with Odroid N2 to see if that would help, but it didn't make a difference.

The touchscreen manufacturer issued Android drivers (attached) but I'm having trouble following the instructions to get them installed. Could anyone please assist me on how to install these drivers for Android or Lineage on Odroid N2?

thank you
Attachments
RX_NTANGOF48_HIDDRV_V1.2(1).zip
(3.7 MiB) Downloaded 14 times

User avatar
odroid
Site Admin
Posts: 39406
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2623 times
Been thanked: 1432 times
Contact:

Re: Request Android touch screen support here.

Post by odroid »

@Outbound,
If your touchscreen is not compatible with the standard multitouch HID protocol, your touchscreen will not work on ODROID until you port the custom device driver by yourself.
https://magazine.odroid.com/wp-content/ ... pdf#page=4

Here is an example of porting a custom touch driver.
viewtopic.php?f=101&t=26043

elabjer
Posts: 7
Joined: Fri Sep 06, 2019 8:23 am
languages_spoken: english
ODROIDs: N2
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Request Android touch screen support here.

Post by elabjer »

Hi.

I received a Waveshare monitor almost perfect for my application, but touch doesn't work.
I tried adding the VID:PID, but no change.. idk, I might be missing something trivial.
I'm using voodik's latest Lineage 18.

1. VID of touch screen controller
0eef
2. PID of touch screen controller
0005
3. Brand/Manufacturer name of the touch screen panel
Waveshare
4. Product(model) name of the touch screen
WS170120/1.11/210719
5. Your board (XU4/C1/C2/C4/N2)
N2 and N2+

Can you please take a look at my logcat from connection of the monitor and tell me if driver porting will be necessary?
https://pastebin.com/wYwRuGzk

Thank you!

UPDATE: I flashed the latest Mate image [ubuntu-22.04-4.9-mate-odroid-n2-20220629.img.xz] and touch works.

UPDATE #2: I flashed your latest Android image and it works!
sorry about not checking everything first. I assumed voodik's LOS is derived from your base and hence these peripherals should work.
maybe it's good to leave this here, so that others might gain some insight out of this.
thank you.
These users thanked the author elabjer for the post:
odroid (Mon Aug 08, 2022 8:34 am)

User avatar
odroid
Site Admin
Posts: 39406
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2623 times
Been thanked: 1432 times
Contact:

Re: Request Android touch screen support here.

Post by odroid »

elabjer wrote:
Fri Aug 05, 2022 7:18 pm
I'm using voodik's latest Lineage 18.
Could you find this section in env.ini file on voodik's LOS image? If yes, try changing the option to "true" or "false.

Code: Select all

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Disable VU7
disable_vu7="false"
These users thanked the author odroid for the post:
elabjer (Mon Aug 08, 2022 6:58 pm)

elabjer
Posts: 7
Joined: Fri Sep 06, 2019 8:23 am
languages_spoken: english
ODROIDs: N2
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Request Android touch screen support here.

Post by elabjer »

odroid wrote:
Mon Aug 08, 2022 8:37 am
Could you find this section in env.ini file on voodik's LOS image? If yes, try changing the option to "true" or "false.
I did. Previously I did it only in boot.ini, but now I also did in env.ini, as you suggested.. it still doesn't work.
now, I don't know enough to conclude where the culprit is, but looking at logcat messages from both HK Pie and voodik's LOS, it seems to me that the device is initialized succesfully, but in the latter Surface Flinger doesn't log anything.

I also posted this in LOS18 thread, but please - maybe you can take a look at these and share your opinion..
Waveshare [0eef:005] ON2 HK Pie
Waveshare [0eef:005] ON2 LOS18

I also tried "transplanting" your kernel into LOS18 to no avail. Then I also tried LOS17, LOS16.. it doesn't work on any.

Thank you.

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest