Useful feature of XRN7 in Android for UT
-
On the Xiaomi Redmi Note was an interesting feature, the ability to control equipment from the IR port. All sorts of TVs, air conditioners and other hardware. And in fact, since it uses Android HAL, it can be done in UT as well. I don't know if other phones have such a port, if some do, you can do something in common. Here's what you can see in the system, some strings in "dmesg":
init: Parsing file /vendor/etc/init/android.hardware.ir@1.0-service.rc... init: starting service 'vendor.ir-hal-1-0'...
some file on filesystem:
/var/lib/lxc/android/rootfs/system/lib/vndk-28/android.hardware.ir@1.0.so /var/lib/lxc/android/rootfs/system/lib/vndk-26/android.hardware.ir@1.0.so /var/lib/lxc/android/rootfs/system/lib64/vndk-28/android.hardware.ir@1.0.so /var/lib/lxc/android/rootfs/system/lib64/vndk-26/android.hardware.ir@1.0.so /var/lib/lxc/android/rootfs/system/lib64/vndk-27/android.hardware.ir@1.0.so /android/system/lib/vndk-28/android.hardware.ir@1.0.so /android/system/lib/vndk-26/android.hardware.ir@1.0.so /android/system/lib64/vndk-28/android.hardware.ir@1.0.so /android/system/lib64/vndk-26/android.hardware.ir@1.0.so /android/system/lib64/vndk-27/android.hardware.ir@1.0.so /android/vendor/bin/hw/android.hardware.ir@1.0-service /android/vendor/lib/hw/android.hardware.ir@1.0-impl.so /android/vendor/etc/init/android.hardware.ir@1.0-service.rc /android/vendor/lib64/hw/android.hardware.ir@1.0-impl.so
Maybe some kind of existing software can be used?