I have the same issue. The login screen and Wayland are by default
rotated 180 degrees. Gnome is working fine. I have an HP OMEN laptop
that has some sensor to identify if the laptop is "falling" and disable
the HD. I don't know about another accelerometer, however, if I rotate
the laptop, Ubuntu flips my screen as I move it. Either it is reading
the value incorrectly or the sensor is mounted upside-down. Either way,
there should be a way to disable this system-wide and use the same
orientation that Gnome is using.
Since it was asked the output of some commands to another user, I'm
pasting the output of my computer as well (with the laptop on a platform
on top of the table):
gdbus introspect --system --dest net.hadess.SensorProxy --object-path
/net/hadess/SensorProxy
node /net/hadess/SensorProxy {
interface org.freedesktop.DBus.Properties {
methods:
Get(in s interface_name,
in s property_name,
out v value);
GetAll(in s interface_name,
out a{sv} properties);
Set(in s interface_name,
in s property_name,
in v value);
signals:
PropertiesChanged(s interface_name,
a{sv} changed_properties,
as invalidated_properties);
properties:
};
interface org.freedesktop.DBus.Introspectable {
methods:
Introspect(out s xml_data);
signals:
properties:
};
interface org.freedesktop.DBus.Peer {
methods:
Ping();
GetMachineId(out s machine_uuid);
signals:
properties:
};
interface net.hadess.SensorProxy {
methods:
ClaimAccelerometer();
ReleaseAccelerometer();
ClaimLight();
ReleaseLight();
signals:
properties:
readonly b HasAccelerometer = true;
readonly s AccelerometerOrientation = 'bottom-up';
readonly b HasAmbientLight = false;
readonly s LightLevelUnit = 'lux';
readonly d LightLevel = 0.0;
};
node Compass {
};
};
(I stopped the service before running the next command)
eduaquiles@eduaquiles-OMEN-by-HP:~$ sudo G_MESSAGES_DEBUG=all
/usr/sbin/iio-sensor-proxy
** (process:2761): DEBUG: Found input accel at
/sys/devices/platform/lis3lv02d/input/input12/event11
** (process:2761): DEBUG: Found device
/sys/devices/platform/lis3lv02d/input/input12/event11 of type accelerometer at
Input accelerometer
** (process:2761): DEBUG: Accel read from input on '(null)': 7, 853, 814 (scale
0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): 7, 853, 814
(scale: 0.038320)
** (process:2761): DEBUG: Emitted orientation changed: from undefined to
bottom-up
** (process:2761): DEBUG: Handling driver refcounting method 'ClaimLight' for
ambient light sensor device
** (process:2761): DEBUG: Handling driver refcounting method
'ClaimAccelerometer' for accelerometer device
** (process:2761): DEBUG: Handling driver refcounting method
'ClaimAccelerometer' for accelerometer device
** (process:2761): DEBUG: Accel read from input on '(null)': -5, 852, 814
(scale 0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): -5, 852, 814
(scale: 0.038320)
** (process:2761): DEBUG: Accel read from input on '(null)': -5, 867, 814
(scale 0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): -5, 867, 814
(scale: 0.038320)
** (process:2761): DEBUG: Accel read from input on '(null)': -8, 867, 803
(scale 0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): -8, 867, 803
(scale: 0.038320)
** (process:2761): DEBUG: Accel read from input on '(null)': -8, 853, 803
(scale 0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): -8, 853, 803
(scale: 0.038320)
** (process:2761): DEBUG: Accel read from input on '(null)': -7, 853, 800
(scale 0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): -7, 853, 800
(scale: 0.038320)
** (process:2761): DEBUG: Accel read from input on '(null)': -7, 857, 802
(scale 0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): -7, 857, 802
(scale: 0.038320)
** (process:2761): DEBUG: Accel read from input on '(null)': -7, 854, 815
(scale 0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): -7, 854, 815
(scale: 0.038320)
** (process:2761): DEBUG: Accel read from input on '(null)': -6, 856, 818
(scale 0.038320)
** (process:2761): DEBUG: Accel sent by driver (quirk applied): -6, 856, 818
(scale: 0.038320)
~$ udevadm info --export-db | grep iio
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: SYSTEMD_WANTS=iio-sensor-proxy.service
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1726232
Title:
Ubuntu 17.10 login screen appearing upside down
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iio-sensor-proxy/+bug/1726232/+subscriptions
--