You are not logged in.

#1 2019-05-12 00:32:22

nachopro
Member
Registered: 2013-08-23
Posts: 91

Touchpad lags with power saving

Hi All.

I'm running Arch on my new laptop (Dell 7390). I have an issue with the touchpad. It is in power saving mode and lags on every touches.
With powertop I can put it to "On" mode. I want to create an udev rule for this device, but I can't achieve it (I don't know how to identify the device) sad

My idea is create a rule like this:

SUBSYSTEM=="i2c", __SOMETHING__, ATTR{power/control}="on"

How can I catch this device?

Thanks!

[nachopro@stoff ~]$ ls -l /sys/class/i2c-adapter/i2c-7
lrwxrwxrwx 1 root root 0 may 11 19:23 /sys/class/i2c-adapter/i2c-7 -> ../../devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7

[nachopro@stoff ~]$ ls /sys/class/i2c-adapter/i2c-7/ -l
total 0
--w------- 1 root root 4096 may 11 21:24 delete_device
lrwxrwxrwx 1 root root    0 may 11 19:17 device -> ../../i2c_designware.1
lrwxrwxrwx 1 root root    0 may 11 19:23 firmware_node -> ../../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6b
drwxr-xr-x 4 root root    0 may 11 19:16 i2c-DELL081B:00
-r--r--r-- 1 root root 4096 may 11 21:24 name
--w------- 1 root root 4096 may 11 21:24 new_device
drwxr-xr-x 2 root root    0 may 11 19:17 power
lrwxrwxrwx 1 root root    0 may 11 19:23 software_node -> ../../../../../kernel/software_nodes/node2
lrwxrwxrwx 1 root root    0 may 11 19:16 subsystem -> ../../../../../bus/i2c
-rw-r--r-- 1 root root 4096 may 11 21:24 uevent

Offline

#2 2019-05-13 00:35:54

cowile
Member
Registered: 2019-05-01
Posts: 15

Re: Touchpad lags with power saving

You want to use udevadm to determine information you want. Read the manual page and pay attention to the info and monitor subcommands.

You probably want something like:

sudo udevadm info -q all /sys/class/input/mouse0

See stack exchange for more information.


The Linux motto is "Laugh in the face of danger." Oops, wrong one. "Do it yourself." Yes, that's it. -- Linus Torvalds

Offline

Board footer

Powered by FluxBB