Bug 216037
Summary: | Second MXC6655 accelerometer is not detected on transformer Aquarius NS483 laptop | ||
---|---|---|---|
Product: | Drivers | Reporter: | Nikolai (nickel) |
Component: | IIO | Assignee: | Virtual Assignee for Drivers/IIO (drivers_iio) |
Status: | NEW --- | ||
Severity: | normal | CC: | andy.shevchenko, jwrdegoede |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.17.11 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
ACPI DSDT
DMIDECODE udevadm info --export-db log gdbus introspect |
Description
Nikolai
2022-05-27 16:08:40 UTC
Created attachment 301058 [details]
ACPI DSDT
Created attachment 301059 [details]
DMIDECODE
Created attachment 301060 [details]
udevadm info --export-db log
Created attachment 301061 [details]
gdbus introspect
+Cc: Hans as he was working on similar issues in the past. Btw, do you still experience this issue in a newest kernel? Andy, thank you for the Cc. Nikolai, thank you for reporting this and thank you for already doing some initial investigation and providing a DSDT. Looking at the _CRS for the Device (ACMG) {} then it has 2 I2cSerialBusV2 resources, likely one for each accelerometer. We have hit this case before with BOSC0200 ACPI devices describing bmc150 accelerometers, see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/accel/bmc150-accel-i2c.c#n125 I think we need to add a function like bmc150_acpi_dual_accel_probe() to drivers/iio/accel/mxc4005.c minus the extra special suspend/resume handling. Nikolai, do you think you can write a patch for this yourself (mostly copy + pasting the bmc150_acpi_dual_accel_probe() function) ? |