Page 1 of 3

Lenovo Yoga 370 Tablet Mode?

Posted: Sat May 04, 2024 4:22 pm
by Josip
So i just bought Lenovo Yoga 370 and installed MX Linux on it, everything is good except one thing, when i tried using it in tablet mode, it didn't do much, touching screen just moves cursor around, no auto rotation, on-screen keyboard isn't showing up at all. All these things would work on Windows but i just prefer linux more
Tried installing "useful packages" from https://wiki.debian.org/TabletAndTouchScreen , updated and restarted still got nothing.
If someone has solution or can help, i would be very grateful

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sat May 04, 2024 5:03 pm
by j2mcgreg
We are going to need your computer’s complete profile before we can proceed, so you need to post the output from the QSI utility. The Quick System Info (QSI) utility is located in MX Tools and its output is automatically formatted for use here in the forum. Run the QSI utility, click “Copy for Forum” at the bottom and then just paste it here in your thread.
Forum Rules

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sat May 04, 2024 5:48 pm
by Charlie Brown
Josip wrote: Sat May 04, 2024 4:22 pm... no auto rotation ...
Found this:
https://github.com/hensur/yoga370d wrote:
Automatic tablet mode on Thinkpad Yoga 370

... Else just clone the repo and execute the script as your user. If you copy it to /usr/local/bin/yoga370d it can be used with the supplied .desktop file. ...

Btw. I'd install the most recent Liquorix kernel from "MX Package Installer" , just 2 clicks ...

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sun May 05, 2024 3:25 am
by Josip
j2mcgreg wrote: Sat May 04, 2024 5:03 pm We are going to need your computer’s complete profile before we can proceed, so you need to post the output from the QSI utility. The Quick System Info (QSI) utility is located in MX Tools and its output is automatically formatted for use here in the forum. Run the QSI utility, click “Copy for Forum” at the bottom and then just paste it here in your thread.
Forum Rules

Code: Select all

System:
  Kernel: 6.8.8-1-liquorix-amd64 [6.8-9~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable rcupdate.rcu_expedited=1 BOOT_IMAGE=/boot/vmlinuz-6.8.8-1-liquorix-amd64
    root=UUID=<filter> ro quiet splash init=/lib/systemd/systemd
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.2_x64 Libretto July 31  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Convertible System: LENOVO product: 20JJS1RK0E v: ThinkPad Yoga 370
    serial: <superuser required> Chassis: type: 31 serial: <superuser required>
  Mobo: LENOVO model: 20JJS1RK0E v: SDK0J40697 WIN serial: <superuser required> UEFI: LENOVO
    v: R0HET62W (1.42 ) date: 02/08/2023
Battery:
  ID-1: BAT0 charge: 8.9 Wh (22.2%) condition: 40.1/51.0 Wh (78.7%) volts: 14.7 min: 15.2
    model: LGC 01AV432 type: Li-poly serial: <filter> status: discharging cycles: 81
CPU:
  Info: model: Intel Core i5-7300U bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check
    gen: core 7 level: v3 note: check built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 9 microcode: 0xF4
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 800 min/max: 400/2601 boost: enabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 21599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: conditional; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:5916 class-ID: 0300
  Device-2: IMC Networks SunplusIT Integrated Camera type: USB driver: uvcvideo bus-ID: 1-8:3
    chip-ID: 13d3:5682 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: intel
    dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP1 model: LG Display 0x0561 built: 2016 res: 1920x1080 hz: 60
    dpi: 168 gamma: 1.2 size: 290x170mm (11.42x6.69") diag: 337mm (13.3") ratio: 16:9
    modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: Mesa Intel HD Graphics 620 (KBL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71
    class-ID: 0403
  API: ALSA v: k6.8.8-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15d7 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:24fd class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-7:2
    chip-ID: 8087:0a2b class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
    sub-v: 100 hci-v: 4.2 rev: 100
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, audio, telephony
Drives:
  Local Storage: total: 238.47 GiB used: 35.81 GiB (15.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: N/A size: 238.47 GiB block-size:
    physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 51055KLA
    temp: 34.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 238.22 GiB size: 233.43 GiB (97.99%) used: 35.81 GiB (15.3%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 40.0 C pch: 30.5 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0
Repos:
  Packages: pm: dpkg pkgs: 3141 libs: 1572 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/grapejuice.list
    1: deb [signed-by=/usr/share/keyrings/grapejuice-archive-keyring.gpg] https://brinkervii.gitlab.io/grapejuice/repositories/debian/ universal main
  Active apt repos in: /etc/apt/sources.list.d/kisak-ubuntu-kisak-mesa-bookworm.list
    1: deb https://ppa.launchpadcontent.net/kisak/kisak-mesa/ubuntu/ bookworm main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://ftp.arnes.si/mirrors/mxlinux/packages/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/shiftkey-packages.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/shiftkey-packages.gpg] https://apt.packages.shiftkey.dev/ubuntu/ any main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
  Active apt repos in: /etc/apt/sources.list.d/winehq-mantic.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu mantic main
Info:
  Processes: 306 Uptime: 1m wakeups: 3 Memory: 15.37 GiB used: 1.43 GiB (9.3%) Init: systemd v: 252
  target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Charlie Brown wrote: Sat May 04, 2024 5:48 pm
Josip wrote: Sat May 04, 2024 4:22 pm... no auto rotation ...
Found this:
https://github.com/hensur/yoga370d wrote:
Automatic tablet mode on Thinkpad Yoga 370

... Else just clone the repo and execute the script as your user. If you copy it to /usr/local/bin/yoga370d it can be used with the supplied .desktop file. ...

Btw. I'd install the most recent Liquorix kernel from "MX Package Installer" , just 2 clicks ...
I have latest Liquorix kernel

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sun May 05, 2024 7:51 am
by j2mcgreg
@Josip

You need to read this:
viewtopic.php?t=44747

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sun May 05, 2024 8:23 am
by Josip
j2mcgreg wrote: Sun May 05, 2024 7:51 am @Josip

You need to read this:
viewtopic.php?t=44747
So its broken?..

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sun May 05, 2024 8:49 am
by j2mcgreg
@Josip wrote:
So its broken?..
It's hard to say. The packages you installed from the Ubuntu repos may seem to be fine, but it's the dependencies that they drag in that can really mess a system up. I suspect that as you use your system more glitches will appear.

You should also look at this recent topic that reports the same problem:
viewtopic.php?p=774681&hilit=accelerometer#p774681
The gist here is that the laptop is "too new" and that the user is going to have to wait for Linux to catch up.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sun May 05, 2024 8:56 am
by j2mcgreg
@Josip

Why is this topic marked "Solved"?

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 6:46 am
by Josip
Sorry, but why does it work on example Ubuntu but not MX?
I tried sudo iio-sensor-proxy and it returns empty

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 6:49 am
by Josip
j2mcgreg wrote: Sun May 05, 2024 8:56 am @Josip

Why is this topic marked "Solved"?
Sorry, but why does it work on example Ubuntu but not MX?
I tried sudo iio-sensor-proxy and it returns empty

QSI:

Code: Select all

System:
  Kernel: 6.10.12-1-liquorix-amd64 [6.10-16~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.10.12-1-liquorix-amd64 root=UUID=<filter> ro
    quiet splash init=/lib/systemd/systemd
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.4_ahs_x64 Libretto May 19  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Convertible System: LENOVO product: 20JJS1RK0E v: ThinkPad Yoga 370
    serial: <superuser required> Chassis: type: 31 serial: <superuser required>
  Mobo: LENOVO model: 20JJS1RK0E v: SDK0J40697 WIN serial: <superuser required> UEFI: LENOVO
    v: R0HET64W (1.44 ) date: 04/24/2024
Battery:
  ID-1: BAT0 charge: 22.0 Wh (54.9%) condition: 40.1/51.0 Wh (78.6%) volts: 15.2 min: 15.2
    model: LGC 01AV432 type: Li-poly serial: <filter> status: discharging cycles: 117
CPU:
  Info: model: Intel Core i5-7300U bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check
    gen: core 7 level: v3 note: check built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 9 microcode: 0xF6
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 800 high: 801 min/max: 400/2701 boost: enabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 800 2: 801 3: 800 4: 800 bogomips: 21599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: conditional; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:5916 class-ID: 0300
  Device-2: IMC Networks SunplusIT Integrated Camera type: USB driver: uvcvideo bus-ID: 1-8:3
    chip-ID: 13d3:5682 class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: LG Display 0x0561 built: 2016 res: 1920x1080 hz: 60 dpi: 166 gamma: 1.2
    size: 294x165mm (11.57x6.5") diag: 337mm (13.3") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: Mesa Intel HD Graphics 620 (KBL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71
    class-ID: 0403
  API: ALSA v: k6.10.12-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15d7 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:24fd class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-7:2
    chip-ID: 8087:0a2b class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
    sub-v: 100 hci-v: 4.2 rev: 100
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
Drives:
  Local Storage: total: 238.47 GiB used: 12.86 GiB (5.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: N/A size: 238.47 GiB block-size:
    physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 51055KLA
    temp: 52.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 238.22 GiB size: 233.43 GiB (97.99%) used: 12.86 GiB (5.5%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 64.0 C pch: 54.5 C mobo: N/A
  Fan Speeds (RPM): fan-1: 4360
Repos:
  Packages: pm: dpkg pkgs: 2127 libs: 1052 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://ftp.arnes.si/mirrors/mxlinux/packages/mx/repo/ bookworm main non-free
    2: deb https://ftp.arnes.si/mirrors/mxlinux/packages/mx/repo/ bookworm ahs
Info:
  Processes: 304 Uptime: 13m wakeups: 4 Memory: 15.37 GiB used: 3.69 GiB (24.0%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI