I have had to disable the ADXL345 accelerator driver in the jammy:linux-
intel-iotg kernel.

The code is broken, and needs a bit of work to correct.

It was also broken in the 5.13 build, so it is not a regression.  I know
that it appeared to be enabled in the 5.13 config. but because of the
Kconfig dependencies, it was actually disabled because it requires the
ADXL34X module to be disabled.  Only one can be enabled in the kernel.
When I disable the 34X and enable the 345 driver, it fails because the
function  adxl345_i2c_remove() is not defined, but it is called.

I am going to revert the change where CONFIG_ADXL345 is enabled.  The
build break will need to be corrected in both the 5.13 build, and the
5.15 build.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-intel-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1962674

Title:
  Add IIO sensors ID for ACPI based platform

Status in HWE Next:
  New
Status in linux-intel-5.13 package in Ubuntu:
  Invalid
Status in linux-intel-iotg package in Ubuntu:
  New
Status in linux-intel-5.13 source package in Focal:
  Fix Released
Status in linux-intel-iotg source package in Focal:
  Invalid
Status in linux-intel-5.13 source package in Jammy:
  Invalid
Status in linux-intel-iotg source package in Jammy:
  In Progress
Status in linux-intel-5.13 source package in Kinetic:
  Invalid
Status in linux-intel-iotg source package in Kinetic:
  New

Bug description:
  [Impact]
  On ACPI based platforms, some sensors aren't probed because driver doesn't 
have ACPI IDs, so they are useless.

  [Fix]
  For pressure sensor:
  72ff282819d0526d3e4417c2a61414557981b5af iio: pressure: dps310: Add ACPI HID 
table

  For humidity sensor:
  711b6a3f4af137c4a7f759136ccd50d455095b95 iio: humidity: hdc100x: Add ACPI HID 
table

  For accelerator sensor:
  b9493d595226b598ed79b3769f7038fda1a5391b iio: accel: adxl345: Add ACPI HID 
table

  The commit is part of patch series, for the whole series, please
  cherry-pick
  
01676b0f3b625a9aa608d5b716898e9dba2fb63e^..4781f3e0e6cadf332f49f723ba820f35960a058d

  [Test]
  All sensors are working under /sys/bus/iio.

  [Where problems could occur]
  Unless there's an ID collision, these patches don't really bring any change, 
hence no regression risk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1962674/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to