[systemd-devel] Help with Acer Iconia W500 hwdb

Lennart Poettering lennart at poettering.net
Wed Feb 8 12:53:26 UTC 2017


On Wed, 08.02.17 21:05, Brock York (twunknown at gmail.com) wrote:

> Hello
> 
> I've been trying to get auto rotation working with
> Gnome 3 on my Acer Iconia Tab W500. Using iio-sensor-proxy
> the rotation works but the orientation is wrong.
> 
> So I've managed to come up with the following hwdb change
> which corrects the orientation.
> 
> The problem is I think the modalias string I have is to generic
> to be included in systemd as is, as it would match on any bma150
> accelerometer is my guess?
> 
> I've tried to modify the current rules in 60-sensors.hwdb
> to match the w500s accelerometer but it's not working.
> 
> udevadm info --path=/devices/virtual/input/input17
> P: /devices/virtual/input/input17
> E: ABS=7
> E: DEVPATH=/devices/virtual/input/input17
> E: EV=9
> E: ID_INPUT=1
> E: ID_INPUT_ACCELEROMETER=1
> E: ID_INPUT_ACCELEROMETER_ORIENTATION=right-up
> E: IIO_SENSOR_PROXY_TYPE=input-accel
> E: MODALIAS=input:b0019v0000p0000e0000-e0,3,kra0,1,2,mlsfw
> E: NAME="Acer BMA150 accelerometer"
> E: PHYS="wmi/input1"
> E: PRODUCT=19/0/0/0
> E: PROP=0
> E: SUBSYSTEM=input
> E: SYSTEMD_WANTS=iio-sensor-proxy.service
> E: TAGS=:seat:systemd:
> E: USEC_INITIALIZED=121291851

Please file this as PR on github, and make sure to cc @hadess.

Thanks!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list