HP ENVY x360 Accelerometer not updating, auto rotation does not work
monitor-sensor
results in:
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: undefined)
=== No ambient light sensor
=== No proximity sensor
Hardware: Make/Model: HP ENVY x360 2-in-1 convertible - 15-ee1xxx
CPU/GPU: AMD Ryzen 5700U with radeon graphics
OS: Manjaro Linux; Build ID: rolling (Downloaded/Installed 21.0.7)
Kernel: 5.13.8-1-MANJARO
iio-sensor-proxy version: 3.1-1
output of udevadm info --export-db
attached > output.txt
output of 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();
ClaimProximity();
ReleaseProximity();
signals:
properties:
readonly b HasAccelerometer = true;
readonly s AccelerometerOrientation = 'undefined';
readonly b HasAmbientLight = false;
readonly s LightLevelUnit = 'lux';
readonly d LightLevel = 0.0;
readonly b HasProximity = false;
readonly b ProximityNear = false;
};
node Compass {
};
};
output of /usr/libexec/iio-sensor-proxy -v -r
** (iio-sensor-proxy:3767): DEBUG: 18:24:56.351: iio-sensor-proxy is already running, or it cannot own its D-Bus name. Verify installation.
output of sudo iio_generic_buffer -A -N 0
(iio_generic_buffer: command not found, but I found a work around to get that to work and following is the result) Note the numbers do not change:
iio device number being used is 0
iio trigger number being used is 0
Enabling all channels
Enabling: in_magn_z_en
Enabling: in_magn_y_en
Enabling: in_magn_x_en
/sys/bus/iio/devices/iio:device0 magn_3d-dev0
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
0.000000 0.000000 0.000000
5.244241 8.323072 8.388735
0.000000 0.000000 0.000000
Disabling: in_magn_z_en
Disabling: in_magn_y_en
Disabling: in_magn_x_en
output of sudo iio_generic_buffer -A -N 1
(iio_generic_buffer: command not found, but I found a work around to get that to work and following is the result) Note the numbers do not change:
iio device number being used is 1
iio trigger number being used is 2
Enabling all channels
Enabling: in_anglvel_z_en
Enabling: in_timestamp_en
Enabling: in_anglvel_y_en
Enabling: in_anglvel_x_en
/sys/bus/iio/devices/iio:device1 gyro_3d-dev1
0.000000 0.000000 0.000000 1629066499616874232
0.000000 0.000000 0.000000 1629066499820268569
0.000000 0.000000 0.000000 1629066500023320653
0.000000 0.000000 0.000000 1629066500226643973
0.000000 0.000000 0.000000 1629066500430240385
0.000000 0.000000 0.000000 1629066500633296752
0.000000 0.000000 0.000000 1629066500836910881
915.287903 1452.642456 1452.664795 1629066500943377381
0.000000 0.000000 0.000000 1629066501040240197
Disabling: in_anglvel_z_en
Disabling: in_timestamp_en
Disabling: in_anglvel_y_en
Disabling: in_anglvel_x_en
output of sudo iio_generic_buffer -A -N 2
(iio_generic_buffer: command not found, but I found a work around to get that to work and following is the result) Note the numbers do not change:
iio device number being used is 1
iio trigger number being used is 2
Enabling all channels
Enabling: in_anglvel_z_en
Enabling: in_timestamp_en
Enabling: in_anglvel_y_en
Enabling: in_anglvel_x_en
/sys/bus/iio/devices/iio:device1 gyro_3d-dev1
0.000000 0.000000 0.000000 1629066499616874232
0.000000 0.000000 0.000000 1629066499820268569
0.000000 0.000000 0.000000 1629066500023320653
0.000000 0.000000 0.000000 1629066500226643973
0.000000 0.000000 0.000000 1629066500430240385
0.000000 0.000000 0.000000 1629066500633296752
0.000000 0.000000 0.000000 1629066500836910881
915.287903 1452.642456 1452.664795 1629066500943377381
0.000000 0.000000 0.000000 1629066501040240197
Disabling: in_anglvel_z_en
Disabling: in_timestamp_en
Disabling: in_anglvel_y_en
Disabling: in_anglvel_x_en
Let me know if you need more information.