Page 1 of 1

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

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 6:55 am
by j2mcgreg
Josip wrote: Thu Oct 10, 2024 6:46 am Sorry, but why does it work on example Ubuntu but not MX?
I tried sudo iio-sensor-proxy and it returns empty
Ubuntu is more "cutting edge" than MX.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 2:11 pm
by Josip
Well i would still like to know how to get auto rotation and maybe better touchscreen instead of mouse? at least auto rotation

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 3:11 pm
by rokytnji.1
My Dell Xt2 touchscreen uses this

in this

Code: Select all

Snapshot created on: 20220115_1229
System:
  Kernel: 5.10.0-32-amd64 [5.10.223-1] arch: x86_64 bits: 64 compiler: gcc v: 10.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-32-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Fluxbox v: 1.3.7 info: tint2 vt: 7 dm: LightDM v: 1.26.0 Distro: MX-21.3_x64
    Wildflower October 20 2021 base: Debian GNU/Linux 11 (bullseye)
Machine:
  Type: Portable System: Dell product: Latitude XT2 v: N/A serial: <superuser required> Chassis:
    type: 8 serial: <superuser required>
  Mobo: Dell model: 0HJ48R serial: <superuser required> BIOS: Dell v: A01 date: 05/07/2009
Battery:
  ID-1: BAT0 charge: 32.5 Wh (87.1%) condition: 37.3/42.2 Wh (88.5%) volts: 10.4 min: 11.1
    model: Sanyo DELL H986H98 type: Li-ion serial: <filter> status: discharging
CPU:
  Info: model: Intel Core2 Duo U9600 bits: 64 type: MCP arch: Penryn level: v1 built: 2008
    process: Intel 45nm family: 6 model-id: 0x17 (23) stepping: 0xA (10) microcode: 0xA0B
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB
    L2: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1102 high: 1408 min/max: 800/1601 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1408 2: 797 bogomips: 6379
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Dell driver: i915 v: kernel
    arch: Gen-5 process: Intel 45nm built: 2008 ports: active: LVDS-1 empty: DP-1, DP-2, HDMI-A-1,
    SVIDEO-1, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:2a42 class-ID: 0300
  Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: intel dri: i965 gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1280x800 s-dpi: 96 s-size: 338x211mm (13.31x8.31") s-diag: 398mm (15.69")
  Monitor-1: LVDS-1 mapped: LVDS1 model: AU Optronics 0xa114 built: 2008 res: 1280x800 hz: 60
    dpi: 125 gamma: 1.2 size: 261x163mm (10.28x6.42") diag: 308mm (12.1") ratio: 16:10
    modes: 1280x800
  API: OpenGL v: 2.1 Mesa 20.3.5 renderer: Mesa DRI Mobile Intel GM45 Express (CTG)
    direct-render: Yes
Audio:
  Device-1: Intel 82801I HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:293e class-ID: 0403
  API: ALSA v: k5.10.0-32-amd64 status: kernel-api tools: alsactl,alsamixer,amixer
  Server-1: PulseAudio v: 14.2 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel 82567LM Gigabit Network vendor: Dell driver: e1000e v: kernel port: efe0
    bus-ID: 00:19.0 chip-ID: 8086:10f5 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Intel WiFi Link 5100 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 0c:00.0 chip-ID: 8086:4232 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 port: 6ea0
    bus-ID: 00:1f.2 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 167.68 GiB used: 57.01 GiB (34.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: OCZ model: D2CSTK181M11-0180 size: 167.68 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s tech: SSD serial: <filter> fw-rev: 2.25
    scheme: MBR
Partition:
  ID-1: / raw-size: 160.42 GiB size: 156.85 GiB (97.77%) used: 57.01 GiB (36.3%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 7.25 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2
    maj-min: 8:2
  ID-2: swap-2 type: zram size: 609.2 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
  ID-3: swap-3 type: zram size: 609.2 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram1
Sensors:
  System Temperatures: cpu: 53.0 C mobo: N/A sodimm: SODIMM C
  Fan Speeds (RPM): cpu: 0
Repos:
  Packages: pm: dpkg pkgs: 2189 libs: 1027 tools: apt,apt-get,aptitude,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 bullseye-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bullseye main contrib non-free
    2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
Info:
  Processes: 179 Uptime: 15m wakeups: 2 Memory: total: 6 GiB note: est. available: 4.76 GiB
  used: 1.56 GiB (32.7%) Init: SysVinit v: 2.96 runlevel: 5 default: graphical tool: systemctl
  Compilers: gcc: 10.2.1 alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.28
Boot Mode: BIOS (legacy, CSM, MBR)

It was in my synaptic package manager

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 3:19 pm
by Josip
Hm, thanks will try it out, will say if it works

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 4:03 pm
by Josip
Josip wrote: Thu Oct 10, 2024 3:19 pm Hm, thanks will try it out, will say if it works
I tried it, doesn't work with Yoga 370, if it works on Ubuntu then there must be a way to get it working here on MX

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 4:36 pm
by j2mcgreg
Josip wrote: Thu Oct 10, 2024 4:03 pm
Josip wrote: Thu Oct 10, 2024 3:19 pm Hm, thanks will try it out, will say if it works
I tried it, doesn't work with Yoga 370, if it works on Ubuntu then there must be a way to get it working here on MX
Debian is much more conservative in their approach than Ubuntu (which is why it's so stable) and it will catch up to Ubuntu but it will take some time. Patience is key here.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 4:37 pm
by Josip
j2mcgreg wrote: Thu Oct 10, 2024 4:36 pm
Josip wrote: Thu Oct 10, 2024 4:03 pm
Josip wrote: Thu Oct 10, 2024 3:19 pm Hm, thanks will try it out, will say if it works
I tried it, doesn't work with Yoga 370, if it works on Ubuntu then there must be a way to get it working here on MX
Debian is much more conservative in their approach than Ubuntu (which is why it's so stable) and it will catch up to Ubuntu but it will take some time. Patience is key here.
So can't do anything now gotta wait? Maybe it comes in MX 24 hopefully

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 5:19 pm
by rokytnji.1
Sorry it did not work. I was not sure Yoga was wacom tablet or not,

Code: Select all

harry@biker:~
$ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ N-Trig Pen stylus                       	id=9	[slave  pointer  (2)]
⎜   ↳ N-Trig Touchscreen                      	id=10	[slave  pointer  (2)]
⎜   ↳ N-Trig Pen stylus                       	id=11	[slave  pointer  (2)]
⎜   ↳ N-Trig Touchscreen                      	id=12	[slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad        	id=15	[slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint Stick           	id=16	[slave  pointer  (2)]
⎜   ↳ N-Trig Pen eraser                       	id=18	[slave  pointer  (2)]
⎜   ↳ N-Trig Pen eraser                       	id=19	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Dell WMI hotkeys                        	id=13	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]
    ↳ ACPI Virtual Keyboard Device            	id=17	[slave  keyboard (3)]
I keep a cheap bluetooth key board I picked up from Salvation Army in cases like yours.
It dials right in.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 6:36 pm
by j2mcgreg
@Josip wrote:
So can't do anything now gotta wait? Maybe it comes in MX 24 hopefully
More likely it will be MX 25 or 26 as our releases are dated by the year they go final. If tablet mode is a deal breaker for you, I suggest that you switch to Ubuntu for the time being and return to us here at MX when we also have that functionality.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Oct 10, 2024 10:22 pm
by Josip
j2mcgreg wrote: Thu Oct 10, 2024 6:36 pm @Josip wrote:
So can't do anything now gotta wait? Maybe it comes in MX 24 hopefully
More likely it will be MX 25 or 26 as our releases are dated by the year they go final. If tablet mode is a deal breaker for you, I suggest that you switch to Ubuntu for the time being and return to us here at MX when we also have that functionality.
No its not a deal breaker at all, i still love MX i just wanted to know . Thank you

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sat Oct 12, 2024 10:17 pm
by jeffreyC
j2mcgreg wrote: Thu Oct 10, 2024 6:55 am
Josip wrote: Thu Oct 10, 2024 6:46 am Sorry, but why does it work on example Ubuntu but not MX?
I tried sudo iio-sensor-proxy and it returns empty
Ubuntu is more "cutting edge" than MX.
After all, the Yoga 370 was only introduced in 2017, it will take a while for Debian to catch up.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Wed Oct 16, 2024 8:31 am
by j2mcgreg
jeffreyC wrote: Sat Oct 12, 2024 10:17 pm
j2mcgreg wrote: Thu Oct 10, 2024 6:55 am
Josip wrote: Thu Oct 10, 2024 6:46 am Sorry, but why does it work on example Ubuntu but not MX?
I tried sudo iio-sensor-proxy and it returns empty
Ubuntu is more "cutting edge" than MX.
After all, the Yoga 370 was only introduced in 2017, it will take a while for Debian to catch up.
Sorry for the late reply but our problems with the forum interfered. The Yoga 370 works fine as a straight laptop. However using it singularly as a tablet is what's lagging.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Wed Oct 16, 2024 12:52 pm
by jeffreyC
iio-sensor-proxy is a package in the Debian repos, but probably not a default package in MX Linux.

Try installing it and see if it works.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Wed Oct 16, 2024 3:16 pm
by lars_the_bear
Just to satisfy my curiosity, what specifically is it that's stopping the tablet support working? Does it need additional drivers? Or a later Xorg? Or is it just a matter of configuration?

I'm curious, because I have a Yoga 720 of about the same (2017) vintage, and it doesn't do tablet stuff with MX either. It definitely did with Fedora back in 2017, although I had to fiddle about with the X configuration.

It's not a big deal, because I didn't use the tablet mode much, anyway. I don't know if it ever worked with Ubuntu, because I never even tried it. Just wondering.

BR, Lars.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Sun Oct 20, 2024 6:09 am
by appas
I got tablet mode to work on my Yoga X1 using a script, so maybe these scripts for the Yoga 380 will help you with your 370.

Re: Lenovo Yoga 370 Tablet Mode?

Posted: Thu Jan 23, 2025 12:22 pm
by jbernardo
Josip wrote: Thu Oct 10, 2024 6:49 am
Sorry, but why does it work on example Ubuntu but not MX?
I tried sudo iio-sensor-proxy and it returns empty
Hi,
I don't know if you're still struggling with this. I had to add the line "/sbin/iio-sensor-proxy &" to /etc/rc.local so that it would run at startup - and like that, monitor-sensor now works and my auto-rotate / tablet mode script works as it worked under debian.