Open d0c3ntOS opened 7 years ago
Well I'd say that's beyond our use case. We can't support everything. However, https://github.com/openstf/minitouch/pull/15 might work once merged.
I use Git repository: https://github.com/LoCorVin/minitouch.git
root@OpenSTF:~/git/minitouch# adb connect 192.168.102.20:5555 connected to 192.168.102.20:5555
root@OpenSTF:~/git/minitouch# ./run.sh + /home/user/Android/Sdk/ndk-bundle/ndk-build [arm64-v8a] Compile : minitouch-common <= minitouch.c [arm64-v8a] StaticLibrary : libminitouch-common.a [arm64-v8a] Compile : evdev <= libevdev.c [arm64-v8a] Compile : evdev <= libevdev-names.c [arm64-v8a] StaticLibrary : libevdev.a [arm64-v8a] Executable : minitouch [arm64-v8a] Install : minitouch => libs/arm64-v8a/minitouch [arm64-v8a] Executable : minitouch-nopie [arm64-v8a] Install : minitouch-nopie => libs/arm64-v8a/minitouch-nopie [x86_64] Compile : minitouch-common <= minitouch.c [x86_64] StaticLibrary : libminitouch-common.a [x86_64] Compile : evdev <= libevdev.c [x86_64] Compile : evdev <= libevdev-names.c [x86_64] StaticLibrary : libevdev.a [x86_64] Executable : minitouch [x86_64] Install : minitouch => libs/x86_64/minitouch [x86_64] Executable : minitouch-nopie [x86_64] Install : minitouch-nopie => libs/x86_64/minitouch-nopie [mips64] Compile : minitouch-common <= minitouch.c [mips64] StaticLibrary : libminitouch-common.a [mips64] Compile : evdev <= libevdev.c [mips64] Compile : evdev <= libevdev-names.c [mips64] StaticLibrary : libevdev.a [mips64] Executable : minitouch [mips64] Install : minitouch => libs/mips64/minitouch [mips64] Executable : minitouch-nopie [mips64] Install : minitouch-nopie => libs/mips64/minitouch-nopie [armeabi-v7a] Compile thumb : minitouch-common <= minitouch.c [armeabi-v7a] StaticLibrary : libminitouch-common.a [armeabi-v7a] Compile thumb : evdev <= libevdev.c [armeabi-v7a] Compile thumb : evdev <= libevdev-names.c [armeabi-v7a] StaticLibrary : libevdev.a [armeabi-v7a] Executable : minitouch [armeabi-v7a] Install : minitouch => libs/armeabi-v7a/minitouch [armeabi-v7a] Executable : minitouch-nopie [armeabi-v7a] Install : minitouch-nopie => libs/armeabi-v7a/minitouch-nopie [armeabi] Compile thumb : minitouch-common <= minitouch.c [armeabi] StaticLibrary : libminitouch-common.a [armeabi] Compile thumb : evdev <= libevdev.c [armeabi] Compile thumb : evdev <= libevdev-names.c [armeabi] StaticLibrary : libevdev.a [armeabi] Executable : minitouch [armeabi] Install : minitouch => libs/armeabi/minitouch [armeabi] Executable : minitouch-nopie [armeabi] Install : minitouch-nopie => libs/armeabi/minitouch-nopie [x86] Compile : minitouch-common <= minitouch.c [x86] StaticLibrary : libminitouch-common.a [x86] Compile : evdev <= libevdev.c [x86] Compile : evdev <= libevdev-names.c [x86] StaticLibrary : libevdev.a [x86] Executable : minitouch [x86] Install : minitouch => libs/x86/minitouch [x86] Executable : minitouch-nopie [x86] Install : minitouch-nopie => libs/x86/minitouch-nopie [mips] Compile : minitouch-common <= minitouch.c [mips] StaticLibrary : libminitouch-common.a [mips] Compile : evdev <= libevdev.c [mips] Compile : evdev <= libevdev-names.c [mips] StaticLibrary : libevdev.a [mips] Executable : minitouch [mips] Install : minitouch => libs/mips/minitouch [mips] Executable : minitouch-nopie [mips] Install : minitouch-nopie => libs/mips/minitouch-nopie ++ adb shell getprop ro.product.cpu.abi ++ tr -d '\r' + abi=armeabi-v7a ++ adb shell getprop ro.build.version.sdk ++ tr -d '\r' + sdk=23 + (( 23 >= 16 )) + bin=minitouch + adb push libs/armeabi-v7a/minitouch /data/local/tmp/ 430 KB/s (34320 bytes in 0.077s) + adb shell /data/local/tmp/minitouch Note: device /dev/input/mice is not supported by libevdev Note: device /dev/input/mouse1 is not supported by libevdev Note: device /dev/input/mouse0 is not supported by libevdev Unable to find a suitable touch device root@OpenSTF:~/git/minitouch#
Didn't help :(
Any ideas ? What can I do more ?
I don't think there's anything I can do about that right now, too busy. However, please post your feedback on that minicap issue where it is more appropriate.
@d0c3ntOS Hello, have you found any solution? I fell into similar issue...
I have a similar problem on ODROID C2 when trying to connect to it. I can get Minicap to stream on one device, but not OpenSTF. Is there a way to disable the minitouch feature?
I have already tried to comment code here 'https://github.com/openstf/stf/blob/badb3ed3be5d1b5cf889ad61244c3ca1a4fc6de5/lib/units/device/index.js#L31', but unfortunately it did not help..
@ d0c3ntOS
I also encountered the same problem with you. My device does not have a touch screen. error is Unable to find a suitable touch device。 I have already solved。 Find out the device's initialization code and modify it.
@xingkong130 , what part of the device initialization code did you modify, and on what device, and android version?
@xingkong130 Did you have a chance to answer @simion-iulian? I too would like to know what changes you made to the device's initialization code to make stf work with a non-touchscreen device.
I need use android device without screen - tests some device. In my case Odrino C2. I think the same problem will by with Raspberry Pi, Banana Pi, Orange Pi, LattePanda etc.
When I start OpenSTF, minitouch doesn't work. Dosen't see any touchscreen and stops working.
Following I have the STF log.
When I connect touchscreen (even if they doesn't works) everything works:
I plant use more then 100 devices and I can't use 100 touchscreens. I think about virtual touchscreen, but I don't have any idea how to do it. Any idea ?