Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Cathgao opened this issue Feb 21, 2024 · 11 comments
Open

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

Cathgao opened this issue Feb 21, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@Cathgao
Copy link

Cathgao commented Feb 21, 2024

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

@Cathgao Cathgao added the bug Something isn't working label Feb 21, 2024
@electrikjesus
Copy link
Member

electrikjesus commented Feb 21, 2024 via email

@Cathgao
Copy link
Author

Cathgao commented Feb 22, 2024

:/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
Copy link
Author

Cathgao commented Feb 22, 2024

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

@Cathgao
Copy link
Author

Cathgao commented Feb 22, 2024

QQ图片20240222092635

@Xtr126
Copy link

Xtr126 commented Feb 22, 2024

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
Copy link
Member

electrikjesus commented Feb 22, 2024

@Cathgao
Copy link
Author

Cathgao commented Feb 22, 2024

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
Copy link
Member

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
Copy link
Author

Cathgao commented Feb 22, 2024

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
Copy link
Member

electrikjesus commented Feb 22, 2024

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

@Cathgao
Copy link
Author

Cathgao commented Feb 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants