Giter Club home page Giter Club logo

Comments (26)

fededileo avatar fededileo commented on July 17, 2024 1

@ldrahnik I'm not sure if I understand what you said, I assume you're using a translator. I'm not using one but not a native english speaker here so apologies.
I couldn't test the driver since it prevented login.

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Hello there, could you please post here groups of your user? It only looks like your user does not have required groups uinput and input.

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo This time you installed with added --user? And previously without --user flag?

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

Hi, I made a quick Google search about users and groups (remember, not a programmer lol). I'll paste the output of cat /etc/group down here, guess this is what you're looking for.

[federico@zenbook ~]$ cat /etc/group
root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:federico
cdrom:x:11:
mail:x:12:
man:x:15:
dialout:x:18:
floppy:x:19:
games:x:20:
tape:x:33:
video:x:39:
ftp:x:50:
lock:x:54:
audio:x:63:
users:x:100:
nobody:x:65534:
dbus:x:81:
apache:x:48:
utmp:x:22:
utempter:x:35:
tss:x:59:
input:x:104:
kvm:x:36:qemu
render:x:105:
sgx:x:106:
systemd-journal:x:190:
systemd-network:x:192:
systemd-oom:x:999:
systemd-resolve:x:193:
printadmin:x:998:
qemu:x:107:
polkitd:x:997:
avahi:x:70:
dip:x:40:
geoclue:x:996:
nm-openconnect:x:995:
colord:x:994:
usbmuxd:x:113:
gluster:x:993:
rtkit:x:172:
pipewire:x:992:
brlapi:x:991:
chrony:x:990:
dnsmasq:x:989:
rpc:x:32:
saslauth:x:76:saslauth
rpcuser:x:29:
openvpn:x:988:
nm-openvpn:x:987:
unbound:x:986:
libvirt:x:985:
abrt:x:173:
flatpak:x:984:
gdm:x:42:
gnome-initial-setup:x:983:
vboxsf:x:982:
sshd:x:74:
power:x:981:
tcpdump:x:72:
plocate:x:980:
gamemode:x:979:
systemd-coredump:x:978:
systemd-timesync:x:977:
federico:x:1000:
uinput:x:1001:

I'm not sure but guess this log data didn't appear right after install but instead after using the test script, which turned on the touchpad's backlight.

On the other hand, yes. I installed the driver with the --user suffix. Last time I didn't.

:)

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Please post here output of cmd groups

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

Here you have :)
[federico@zenbook ~]$ groups federico wheel

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

Just out of curiosity added my user federico to the groups input and uinput and reinstalled the driver but nothing happened. Log file is intact so it's still the same file you saw. I'll paste here all output of the install script, perhaps there's something interesting in there.

[federico@zenbook asus-numberpad-driver-2.9.2]$ sudo bash ./install.sh --user [sudo] contraseña para federico: groupadd: el grupo «uinput» ya existe KERNEL=="uinput", GROUP="uinput", MODE:="0660" usermod: el grupo «i2c» no existe driver will run under user federico wayland is DETECTED dnf is here Última comprobación de caducidad de metadatos hecha hace 0:46:32, el lun 31 jul 2023 16:36:05. El paquete ibus-1.5.28-6.fc38.x86_64 ya está instalado. El paquete libevdev-1.13.1-1.fc38.x86_64 ya está instalado. El paquete i2c-tools-4.3-5.fc38.x86_64 ya está instalado. El paquete python3-devel-3.11.4-1.fc38.x86_64 ya está instalado. El paquete python3-libevdev-0.11-4.fc38.noarch ya está instalado. El paquete python3-numpy-1:1.24.4-1.fc38.x86_64 ya está instalado. El paquete python3-inotify-0.9.6-29.fc38.noarch ya está instalado. El paquete python3-xlib-0.33-2.fc38.noarch ya está instalado. Dependencias resueltas. Nada por hacer. ¡Listo! Testing interface i2c-0 : sucess Detected laptop: ZenBook UX425QA_UM425QA % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 52135 0 52135 0 0 23356 0 --:--:-- 0:00:02 --:--:-- 23368 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 247k 0 247k 0 0 90749 0 --:--:-- 0:00:02 --:--:-- 90728 Automatically recommended numpad layout: up5401ea (associated to B9400CEA-KC0519R). You can specify numpad layout later by yourself. When is recommended layout wrong please create an issue (https://github.com/asus-linux-drivers/asus-numberpad-driver/issues). Do you want use recommended numpad layout? [y/N]y Selected key layout up5401ea Installing asus touchpad service to /etc/systemd/system/ Attempt to stop, disable and remove service from previous implementation (without using user templates @) Failed to stop asus_touchpad_numpad.service: Unit asus_touchpad_numpad.service not loaded. Wayland is detected, unfortunatelly you will not be able use feature: Disabling Touchpad (e.g. Fn+special key) disables NumberPad aswell, at this moment is supported only X11 Installing udev rules to /usr/lib/udev/rules.d/ Added 90-numberpad-external-keyboard.rules Installed default config which can be futher modified here: /usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev ./install.sh: línea 338: elemento inesperado;', se esperaba un operador binario condicional
[federico@zenbook asus-numberpad-driver-2.9.2]$
`

:)

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

Hi. Here you have the test result. Backlight turns on on two brightness levels. Second is darker than the first one just by a little bit. I've seen it go darker on Windows but that's irrelevant at the moment.

[federico@zenbook tests]$ sudo python3 test_brightness.py [sudo] contraseña para federico: 0x01 0x41 Tested value of registr: 2 (hex: 0x2) Press Enter to continue...

EDIT: I was about to reinstall but the message "service not loaded" got my attention. Perhaps the problem is something that goes wrong when installing rather than after the installation?

[federico@zenbook asus-numberpad-driver-2.9.2]$ sudo bash uninstall.sh [sudo] contraseña para federico: Driver will be stopped and uninstalled for user root Attempt to stop, disable and remove service from previous implementation (without using user templates @) Failed to stop asus_touchpad_numpad.service: Unit asus_touchpad_numpad.service not loaded. grep: asus_touchpad_numpad_dev: No existe el fichero o el directorio Config file contains modifications compared to the default one. Do you want remove config file [y/N]

More data:

[federico@zenbook ~]$ egrep -B1 -A5 "ASUE|ELAN" /proc/bus/input/devices | grep -B1 -A5 Touchpad egrep: warning: egrep is obsolescent; using grep -E I: Bus=0018 Vendor=04f3 Product=3134 Version=0100 N: Name="ASUE140A:00 04F3:3134 Touchpad" P: Phys=i2c-ASUE140A:00 S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17 U: Uniq= H: Handlers=mouse1 event4 B: PROP=5


[federico@zenbook ~]$ systemctl | grep asus sys-devices-platform-asus\x2dnb\x2dwmi-leds-asus::kbd_backlight.device loaded active plugged /sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight [email protected] loaded active running Asus Touchpad to Numpad Handler systemd-backlight@leds:asus::kbd_backlight.service loaded active exited Load/Save Screen Backlight Brightness of leds:asus::kbd_backlight system-asus_touchpad_numpad.slice loaded active active Slice /system/asus_touchpad_numpad


`
[root@zenbook federico]# systemctl status [email protected]
[email protected] - Asus Touchpad to Numpad Handler
Loaded: loaded (/etc/systemd/system/[email protected]; disabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Thu 2023-08-03 00:24:14 -03; 14s ago
Main PID: 29674 (python3)
Tasks: 5 (limit: 18378)
Memory: 26.8M
CPU: 133ms
CGroup: /system.slice/system-asus_touchpad_numpad.slice/[email protected]
└─29674 python3 /usr/share/asus_touchpad_numpad-driver/asus_touchpad.py up5401ea /usr/share/asus_touchpad_numpad-driver/

ago 03 00:24:14 zenbook systemd[1]: Started [email protected] - Asus Touchpad to Numpad Handler.
`


Model of my laptop is UM425QA

Hope you'll fix it soon :)

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

I've got even more interesting data. I was fiddling around with systemctl and wrote systemctl enable [email protected]. Rebooted and guess what? Login freeze just like the other day. So right now i'm deleting the service on a live iso so I can boot again, but this time I got the error log from the var/log directory.

`
INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2
INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad""
INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17
INFO:asus-touchpad-numpad-driver:Set touchpad id 5 from H: Handlers=mouse1 event5
INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972
INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3958 y 89
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691032538.116181
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3948 y 118
INFO:asus-touchpad-numpad-driver:Un-touched without NumberPad activation top_right_icon (numlock) in time: 1691032538.840921
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3987 y 95
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691032539.5136707
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3959 y 108
INFO:asus-touchpad-numpad-driver:Un-touched without NumberPad activation top_right_icon (numlock) in time: 1691032540.3947384
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3869 y 172
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691032540.4791424
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3831 y 157
INFO:asus-touchpad-numpad-driver:The numpad numlock was pressed longer than the activation time: 1.0731558799743652
INFO:asus-touchpad-numpad-driver:Activation time: 1.0
INFO:asus-touchpad-numpad-driver:Un-touched with NumberPad activation top_right_icon (numlock) in time: 1691032541.5525556
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 254 y 179
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 245 y 227
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 1675 y 955
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 1668 y 846
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 2105 y 906
INFO:asus-touchpad-numpad-driver:Pressed touchpad pointer button
INFO:asus-touchpad-numpad-driver:Released touchpad pointer button
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x -1 y -1
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3971 y 29
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691032545.3788047
INFO:asus-touchpad-numpad-driver:Pressed touchpad pointer button
INFO:asus-touchpad-numpad-driver:Released touchpad pointer button
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 285 y 0
INFO:asus-touchpad-numpad-driver:Pressed touchpad pointer button
INFO:asus-touchpad-numpad-driver:Released touchpad pointer button
INFO:asus-touchpad-numpad-driver:Pressed touchpad pointer button
INFO:asus-touchpad-numpad-driver:Released touchpad pointer button
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 2264 y 757
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 2091 y 1043
INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2
INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad""
INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17
INFO:asus-touchpad-numpad-driver:Set touchpad id 5 from H: Handlers=mouse1 event5
INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972
INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3897 y 188
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691032632.263189
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3878 y 95
INFO:asus-touchpad-numpad-driver:Un-touched without NumberPad activation top_right_icon (numlock) in time: 1691032632.8088856
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 59 y 88
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 98 y 125
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 113 y 118
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 171 y 160
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 166 y 165
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 2577 y 900
INFO:asus-touchpad-numpad-driver:Pressed touchpad pointer button
INFO:asus-touchpad-numpad-driver:Released touchpad pointer button
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x -1 y -1
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 2743 y 1057
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 2749 y 1119
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3947 y 129
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691032640.2272465
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3944 y 88
INFO:asus-touchpad-numpad-driver:The numpad numlock was pressed longer than the activation time: 7.0931360721588135
INFO:asus-touchpad-numpad-driver:Activation time: 1.0
INFO:asus-touchpad-numpad-driver:Un-touched with NumberPad activation top_right_icon (numlock) in time: 1691032647.3206103
INFO:asus-touchpad-numpad-driver:System numlock activated
INFO:asus-touchpad-numpad-driver:Numpad activated

(process:15415): dconf-WARNING **: 00:17:27.340: failed to commit changes to dconf: No se puede lanzar D-Bus automáticamente sin X11 $DISPLAY
ERROR:asus-touchpad-numpad-driver:Setting libinput Tapping EnabledDevice via xinput failed
Error: Could not open file /dev/i2c-0': Permission denied Run as root? Error: Could not open file /dev/i2c-0': Permission denied
Run as root?
INFO:asus-touchpad-numpad-driver:Setting up for config file key: "enabled" with value: "True"
INFO:asus-touchpad-numpad-driver:check_config_values_changes: detected internal change of config file -> do nothing -> would be deadlock

INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3926 y 270
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3877 y 216
INFO:asus-touchpad-numpad-driver:Un-touched without NumberPad activation top_right_icon (numlock) in time: 1691032650.1210883
INFO:asus-touchpad-numpad-driver:System numlock deactivated

(process:18002): dconf-WARNING **: 00:18:30.315: failed to commit changes to dconf: No se puede lanzar D-Bus automáticamente sin X11 $DISPLAY
ERROR:asus-touchpad-numpad-driver:Setting libinput Tapping EnabledDevice via xinput failed
Error: Could not open file `/dev/i2c-0': Permission denied
Run as root?
INFO:asus-touchpad-numpad-driver:Setting up for config file key: "enabled" with value: "False"
INFO:asus-touchpad-numpad-driver:check_config_values_changes: detected internal change of config file -> do nothing -> would be deadlock

INFO:asus-touchpad-numpad-driver:Numpad deactivated
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3298 y 12
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3321 y 24
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3987 y 4
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691032755.2576864
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3975 y 19
INFO:asus-touchpad-numpad-driver:Un-touched without NumberPad activation top_right_icon (numlock) in time: 1691032755.3688624
INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2
INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad""
INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17
INFO:asus-touchpad-numpad-driver:Set touchpad id 5 from H: Handlers=mouse1 event5
INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972
INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3840 y 39
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691033071.8509068
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3878 y 34
INFO:asus-touchpad-numpad-driver:The numpad numlock was pressed longer than the activation time: 6.0446624755859375
INFO:asus-touchpad-numpad-driver:Activation time: 1.0
INFO:asus-touchpad-numpad-driver:Un-touched with NumberPad activation top_right_icon (numlock) in time: 1691033077.895892
INFO:asus-touchpad-numpad-driver:System numlock activated
INFO:asus-touchpad-numpad-driver:Numpad activated

(process:30441): dconf-WARNING **: 00:24:37.918: failed to commit changes to dconf: No se puede lanzar D-Bus automáticamente sin X11 $DISPLAY
ERROR:asus-touchpad-numpad-driver:Setting libinput Tapping EnabledDevice via xinput failed
Error: Could not open file /dev/i2c-0': Permission denied Run as root? Error: Could not open file /dev/i2c-0': Permission denied
Run as root?
INFO:asus-touchpad-numpad-driver:Setting up for config file key: "enabled" with value: "True"
INFO:asus-touchpad-numpad-driver:check_config_values_changes: detected internal change of config file -> do nothing -> would be deadlock

INFO:asus-touchpad-numpad-driver:System numlock deactivated

(process:32898): dconf-WARNING **: 00:25:38.067: failed to commit changes to dconf: No se puede lanzar D-Bus automáticamente sERROR:asus-touchpad-numpad-driver:Setting libinput Tapping EnabledDevice via xinput failed
Error: Could not open file `/dev/i2c-0': Permission denied
Run as root?
INFO:asus-touchpad-numpad-driver:Setting up for config file key: "enabled" with value: "False"
INFO:asus-touchpad-numpad-driver:check_config_values_changes: detected internal change of config file -> do nothing -> would be deadlock

INFO:asus-touchpad-numpad-driver:Numpad deactivated
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3935 y 23
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691033200.1922162
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3855 y 57
INFO:asus-touchpad-numpad-driver:The numpad numlock was pressed longer than the activation time: 1.2843761444091797
INFO:asus-touchpad-numpad-driver:Activation time: 1.0
INFO:asus-touchpad-numpad-driver:Un-touched with NumberPad activation top_right_icon (numlock) in time: 1691033201.4768066
INFO:asus-touchpad-numpad-driver:System numlock activated
INFO:asus-touchpad-numpad-driver:Numpad activated

(process:34982): dconf-WARNING **: 00:26:41.496: failed to commit changes to dconf: No se puede lanzar D-Bus automáticamente sin X11 $DISPLAY
ERROR:asus-touchpad-numpad-driver:Setting libinput Tapping EnabledDevice via xinput failed
Error: Could not open file /dev/i2c-0': Permission denied Run as root? Error: Could not open file /dev/i2c-0': Permission denied
Run as root?
INFO:asus-touchpad-numpad-driver:Setting up for config file key: "enabled" with value: "True"
INFO:asus-touchpad-numpad-driver:check_config_values_changes: detected internal change of config file -> do nothing -> would be deadlock

INFO:asus-touchpad-numpad-driver:Getting Device Enabled via xinput disabled because failed more then: "3" times in row
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3939 y 295
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 1452 y 10
INFO:asus-touchpad-numpad-driver:Started new slot
INFO:asus-touchpad-numpad-driver:finger down at x 3795 y 55
INFO:asus-touchpad-numpad-driver:Touched top_right_icon (numlock) in time: 1691033218.253862
INFO:asus-touchpad-numpad-driver:Ended existing slot
INFO:asus-touchpad-numpad-driver:finger down at x 3820 y 82
INFO:asus-touchpad-numpad-driver:Un-touched without NumberPad activation top_right_icon (numlock) in time: 1691033219.1602802
INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2
INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad""
INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17
INFO:asus-touchpad-numpad-driver:Set touchpad id 4 from H: Handlers=mouse1 event4
INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972
INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892
Traceback (most recent call last):
File "/usr/share/asus_touchpad_numpad-driver/asus_touchpad.py", line 508, in
udev = dev.create_uinput_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/device.py", line 764, in create_uinput_device
d._uinput = UinputDevice(self._libevdev, uinput_fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/_clib.py", line 964, in init
raise OSError(-rc, os.strerror(-rc))
PermissionError: [Errno 13] Permission denied
INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2
INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad""
INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17
INFO:asus-touchpad-numpad-driver:Set touchpad id 4 from H: Handlers=mouse1 event4
INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972
INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892
Traceback (most recent call last):
File "/usr/share/asus_touchpad_numpad-driver/asus_touchpad.py", line 508, in
udev = dev.create_uinput_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/device.py", line 764, in create_uinput_device
d._uinput = UinputDevice(self._libevdev, uinput_fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/_clib.py", line 964, in init
raise OSError(-rc, os.strerror(-rc))
PermissionError: [Errno 13] Permission denied
INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2
INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad""
INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17
INFO:asus-touchpad-numpad-driver:Set touchpad id 4 from H: Handlers=mouse1 event4
INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972
INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892
Traceback (most recent call last):
File "/usr/share/asus_touchpad_numpad-driver/asus_touchpad.py", line 508, in
udev = dev.create_uinput_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/device.py", line 764, in create_uinput_device
d._uinput = UinputDevice(self._libevdev, uinput_fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/_clib.py", line 964, in init
raise OSError(-rc, os.strerror(-rc))
PermissionError: [Errno 13] Permission denied
INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2
INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad""
INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17
INFO:asus-touchpad-numpad-driver:Set touchpad id 4 from H: Handlers=mouse1 event4
INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972
INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892
Traceback (most recent call last):
File "/usr/share/asus_touchpad_numpad-driver/asus_touchpad.py", line 508, in
udev = dev.create_uinput_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/device.py", line 764, in create_uinput_device
d._uinput = UinputDevice(self._libevdev, uinput_fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/_clib.py", line 964, in init
raise OSError(-rc, os.strerror(-rc))
PermissionError: [Errno 13] Permission denied
INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2
INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad""
INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0003/input/input17
INFO:asus-touchpad-numpad-driver:Set touchpad id 4 from H: Handlers=mouse1 event4
INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972
INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892
Traceback (most recent call last):
File "/usr/share/asus_touchpad_numpad-driver/asus_touchpad.py", line 508, in
udev = dev.create_uinput_device()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/device.py", line 764, in create_uinput_device
d._uinput = UinputDevice(self._libevdev, uinput_fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/libevdev/_clib.py", line 964, in init
raise OSError(-rc, os.strerror(-rc))
PermissionError: [Errno 13] Permission denied`

I wish I wasn't so annoying but if I help you to get this working we'll be helping many people to use their numberpads, hope you'll understand :)

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Sorry, unfortunatelly I am on vacation.

Try to run command groups <your username> and please do a screenshot of command output. I need to see which groups are assigned to your username.

What should solve your problem Is command

usermod -a -G "i2c,input,uinput" <here put your username on laptop>

and reboot.

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

Hi, I apologize for the inconvenience. Please feel free to answer when you can.

Here's the output of groups federico
[federico@zenbook ~]$ groups federico federico : federico wheel input uinput

And here's the output of usermod...

[federico@zenbook ~]$ usermod -a -G "i2c,input,uinput" federico usermod: el grupo «i2c» no existe

So the group i2c doesn't exist.

:)

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Hello, I am back so I can respond more regularly.

I read your posts and it still looks like you have only wrongly configured your user permissions to input,uinput & i2c, your user has to have access to input devices, so usually is necessary add user to groups input, uniput and i2c, in case does not exist i2c group I would create the group by command and add your user to group. To check your laptop is configured with these names of groups you can check easily like this (you should see something similar):

ldrahnik@Zenbook-UP5401EA:/sys/class/i2c-dev$ find /dev -group i2c
/dev/i2c-14
/dev/i2c-13
/dev/i2c-12
/dev/i2c-11
/dev/i2c-10
/dev/i2c-9
/dev/i2c-8
/dev/i2c-7
/dev/i2c-6
/dev/i2c-5
/dev/i2c-4
/dev/i2c-3
/dev/i2c-2
/dev/i2c-1
/dev/i2c-0
ldrahnik@Zenbook-UP5401EA:/sys/class/i2c-dev$ find /dev -group input
/dev/input/event23
/dev/input/event22
/dev/input/event21
/dev/input/event20
/dev/input/event19
/dev/input/event18
/dev/input/event17
/dev/input/event13
/dev/input/mouse3
/dev/input/event12
/dev/input/mouse2
/dev/input/event11
/dev/input/event16
/dev/input/event10
/dev/input/event9
/dev/input/event8
/dev/input/mouse1
/dev/input/event7
/dev/input/event6
/dev/input/event5
/dev/input/mouse0
/dev/input/event4
/dev/input/event15
/dev/input/event14
/dev/input/event3
/dev/input/event2
/dev/input/event1
/dev/input/event0
/dev/input/mice
ldrahnik@Zenbook-UP5401EA:/sys/class/i2c-dev$ find /dev -group uinput
/dev/uinput

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Try to download and install the latest master branch or execute:

$ groupadd "input"
$ groupadd "uinput"
$ groupadd "i2c"

# and then
$ usermod -a -G "i2c,input,uinput" <your username>

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Can be reopened.

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

Hi, it has been quite a while since my last update, didn't use my laptop since then.
This is the output you asked me to check.

[federico@zenbook ~]$ /sys/class/i2c-dev$ find /dev -group i2c bash: /sys/class/i2c-dev$: No existe el fichero o el directorio

Translation: file or directory doesn't exist

:)

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo And driver works for you since my recommended commands or not? State Is without any change?

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

@ldrahnik Hi! Unfortunately it didn't work. I ran the group-adding commands and installed stable version and it prevented login, booted on live ISO to delete service although I forgot to save the log. Then proceeded to install dev version and rebooted but same thing happened. This is the error log output:

INFO:asus-touchpad-numpad-driver:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard"" INFO:asus-touchpad-numpad-driver:Set keyboard 2 from H: Handlers=sysrq kbd leds event2 INFO:asus-touchpad-numpad-driver:Detecting touchpad from string: "N: Name="ASUE140A:00 04F3:3134 Touchpad"" INFO:asus-touchpad-numpad-driver:Set touchpad device id 0 from S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-ASUE140A:00/0018:04F3:3134.0004/input/input17 INFO:asus-touchpad-numpad-driver:Set touchpad id 5 from H: Handlers=mouse1 event5 INFO:asus-touchpad-numpad-driver:Touchpad min-max: x 0-3987, y 0-1972 INFO:asus-touchpad-numpad-driver:Numpad min-max: x 200-3787, y 200-1892

I don't know whether it is because you updated the script or because something new is happening because of the new i2c group but the installer asked me if I wanted to enable calculator and asked for reboot. In the past it didn't.

:)

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Unfortunatelly in might happens, warning during installing for autostart systemctl service says aswell the same. And driver except this works or not?

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo There Is a question Do you want autostart driver via systemctl service on your own risk? It may cause black screen during logging info system. Just use as answer letter N during install process. Then try driver.

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

@ldrahnik I don't recall seeing that question during install. IIRC questions were:

  1. use suggested layout
  2. use calculator gesture
  3. reboot

:)

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Does make sense in case you use Wayland. I will add this question for Wayland aswell, probably this night. Up to that time you can after install disable systemctl service via sudo systemctl disable Asus... and test driver.

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo git pull latest master

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

Hi @ldrahnik, sorry for my late response. I uninstalled the driver but now my keyboard shortcuts are not working and gnome-control-center crashes when I go to the keyboard shortcuts menu item :(

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Can you please attach here the error log of gnome-control-center. And did you test the driver with my previously changed code? I mean with manual starting via sudo systemctl start asus_touchpad_numpad@<your username or root>.service, without answering Y during installation for autostarting via systemctl service (so the driver will not prevent log in anymore).

from asus-numberpad-driver.

fededileo avatar fededileo commented on July 17, 2024

Hi @ldrahnik , this is getting longer than I thought. However, this is not a complaint, it's a recognition for your work. Thank you.
Where can I find the gcc logs?
I'll try reinstalling the driver in a couple of hours.

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on July 17, 2024

@fededileo Unfortunately I do not use that tool, I would google the same as you will and I do not recommend call it gcc as gcc is usually called in Linux community GNU Compiler Collection.

from asus-numberpad-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.