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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃挕 [REQUEST] - Include fix on G-Sensor on Asus Transformer T300CHI for future releases of BlissOS #46

Open
RobertCyprus opened this issue Feb 27, 2024 · 2 comments
Labels
question Further information is requested

Comments

@RobertCyprus
Copy link

Start Date

27/02/2024

Implementation PR

No response

Reference Issues

Similar for issue #44 (Gravity sensor), for Asus T300CHI, includes fix

Summary

This only affects those who have an Asus Transformer Tablet PC, but may include the rest of the Asus Transformer family.

#cat /sys/class/dmi/id/uevent
MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvrT300CHI.207:bd08/06/2015:br5.6:svnASUSTeKCOMPUTERINC.:pnT300CHI:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnT300CHI:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:skuASUS-NotebookSKU:

Please include the following 3 lines in init.sh for future releases of BlissOS:

Within the function init_hal_sensors() , approximately line 595.

T300CHI)
set_property ro.iio.accel.order 102
set_property ro.iio.accel.y.opt_scale -1

Basic Example

This fixes the faulty orientation, picked up from the G-sensor of the Asus Transformer T300CHI tablet PC. As far as i can see is this the only device that needs both the order and y scale to be adjusted, so they cannot be covered by an existing entry.

Drawbacks

Maybe the T300CHI can be made broader to TCHI* as I assume this is the same for the rest of the transformer (CHI) library, unfortunately cannot test this as i have only the T300CHI

Unresolved questions

No response

@RobertCyprus RobertCyprus added the question Further information is requested label Feb 27, 2024
@RobertCyprus
Copy link
Author

Github seems to interpret stars differently as expected, the mask for the T300CHI must be *T300CHI* , and the generic Transformer mask *T*CHI* .

@hmtheboy154
Copy link
Member

Can you make a Pull Requests to https://github.com/BlissRoms-x86/device_generic_common ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants