GuLinux / ScreenRotator

Automatic screen rotation daemon for X11
GNU General Public License v3.0
57 stars 18 forks source link

No rotation on Asus C101PA (aarch64) #6

Open mrvdb opened 6 years ago

mrvdb commented 6 years ago

Installed through the aur package, compilation went fine once the 'aarch64' arch was added.

The machine has the proper sensors, and rotation works using xrandr.

xinput --list:

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Elan Touchscreen                          id=7    [slave  pointer  (2)]
⎜   ↳ Elan Touchpad                             id=8    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ cros_ec                                   id=9    [slave  keyboard (3)]
    ↳ cros_ec_buttons                           id=10   [slave  keyboard (3)]
    ↳ rk3399-gru-sound Headset Jack             id=11   [slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD           id=6    [slave  keyboard (3)]

xinput --list-props 7:

Device 'Elan Touchscreen':
        Device Enabled (119):   1
        Coordinate Transformation Matrix (120): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Calibration Matrix (258):      1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Calibration Matrix Default (259):      1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (241):     1, 0
        libinput Send Events Mode Enabled (242):        0, 0
        libinput Send Events Mode Enabled Default (243):        0, 0
        Device Node (244):      "/dev/input/event2"
        Device Product ID (245):        0, 0

I'm not familiar enough with qt5-sensors if this should work at all, but glancing over the source and qt5 documentation I see no reason why it should not.

freyacodes commented 6 years ago

Not rotating on my Lenovo YOGA 910-13IKB either. Also on Arch but with x86_64.

Edit: Nevermind, this turned out to be an iio-sensor-proxy problem