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)
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 SensorProxy { .DBus.Propertie s { sChanged( s interface_name,
a{sv} changed_properties,
as invalidated_ properties) ; .DBus.Introspec table { t(out s xml_data); .DBus.Peer { eId(out s machine_uuid); SensorProxy { lerometer( ); celerometer( ); ght(); ientation = 'bottom-up';
node /net/hadess/
interface org.freedesktop
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:
Propertie
properties:
};
interface org.freedesktop
methods:
Introspec
signals:
properties:
};
interface org.freedesktop
methods:
Ping();
GetMachin
signals:
properties:
};
interface net.hadess.
methods:
ClaimAcce
ReleaseAc
ClaimLight();
ReleaseLi
signals:
properties:
readonly b HasAccelerometer = true;
readonly s AccelerometerOr
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- OMEN-by- HP:~$ sudo G_MESSAGES_ DEBUG=all /usr/sbin/ iio-sensor- proxy platform/ lis3lv02d/ input/input12/ event11 platform/ lis3lv02d/ input/input12/ event11 of type accelerometer at Input accelerometer eter' for accelerometer device eter' for accelerometer device
eduaquiles@
** (process:2761): DEBUG: Found input accel at /sys/devices/
** (process:2761): DEBUG: Found device /sys/devices/
** (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 'ClaimAccelerom
** (process:2761): DEBUG: Handling driver refcounting method 'ClaimAccelerom
** (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 WANTS=iio- sensor- proxy.service WANTS=iio- sensor- proxy.service WANTS=iio- sensor- proxy.service
E: SYSTEMD_
E: SYSTEMD_
E: SYSTEMD_