Closed danee940 closed 2 months ago
I also ran the uninstall script, the numberpad still glows up. It doesn't work, it just glows up.
@danee940 Attach the driver error log and your config, please.
I can't write more than one number
It is set up intentionally set by default in config.
This is throughout the day.. In the procees I installed it multiple times while missing dependencies were found. Could you please advise with the location of the config file?
@danee940 Was used install.sh
and any dependencies were missing? Which?
2024-09-20 17:19:39,967 INFO Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
Traceback (most recent call last):
File "/usr/share/asus-numberpad-driver/numberpad.py", line 907, in <module>
with open('/dev/input/event' + str(keyboard), 'rb') as fd_k:
PermissionError: [Errno 13] Permission denied: '/dev/input/event3'
Run command groups
and post here output, please. Also command cd /dev/input && ls -la
.
Me:
/dev/input$ ls -la
total 0
drwxr-xr-x 3 root root 640 Sep 20 19:25 .
drwxr-xr-x 20 root root 5320 Sep 20 19:30 ..
drwxr-xr-x 2 root root 240 Sep 20 19:25 by-path
crw-rw---- 1 root input 13, 64 Sep 20 19:25 event0
crw-rw---- 1 root input 13, 65 Sep 20 19:25 event1
crw-rw---- 1 root input 13, 74 Sep 20 19:25 event10
crw-rw---- 1 root input 13, 75 Sep 20 19:25 event11
crw-rw---- 1 root input 13, 76 Sep 20 19:25 event12
crw-rw---- 1 root input 13, 77 Sep 20 19:25 event13
crw-rw---- 1 root input 13, 78 Sep 20 19:25 event14
crw-rw---- 1 root input 13, 79 Sep 20 19:25 event15
crw-rw---- 1 root input 13, 80 Sep 20 19:25 event16
crw-rw---- 1 root input 13, 81 Sep 20 19:25 event17
crw-rw---- 1 root input 13, 82 Sep 20 19:25 event18
crw-rw---- 1 root input 13, 83 Sep 20 19:25 event19
crw-rw---- 1 root input 13, 66 Sep 20 19:25 event2
crw-rw---- 1 root input 13, 84 Sep 20 19:25 event20
crw-rw---- 1 root input 13, 85 Sep 20 19:25 event21
crw-rw---- 1 root input 13, 86 Sep 20 19:25 event22
crw-rw---- 1 root input 13, 87 Sep 20 19:25 event23
crw-rw---- 1 root input 13, 67 Sep 20 19:25 event3
crw-rw---- 1 root input 13, 68 Sep 20 19:25 event4
crw-rw---- 1 root input 13, 69 Sep 20 19:25 event5
crw-rw---- 1 root input 13, 70 Sep 20 19:25 event6
crw-rw---- 1 root input 13, 71 Sep 20 19:25 event7
crw-rw---- 1 root input 13, 72 Sep 20 19:25 event8
crw-rw---- 1 root input 13, 73 Sep 20 19:25 event9
crw-rw---- 1 root input 13, 63 Sep 20 19:25 mice
crw-rw---- 1 root input 13, 32 Sep 20 19:25 mouse0
crw-rw---- 1 root input 13, 33 Sep 20 19:25 mouse1
crw-rw---- 1 root input 13, 34 Sep 20 19:25 mouse2
crw-rw---- 1 root input 13, 35 Sep 20 19:25 mouse3
@danee940 So config file was default? Location of config for installed driver using install.sh
is /usr/share/asus-numberpad-driver/numberpad_dev
.
To be honest, I only think that they are missing. I put the output of the install.sh into GPT and it suggested me to install a couple dependencies. I'm on a fresh install of Linux as a sidenote.
Here is the GPT chat history. https://chatgpt.com/share/66edc72c-dd10-8013-9347-3a6c8d1810ab
Config file was default, didn't change it.
❯ cat numberpad_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_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 = 1
idle_time = 10
❯ groups
danee wheel numberpad input i2c uinput
❯ cd /dev/input
❯ ls -la
total 0
drwxr-xr-x. 3 root root 460 Sep 20 15:42 .
drwxr-xr-x. 20 root root 4740 Sep 20 15:42 ..
drwxr-xr-x. 2 root root 200 Sep 20 15:42 by-path
crw-rw----. 1 root input 13, 64 Sep 20 15:28 event0
crw-rw----. 1 root input 13, 65 Sep 20 15:28 event1
crw-rw----. 1 root input 13, 74 Sep 20 15:28 event10
crw-rw----. 1 root input 13, 75 Sep 20 15:28 event11
crw-rw----. 1 root input 13, 76 Sep 20 15:28 event12
crw-rw----. 1 root input 13, 77 Sep 20 15:28 event13
crw-rw----. 1 root input 13, 78 Sep 20 15:28 event14
crw-rw----. 1 root input 13, 79 Sep 20 15:28 event15
crw-rw----. 1 root input 13, 80 Sep 20 15:28 event16
crw-rw----. 1 root input 13, 81 Sep 20 15:29 event17
crw-rw----. 1 root input 13, 66 Sep 20 15:28 event2
crw-rw----. 1 root input 13, 67 Sep 20 15:28 event3
crw-rw----. 1 root input 13, 69 Sep 20 15:28 event5
crw-rw----. 1 root input 13, 70 Sep 20 15:28 event6
crw-rw----. 1 root input 13, 71 Sep 20 15:28 event7
crw-rw----. 1 root input 13, 72 Sep 20 15:28 event8
crw-rw----. 1 root input 13, 73 Sep 20 15:28 event9
crw-rw----. 1 root input 13, 63 Sep 20 15:28 mice
crw-rw----. 1 root input 13, 33 Sep 20 15:28 mouse1
crw-rw----. 1 root input 13, 34 Sep 20 15:28 mouse2
Since the uninstall.sh didn't seem to work (numberpad was constantly lit), I ran again the install.sh. Now, the numberpad is not on, but it also doesn't work. So in a sense it was fixed, but it's not working at all.
@danee940 About chatgpt recommendation install it like kernel driver chatgpt was wrong and it was useless advice. About installing pyenv you had clear instructions already in this repository, I do not know why you put it into chatgpt which can mislead you from the right path. I do not recommend you use chatgpt like this.
@danee940 Do you still see in error log:
2024-09-20 17:19:39,967 INFO Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
Traceback (most recent call last):
File "/usr/share/asus-numberpad-driver/numberpad.py", line 907, in <module>
with open('/dev/input/event' + str(keyboard), 'rb') as fd_k:
PermissionError: [Errno 13] Permission denied: '/dev/input/event3'
Because you have correct rights set up. This error should not be logged anymore. I think meanwhile you uninstalled the driver? Or at least removed input group from user groups.
Can be reopened.
@danee940 Not toggling was discussed in this issue https://github.com/asus-linux-drivers/asus-numberpad-driver/issues/169 and fix was already commited to the master branch.
Describe the bug
After I boot the device, the numberpad automatically turns on and I can't turn it off. It also works buggy, I can't write more than one number, it deletes the whole line.
Expected behavior
I expect to be able to turn it on and off manually.
Relevant log output
Desktop