From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC76FC433E0 for ; Tue, 19 Jan 2021 20:26:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8EA4023107 for ; Tue, 19 Jan 2021 20:26:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730274AbhASU0e convert rfc822-to-8bit (ORCPT ); Tue, 19 Jan 2021 15:26:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:56900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730401AbhASUZg (ORCPT ); Tue, 19 Jan 2021 15:25:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPS id 96C6223332 for ; Tue, 19 Jan 2021 20:24:54 +0000 (UTC) From: bugzilla-daemon@bugzilla.kernel.org To: platform-driver-x86@vger.kernel.org Subject: [Bug 199715] hp_accel: probe of HPQ6007:00 failed with error -22 (HP Envy x360) Date: Tue, 19 Jan 2021 20:24:54 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo drivers_platform_x86@kernel-bugs.osdl.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: Platform_x86 X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jwrdegoede@fedoraproject.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: drivers_platform_x86@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=199715 --- Comment #45 from Hans de Goede (jwrdegoede@fedoraproject.org) --- I believe that your models simply do not have an ALS sensor. Luya did also test the magnetometer and gyro bits and reported his results in the Fedora bug about this: https://bugzilla.redhat.com/show_bug.cgi?id=1651886 """ Gyroscope --------- ls /sys/bus/iio/devices/iio\:device0/ buffer/ in_anglvel_z_raw dev name in_anglvel_hysteresis power/ in_anglvel_offset scan_elements/ in_anglvel_sampling_frequency subsystem/ in_anglvel_scale trigger/ in_anglvel_x_raw uevent in_anglvel_y_raw cat /sys/bus/iio/devices/iio\:device0/name gyro_3d cat /sys/bus/iio/devices/trigger0/name gyro_3d-dev0 Gyroscope value returned 0.0.0 (x.y.z) Magnetometer ------------ ls /sys/bus/iio/devices/iio\:device3/ buffer in_magn_sampling_frequency in_magn_z_raw subsystem dev in_magn_scale name trigger in_magn_hysteresis in_magn_x_raw power uevent in_magn_offset in_magn_y_raw scan_elements cat /sys/bus/iio/devices/iio\:device3/name magn_3d cat /sys/bus/iio/devices/trigger2/name magn_3d-dev3 Test with cat /sys/bus/iio/devices/iio:device3/in_magn_x_raw successful. Test with cat /sys/bus/iio/devices/iio:device3/in_magn_y_raw successful. Test with cat /sys/bus/iio/devices/iio:device3/in_magn_z_raw successful. """ Where I assume successful for the magn device means that the values changed when doing the following: "For the magneto values (compass) you expect the x and y values to change if you sit the laptop on the desk and then rotate it while keeping it sitting on the desk, while the values should stat more or less the same when you do not move the laptop." @Richard, can you confirm that your model behaves the same, so working accelerometer and magnetometer, with the gyro and als always reading all 0 ? I would like to know, so that I can use the right sensor_mask for the DMI quirk for the upstream driver for this. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.