Plasma mobile on HP pro Tablet 408 - auto screen rotation doesn't work

Hello,

I installed plasma mobile on a HP pro tablet 408 (Intel Atom Quad Core Processor* Z3736F). I made a stable iso with manjaro-tools buildiso.

No it seems auto screen rotation doesn’t work. I installed iio-sensor-proxy, but that doesn’t seem to work. When I check systemctl status iio-sensor-proxy.service, the service is dead. I can’t enable it also, I get the message this service isn’t meant to be enabled using systemd.

When I check dmesg, the accelerometer is recognized as bcm150_accel_i2c. There are some error messages:

    7.060695] bmc150_accel_i2c i2c-BSG2150:00-bmc150_accel.0: mounting matrix not found: using identity...
[    7.060713] bmc150_accel_i2c i2c-BSG2150:00-bmc150_accel.0: supply vdd not found, using dummy regulator
[    7.063990] bmc150_accel_i2c i2c-BSG2150:00-bmc150_accel.0: supply vddio not found, using dummy regulator
[    7.073099] bmc150_magn_i2c i2c-BSG2150:00-bmc150_magn.1: supply vdd not found, using dummy regulator
[    7.096238] bmc150_magn_i2c i2c-BSG2150:00-bmc150_magn.1: supply vddio not found, using dummy regulator
[    7.104635] bmc150_magn_i2c i2c-BSG2150:00-bmc150_magn.1: mounting matrix not found: using identity...
[    7.159505] input: SYNA7508:00 06CB:125D Stylus as /devices/platform/80860F41:03/i2c-3/i2c-SYNA7508:00/0018:06CB:125D.0001/input/input9
[    7.160121] input: SYNA7508:00 06CB:125D as /devices/platform/80860F41:03/i2c-3/i2c-SYNA7508:00/0018:06CB:125D.0001/input/input10
[    7.160828] hid-multitouch 0018:06CB:125D.0001: input,hidraw0: I2C HID v1.00 Device [SYNA7508:00 06CB:125D] on i2c-SYNA7508:00
[    7.815131] rt5640 i2c-10EC5640:00: Failed to set DMIC clock
[    7.815137] rt5640 i2c-10EC5640:00: ASoC: PRE_PMU: DMIC CLK event failed: -22
[    8.079724] i2c_designware 80860F41:02: controller timed out
[    9.087355] i2c_designware 80860F41:02: controller timed out
[    9.087411] bmc150_magn_i2c i2c-BSG2150:00-bmc150_magn.1: Failed to bring up device from suspend mode
[    9.087672] bmc150_magn_i2c: probe of i2c-BSG2150:00-bmc150_magn.1 failed with error -110
[   10.095340] i2c_designware 80860F41:02: controller timed out
[   10.095380] bmc150_accel_i2c i2c-BSG2150:00-bmc150_accel.0: Error: Reading chip id
[   10.095737] bmc150_accel_i2c: probe of i2c-BSG2150:00-bmc150_accel.0 failed with error -110

and result of inxi -v7azy:

System:
  Kernel: 6.1.8-x64v1-xanmod1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux-xanmod
    root=UUID=e6d743f9-6b7b-41a6-8635-2c44b6ea01ff rw quiet mitigations=off
    resume=UUID=5bd34495-8fa6-42cd-ab72-3f246848d685 udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_wayland vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Portable System: Hewlett-Packard product: HP Pro Tablet 408
    v: 0979100000405F00000330107 serial: <superuser required> Chassis: type: 11
    serial: <superuser required>
  Mobo: Hewlett-Packard model: 8048 serial: <superuser required> UEFI: Insyde
    v: F.22 date: 10/16/2015
Battery:
  ID-1: axp288_fuel_gauge charge: 93% condition: N/A volts: 4.1 min: N/A
    model: N/A type: Li-ion serial: N/A status: discharging
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 Plus
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  RAM: total: 1.87 GiB used: 1.49 GiB (79.8%)
  RAM Report: missing: Required tool dmidecode not installed. Check
    --recommends
CPU:
  Info: model: Intel Atom Z3736F bits: 64 type: MCP arch: Silvermont level: v2
    built: 2013-15 process: Intel 22nm family: 6 model-id: 0x37 (55) stepping: 8
    microcode: 0x838
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 224 KiB
    desc: d-4x24 KiB; i-4x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 1333 high: 2166 min/max: 500/2166 scaling:
    driver: intel_cpufreq governor: performance cores: 1: 500 2: 2166 3: 500
    4: 2166 bogomips: 10666
  Flags: 3dnowprefetch acpi aes aperfmperf apic arat arch_perfmon bts
    clflush cmov constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb
    erms est fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce md_clear mmx monitor
    movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pclmulqdq pdcm pebs pge pni
    popcnt pse pse36 rdrand rdtscp rep_good sep smep ss sse sse2 sse4_1 sse4_2
    ssse3 stibp syscall tm tm2 tsc tsc_adjust tsc_deadline_timer
    tsc_known_freq tsc_reliable vme xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Vulnerable; SMT vulnerable
  Type: meltdown status: Vulnerable
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1 status: Vulnerable: __user pointer sanitization and
    usercopy barriers only; no swapgs barriers
  Type: spectre_v2 status: Vulnerable, IBPB: disabled, STIBP: disabled,
    PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
    vendor: Hewlett-Packard driver: i915 v: kernel ports: active: DSI-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:0f31
    class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_wayland driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: crocus gpu: i915 display-ID: 0 screens: 1
  Screen-1: 0 s-res: 1280x800 s-size: <missing: xdpyinfo>
  Monitor-1: DSI-1 mapped: XWAYLAND0 res: 1280x800 hz: 60 dpi: 189
    size: 172x108mm (6.77x4.25") modes: 800x1280
  Message: No known Wayland EGL/GBM data sources. API: EGL/GBM
Audio:
  Message: No device data found.
  Sound API: ALSA v: k6.1.8-x64v1-xanmod1-1 running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.64 running: yes
Network:
  Message: No PCI device data found.
  IF-ID-1: wlan0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 58.25 GiB used: 8.5 GiB (14.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/mmcblk1 maj-min: 179:0 vendor: SK Hynix model: HCG8e
    size: 58.25 GiB block-size: physical: 512 B logical: 512 B type: SSD
    serial: <filter> rev: 0x7 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 53.86 GiB size: 53.86 GiB (100.00%) used: 8.02 GiB (14.9%)
    fs: f2fs dev: /dev/mmcblk1p2 maj-min: 179:2 label: N/A
    uuid: e6d743f9-6b7b-41a6-8635-2c44b6ea01ff
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 340 KiB (0.1%) fs: vfat dev: /dev/mmcblk1p1 maj-min: 179:1 label: N/A
    uuid: BCE4-6C1C
Swap:
  Kernel: swappiness: 30 (default 60) cache-pressure: 50 (default 100)
  ID-1: swap-1 type: partition size: 4.09 GiB used: 492.2 MiB (11.8%)
    priority: -2 dev: /dev/mmcblk1p3 maj-min: 179:3 label: swap
    uuid: 5bd34495-8fa6-42cd-ab72-3f246848d685
Unmounted:
  ID-1: /dev/mmcblk1boot0 maj-min: 179:8 size: 4 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/mmcblk1boot1 maj-min: 179:16 size: 4 MiB
    fs: <superuser required> label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 6 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-2:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-2.2:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c52b class-ID: 0300
  Hub-3: 2-0:1 info: Super-speed hub ports: 1 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 173 Uptime: 29m wakeups: 62 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 Packages:
  pm: pacman pkgs: 875 libs: 207 tools: paru Shell: Bash v: 5.1.16
  running-in: qmlkonsole inxi: 3.3.24

I can rotate the screen with:

kscreen-doctor output.1.rotation.right

So if I could ad a button to the quick-menu (where you can switch on/off wifi; auto-rotate, sound, etc), thats fine for me to. Probably it already exist, but how do you have to enable it?

I forgot to mention if I rotate the screen in the system settings, it turns automatic back to the default orientation after around 5 seconds.

Thanks in advance.

Maybe there is no support for this chip in the kernel.

Need to look it up in linux kenel.