Jay
26 December 2020 09:52
1
Hi all,
I have a Lenovo Yoga slim 7 with Manjaro 20.2 KDE. The laptop had this issue that after suspend the touchapd would stop working. I found a fix in the following thread:
Hello to the community!
I just installed Manjaro on my Lenovo Yoga Slim 7 laptop. It is quite new hardware so there are some troubles to be fixed on Linux.
One of them is that I loose the touchpad after each resume from suspend. I can re-enable it with the following command:
xinput --enable "PNP0C50:00 06CB:CDB0 Touchpad"
But my wife does not find it easy to get a terminal and launch this command only using the keyboard .
So I tried to automatize this after each suspend. I f…
It appeared to work for the most part, but I noticed that when the laptop remains suspended for a longer period, for example during the night, the touchpad either doesn’t work at all or works for a few seconds and disables again. After which I have to run the script manually or reboot the computer for it to work. When I check the status of the service using:
systemctl status restart-touchpad.service
It appears to be working and be executed right when I woke the computer from the suspend. the above command returns:
● restart-touchpad.service - Restart Touchpad
Loaded: loaded (/etc/systemd/system/restart-touchpad.service; enabled; vendor preset: disabled)
Active: inactive (dead)
дек 26 11:08:32 spasimir-82a2 systemd[1]: Starting Restart Touchpad...
дек 26 11:08:32 spasimir-82a2 EnableTouchpad.sh[113680]: Restarting Touchpad just in case
дек 26 11:08:32 spasimir-82a2 systemd[1]: restart-touchpad.service: Succeeded.
дек 26 11:08:32 spasimir-82a2 systemd[1]: Finished Restart Touchpad.
The fix appears to work without issues for shorter periods of time, if it is only a couple of hours or so. Any ideas how this can be resolved? Let me know what info I can provide that will be helpful in resolving this, it appears touchpad issues are common for this laptop.
inxi -Fazi output:
Kernel: 5.10.0-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=b00fcc9c-dd35-4bf5-8c8b-ad95ad782688 rw quiet apparmor=1
security=apparmor udev.log_priority=3 mem_sleep_default=deep
Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM
Distro: Manjaro Linux
Machine:
Type: Laptop System: LENOVO product: 82A2 v: Yoga Slim 7 14ARE05
serial: <filter> Chassis: type: 10 v: Yoga Slim 7 14ARE05 serial: <filter>
Mobo: LENOVO model: LNVNB161216
v: SDK0J40709 WIN �������������������������������� serial: <filter>
UEFI: LENOVO v: DMCN34WW date: 08/17/2020
Battery:
ID-1: BAT1 charge: 22.7 Wh condition: 58.0/60.7 Wh (96%) volts: 15.2/15.4
model: Celxpert L19C4PF4 type: Li-poly serial: <filter> status: Discharging
cycles: 31
CPU:
Info: 8-Core model: AMD Ryzen 7 4800U with Radeon Graphics bits: 64
type: MT MCP arch: Zen family: 17 (23) model-id: 60 (96) stepping: 1
microcode: 8600106 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 57508
Speed: 1397 MHz min/max: 1400/1800 MHz boost: enabled Core speeds (MHz):
1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1396 7: 1397 8: 1397 9: 1397
10: 1397 11: 1397 12: 1397 13: 1397 14: 1396 15: 1397 16: 1396
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel bus ID: 03:00.0
chip ID: 1002:1636
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus ID: 1-4:3
chip ID: 04f2:b6cb serial: <filter>
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: amdgpu,ati
unloaded: modesetting alternate: fbdev,vesa display ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9")
diag: 355mm (14")
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.0-1-MANJARO LLVM 11.0.0)
v: 4.6 Mesa 20.2.3 direct render: Yes
Audio:
Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 03:00.1
chip ID: 1002:1637
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x bus ID: 03:00.5
chip ID: 1022:15e2
Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus ID: 03:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.10.0-1-MANJARO
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 01:00.0
chip ID: 8086:2723
IF: wlp1s0 state: up mac: <filter>
Drives:
Local Storage: total: 953.87 GiB used: 180.40 GiB (18.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS001TD9TNG-L3A0B
size: 953.87 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 serial: <filter> rev: 80050C10 scheme: GPT
Partition:
ID-1: / raw size: 476.31 GiB size: 467.83 GiB (98.22%)
used: 180.37 GiB (38.6%) fs: ext4 dev: /dev/nvme0n1p5
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 36.0 C mobo: N/A gpu: amdgpu temp: 35.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 359 Uptime: 16h 15m Memory: 15.08 GiB used: 7.61 GiB (50.5%)
Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1334 lib: 356
flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.08
Jay
29 December 2020 01:30
2
Anyone able to help with this?
linos
29 December 2020 18:13
3
Please provide
cat /proc/bus/input/devices
so that we know which exact touchpad is build into your device.
Jay
30 December 2020 12:26
4
Hi,
The output is
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=4000 0 0
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2
U: Uniq=
H: Handlers=event2
B: PROP=0
B: EV=21
B: SW=1
I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0f/LNXVIDEO:00/input/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0
I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input4
U: Uniq=
H: Handlers=sysrq kbd event4 leds
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input5
U: Uniq=
H: Handlers=kbd event5
B: PROP=0
B: EV=40001
B: SND=6
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Ideapad extra buttons"
P: Phys=ideapad/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.3/PNP0C09:00/VPC2004:00/input/input6
U: Uniq=
H: Handlers=kbd event6 rfkill
B: PROP=0
B: EV=13
B: KEY=81000800100c03 4400000000300000 0 2
B: MSC=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HD-Audio Generic HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input7
U: Uniq=
H: Handlers=event7
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HD-Audio Generic HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input8
U: Uniq=
H: Handlers=event8
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0001 Vendor=10ec Product=0287 Version=0001
N: Name="HDA Digital PCBeep"
P: Phys=card1/codec#0/beep0
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input12
U: Uniq=
H: Handlers=kbd event9
B: PROP=0
B: EV=40001
B: SND=6
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HD-Audio Generic Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input13
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HD-Audio Generic Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input14
U: Uniq=
H: Handlers=event11
B: PROP=0
B: EV=21
B: SW=4
I: Bus=0018 Vendor=06cb Product=cdb0 Version=0100
N: Name="PNP0C50:00 06CB:CDB0 Mouse"
P: Phys=i2c-PNP0C50:00
S: Sysfs=/devices/platform/AMDI0010:00/i2c-0/i2c-PNP0C50:00/0018:06CB:CDB0.0001/input/input15
U: Uniq=
H: Handlers=event12 mouse0
B: PROP=0
B: EV=17
B: KEY=30000 0 0 0 0
B: REL=3
B: MSC=10
I: Bus=0018 Vendor=06cb Product=cdb0 Version=0100
N: Name="PNP0C50:00 06CB:CDB0 Touchpad"
P: Phys=i2c-PNP0C50:00
S: Sysfs=/devices/platform/AMDI0010:00/i2c-0/i2c-PNP0C50:00/0018:06CB:CDB0.0001/input/input16
U: Uniq=
H: Handlers=event13 mouse1
B: PROP=5
B: EV=1b
B: KEY=e520 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20
I: Bus=0003 Vendor=1ea7 Product=0064 Version=0110
N: Name="2.4G Mouse"
P: Phys=usb-0000:03:00.3-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-2/1-2:1.0/0003:1EA7:0064.0003/input/input18
U: Uniq=
H: Handlers=event14
B: PROP=0
B: EV=9
B: ABS=10000000000
I: Bus=0003 Vendor=1ea7 Product=0064 Version=0110
N: Name="2.4G Mouse"
P: Phys=usb-0000:03:00.3-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-2/1-2:1.0/0003:1EA7:0064.0003/input/input19
U: Uniq=
H: Handlers=event15 mouse2
B: PROP=0
B: EV=17
B: KEY=ff0000 0 0 0 0
B: REL=1943
B: MSC=10
I: Bus=0003 Vendor=04f2 Product=b6cb Version=7818
N: Name="Integrated Camera: Integrated C"
P: Phys=usb-0000:03:00.3-4/button
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-4/1-4:1.0/input/input20
U: Uniq=
H: Handlers=kbd event16
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0003 Vendor=04f2 Product=b6cb Version=7818
N: Name="Integrated Camera: Integrated I"
P: Phys=usb-0000:03:00.3-4/button
S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-4/1-4:1.2/input/input21
U: Uniq=
H: Handlers=kbd event17
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0
linos
2 January 2021 17:32
5
I: Bus=0018 Vendor=06cb Product=cdb0 Version=0100
N: Name="PNP0C50:00 06CB:CDB0 Touchpad"
P: Phys=i2c-PNP0C50:00
S: Sysfs=/devices/platform/AMDI0010:00/i2c-0/i2c-PNP0C50:00/0018:06CB:CDB0.0001/input/input16
This is your Touchpad. I have another one though (Lenovo Yoga Slim 7 14ARE05 with 4800U 82A2 ), even though besides that I have exactly the same notebook. So I can’t give any advise besides what I could find on the internet.
Jay
12 January 2021 21:08
6
Hi linos,
Thank you for the comment. I actually switched from KDE to GNOME because of the tiling features available in it. The touchpad actually works much better and has stopped only once since then although every time I wake it from suspend a disable touchpad message appears.
linos
14 January 2021 09:07
7
I also have this “disable Touchpad” icon after resuming from suspend. It’s not quite charming to look at, but as long the touchpad kicks in afterwards its fine.
Jay
14 January 2021 22:10
8
Yes indeed. Interesting why it didn’t work with KDE I thought that the hardware would perform the same no matter the DE.
linos
15 January 2021 06:37
9
Are you sure, that you have been testing both on the same kernel?
Jay
19 January 2021 19:24
11
I tried a few different kernels on KDE, and I dont think it worked on any of them. If I remember correctly this includes the one I am currently using in Gnome as well. I am running Kernel: 5.10.2-2-MANJARO currently. But I don’t remember for sure so if someone has this issue maybe they can give it a shot.
system
Closed
3 February 2021 19:24
12
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.