Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #94172
| Path | csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | ywp1023456@foxmail.com |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1148724: linux: please enable CONFIG_BMI323_I2C (BOSC0200 accelerometers on 2-in-1s) |
| Date | Tue, 22 Sep 2026 19:40:01 +0200 |
| Message-ID | <NGcDf-1aUq-1@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Tue Sep 22 17:35:09 2026 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -0.452 |
| Reply-To | ywp1023456@foxmail.com, 1148724@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | debian-kernel@lists.debian.org |
| X-Debian-Pr-Message | report 1148724 |
| X-Debian-Pr-Package | linux |
| X-Debian-Pr-Source | linux |
| X-Qq-Mid | xmsmtpt1790097921t9fe3nii2 |
| X-Qq-Xmailinfo | OIPiZ4jSkGWANy+VWjoKJawnMjPE6lnsJjzMNcHBYhSsfIKQ7RChZr8V8u/bjA v+hoi+BvrReJBErMgI9UYllyxskgruovloN0z6zeQgI8D34WUDNk3PxOR/ORlrE9Yxy1XbwCrHGe E9KQxrKA0y21Z6tZlw5N8vJ8ROup5sYZge7iLpsgvqzd3NwMwBGhUU+CgY4zwOwlty7RPNwsJW8m IlOq/bh/rYyAlAowPwMrxbNYzlqEjrXIh2cuVY3FZX9F2eYi14j0lEANurV6TCEpIkOLQ1cz4UT7 ciZFno7t8uVxeRVe1w+dFag4LwBu9ZL6aYfl69rewaVkzc45Uk/58oRxyWR/88ytNbU9Ln852QBc ZYDghlKQYmhQjsAlXK0bO3RNrmAg/nuhJy3uvRD+vJkkEmijhyJ02KK70NjldIi8RqLbfz2Uwr70 C9Ao8xhh0E/NdWu2yumaMK2QYbIkJmW0mgZkIQSJESkgoiFZt0KFktV1JOMy53G9RZQEqDdjx1Tx r/48A7Tnoa/gn749vl7KpOSSceJ6dH9/N+is12AMDt5KZ4aUDEi7ISUVYN0Pagycob+l6VyF0DR3 L9izNtzrVt9Y8mY8cAx6eJql9DMrxVP72tGJYj7OaRJoQWTq7o6+9NucqPKUR9gh8ZMYZArWfOCB i+4+U85lGj3otYSMygIViFyP1lOri0EpgVI+BJM6K9tesTx99kktvuCZhe4pydHIWKDHvp3KH1uG 9MVkbFrlzC0Gp9gpSq2GxQFRqLEW+gKVjBtRhTvoWbHCBlGJtF5GQ/bwyqwysySA5Ee0iKLlb2/u Tz+rl9QlIxp38ziNnQTGMiECUyyVHQ2cAOSiQsPXOevv54f0xkkkKrwmn0aH3kibJ0uJPAaVWC9G Z/TOhkzKj+e3W+uK9fgGnQVgbrwsPfoZpwSO9/Xayr0yFF1xVxJfh4HiwyoEeKnH/oLKkL24lS2W nh72cxKxcSkl99yBdjrTPsAj6MncoXsktJLy5+GQ5rNufGtCJQakR3rjGXcByWaAVx0eZPLJ00C5 ChGj6plw== |
| X-Qq-Xmrinfo | Mp0Kj//9VHAxzExpfF+O8yhSrljjwrznVg== |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Greylist | delayed 439 seconds by postgrey-1.37 at buxtehude; Tue, 22 Sep 2026 17:32:48 UTC |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1992749 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 107 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 23 Sep 2026 01:25:22 +0800 |
| X-Original-Message-ID | <tencent_AA8246F4C4B472F7C23D7874834CA2741109@qq.com> |
| Xref | csiph.com linux.debian.bugs.dist:1310363 linux.debian.kernel:94172 |
Cross-posted to 2 groups.
Show key headers only | View raw
Package: linux
Severity: wishlist
Dear maintainers,
The Debian kernel does not enable CONFIG_BMI323_I2C. On 2-in-1 convertible
laptops whose accelerometer is a Bosch BMI323 exposed under the ACPI ID
BOSC0200, no IIO device is created, so iio-sensor-proxy has no data source
and GNOME automatic screen rotation does not work.
The same hardware works correctly with Gentoo's gentoo-kernel-bin 6.18.48,
where this driver is enabled. This indicates that the sensor hardware itself
is functional and that the missing IIO device is due to the Debian kernel
configuration.
My machine:
H3C MegaBook 14 (2-in-1 convertible)
Intel Core Ultra 5 226V (Lunar Lake)
Accelerometer: Bosch BMI323, connected over I2C
ACPI device: BOSC0200:00
On Debian 13 (trixie) with kernel 7.1.8+deb13-amd64 (source version
7.1.8-1~bpo13+1):
$ grep BMI323 /boot/config-7.1.8+deb13-amd64
# CONFIG_BMI323_I2C is not set
# CONFIG_BMI323_SPI is not set
$ find /lib/modules/7.1.8+deb13-amd64 -name '*bmi323*'
(no output)
$ dmesg | grep -i bosc
[...] bmc150_accel_i2c i2c-BOSC0200:00: Invalid chip 0
$ ls /sys/bus/iio/devices/
(empty)
$ ls /sys/class/iio/
(empty)
iio-sensor-proxy 3.7-3 is installed from Debian main, but there is no IIO
device for it to read, so automatic screen rotation does not work.
The option is absent from Debian's kernel configuration, in both the backports
source matching the kernel I run and in stable trixie:
linux 7.1.8-1~bpo13+1 debian/config/config 8050 lines grep -ci bmi323 -> 0
linux 6.12.107-1 debian/config/config 8212 lines grep -ci bmi323 -> 0
In both files, the sibling driver in the same Kconfig directory is enabled
explicitly:
## file: drivers/iio/imu/bmi160/Kconfig
CONFIG_BMI160_I2C=m
CONFIG_BMI160_SPI=m
There is no entry referencing drivers/iio/imu/bmi323/Kconfig anywhere in
either file. The upstream Kconfig entry is:
config BMI323_I2C
tristate "Bosch BMI323 I2C driver"
depends on I2C
select BMI323
select REGMAP_I2C
It is a tristate with no default, so the option remains disabled when Debian's
configuration does not mention it. I could not find any Debian-specific reason
for it being disabled.
The "Invalid chip 0" line above is expected behaviour rather than an error. The
upstream bmc150 driver documents, in drivers/iio/accel/bmc150-accel-i2c.c, that
BOSC0200 is also used by BMI323-based devices such as the ASUS ROG Ally and
Ayaneo Air Plus. Because the bmc150 and BMI323 chip IDs differ, the bmc150
chip-ID check fails on those devices, which allows the BMI323 driver to bind
instead. On this system that handoff cannot happen, because the bmi323 driver
is not enabled in the Debian kernel.
Working configuration on the same hardware, with
sys-kernel/gentoo-kernel-bin-6.18.48:
$ ls /sys/bus/iio/devices/
iio:device0
$ cat /sys/bus/iio/devices/iio:device0/name
bmi323-imu
iio-sensor-proxy detects the device and GNOME automatic screen rotation works
normally.
Please enable the BMI323 I2C driver in the Debian kernel configuration:
## file: drivers/iio/imu/bmi323/Kconfig
CONFIG_BMI323_I2C=m
CONFIG_BMI323_SPI is not required for my hardware, since the sensor is
connected over I2C; enabling it as well may be appropriate for consistency
with the I2C driver.
The BOSC0200 + BMI323 combination is documented upstream for the ASUS ROG
Ally and Ayaneo Air Plus, so this change may benefit other affected systems
as well.
I searched the Debian BTS before filing; the closest match (#1106411, a bmc150
NULL-pointer dereference, since fixed) is a different issue.
Thank you for your work on the Debian kernel.
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1148724: linux: please enable CONFIG_BMI323_I2C (BOSC0200 accelerometers on 2-in-1s) ywp1023456@foxmail.com - 2026-09-22 19:40 +0200 Bug#1148724: marked as done (linux: please enable CONFIG_BMI323_I2C (BOSC0200 accelerometers on 2-in-1s)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-10-09 12:20 +0200
csiph-web