LINX1010B screen rotation fix

108 views
Skip to first unread message

m...@rkellis.com

unread,
Mar 21, 2019, 3:22:43 PM3/21/19
to Android-x86
The screen rotation in portrait mode in 8.1-r1 is upside down. The fix is to add the following to the case statement in the init_hal_sensors() function in /etc/init.sh

*LINX1010B*)
    set_property ro
.iio.accel.x.opt_scale -1
    set_property ro
.iio.accel.z.opt_scale -1
    has_sensors
=true

For good measure here is the content of /sys/class/dmi/id/uevent

MODALIAS=dmi:bvnINSYDECorp.:bvrLINX1010B.R22.03.010:bd07/24/2015:svnLINX:pnLINX1010B:pvrType1-TBDbyOEM:rvnType2-BoardManufacturer:rnType2-BoardProductName:rvrType2-BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:


Message has been deleted

Paul Dixon

unread,
Mar 27, 2019, 5:36:33 AM3/27/19
to Android-x86
Thanks Mark.

I think I have the same tablet. Did you ever manage to get Bluetooth working?

Thanks again.

Message has been deleted

Chih-Wei Huang

unread,
Mar 28, 2019, 8:07:28 PM3/28/19
to Android-x86
Thank you! I've added a patch for it.
(note has_sensors=true is unnecessary)

'Mark Ellis' via Android-x86 <andro...@googlegroups.com> 於
2019年3月27日 週三 下午5:12寫道:
> The screen rotation in portrait mode in 8.1-r1 is upside down. The fix is to add the following to the case statement in the init_hal_sensors() function in /etc/init.sh
>
> *LINX1010B*)
> set_property ro.iio.accel.x.opt_scale -1
> set_property ro.iio.accel.z.opt_scale -1
> has_sensors=true
>
> For good measure here is the content of /sys/class/dmi/id/uevent


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Paul Dixon

unread,
Mar 31, 2019, 11:44:20 AM3/31/19
to Android-x86
Hi again, well done with the rotation fix.

Did you get a chance to look at the Bluetooth?

Reply all
Reply to author
Forward
0 new messages