你好 askUbuntu 社区
我最近设法在 TrekStor Surftab W1 10.1 上安装了 Ubuntu 22.04,但屏幕旋转出现了问题。
通过研究,我发现我需要通过添加到/etc/udev/hwdb.d
文件来调整 ACCEL_MOUNT_MATRIX61-sensor-local.hwdb
这是我的输出udevadm info -n /dev/iio\:device1
P: /devices/pci0000:00/808622C1:02/i2c-2/i2c-BMA250E:00/iio:device1
N: iio:device1
L: 0
E: DEVPATH=/devices/pci0000:00/808622C1:02/i2c-2/i2c-BMA250E:00/iio:device1
E: DEVNAME=/dev/iio:device1
E: DEVTYPE=iio_device
E: MAJOR=235
E: MINOR=1
E: SUBSYSTEM=iio
E: USEC_INITIALIZED=14257714
E: IIO_SENSOR_PROXY_TYPE=iio-poll-accel iio-buffer-accel
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:
和dmidecode BMA250E | grep Product
Product Name: SurfTab duo W1 10.1 (VT4)
Product Name: Cherry Trail CR
和dmidecode BMA250E | grep Manufacturer
Manufacturer: TrekStor
Manufacturer: Hampoo
Manufacturer: To Be Filled By O.E.M.
Manufacturer: Hynix Semiconductor
Manufacturer: Hynix Semiconductor
Manufacturer: Intel
将这些结果放入/etc/udev/hwdb.d/61-sensor-local.hwdb
sensor:modalias:acpi:BMA250E*:dmi:*:svnTrekStor*:SurfTabduoW110.1(VT4):*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
systemd-hwdb update
我使用和更新了 hwdb udevadm trigger
。
我测试了矩阵的不同值,但行为保持不变。
我做错了什么?
问候 JoniG59