The BMI260 accelerometer in the OneXPlayer Super X is exposed through the ACPI BMI0160 ID. Its X and Y axes do not match the built-in display axes, and no firmware mount matrix is provided. Add an exact vendor and product DMI match with the matrix verified on the hardware. The matrix keeps the native landscape position normal and maps both portrait rotations to the corresponding display orientation. Tested with iio-sensor-proxy 3.8 and Mutter 49.7 in all display orientations. The compiled hwdb entry also matches the complete modalias reported by the device. Development of this patch used assistance from ChatGPT 5.6 sol.
Files in this directory specify a description of hardware devices, in the form of mappings from modalias-like keys (which identify specific hardware devices) to udev properties. Files in this directory are not read by udev directly. Instead, man:systemd-hwdb(8) compiles them into a binary database. See man:hwdb(7) for an overview of the configuration file format, and man:systemd-udevd.service(8) for a description of the udev daemon. Use 'systemd-analyze cat-config udev/hwdb.d' to display the effective config.