Bonjour a tous,
J'utilise Calaos Home sans probleme depuis des annees sous ma vieille tablette Galaxy Tab 3 10.1. Vu que Samsung ne propose plus de mise a jour depuis Android 4, j'ai installe la ROM LineageOS 14.1 (Android 7.1). Mes autres apps fonctionnent correctement mais je n'ai pas de graphiques avec Calaos Home. J'ouvre l'app puis j'ai un "login failed" qui est normal vu que je n'ai pas encore parametre la connexion mais apres l'ecran est tout noir sans le logo Calaos ni les textes username/password/hostname.
Voila le log recupere avec "adb logcat" a partir de l'ouverture de l'app:
Je remarque beaucoup d'erreur "E IMGSRV : :0: PVRDRMOpen: TP3" mais je ne sais pas si c'est lie au probleme.
J'utilise Calaos Home sans probleme depuis des annees sous ma vieille tablette Galaxy Tab 3 10.1. Vu que Samsung ne propose plus de mise a jour depuis Android 4, j'ai installe la ROM LineageOS 14.1 (Android 7.1). Mes autres apps fonctionnent correctement mais je n'ai pas de graphiques avec Calaos Home. J'ouvre l'app puis j'ai un "login failed" qui est normal vu que je n'ai pas encore parametre la connexion mais apres l'ecran est tout noir sans le logo Calaos ni les textes username/password/hostname.
Voila le log recupere avec "adb logcat" a partir de l'ouverture de l'app:
Code:
08-15 16:15:25.001 2373 3124 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=fr.calaos.calaoshome/.HardwareUtils bnds=[506,294][640,426] (has extras)} from uid 10021 on display 0
08-15 16:15:25.005 2089 2936 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 31
08-15 16:15:25.031 2373 2387 W BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$GmsExternalReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.cyanogenmod.trebuchet (uid 10021)
08-15 16:15:25.084 2373 4192 I ActivityManager: Start proc 3231:fr.calaos.calaoshome/u0a71 for activity fr.calaos.calaoshome/.HardwareUtils
08-15 16:15:25.102 2089 2936 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 35
08-15 16:15:25.119 3231 3231 D houdini : [3231] Initialize library(version: 6.1.2d_x.48748 RELEASE)... successfully.
08-15 16:15:25.291 3231 3231 D FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
08-15 16:15:25.293 3231 3231 D FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
08-15 16:15:25.293 3231 3231 I FirebaseInitProvider: FirebaseApp initialization successful
08-15 16:15:25.344 3231 3231 W System : ClassLoader referenced unknown path:
08-15 16:15:25.405 3231 3255 I FA : App measurement is starting up, version: 14711
08-15 16:15:25.406 3231 3255 I FA : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
08-15 16:15:25.406 3231 3255 I FA : To enable faster debug mode event logging run:
08-15 16:15:25.406 3231 3255 I FA : adb shell setprop debug.firebase.analytics.app fr.calaos.calaoshome
08-15 16:15:25.613 3258 3258 I qtMainLoopThrea: type=1400 audit(0.0:70): avc: denied { read } for name="scaling_cur_freq" dev="sysfs" ino=15375 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
08-15 16:15:25.613 3258 3258 I qtMainLoopThrea: type=1400 audit(0.0:71): avc: denied { open } for name="scaling_cur_freq" dev="sysfs" ino=15375 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
08-15 16:15:25.661 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libc++_shared.so for ClassLoader by Native Bridge.
08-15 16:15:25.754 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5Core.so for ClassLoader by Native Bridge.
08-15 16:15:25.755 3231 3258 I QtCore : Start
08-15 16:15:25.762 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5AndroidExtras.so for ClassLoader by Native Bridge.
08-15 16:15:25.840 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5Gui.so for ClassLoader by Native Bridge.
08-15 16:15:25.856 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5Network.so for ClassLoader by Native Bridge.
08-15 16:15:25.927 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5Qml.so for ClassLoader by Native Bridge.
08-15 16:15:26.036 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5Quick.so for ClassLoader by Native Bridge.
08-15 16:15:26.160 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5Widgets.so for ClassLoader by Native Bridge.
08-15 16:15:26.172 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5Svg.so for ClassLoader by Native Bridge.
08-15 16:15:26.179 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5WebSockets.so for ClassLoader by Native Bridge.
08-15 16:15:26.197 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5QuickParticles.so for ClassLoader by Native Bridge.
08-15 16:15:26.205 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5Test.so for ClassLoader by Native Bridge.
08-15 16:15:26.214 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5QuickTest.so for ClassLoader by Native Bridge.
08-15 16:15:26.226 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libQt5RemoteObjects.so for ClassLoader by Native Bridge.
08-15 16:15:26.253 3231 3258 D houdini : [3258] Added shared library /data/data/fr.calaos.calaoshome/qt-reserved-files/plugins/platforms/android/libqtforandroid.so for ClassLoader by Native Bridge.
08-15 16:15:26.257 3231 3258 I Qt : qt started
08-15 16:15:26.260 3231 3258 D houdini : [3258] Added shared library /data/data/fr.calaos.calaoshome/qt-reserved-files/plugins/bearer/libqandroidbearer.so for ClassLoader by Native Bridge.
08-15 16:15:26.261 3231 3258 D houdini : [3258] Added shared library /data/data/fr.calaos.calaoshome/lib/libQt5QuickParticles.so for ClassLoader by Native Bridge.
08-15 16:15:26.274 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libcrypto.so for ClassLoader by Native Bridge.
08-15 16:15:26.277 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libssl.so for ClassLoader by Native Bridge.
08-15 16:15:26.321 3231 3255 I FA : Tag Manager is not found and thus will not be used
08-15 16:15:26.343 3231 3231 W linker : /system/vendor/lib/hw/gralloc.clovertrail.so: unused DT entry: type 0xf arg 0x62a
08-15 16:15:26.343 3231 3231 W linker : /system/vendor/lib/libpvr2d.so: unused DT entry: type 0xf arg 0x79b
08-15 16:15:26.343 3231 3231 W linker : /system/vendor/lib/hw/gralloc.clovertrail.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-15 16:15:26.344 3231 3231 W linker : /system/vendor/lib/libpvr2d.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-15 16:15:26.346 3231 3231 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 45
08-15 16:15:26.346 3231 3231 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 49
08-15 16:15:26.346 3231 3231 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 49
08-15 16:15:26.346 3231 3231 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 49
08-15 16:15:26.350 3231 3231 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 40
08-15 16:15:26.388 3231 3264 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 47
08-15 16:15:26.390 2089 2121 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 63
08-15 16:15:26.394 2089 2121 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 66
08-15 16:15:26.397 3231 3264 I OpenGLRenderer: Initialized EGL, version 1.4
08-15 16:15:26.397 3231 3264 D OpenGLRenderer: Swap behavior 1
08-15 16:15:26.397 3231 3264 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
08-15 16:15:26.397 3231 3264 D OpenGLRenderer: Swap behavior 0
08-15 16:15:26.398 2089 2121 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 67
08-15 16:15:26.404 3231 3264 W linker : /system/vendor/lib/libPVROCL.so: unused DT entry: type 0xf arg 0x9fd
08-15 16:15:26.404 3231 3264 W linker : /system/vendor/lib/libPVROCL.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
08-15 16:15:26.492 3231 3258 D houdini : [3258] Added shared library /data/app/fr.calaos.calaoshome-1/lib/arm/libCalaosHome.so for ClassLoader by Native Bridge.
08-15 16:15:26.538 2089 2119 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 56
08-15 16:15:26.563 2373 2394 I ActivityManager: Displayed fr.calaos.calaoshome/.HardwareUtils: +1s526ms
08-15 16:15:26.578 3231 3258 I firebase: Firebase App initializing app fr.calaos.calaoshome (default 1).
08-15 16:15:26.942 3231 3258 D CalaosHome: Initializing Firebase module
08-15 16:15:26.944 3231 3258 D CalaosHome: Try to initialize Firebase Messaging
08-15 16:15:26.953 3231 3258 I firebase: Firebase Cloud Messaging API Initialized
08-15 16:15:26.955 3231 3258 D CalaosHome: Module initialized. Waiting on messaging initialization
08-15 16:15:26.968 3231 3266 D CalaosHome: Received device token: "cluIdTjIVQE:APA91bFO6k5pWpmqVNLCJq-8wPP1T5WuyQwZ6YihSjFYw20OYEPqRuJs5JqK1hsccX9_NIOyVBfTN2gYkz8FeeY2vamp1p680l0cMCahTaK_6sKobb0ABzbfZYANX5x-HmYh7o5LoYyq"
08-15 16:15:26.978 3231 3258 I CalaosHome: Trying to set language: ":/lang/calaos_en.qm"
08-15 16:15:26.986 3231 3258 D CalaosHome: Using density from JNI: 1 Value from QScreen: 1
08-15 16:15:27.003 3268 3268 I QtThread: type=1400 audit(0.0:72): avc: denied { ioctl } for path="socket:[111909]" dev="sockfs" ino=111909 ioctlcmd=8b07 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=netlink_route_socket permissive=1
08-15 16:15:27.596 2373 2470 D WifiStateMachine: updateCapabilities for config:Vortex_5Gfalse,false
08-15 16:15:29.664 2089 2936 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 35
08-15 16:15:29.678 2089 2119 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 63
08-15 16:15:30.607 2089 2121 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 31
08-15 16:15:30.630 2089 2227 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 61
08-15 16:15:31.725 3231 3258 W CalaosHome: qrc:/qml/mobile/main.qml:18:5: Unable to assign [undefined] to int
08-15 16:15:32.091 3231 3258 D CalaosHome: Android: HardwareUtilsAndroid::getNetworkStatus(): 2
08-15 16:15:32.093 3231 3258 D CalaosHome: Try to login to host: "demo.calaos.fr"
08-15 16:15:32.111 3231 3258 D CalaosHome: Trying to connect with websocket to: "wss://demo.calaos.fr/api"
08-15 16:15:32.336 3231 3258 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-15 16:15:33.835 3231 3258 D CalaosHome: Websocket error: "QWebSocketPrivate::processHandshake: Unhandled http status code: 503 (Service Unavailable\r\n)."
08-15 16:15:34.451 3231 3258 D CalaosHome: Error in QUrl("https://demo.calaos.fr/api.php") : "Error transferring https://demo.calaos.fr/api.php - server replied: Service Unavailable"
08-15 16:15:34.460 3231 3258 D CalaosHome: loginFailed called
08-15 16:15:34.580 2089 2119 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 50
08-15 16:15:34.581 2089 2119 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 78
08-15 16:15:34.583 2089 2119 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 80
08-15 16:15:34.597 2089 2119 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 71
08-15 16:15:35.778 2089 2227 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 74
08-15 16:15:35.796 2089 4642 E IMGSRV : :0: PVRDRMOpen: TP3, ret = 36
Je remarque beaucoup d'erreur "E IMGSRV : :0: PVRDRMOpen: TP3" mais je ne sais pas si c'est lie au probleme.
▶ calaos-os-raspberrypi2-v3.0-alpha6-14-g341535a-2021-01-17 on Raspberry Pi 2 ▶ Wago_2.2/wago_881.pro on Wago 750-881 ▶ DS18B20 sensors on Pi GPIO ▶ Node-RED