Hi everyone, first of all I’m new here so I don’t know if I’m in the right place to discuss my issue. Let me know about this eventually, thank you.
I’m experiencing a problem with gyroscope and accelerometer of my new Jolla C2 SFOS 5.0.0.76. Shortly, auto-rotation and shake-to-flashlight are completely non-functional since factory. I tried several things with no results:
sensorfwd.service is active but fails to load Android/Hybris dependencies:
• library “libhardware.so” not found
• library “libcutils.so” not found
• library “libutils.so” not found
• library “libc++.so” not found
/usr/lib/sensorfw/ and /usr/libexec/sensorfw/ directories do not exist
IIO device0 (sprd-sensorhub) is visible in /sys/bus/iio/devices/ but sensorfwd has no backend to poll it
Gyroscope & Accelerometer always return 0 in CSD
I read similar topics for older OS version than mine but running CSD or switch on/off GPS and similar does not work for my C2. Anyone with the same problem? Could it be related to the latest OS release?
I apologize if I’m in the wrong place, let me know if moving the discussion to BUG category, for example, would be better. Thanks in advance
Do the other sensor tests work in CSD? Jolla C2 does not use IIO sensors directly, it uses the hybris backend for all sensors. As mentioned already those library loading messages are not a problem. Does it help if you run “systemctl restart sensorfwd” as root (you can become root uses by using devel-su in terminal)?
Your gyro seems dead. But IIRC it doesn’t work properly on any C2. So no big loss.
As you can see above it seems that accelerometer on mine seems to work properly. I suspect HW on your C2.
I also suspect there might be some hardware issues, even with simple flat cables that seem to be coming loose, which is why I want to know if other C2 users are experiencing similar problems. It seems this issue is also affecting the GPS, which in my case can only pick up a maximum of two satellites (as if the module wasn’t getting enough power…).
Minimum one year as requested in EU. Might be more.
I suggest to open a ticket at Zendesk and wait a few weeks for instructions. I guess they’ll want it there.
Unfortunately “systemctl restart sensorfwd“ does not help in my case. Other sensor tests in CSD like light sensor and proximity sensor are ok, gyro&accelerometer and compass fails
Here my screen of the test result, while the file you mention in my telephone exists but it’s blank (I found it using ssh through linux, the file manager cannot see it I don’t know why)