Bug 200775 - Cannot read the accelerometer raw data from the sensor LNG2DM
Summary: Cannot read the accelerometer raw data from the sensor LNG2DM
Status: RESOLVED INSUFFICIENT_DATA
Alias: None
Product: Drivers
Classification: Unclassified
Component: IIO (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Virtual Assignee for Drivers/IIO
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-09 09:21 UTC by Leon Liao
Modified: 2022-09-19 19:21 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.15.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (62.51 KB, text/plain)
2018-08-09 09:21 UTC, Leon Liao
Details
content of /sys/bus/iio/devices/iio:device6/power (329 bytes, text/plain)
2018-08-09 09:23 UTC, Leon Liao
Details
dmesg with dynamic debug enabled (79.44 KB, text/plain)
2019-03-07 05:31 UTC, Kai-Heng Feng
Details

Description Leon Liao 2018-08-09 09:21:50 UTC
Created attachment 277779 [details]
dmesg

The value always is 0 in in_accel_x_raw, in_accel_y_raw and in_accel_y_raw.

DEVPATH: /devices/pci0000:00/0000:00:13.0/{33AECD58-B679-4E54-9BD9-A04D34F0C226}/001F:8086:22D8.0002/HID-SENSOR-200073.11.auto/iio:device6


Machine: Dell Vostro 5481
Comment 1 Leon Liao 2018-08-09 09:23:56 UTC
Created attachment 277781 [details]
content of /sys/bus/iio/devices/iio:device6/power
Comment 2 Kai-Heng Feng 2018-10-08 07:03:22 UTC
Srinivas,

IRQ doesn't get generated when I move the hardware, although it works fine under Windows.

Please let me know if you need more information.
Comment 3 Srinivas Pandruvada 2019-03-06 19:08:22 UTC
Even the raw interface is not working. I suggest enable dynamic debug in hid-sensor-hub, hid-sensor-trigger.c and hid-sensor-accel-3d.c.
Then do operation and send dmesg by cat of in_accel_?_raw
Comment 4 Kai-Heng Feng 2019-03-07 05:31:38 UTC
Created attachment 281563 [details]
dmesg with dynamic debug enabled
Comment 5 Kai-Heng Feng 2019-07-03 15:40:36 UTC
Srinivas,

The issue is still reproducible on latest kernel. Any idea?
Comment 6 Andy Shevchenko 2022-08-29 12:57:40 UTC
What's the status of the issue? Can we close it?
Comment 7 Srinivas Pandruvada 2022-08-29 19:47:50 UTC
Without OEM's help, we can't resolve. It is possible that Windows also polling.
Comment 8 Jonathan Cameron 2022-09-19 15:37:51 UTC
On Mon, 29 Aug 2022 19:47:50 +0000
bugzilla-daemon@kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=200775
> 
> --- Comment #7 from Srinivas Pandruvada (srinivas.pandruvada@linux.intel.com)
> ---
> Without OEM's help, we can't resolve. It is possible that Windows also
> polling.
> 

Annoying though it is to leave a user stuck.  I would suggest closing this one
given no means to obtain required info to debug.

Jonathan
Comment 9 Andy Shevchenko 2022-09-19 19:21:09 UTC
Closed based on comment #8. Feel free to reopen if any new information is available.

Note You need to log in before you can comment on or make changes to this bug.