Closed rudrab closed 2 months ago
This is my numpad_dev: [main] numpad_disables_sys_numlock = 1 disable_due_inactivity_time = 0 touchpad_disables_numpad = 1 key_repetitions = 0 multitouch = 0 one_touch_key_rotation = 0 activation_time = 1 sys_numlock_enables_numpad = 1 top_left_icon_activation_time = 1 top_left_icon_slide_func_activation_x_ratio = 0.3 top_left_icon_slide_func_activation_y_ratio = 0.3 top_right_icon_slide_func_activation_x_ratio = 0.3 top_right_icon_slide_func_activation_y_ratio = 0.3 enabled_touchpad_pointer = 3 press_key_when_is_done_untouch = 1 enabled = 0 default_backlight_level = 0x01 brightness = 0x48 top_left_icon_brightness_func_disabled = 0 distance_to_move_only_pointer = 0 idled = 0 idle_brightness = 30 idle_enabled = 0 idle_time = 10
@rudrab Hello, thank you for creating an issue. Please post here entire driver log file.
Hi @ldrahnik, Thanks for your reply. How I can get the log file?
/var/log/asus-numberpad-driver/*
Kindly find the log files. Regards, error.log install-21-03-2024-20-43-11.log
@rudrab Was the driver installed on the same user for you try to activate?
Yes.
At the installation, I have made everything "yes". Is that OK?
@rudrab Hm, how do you activate the NumberPad? You have to hold by default the top right icon at least for 1s or do a slide gesture to the center from top right icon at least 30% width and 30% height, because I see in log file a lot of unsuccessful activations. So you maybe do not know only how to activate.
@rudrab In config file is value activation_time = 1
which means hold top right icon for at least 1s and these values: top_right_icon_slide_func_activation_x_ratio = 0.3 top_right_icon_slide_func_activation_y_ratio = 0.3
mean do a slide gesture from top right icon for at least 30% of width and height, you can change it for own better experience
Yes, that part I know. I have already done this for zenbook 13. Never faced this issue.
If I put enabled=1, the numpad activates. But then I can not deactivate it using the icon.
@rudrab Please uninstall and then install again (answering all Y is ok), and hold the top right icon for at least 1s and post here error log, by log you never pressed longer then 1s. You do not have to even uninstall, you can run these commands:
$ systemctl --user stop asus_numberpad_driver@<your username>.service
$ cd <asus-numberpad-driver-git-repo>
$ /usr/share/asus-numberpad-driver/.env/bin/python3 /usr/share/asus-numberpad-driver/numberpad.py "up5401ea"
It may be bug but not confirmed yet.
systemctl --user status asus_numberpad_driver@rudra.service
● asus_numberpad_driver@rudra.service - Asus NumberPad Driver
Loaded: loaded (/usr/lib/systemd/user/asus_numberpad_driver@.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/user/service.d
└─10-timeout-abort.conf
Active: active (running) since Fri 2024-03-22 15:17:56 IST; 6h ago
Main PID: 2407 (python3)
Tasks: 22 (limit: 18565)
Memory: 62.7M (peak: 64.9M)
CPU: 11.477s
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/app-asus_numberpad_driver.slice/asus_numberpad_driver@rudra.service
└─2407 /usr/share/asus-numberpad-driver/.env/bin/python3 /usr/share/asus-numberpad-driver/numberpad.py up5401ea /usr/share/asus-numberpa>
Mar 22 15:17:56 roddur systemd[2375]: Started asus_numberpad_driver@rudra.service - Asus NumberPad Driver.
@rudrab Not status
, use stop
in case executing /usr/share/asus-numberpad-driver/.env/bin/python3 /usr/share/asus-numberpad-driver/numberpad.py "up5401ea"
is more friendly for you (to have not duplicated instances running at the same time) than uninstalling and searching logs again
systemctl --user stop asus_numberpad_driver@rudra.service
cd Utility/asus-numberpad-driver/
/usr/share/asus-numberpad-driver/.env/bin/python3 /usr/share/asus-numberpad-driver/numberpad.py "up5401ea"
2024-03-22 18:41:06,390 INFO Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
2024-03-22 18:41:06,390 INFO Set keyboard 3 from H: Handlers=sysrq kbd leds event3
2024-03-22 18:41:06,399 INFO Detecting touchpad from string: "N: Name="ASUP1415:00 093A:300C Touchpad""
2024-03-22 18:41:06,399 INFO Set touchpad device id 1 from S: Sysfs=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ASUP1415:00/0018:093A:300C.0001/input/input8
2024-03-22 18:41:06,399 INFO Set touchpad id 5 from H: Handlers=mouse1 event5
2024-03-22 18:41:06,400 INFO Touchpad min-max: x 0-3996, y 0-2242
2024-03-22 18:41:06,400 INFO Numpad min-max: x 200-3796, y 200-2162
2024-03-22 18:41:07,423 INFO Setting up for config file key: "brightness" with value: "0x48"
2024-03-22 18:41:19,206 INFO Touched top_right_icon (numlock) in time: 1711113079.20628
2024-03-22 18:41:19,460 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113079.4609237
2024-03-22 18:41:19,529 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113079.5292096
2024-03-22 18:41:19,597 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113079.5973325
2024-03-22 18:41:19,733 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113079.7331758
2024-03-22 18:41:27,315 INFO Touched top_right_icon (numlock) in time: 1711113087.315701
2024-03-22 18:41:27,565 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113087.5654747
2024-03-22 18:41:27,633 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113087.633197
2024-03-22 18:41:27,667 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113087.6671894
2024-03-22 18:41:27,701 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113087.7012005
2024-03-22 18:41:27,735 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113087.735178
2024-03-22 18:41:28,108 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113088.1088998
2024-03-22 18:41:28,176 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113088.1768672
2024-03-22 18:41:28,211 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113088.2109947
2024-03-22 18:41:28,279 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113088.2789812
2024-03-22 18:41:28,380 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113088.3809674
2024-03-22 18:41:28,551 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113088.5509796
2024-03-22 18:41:28,686 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113088.6869552
2024-03-22 18:41:33,045 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113093.0443566
2024-03-22 18:41:33,078 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711113093.0782745
2024-03-22 18:41:51,312 INFO Pressed touchpad pointer button
2024-03-22 18:41:51,958 INFO Released touchpad pointer button
^C2024-03-22 18:41:56,862 ERROR Listening touchpad events unexpectedly failed
@rudrab How many seconds did you hold the finger on calc icon? 0.2s as is written in log or? That spam Un-touched without NumberPad activation
is anyway weird.
I am holding more than 5s.
@rudrab And when you activate Numberpad via enabled=1
then keys are send without any problem? It just works?
@rudrab Please do the same as previously but with running command $ sudo libinput debug-events
simultaneously and post here output, I do not know how to replicate your problem yet so this could help
// EDIT: to avoid spam use grep
ID of touchpad $ sudo libinput debug-events | grep <eventxyoftouchpad> || grep ..
@rudrab And when you activate Numberpad via
enabled=1
then keys are send without any problem? It just works?
In that case, it is enabled. It can not be toggled
sudo libinput debug-events | grep
sudo libinput debug-events | grep touchpad
[sudo] password for rudra:
(standard input): 6: -event5 DEVICE_ADDED ASUP1415:00 093A:300C Touchpad seat0 default group5 cap:pg size 129x72mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
sudo libinput debug-events | grep touchpad
[sudo] password for rudra:
(standard input): 6: -event5 DEVICE_ADDED ASUP1415:00 093A:300C Touchpad seat0 default group5 cap:pg size 129x72mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
(standard input): 1102: event5 - ASUP1415:00 093A:300C Touchpad: kernel bug: Touch jump detected and discarded.
(standard input): 1103: See https://wayland.freedesktop.org/libinput/doc/1.25.0/touchpad-jumping-cursors.html for details
(standard input): 1122: event5 - ASUP1415:00 093A:300C Touchpad: kernel bug: Touch jump detected and discarded.
(standard input): 1123: See https://wayland.freedesktop.org/libinput/doc/1.25.0/touchpad-jumping-cursors.html for details
(standard input): 1158: event5 - ASUP1415:00 093A:300C Touchpad: kernel bug: Touch jump detected and discarded.
(standard input): 1159: See https://wayland.freedesktop.org/libinput/doc/1.25.0/touchpad-jumping-cursors.html for details
(standard input): 1348: event5 - ASUP1415:00 093A:300C Touchpad: kernel bug: Touch jump detected and discarded.
(standard input): 1349: See https://wayland.freedesktop.org/libinput/doc/1.25.0/touchpad-jumping-cursors.html for details
(standard input): 1470: event5 - ASUP1415:00 093A:300C Touchpad: kernel bug: Touch jump detected and discarded.
(standard input): 1471: See https://wayland.freedesktop.org/libinput/doc/1.25.0/touchpad-jumping-cursors.html for details
(standard input): 1472: event5 - ASUP1415:00 093A:300C Touchpad: WARNING: log rate limit exceeded (5 msgs per 24h). Discarding future messages.
Does $ libinput record
provide better output?
I am taking time to check how to run libinput record. It is installed, but showing not installed.
libinput record
libinput: record is not installed
rudra roddur ~ libinput --help
Usage: libinput [--help|--version] <command> [<args>]
Global options:
--help ...... show this help and exit
--version ... show version information and exit
Commands:
list-devices
List all devices with their default configuration options
debug-events
Print events to stdout
measure <feature>
Measure various device properties. See the man page for more info
analyze <feature>
Analyze device events. See the man page for more info
record
Record event stream from a device node. See the man page for more info
replay
Replay a previously recorded event stream. See the man page for more info
$ libinput --version
1.20.0
ldrahnik@Zenbook-UP5401EA:~$ libinput record
Available devices:
/dev/input/event0: Lid Switch
...
Select the device event number:
@rudrab Or try $ sudo evtest
sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Power Button
/dev/input/event10: PC Speaker
/dev/input/event11: Asus WMI hotkeys
/dev/input/event12: sof-hda-dsp Headphone
/dev/input/event13: sof-hda-dsp HDMI/DP,pcm=3
/dev/input/event14: sof-hda-dsp HDMI/DP,pcm=4
/dev/input/event15: sof-hda-dsp HDMI/DP,pcm=5
/dev/input/event16: ASUP1415:00 093A:300C NumberPad
/dev/input/event17: ASUP1415:00 093A:300C NumberPad
/dev/input/event2: Power Button
/dev/input/event3: AT Translated Set 2 keyboard
/dev/input/event4: ASUP1415:00 093A:300C Mouse
/dev/input/event5: ASUP1415:00 093A:300C Touchpad
/dev/input/event6: ASUP1415:00 093A:300C Keyboard
/dev/input/event7: Video Bus
/dev/input/event8: Intel HID events
/dev/input/event9: Intel HID 5 button array
Select the device event number [0-17]: 17
...
Event code 272 (BTN_LEFT)
Event code 273 (BTN_RIGHT)
Event code 274 (BTN_MIDDLE)
Properties:
Testing ... (interrupt to exit)
@rudrab 16 or 17 is NumberPad because one is stopped installed systemctl service
Yes. I have tried to choose both, getting the same result as testing.
@rudrab Anyway when you do not have activated NumberPad yet you have to listen Touchpad event instead
What should I do?
@rudrab Listen touchpad event instead and try to activate and post here captired output in case meaning of both was: 'I tried both NumberPad events'
Using the evtest only, right?
Yeah, might be enough for us, run simultanously with NumberPad and try to activate and post here output. I need to see events what your distro consider as jumping cursor. Do not care about specific tool.
Looks like kernel bug because this driver only measures slide gesture and key touch and then is activated - can be reopened.
/usr/share/asus-numberpad-driver/.env/bin/python3 /usr/share/asus-numberpad-driver/numberpad.py "up5401ea"
2024-03-23 19:39:18,961 INFO Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
2024-03-23 19:39:18,961 INFO Set keyboard 3 from H: Handlers=sysrq kbd leds event3
2024-03-23 19:39:18,975 INFO Detecting touchpad from string: "N: Name="ASUP1415:00 093A:300C Touchpad""
2024-03-23 19:39:18,976 INFO Set touchpad device id 1 from S: Sysfs=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ASUP1415:00/0018:093A:300C.0001/input/input8
2024-03-23 19:39:18,976 INFO Set touchpad id 5 from H: Handlers=mouse1 event5
2024-03-23 19:39:18,976 INFO Touchpad min-max: x 0-3996, y 0-2242
2024-03-23 19:39:18,976 INFO Numpad min-max: x 200-3796, y 200-2162
2024-03-23 19:40:14,653 INFO Touched top_right_icon (numlock) in time: 1711203014.6533058
2024-03-23 19:40:14,908 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203014.9085107
2024-03-23 19:40:14,976 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203014.976372
2024-03-23 19:40:15,316 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203015.3159814
2024-03-23 19:40:18,611 INFO Touched top_right_icon (numlock) in time: 1711203018.6119227
2024-03-23 19:40:18,868 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203018.8680298
2024-03-23 19:40:19,480 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203019.4799836
2024-03-23 19:40:19,514 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203019.5140665
2024-03-23 19:40:20,875 INFO Touched top_right_icon (numlock) in time: 1711203020.8750446
2024-03-23 19:40:21,132 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203021.1321723
2024-03-23 19:40:22,519 INFO Touched top_right_icon (numlock) in time: 1711203022.5190053
2024-03-23 19:40:23,567 INFO Slided from top_right_icon taken NOT longer then is required. X, y:
2024-03-23 19:40:23,567 INFO 3910
2024-03-23 19:40:23,567 INFO 1857
2024-03-23 19:40:23,567 INFO Required is min x, y:
2024-03-23 19:40:23,567 INFO 1198.8
2024-03-23 19:40:23,567 INFO 672.6
2024-03-23 19:40:24,300 INFO Touched top_right_icon (numlock) in time: 1711203024.3005147
2024-03-23 19:40:24,556 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203024.5561721
2024-03-23 19:40:26,732 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203026.732101
2024-03-23 19:40:27,344 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203027.344127
2024-03-23 19:40:28,126 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203028.1263053
2024-03-23 19:40:28,330 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203028.3304024
2024-03-23 19:40:28,738 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203028.7380958
2024-03-23 19:40:29,245 INFO Un-touched without NumberPad activation top_right_icon (numlock) in time: 1711203029.2454336
^C2024-03-23 19:40:52,386 ERROR Listening touchpad events unexpectedly failed
Traceback (most recent call last):
File "/usr/share/asus-numberpad-driver/numberpad.py", line 1935, in <module>
listen_touchpad_events()
File "/usr/share/asus-numberpad-driver/numberpad.py", line 1552, in listen_touchpad_events
for e in d_t.events():
File "/usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages/libevdev/device.py", line 542, in events
ev = self._libevdev.next_event(flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages/libevdev/_clib.py", line 889, in next_event
rc = self._next_event(self._ctx, flags, ctypes.byref(ev))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
^CTraceback (most recent call last):
File "/usr/share/asus-numberpad-driver/numberpad.py", line 1962, in <module>
thread.join()
File "/usr/lib64/python3.12/threading.py", line 1147, in join
self._wait_for_tstate_lock()
File "/usr/lib64/python3.12/threading.py", line 1167, in _wait_for_tstate_lock
if lock.acquire(block, timeout):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
This is evtest output.
sudo evtest
[sudo] password for rudra:
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Power Button
/dev/input/event10: PC Speaker
/dev/input/event11: Asus WMI hotkeys
/dev/input/event12: sof-hda-dsp Headphone
/dev/input/event13: sof-hda-dsp HDMI/DP,pcm=3
/dev/input/event14: sof-hda-dsp HDMI/DP,pcm=4
/dev/input/event15: sof-hda-dsp HDMI/DP,pcm=5
/dev/input/event16: ASUP1415:00 093A:300C NumberPad
/dev/input/event2: Power Button
/dev/input/event3: AT Translated Set 2 keyboard
/dev/input/event4: ASUP1415:00 093A:300C Mouse
/dev/input/event5: ASUP1415:00 093A:300C Touchpad
/dev/input/event6: ASUP1415:00 093A:300C Keyboard
/dev/input/event7: Video Bus
/dev/input/event8: Intel HID events
/dev/input/event9: Intel HID 5 button array
Select the device event number [0-16]: 16
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "ASUP1415:00 093A:300C NumberPad"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 2 (KEY_1)
Event code 3 (KEY_2)
Event code 4 (KEY_3)
Event code 5 (KEY_4)
Event code 6 (KEY_5)
Event code 7 (KEY_6)
Event code 8 (KEY_7)
Event code 9 (KEY_8)
Event code 10 (KEY_9)
Event code 11 (KEY_0)
Event code 14 (KEY_BACKSPACE)
Event code 18 (KEY_E)
Event code 22 (KEY_U)
Event code 28 (KEY_ENTER)
Event code 29 (KEY_LEFTCTRL)
Event code 30 (KEY_A)
Event code 31 (KEY_S)
Event code 32 (KEY_D)
Event code 33 (KEY_F)
Event code 42 (KEY_LEFTSHIFT)
Event code 46 (KEY_C)
Event code 48 (KEY_B)
Event code 55 (KEY_KPASTERISK)
Event code 57 (KEY_SPACE)
Event code 69 (KEY_NUMLOCK)
Event code 71 (KEY_KP7)
Event code 72 (KEY_KP8)
Event code 73 (KEY_KP9)
Event code 74 (KEY_KPMINUS)
Event code 75 (KEY_KP4)
Event code 76 (KEY_KP5)
Event code 77 (KEY_KP6)
Event code 78 (KEY_KPPLUS)
Event code 79 (KEY_KP1)
Event code 80 (KEY_KP2)
Event code 81 (KEY_KP3)
Event code 82 (KEY_KP0)
Event code 83 (KEY_KPDOT)
Event code 96 (KEY_KPENTER)
Event code 98 (KEY_KPSLASH)
Event code 117 (KEY_KPEQUAL)
Event code 140 (KEY_CALC)
Event code 272 (BTN_LEFT)
Event code 273 (BTN_RIGHT)
Event code 274 (BTN_MIDDLE)
Properties:
Testing ... (interrupt to exit)
expected 24 bytes, got -1
evtest: error reading: No such device
@ldrahnik I am extremly grateful that you have spent so much time on this. I was afk for 1 day so was unable to post the evtest output. I can open a bug in bugzilla, but I am not sure what specific point I should raise.
@rudrab https://github.com/bulletmark/libinput-gestures/issues/236
after reading this it looks like to me current state of your laptop is somehow broken, get me unworking clean distro (.iso) and I able help you. What I would do be you? I would try figure out why does not work $ libinput record
, maybe associated with the problem somehow. Anyway this issue Is not related to this driver but let mě know about your progress I am interested what caused the problém.
Also the same problem with Asus UX3405MA.
Linux kernel is 6.11, I am running from terminal for testing:
python3 /usr/share/asus-numberpad-driver/numberpad.py up5401ea ~/.config/asus-numberpad-driver/
Can't toggle numpad with corner, only with enable=1 it works and so can't disable it.
P.S. Package is from aur but also systemd service there didn't work.
@Johnmcenroyy Could you please try git clone
this repository and post clean error log here / install output?
@Johnmcenroyy I noticed now that @rudrab had installed the driver two times, so when he activated the NumberPad, NumberPad was immediately inactivated. Dont affect you the same problem?
...
/dev/input/event16: ASUP1415:00 093A:300C NumberPad
/dev/input/event17: ASUP1415:00 093A:300C NumberPad
...
Me (output of $ libinput debug-events
- I have only one ASUE140D:00 04F3:31B9 NumberPad
device, this device is added by this driver):
$ libinput debug-events
-event2 DEVICE_ADDED Power Button seat0 default group1 cap:k
-event14 DEVICE_ADDED Video Bus seat0 default group2 cap:k
-event0 DEVICE_ADDED Lid Switch seat0 default group3 cap:S
-event1 DEVICE_ADDED Power Button seat0 default group4 cap:k
-event5 DEVICE_ADDED ELAN9009:00 04F3:2E36 seat0 default group5 cap:t size 300x184mm ntouches 10 calib
-event8 DEVICE_ADDED ELAN9009:00 04F3:2E36 Stylus seat0 default group5 cap:T size 300x190mm calib
-event11 DEVICE_ADDED ASUE140D:00 04F3:31B9 Mouse seat0 default group6 cap:p left scroll-nat scroll-button
-event12 DEVICE_ADDED ASUE140D:00 04F3:31B9 Touchpad seat0 default group6 cap:pg size 125x72mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event13 DEVICE_ADDED ASUE140D:00 04F3:31B9 Keyboard seat0 default group6 cap:k
-event15 DEVICE_ADDED Intel HID events seat0 default group7 cap:k
-event4 DEVICE_ADDED Asus WMI hotkeys seat0 default group8 cap:k
-event3 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group9 cap:k
-event17 DEVICE_ADDED ELAN9009:00 04F3:2E36 Stylus asus-stylus-driver seat0 default group10 cap:p left scroll-nat
-event22 DEVICE_ADDED Asus WMI hotkeys seat0 default group11 cap:k
-event23 DEVICE_ADDED ASUE140D:00 04F3:31B9 NumberPad seat0 default group12 cap:kp left scroll-nat
@ldrahnik For now I disabled all systemd services, beside only user service is launched, not from aur. So unless I forgot something seems there are no others services. My debug log (nearly 5 seconds of click on right top corner of touchpad):
2024-09-21 00:29:31,880 INFO X11 detected and connected succesfully to the display :0.0
2024-09-21 00:29:31,880 INFO Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
2024-09-21 00:29:31,880 INFO Set keyboard 3 from H: Handlers=sysrq kbd leds event3
2024-09-21 00:29:31,937 INFO Detecting touchpad from string: "N: Name="ASUP1415:00 093A:300C Touchpad""
2024-09-21 00:29:31,937 INFO Set touchpad device id 14 from S: Sysfs=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-14/i2c-ASUP1415:00/0018:093A:300C.0001/input/input13
2024-09-21 00:29:31,937 INFO Set touchpad id 10 from H: Handlers=event10 mouse1
2024-09-21 00:29:31,938 INFO Touchpad min-max: x 0-3996, y 0-2242
2024-09-21 00:29:31,938 INFO Numpad min-max: x 200-3796, y 200-2162
2024-09-21 00:29:31,938 DEBUG X11 will try to load keymap
2024-09-21 00:29:31,943 DEBUG X11 loaded keymap succesfully
2024-09-21 00:29:31,943 DEBUG {'Num_Lock': KEY_NUMLOCK:69, '0': KEY_0:11, '1': KEY_1:2, '2': KEY_2:3, '3': KEY_3:4, '4': KEY_4:5, '5': KEY_5:6, '6': KEY_6:7, '7': KEY_7:8, '8': KEY_8:9, '9': KEY_9:10, 'a': KEY_A:30, 'b': KEY_B:48, 'c': KEY_C:46, 'd': KEY_D:32, 'e': KEY_E:18, 'f': KEY_F:33, 'Shift_L': KEY_LEFTSHIFT:42, 'Control_L': KEY_LEFTCTRL:29, 'u': KEY_U:22, 'space': KEY_SPACE:57, 'slash': KEY_SLASH:53, 'BackSpace': KEY_BACKSPACE:14, 'asterisk': [KEY_LEFTSHIFT:42, KEY_8:9], 'minus': KEY_MINUS:12, 'percent': [KEY_LEFTSHIFT:42, KEY_5:6], 'period': KEY_DOT:52, 'Return': KEY_ENTER:28, 'plus': [KEY_LEFTSHIFT:42, KEY_EQUAL:13], 'equal': KEY_EQUAL:13}
2024-09-21 00:29:32,446 DEBUG Writting to config file: "<_io.TextIOWrapper name='/home/nikita/.config/asus-numberpad-driver/numberpad_dev' mode='w' encoding='UTF-8'>"
2024-09-21 00:29:38,518 DEBUG set_tracking_id starts
2024-09-21 00:29:38,518 DEBUG 75
2024-09-21 00:29:38,518 DEBUG Started new slot
2024-09-21 00:29:38,518 DEBUG None
2024-09-21 00:29:38,519 DEBUG finger down at x 3926 y 142
2024-09-21 00:29:38,519 INFO Touched top_right_icon area (numlock) in time: 1726867778.5192108
2024-09-21 00:29:38,777 DEBUG finger down at x 3922 y 149
2024-09-21 00:29:38,777 INFO Un-touched top_right_icon area (representing numlock key) in time: 1726867778.777857
2024-09-21 00:29:38,814 DEBUG finger down at x -1 y 150
2024-09-21 00:29:38,851 DEBUG finger down at x 3921 y 150
2024-09-21 00:29:38,851 INFO Un-touched top_right_icon area (representing numlock key) in time: 1726867778.8510954
2024-09-21 00:29:38,887 DEBUG finger down at x -1 y -1
2024-09-21 00:29:38,924 DEBUG finger down at x 3920 y -1
2024-09-21 00:29:38,960 DEBUG finger down at x 3920 y 151
2024-09-21 00:29:38,961 INFO Un-touched top_right_icon area (representing numlock key) in time: 1726867778.961069
2024-09-21 00:29:38,997 DEBUG finger down at x -1 y 152
2024-09-21 00:29:39,034 DEBUG finger down at x -1 y 153
2024-09-21 00:29:39,071 DEBUG finger down at x -1 y 154
2024-09-21 00:29:39,107 DEBUG finger down at x -1 y 154
2024-09-21 00:29:39,144 DEBUG finger down at x -1 y 154
2024-09-21 00:29:39,181 DEBUG finger down at x -1 y 154
2024-09-21 00:29:39,217 DEBUG finger down at x -1 y 155
2024-09-21 00:29:39,254 DEBUG finger down at x -1 y 155
2024-09-21 00:29:39,291 DEBUG finger down at x -1 y 156
2024-09-21 00:29:39,327 DEBUG finger down at x -1 y 156
2024-09-21 00:29:39,364 DEBUG finger down at x -1 y 156
2024-09-21 00:29:39,401 DEBUG finger down at x -1 y 156
2024-09-21 00:29:39,437 DEBUG finger down at x -1 y 156
2024-09-21 00:29:39,474 DEBUG finger down at x 3921 y 158
2024-09-21 00:29:39,474 INFO Un-touched top_right_icon area (representing numlock key) in time: 1726867779.4744854
2024-09-21 00:29:39,511 DEBUG finger down at x -1 y -1
2024-09-21 00:29:39,547 DEBUG finger down at x -1 y 159
2024-09-21 00:29:39,584 DEBUG finger down at x -1 y 160
2024-09-21 00:29:39,624 DEBUG finger down at x 3922 y 160
2024-09-21 00:29:39,624 INFO Un-touched top_right_icon area (representing numlock key) in time: 1726867779.624812
2024-09-21 00:29:39,660 DEBUG finger down at x -1 y -1
2024-09-21 00:29:39,697 DEBUG finger down at x -1 y 162
2024-09-21 00:29:39,734 DEBUG finger down at x -1 y 162
2024-09-21 00:29:39,771 DEBUG finger down at x -1 y 162
2024-09-21 00:29:39,807 DEBUG finger down at x -1 y 162
2024-09-21 00:29:39,844 DEBUG finger down at x -1 y 162
2024-09-21 00:29:39,881 DEBUG finger down at x -1 y 162
2024-09-21 00:29:39,917 DEBUG finger down at x -1 y 162
2024-09-21 00:29:39,954 DEBUG finger down at x -1 y 162
2024-09-21 00:29:39,991 DEBUG finger down at x -1 y 162
2024-09-21 00:29:40,027 DEBUG finger down at x -1 y 162
2024-09-21 00:29:40,064 DEBUG finger down at x -1 y 162
2024-09-21 00:29:40,101 DEBUG finger down at x -1 y 162
2024-09-21 00:29:40,137 DEBUG finger down at x -1 y 164
2024-09-21 00:29:40,177 DEBUG finger down at x -1 y 164
2024-09-21 00:29:40,214 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,251 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,287 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,324 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,361 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,401 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,437 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,474 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,511 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,547 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,584 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,620 DEBUG finger down at x -1 y 165
2024-09-21 00:29:40,657 DEBUG finger down at x -1 y 167
2024-09-21 00:29:40,694 DEBUG finger down at x -1 y 168
2024-09-21 00:29:40,731 DEBUG finger down at x -1 y 169
2024-09-21 00:29:40,767 DEBUG finger down at x -1 y 170
2024-09-21 00:29:40,804 DEBUG finger down at x -1 y 170
2024-09-21 00:29:40,844 DEBUG finger down at x -1 y 173
2024-09-21 00:29:40,881 DEBUG finger down at x -1 y 173
2024-09-21 00:29:40,917 DEBUG finger down at x -1 y 173
2024-09-21 00:29:40,954 DEBUG finger down at x -1 y 173
2024-09-21 00:29:40,990 DEBUG finger down at x -1 y 173
2024-09-21 00:29:41,027 DEBUG finger down at x -1 y 173
2024-09-21 00:29:41,064 DEBUG finger down at x -1 y 174
2024-09-21 00:29:41,100 DEBUG finger down at x -1 y 175
2024-09-21 00:29:41,137 DEBUG finger down at x -1 y 176
2024-09-21 00:29:41,174 DEBUG finger down at x -1 y 177
2024-09-21 00:29:41,210 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,247 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,284 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,320 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,357 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,394 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,430 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,467 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,504 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,540 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,577 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,614 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,650 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,687 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,724 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,760 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,797 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,834 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,870 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,910 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,947 DEBUG finger down at x -1 y 178
2024-09-21 00:29:41,984 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,020 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,057 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,094 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,130 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,167 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,204 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,240 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,277 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,314 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,354 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,390 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,427 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,464 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,500 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,537 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,574 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,610 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,647 DEBUG finger down at x -1 y 178
2024-09-21 00:29:42,684 DEBUG finger down at x -1 y 179
2024-09-21 00:29:42,724 DEBUG finger down at x -1 y 179
2024-09-21 00:29:42,757 DEBUG finger down at x -1 y 179
2024-09-21 00:29:42,794 DEBUG finger down at x -1 y 179
2024-09-21 00:29:42,830 DEBUG finger down at x -1 y 179
2024-09-21 00:29:42,867 DEBUG finger down at x -1 y 179
2024-09-21 00:29:42,904 DEBUG finger down at x -1 y 179
2024-09-21 00:29:42,941 DEBUG finger down at x -1 y 179
2024-09-21 00:29:42,977 DEBUG finger down at x -1 y 179
2024-09-21 00:29:43,014 DEBUG finger down at x -1 y 179
2024-09-21 00:29:43,051 DEBUG finger down at x -1 y 179
2024-09-21 00:29:43,087 DEBUG finger down at x -1 y 179
2024-09-21 00:29:43,124 DEBUG finger down at x -1 y 179
2024-09-21 00:29:43,161 DEBUG finger down at x -1 y 179
2024-09-21 00:29:43,197 DEBUG finger down at x -1 y 179
2024-09-21 00:29:43,234 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,271 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,307 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,344 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,381 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,417 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,454 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,491 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,527 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,564 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,600 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,637 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,674 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,710 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,747 DEBUG finger down at x -1 y 180
2024-09-21 00:29:43,784 DEBUG finger down at x -1 y 181
2024-09-21 00:29:43,820 DEBUG finger down at x -1 y 181
2024-09-21 00:29:43,857 DEBUG finger down at x -1 y 181
2024-09-21 00:29:43,894 DEBUG finger down at x -1 y 182
2024-09-21 00:29:43,930 DEBUG finger down at x -1 y 182
2024-09-21 00:29:43,967 DEBUG finger down at x -1 y 182
2024-09-21 00:29:44,007 DEBUG finger down at x -1 y 182
2024-09-21 00:29:44,044 DEBUG finger down at x -1 y 182
2024-09-21 00:29:44,080 DEBUG finger down at x -1 y 182
2024-09-21 00:29:44,117 DEBUG finger down at x -1 y 182
2024-09-21 00:29:44,157 DEBUG finger down at x -1 y 182
2024-09-21 00:29:44,194 DEBUG finger down at x -1 y 183
2024-09-21 00:29:44,231 DEBUG finger down at x -1 y 183
2024-09-21 00:29:44,271 DEBUG finger down at x -1 y 184
2024-09-21 00:29:44,307 DEBUG finger down at x -1 y 185
2024-09-21 00:29:44,344 DEBUG finger down at x -1 y 186
2024-09-21 00:29:44,381 DEBUG finger down at x -1 y 186
2024-09-21 00:29:44,417 DEBUG finger down at x -1 y 186
2024-09-21 00:29:44,454 DEBUG finger down at x -1 y 186
2024-09-21 00:29:44,490 DEBUG finger down at x -1 y 187
2024-09-21 00:29:44,527 DEBUG finger down at x -1 y 187
2024-09-21 00:29:44,564 DEBUG finger down at x -1 y 187
2024-09-21 00:29:44,601 DEBUG finger down at x -1 y 187
2024-09-21 00:29:44,637 DEBUG finger down at x -1 y 187
2024-09-21 00:29:44,674 DEBUG finger down at x -1 y 187
2024-09-21 00:29:44,710 DEBUG finger down at x -1 y 187
2024-09-21 00:29:44,747 DEBUG finger down at x -1 y 188
2024-09-21 00:29:44,784 DEBUG finger down at x -1 y 188
2024-09-21 00:29:44,820 DEBUG finger down at x -1 y 188
2024-09-21 00:29:44,857 DEBUG finger down at x -1 y 188
2024-09-21 00:29:44,894 DEBUG finger down at x -1 y 188
2024-09-21 00:29:44,930 DEBUG finger down at x -1 y 188
2024-09-21 00:29:44,967 DEBUG finger down at x -1 y 188
2024-09-21 00:29:45,004 DEBUG finger down at x -1 y 188
2024-09-21 00:29:45,040 DEBUG finger down at x -1 y 188
2024-09-21 00:29:45,077 DEBUG finger down at x -1 y 188
2024-09-21 00:29:45,114 DEBUG finger down at x -1 y 188
2024-09-21 00:29:45,150 DEBUG finger down at x -1 y 188
2024-09-21 00:29:45,187 DEBUG finger down at x -1 y 188
2024-09-21 00:29:45,224 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,261 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,297 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,334 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,371 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,407 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,444 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,480 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,517 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,554 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,590 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,627 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,664 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,700 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,737 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,774 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,810 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,847 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,884 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,920 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,957 DEBUG finger down at x -1 y 189
2024-09-21 00:29:45,994 DEBUG finger down at x -1 y 189
2024-09-21 00:29:46,030 DEBUG finger down at x -1 y 189
2024-09-21 00:29:46,067 DEBUG finger down at x -1 y 189
2024-09-21 00:29:46,104 DEBUG finger down at x -1 y 189
2024-09-21 00:29:46,140 DEBUG finger down at x -1 y 189
2024-09-21 00:29:46,177 DEBUG finger down at x -1 y 189
2024-09-21 00:29:46,214 DEBUG finger down at x -1 y 189
2024-09-21 00:29:46,250 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,287 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,327 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,367 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,404 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,440 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,477 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,514 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,551 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,587 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,624 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,660 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,697 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,734 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,770 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,810 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,847 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,884 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,921 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,961 DEBUG finger down at x -1 y 190
2024-09-21 00:29:46,997 DEBUG finger down at x -1 y 190
2024-09-21 00:29:47,034 DEBUG finger down at x -1 y 190
2024-09-21 00:29:47,070 DEBUG finger down at x -1 y 190
2024-09-21 00:29:47,107 DEBUG finger down at x -1 y 190
2024-09-21 00:29:47,144 DEBUG finger down at x -1 y 190
2024-09-21 00:29:47,180 DEBUG finger down at x -1 y 190
2024-09-21 00:29:47,217 DEBUG finger down at x -1 y 191
2024-09-21 00:29:47,254 DEBUG finger down at x -1 y 191
2024-09-21 00:29:47,290 DEBUG finger down at x -1 y 191
2024-09-21 00:29:47,327 DEBUG finger down at x -1 y 191
2024-09-21 00:29:47,364 DEBUG finger down at x 3923 y 190
2024-09-21 00:29:47,364 INFO Un-touched top_right_icon area (representing numlock key) in time: 1726867787.364289
2024-09-21 00:29:47,366 DEBUG set_tracking_id starts
2024-09-21 00:29:47,366 DEBUG -1
2024-09-21 00:29:47,366 DEBUG Ended existing slot
2024-09-21 00:29:47,366 DEBUG finger down at x -1 y -1
Maybe it something that with this model UX3405MA
Manual backlight works also:
i2ctransfer -f -y 14 w13@0x15 0x05 0x00 0x3d 0x03 0x06 0x00 0x07 0x00 0x0d 0x14 0x03 0x01 0xad
Without driver
-event2 DEVICE_ADDED Power Button seat0 default group1 cap:k
-event4 DEVICE_ADDED Video Bus seat0 default group2 cap:k
-event0 DEVICE_ADDED Lid Switch seat0 default group3 cap:S
-event1 DEVICE_ADDED Power Button seat0 default group4 cap:k
-event9 DEVICE_ADDED ASUP1415:00 093A:300C Mouse seat0 default group5 cap:p left scroll-nat scroll-button
-event10 DEVICE_ADDED ASUP1415:00 093A:300C Touchpad seat0 default group5 cap:pg size 129x72mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event11 DEVICE_ADDED ASUP1415:00 093A:300C Keyboard seat0 default group5 cap:k
-event5 DEVICE_ADDED Intel HID events seat0 default group6 cap:k
-event6 DEVICE_ADDED Intel HID 5 button array seat0 default group7 cap:k
-event8 DEVICE_ADDED Asus WMI hotkeys seat0 default group8 cap:k
-event3 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group9 cap:k
With driver
-event2 DEVICE_ADDED Power Button seat0 default group1 cap:k
-event4 DEVICE_ADDED Video Bus seat0 default group2 cap:k
-event0 DEVICE_ADDED Lid Switch seat0 default group3 cap:S
-event1 DEVICE_ADDED Power Button seat0 default group4 cap:k
-event9 DEVICE_ADDED ASUP1415:00 093A:300C Mouse seat0 default group5 cap:p left scroll-nat scroll-button
-event10 DEVICE_ADDED ASUP1415:00 093A:300C Touchpad seat0 default group5 cap:pg size 129x72mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event11 DEVICE_ADDED ASUP1415:00 093A:300C Keyboard seat0 default group5 cap:k
-event5 DEVICE_ADDED Intel HID events seat0 default group6 cap:k
-event6 DEVICE_ADDED Intel HID 5 button array seat0 default group7 cap:k
-event8 DEVICE_ADDED Asus WMI hotkeys seat0 default group8 cap:k
-event3 DEVICE_ADDED AT Translated Set 2 keyboard seat0 default group9 cap:k
-event16 DEVICE_ADDED ASUP1415:00 093A:300C NumberPad seat0 default group10 cap:kp left scroll-nat
@Johnmcenroyy And your config looks like? Located /usr/share/asus-numberpad-driver/numberpad_dev
.
this is my config:
[main]
numpad_disables_sys_numlock = 1
disable_due_inactivity_time = 0
touchpad_disables_numpad = 1
key_repetitions = 0
multitouch = 0
one_touch_key_rotation = 0
activation_time = 1
sys_numlock_enables_numpad = 1
top_left_icon_activation_time = 1
top_left_icon_slide_func_activation_radius = 1200
top_left_icon_slide_func_activates_numpad = 1
top_right_icon_slide_func_activation_radius = 1200
enabled_touchpad_pointer = 3
press_key_when_is_done_untouch = 1
enabled = 0
default_backlight_level = 0x01
brightness = 0x48
top_left_icon_brightness_func_disabled = 0
distance_to_move_only_pointer = 0
idled = 0
idle_brightness = 30
idle_enabled = 0
idle_time = 5
error log file is attached. error.log
@rudrab And in your case activation works but inactivation do nothing?
Time bound inactivation is not doing anything. I have found the gesture: for activation, i have to bring my finger from top right towars '-' symbol; for inactivation, I have to bring my finger from top right to straight down. Just touching the symbol at top right is not doing anything,
@ldrahnik It was by mistake, my config is in home folder. Anyway it didn't work - toggle button didn't work. Maybe I have done something wrong, I read documentation but how it is for now. I have edited directly numberpad.py and now it works. So I am running driver (edited version) from autostart in XFCE:
/usr/bin/python3 ~/bin/asus-numberpad-driver/numberpad-fixed.py up5401ea ~/.config/asus-numberpad-driver/
This is how I have edited the file:
--- ./numberpad.py 2024-09-20 16:19:30.531552740 +0300
+++ ./numberpad.py 2024-09-21 17:09:33.993572707 +0300
@@ -5,6 +5,7 @@
import logging
import math
import os
+import psutil
import re
import subprocess
import sys
@@ -1860,6 +1861,13 @@
log.info("Un-touched numlock key (not top_right_icon) in time: %s", time())
+def process_status(process_name):
+ for process in psutil.process_iter(['pid', 'name']):
+ if process.info['name'] == process_name:
+ return True
+ return False
+
+
def pressed_touchpad_top_right_icon(value):
global top_right_icon_touch_start_time, numlock_touch_start_time, abs_mt_slot_numpad_key
@@ -1871,6 +1879,18 @@
numlock_touch_start_time = time()
abs_mt_slot_numpad_key[abs_mt_slot_value] = get_evdev_key_for_char('Num_Lock')
+
+ ############################################
+ # MY ADDITION
+ ############################################
+ command = 'xdotool key Num_Lock'
+ subprocess.check_call(command.split())
+ process_name = "gnome-calculator"
+ if process_status(process_name):
+ subprocess.Popen('killall gnome-calculator', shell=True)
+ else:
+ subprocess.Popen('gnome-calculator', shell=True)
+ ############################################
else:
top_right_icon_touch_start_time = 0
numlock_touch_start_time = 0
Now I am clicking on top right corner of touchpad - backlight on and gnome-calculator appears, and off after clicking again.
Anyway thanks for your time and writing such a useful driver. If I know something more I will write here.
Describe the bug
I have bought asus 3405 today. I have installed this driver. If I do "enabled=1", then the numberpad gers enabled. But, the calculator icon in top right corner is not working to toggle between numberpad and touchpad.
Expected behavior
Touching the calculator icon for few seconds should enable the numberpad, or change the status from numberpad to touchpad
Relevant log output
No response
Desktop