[Bug 199715] hp_accel: probe of HPQ6007:00 failed with error -22 (HP Envy x360)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=199715

--- Comment #34 from Hans de Goede (jwrdegoede@xxxxxxxxxxxxxxxxx) ---
(In reply to Richard Neumann from comment #33)
> They are all recognized

That does not mean anything since the HID descriptors are provided by the
amd_fsh driver itself, so of course they describe a valid gyroscope and
magnetometer.

> Testing the other sensors is non-trivial.

Testing the ALS sensor actually should be easy, I assume that you have
iio-sensor-proxy installed (that is what is typically used to do accelerometer
based auto-display-rotation) ? Then you can just run monitor-sensor and it will
print the ALS readings and then moving the laptop from a dark environment (say
inside in a room with the blinds closed) to a light environment (say outside)
should lead to significant different readings, with the outside readings being
significantly higher.

As you indicate there are not really any userspace consumers of the gyroscope
and 
magnetometer so testing those might be harder, although I think that
monitor-sensor probably also prints magnetometer readings. And that should
behave as a compass so if you stand upright, holding the laptop and then spin
around the axis from your head to your feet, then those should change.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux