BlissRoms-x86 / support

Public repo for Bliss OS bug reports, feature requests etc.
https://blissos.org
GNU General Public License v3.0
16 stars 2 forks source link

🐛 [BUG] - orientation of gravity sensor is reversed #44

Open Cathgao opened 7 months ago

Cathgao commented 7 months ago

Description

Installed Bliss-Go 14.10.1 or 15.9 on my tablet PC(teclast X3 plus). When boot into launcher, gravity sensor start to work and rotate the screen. In Landscape the direction is reversed but Portrait is correct QQ图片20240221112449 QQ图片20240221112452 QQ图片20240221112455

Reproduction steps

1. Install Bliss
2. Boot in
3. Disable `Set Orientation` App
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Category

Display

OS Version

14.x, 15.x

electrikjesus commented 7 months ago

This is a device specific issue. You will need to submit a pull request to set your devices default iio accel order like we do here: https://github.com/BlissRoms-x86/device_generic_common/blob/976ace81db48bdd9932bdebee5a6ccf79d0eb7ba/init.sh#L596

Check your devices product ID at /sys/class/dmi/id/uevent to see what we can match the case with

On Tue, Feb 20, 2024, 10:26 PM Cathgao @.***> wrote:

Description

Installed Bliss-Go 14.10.1 or 15.9 on my tablet PC(teclast X3 plus). When boot into launcher, gravity sensor start to work and rotate the screen. In Landscape the direction is reversed but Portrait is correct QQ.20240221112449.jpg (view on web) https://github.com/BlissRoms-x86/support/assets/21031564/472f6b0a-c354-46eb-b448-8f72ed5d0a73 QQ.20240221112452.jpg (view on web) https://github.com/BlissRoms-x86/support/assets/21031564/095138c6-796c-4faf-a502-5c27b38312cd QQ.20240221112455.jpg (view on web) https://github.com/BlissRoms-x86/support/assets/21031564/fd593436-a843-4994-a0f9-479f62e4463a Reproduction steps

  1. Install Bliss
  2. Boot in
  3. Disable Set Orientation App
  4. See error

Screenshots

DESCRIPTION

Logs

No response Category

Display OS Version

14.x, 15.x

— Reply to this email directly, view it on GitHub https://github.com/BlissRoms-x86/support/issues/44, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBM5S42RUM45GSN5SXP25LYUVSNDAVCNFSM6AAAAABDSI5GR6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DKNZTGA2DQOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Cathgao commented 7 months ago

:/data/data/com.termux/files/home # cat /sys/class/dmi/id/uevent MODALIAS=dmi:bvnTECLAST:bvrG4K3_A1tPAD3.01:bd08/25/2017:br5.12:efr14.4:svnTECLAST:pnX3Plus:pvrDefaultstring:rvnTECLAST:rnX3Plus:rvrDefaultstring:cvnDefaultstring:ct30:cvrDefaultstring:skuG4K3_A1:

This is a device specific issue. You will need to submit a pull request to set your devices default iio accel order like we do here: https://github.com/BlissRoms-x86/device_generic_common/blob/976ace81db48bdd9932bdebee5a6ccf79d0eb7ba/init.sh#L596 Check your devices product ID at /sys/class/dmi/id/uevent to see what we can match the case with On Tue, Feb 20, 2024, 10:26 PM Cathgao @.> wrote: Description Installed Bliss-Go 14.10.1 or 15.9 on my tablet PC(teclast X3 plus). When boot into launcher, gravity sensor start to work and rotate the screen. In Landscape the direction is reversed but Portrait is correct QQ.20240221112449.jpg (view on web) https://github.com/BlissRoms-x86/support/assets/21031564/472f6b0a-c354-46eb-b448-8f72ed5d0a73 QQ.20240221112452.jpg (view on web) https://github.com/BlissRoms-x86/support/assets/21031564/095138c6-796c-4faf-a502-5c27b38312cd QQ.20240221112455.jpg (view on web) https://github.com/BlissRoms-x86/support/assets/21031564/fd593436-a843-4994-a0f9-479f62e4463a Reproduction steps 1. Install Bliss 2. Boot in 3. Disable Set Orientation App 4. See error Screenshots DESCRIPTION Logs No response Category Display OS Version 14.x, 15.x — Reply to this email directly, view it on GitHub <#44>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBM5S42RUM45GSN5SXP25LYUVSNDAVCNFSM6AAAAABDSI5GR6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DKNZTGA2DQOI . You are receiving this because you are subscribed to this thread.Message ID: @.>

Cathgao commented 7 months ago

please tell me how can I test the init.sh without compile the Android system

Cathgao commented 7 months ago

QQ图片20240222092635

Xtr126 commented 7 months ago

please tell me how can I test the init.sh without compile the Android system

By remounting system as r/w and modifying the files. All that is answered on the documentation. https://docs.blissos.org/knowledgebase/troubleshooting/remount-system-as-read-write/

electrikjesus commented 7 months ago

It's much easier to test iio settings with Bass builds: https://docs.blissos.org/configuration/configuration-through-command-line-parameters/#iio-options-configuration

Cathgao commented 7 months ago

I add SET_IIO_ACCEL_X_OPT_SCALE=-1 in grub entry but nothing changed

It's much easier to test iio settings with Bass builds: https://docs.blissos.org/configuration/configuration-through-command-line-parameters/#iio-options-configuration

electrikjesus commented 7 months ago

I add SET_IIO_ACCEL_X_OPT_SCALE=-1 in grub entry but nothing changed

I was trying to say that only the Bass builds come with that option so far.

Cathgao commented 7 months ago

https://sourceforge.net/projects/blissos-dev/files/BlissBass/x86_64/Go/foss/20230814/ download from here?

I add SET_IIO_ACCEL_X_OPT_SCALE=-1 in grub entry but nothing changed

I was trying to say that only the Bass builds come with that option so far.

electrikjesus commented 7 months ago

No, new Bass builds were moved to their own space. https://bliss-bass.blisscolabs.dev/

Cathgao commented 7 months ago

Thanks. I have tried new Bass builds but it completely unusable on my tablet PC: booting over 3 minutes, touch screen unavailable and adding SET_IIO_ACCEL_Y_OPT_SCALE=-1 in grub menu still change nothing. I wish this bug will be fixed in future BlissOS and I am very happy to use.