N2+ Android

Post Reply
PiperCalls
Posts: 6
Joined: Sun Apr 10, 2022 1:07 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

N2+ Android

Post by PiperCalls »

Hi,

Brand new to the N2+, had a question if someone wouldn't mind helping a noober out.

I'm particularly interested in Android. I see an official 9 dl and also 10, 11 & 12 in the forums.

1. Google Play Store/Services is a must...would I be better off going with 9?

2. External touchscreen support. Saw a video this was possible with some vid/pid entries, etc. Again better to stick with 9 for something like that?

Thx for any help/input.

User avatar
joerg
Posts: 1561
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 126 times
Been thanked: 264 times
Contact:

Re: N2+ Android

Post by joerg »

Android 9 is provided by Hardkernel.
The other versions are LineageOS provided by user @voodik.
Usually I would go with the newer one, but 12 is very early state. All have touchscreen support for various models, and Hardkernel and also @voodik usually do the favor to integrate, if it is easy as an usb hid multitouch screen.

PiperCalls
Posts: 6
Joined: Sun Apr 10, 2022 1:07 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: N2+ Android

Post by PiperCalls »

Ok thank you for clarifying the versions. That's great to hear that touchscreen is supported. Question...does that include multi-touch? I was thinking of a monitor with touchscreen overlay as I need a larger display than the typical touchscreen panels provide. I believe they just use hdmi for video out & usb for the overlay from what I've read. The overlay is windows compatible so I believe it's usb hid. It's a project for an autistic child & some of the apps require multi-touch.
Thx

User avatar
joerg
Posts: 1561
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 126 times
Been thanked: 264 times
Contact:

Re: N2+ Android

Post by joerg »

Yes, it normally is multi-touch. But it depends on the model how much fingers. You should read the datasheet for this model. I can take a look at the source code, if this vid/pid is already there, if you present it.

PiperCalls
Posts: 6
Joined: Sun Apr 10, 2022 1:07 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: N2+ Android

Post by PiperCalls »

I'm currently shopping for the ir touch overlay, focusing on units that state windows & android capable. I see there was an article in odroid magazine from Sept 2018 that goes over exactly what I am doing. Anyone know what ir touch overlay that was used for that? A brand was mentioned but the link is dead.
Thx

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

Re: N2+ Android

Post by rooted »

PiperCalls wrote:I'm currently shopping for the ir touch overlay, focusing on units that state windows & android capable. I see there was an article in odroid magazine from Sept 2018 that goes over exactly what I am doing. Anyone know what ir touch overlay that was used for that? A brand was mentioned but the link is dead.
Thx
You mean the large TV touchscreen Hardkernel demo'd?

PiperCalls
Posts: 6
Joined: Sun Apr 10, 2022 1:07 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: N2+ Android

Post by PiperCalls »

Yes that's what I'm doing. It's an IR touchscreen sensor that goes on the bezel of an lcd

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

Re: N2+ Android

Post by odroid »

Look into this thread to learn about how we supported the touchscreen drivers on Android.
viewtopic.php?f=51&t=15495

PiperCalls
Posts: 6
Joined: Sun Apr 10, 2022 1:07 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: N2+ Android

Post by PiperCalls »

Ok thanks I'll read through that. It looks like primarily touchscreen panels though. So in my case with an IR touchscreen overlay it would be the same process? As long as it's a usb connection & presents a vid/pid I would assume it is.
Thx

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

Re: N2+ Android

Post by odroid »

Right.

Here is a brief process about the touchscreen on Android.

<1> Check if your USB touchscreen controller supports the standard HID multi-touch protocol or not. If not, your touchscreen will not work until you port the controller vendor specific drivers by yourself.
<2> Try finding your VID/PID in N2 Android touchscreen driver source code. If exists, your touch screen will work out of the box probably.
https://github.com/hardkernel/linux/blo ... /hid-ids.h
<3> If you can't find, edit /odm/env.ini file to add your VID/PID for temporarily testing.
For example,

Code: Select all

test_mt_vid="1FD2"
test_mt_pid="6103"
<4> If the test result is ok, we will add the VID/PID to the kernel driver source for the next update release.
These users thanked the author odroid for the post:
servetm (Wed Apr 13, 2022 6:32 am)

PiperCalls
Posts: 6
Joined: Sun Apr 10, 2022 1:07 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: N2+ Android

Post by PiperCalls »

Perfect. Thank you.

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 3 guests