Discussion:
Screen rotation on Acer Switch 3 SW312-31
(too old to reply)
'Patrick Wirth' via Android-x86
2018-10-27 17:54:34 UTC
Permalink
Hi there,
Does someone know how to get screen rotation on this device to work?

ItÂŽs LineageOS 14.1 x64 r2 installed and everything seems to work except
screen rotation and the two cameras (but i donÂŽt care about camera).
IÂŽve tried to edit init.sh and changed the value hal_sensors=iio and
has_sensors=true but it isnÂŽt doing anything.

In Ubuntu 18.x screen rotation works but shifted 180 degree so it might
work on android aswell.
It is a "bosch accelerometer" the hardware ID is
ACPI\VEN_BOSC&DEV_0200
ACPI\BOSC0200
*BOSC0200
How can I get it to work?
My linux skills are very limited.

Thank you
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Patrick Wirth' via Android-x86
2018-11-01 17:01:04 UTC
Permalink
The first command resulted in an error "No such file or directory"
I double checked the command.
The second command tells me "kbd"
斌
2018幎10月28日 週日 䞊午1:54寫道
Post by 'Patrick Wirth' via Android-x86
Hi there,
Does someone know how to get screen rotation on this device to work?
ItÂŽs LineageOS 14.1 x64 r2 installed and everything seems to work except
screen rotation and the two cameras (but i donÂŽt care about camera).
Post by 'Patrick Wirth' via Android-x86
IÂŽve tried to edit init.sh and changed the value hal_sensors=iio and
has_sensors=true but it isnÂŽt doing anything.
Post by 'Patrick Wirth' via Android-x86
In Ubuntu 18.x screen rotation works but shifted 180 degree so it might
work on android aswell.
Post by 'Patrick Wirth' via Android-x86
It is a "bosch accelerometer" the hardware ID is
ACPI\VEN_BOSC&DEV_0200
ACPI\BOSC0200
*BOSC0200
How can I get it to work?
My linux skills are very limited.
First of all, what's the result of these commands (by root)?
ls /sys/bus/iio/devices/iio:device*/in_accel_?_raw
getprop ro.hardware.sensors
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Patrick Wirth' via Android-x86
2018-11-06 05:40:11 UTC
Permalink
Can i run the same commands in thr terminal as for android x86 or do i
have to use an external tool for it?
斌
2018幎11月2日 週五 䞊午1:01寫道
Post by 'Patrick Wirth' via Android-x86
The first command resulted in an error "No such file or directory"
I double checked the command.
The second command tells me "kbd"
Then the driver is not enabled or loaded.
So what's the driver in Ubuntu?
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Patrick Wirth' via Android-x86
2018-11-06 05:43:14 UTC
Permalink
I guess, getprop doesn't work on ubuntu
Post by 'Patrick Wirth' via Android-x86
Can i run the same commands in thr terminal as for android x86 or do i
have to use an external tool for it?
2018幎11月2日 週五 䞊午1:01寫道
Post by 'Patrick Wirth' via Android-x86
The first command resulted in an error "No such file or directory"
I double checked the command.
The second command tells me "kbd"
Then the driver is not enabled or loaded.
So what's the driver in Ubuntu?
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Patrick Wirth' via Android-x86
2018-11-08 00:24:10 UTC
Permalink
Is that something you can work with?
Did a little bit of research and found this command but don't know if this
is what you need.
Post by 'Patrick Wirth' via Android-x86
I guess, getprop doesn't work on ubuntu
Post by 'Patrick Wirth' via Android-x86
Can i run the same commands in thr terminal as for android x86 or do i
have to use an external tool for it?
2018幎11月2日 週五 䞊午1:01寫道
Post by 'Patrick Wirth' via Android-x86
The first command resulted in an error "No such file or directory"
I double checked the command.
The second command tells me "kbd"
Then the driver is not enabled or loaded.
So what's the driver in Ubuntu?
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Patrick Wirth' via Android-x86
2018-11-15 18:04:05 UTC
Permalink
The first command ends in nothing, the second one in "No such file or
directory"
斌
2018幎11月8日 週四 䞊午8:24寫道
Post by 'Patrick Wirth' via Android-x86
Is that something you can work with?
Did a little bit of research and found this command but don't know if
this is what you need.
These drivers are also enabled in android-x86 kernel.
modprobe bmc150-accel-i2c
Then
ls -l /sys/bus/iio/devices/iio:device*/in_accel_?_raw
Post by 'Patrick Wirth' via Android-x86
Post by 'Patrick Wirth' via Android-x86
I guess, getprop doesn't work on ubuntu
Post by 'Patrick Wirth' via Android-x86
Can i run the same commands in thr terminal as for android x86 or do
i have to use an external tool for it?
Post by 'Patrick Wirth' via Android-x86
Post by 'Patrick Wirth' via Android-x86
Post by 'Patrick Wirth' via Android-x86
2018幎11月2日 週五 䞊午1:01寫道
Post by 'Patrick Wirth' via Android-x86
The first command resulted in an error "No such file or directory"
I double checked the command.
The second command tells me "kbd"
--
Chih-Wei
Android-x86 project
http://www.android-x86.org
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Loading...