Compass in Device Checklist



  • Hello, there is a Device Checklist file, which hast to be used as template for reporting what's working and not working for some device port.

    I think that Sensors: Compass is missing in the list. Or is compass sensor not supported by UT?

    Note: I already filled an issue.



  • Compass is not currently supported by UT.



  • @dobey : Are you sure that it is not supported? I am asking, because the compass used to work on my BQ E4.5.



  • @dobey said in Xompass not working:

    Compass sensor is not implemented on UT currently. Xompass only works on specific devices, due to the way it tries to read hardware.

    Hmm, you say that on some devices the compass works. So it should be in the Device Checklist.

    Another argument for adding compass to list could be, that Sensors: Fingerprint reader (among some other items) is currently not supported too and is in the checklist. It also would be a good remainder, that it is something, that sometimes needs to be done. Or am I wrong?



  • @jezek said in Compass in Device Checklist:

    Hmm, you say that on some devices the compass works

    No.

    Having proper sensor support doesn't work on any device with UT currently (well, except maybe on pinephone) at the moment.



  • @GT said in Compass in Device Checklist:

    @dobey : Are you sure that it is not supported? I am asking, because the compass used to work on my BQ E4.5.

    Define "worked" in this case. Are you talking about Xompass app, or about QtSensors API? The latter has never had support for compass, in UT.



  • @dobey : Yes, it was the compass app (predecessor of xompass) that worked on BQ 4.5.



  • @dobey said in Compass in Device Checklist:

    @jezek said in Compass in Device Checklist:

    Hmm, you say that on some devices the compass works

    No.

    Having proper sensor support doesn't work on any device with UT currently (well, except maybe on pinephone) at the moment.

    I don't understand your answer. Accelerometer or proximity sensors are sensors too and are working (in a way, that they can be used in ubports apps). What is the difference between compass sensor and them?



  • @jezek qtubuntu-sensors does not handle compass. Try to make a QML app using QtSensors API for Compass, and you will find it does not work on UT.

    Compass was never a requirement for core functionality of the system to work, so nobody ever implemented the abstraction for it. Only accelerometer and proximity were handled, because they are needed for the core functionality of the shell (rotation and screen management during call handling).



  • @dobey said in Compass in Device Checklist:

    Compass was never a requirement for core functionality of the system to work, so nobody ever implemented the abstraction for it.

    Oh I see, thanks for clarifying. Another two questions.

    Abstraction on what level are you talking about? The android LXC container does not handle the compass or the libhybris or the plaform API (reference image).

    Is the fingerprint sensor the same case as the compass sensor? Or there was already some work done?



  • @jezek said in Compass in Device Checklist:

    Abstraction on what level are you talking about?

    In qtubuntu-sensors.

    @jezek said in Compass in Device Checklist:

    Is the fingerprint sensor the same case as the compass sensor? Or there was already some work done?

    No, it is not a sensor in the same sense of the word here. Biometrics is handled separately, and was not implemented in a generic way for the support that originally was developed for the Pro 5. However, there has been some work to get fingerprint working generically with libhybris, by some of the developers working on Halium 9 support.



  • @dobey said in Compass in Device Checklist:

    @jezek said in Compass in Device Checklist:
    Abstraction on what level are you talking about?

    In qtubuntu-sensors.

    Thank you for reminding me. I forgot, there is already an issue opened on this.


Log in to reply