Closed fjordanrv closed 8 hours ago
@fjordanrv Hi, I need to see driver logs located /var/logs/asus...
and the output from the installation, the same folder.
Hi, this is the error log.
2024-09-11 13:03:34,429 INFO Detecting touchpad from string: "N: Name="ELAN9009:00 04F3:41D9 Touchpad""
2024-09-11 13:03:34,429 INFO Set touchpad device id 1 from S: Sysfs=/devices/platform/AMDI0010:01/i2c-1/i2c-ELAN9009:00/0018:04F3:41D9.0002/input/input12
2024-09-11 13:03:34,429 INFO Set touchpad id 7 from H: Handlers=mouse2 event7
2024-09-11 13:03:34,429 INFO Detecting keyboard from string: "N: Name="ASUE140F:00 04F3:32A2 Keyboard""
2024-09-11 13:03:34,429 INFO Set keyboard 10 from H: Handlers=sysrq kbd leds event10
2024-09-11 13:03:34,454 INFO Touchpad min-max: x 0-3984, y 0-1152
2024-09-11 13:03:34,454 INFO Numpad min-max: x 20-3964, y 0-1152
2024-09-11 13:03:34,455 ERROR Wayland load keymap listener error. Exiting
Traceback (most recent call last):
File "/usr/share/asus-numberpad-driver/numberpad.py", line 448, in load_keymap_listener_wayland
display_wayland.connect()
File "/usr/share/asus-numberpad-driver/.env/lib64/python3.12/site-packages/pywayland/client/display.py", line 131, in connect
raise ValueError("Unable to connect to display")
ValueError: Unable to connect to display
2024-09-11 13:03:34,456 ERROR Listening touchpad events unexpectedly failed
Traceback (most recent call last):
File "/usr/share/asus-numberpad-driver/numberpad.py", line 2390, in
And the output of the installation:
Última comprobación de caducidad de metadatos hecha hace 1:02:58, el mié 11 sep 2024 12:03:11. El paquete ibus-1.5.30-6.fc40.x86_64 ya está instalado. El paquete libevdev-1.13.3-1.fc40.x86_64 ya está instalado. El paquete curl-8.6.0-10.fc40.x86_64 ya está instalado. El paquete xinput-1.6.4-2.fc40.x86_64 ya está instalado. El paquete i2c-tools-4.3-10.fc40.x86_64 ya está instalado. El paquete python3-devel-3.12.5-2.fc40.x86_64 ya está instalado. El paquete python3-virtualenv-20.21.1-16.fc40.noarch ya está instalado. El paquete libxml2-2.12.8-1.fc40.x86_64 ya está instalado. El paquete libxkbcommon-devel-1.6.0-2.fc40.x86_64 ya está instalado. El paquete gcc-14.2.1-1.fc40.x86_64 ya está instalado. Dependencias resueltas. Nada por hacer. ¡Listo!
groupadd: el grupo «input» ya existe groupadd: el grupo «i2c» ya existe groupadd: el grupo «uinput» ya existe Added groups input, i2c, uinput, numberpad to current user uinput module loaded i2c-dev module loaded uinput module added to auto loaded modules Udev rules reloaded and triggered
Testing interface i2c-0: success (adr 0x15) The detection was successful. Touchpad with NumberPad found: i2c-0
In system remains config file from previous installation. Do you want replace that config with default config? [y/N] created virtual environment CPython3.12.5.final.0-64 in 214ms creator CPython3Posix(dest=/usr/share/asus-numberpad-driver/.env, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(extra_search_dir=/usr/share/python-wheels,download=False, pip=bundle, via=copy, app_data_dir=/home/fedorafj/.local/share/virtualenv) added seed packages: libevdev==0.11, pip==23.3.2, pyasyncore==1.0.4, pycparser==2.22, pyinotify==0.9.6, python_xlib==0.33, setuptools==74.1.2, six==1.16.0, smbus2==0.4.3 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator Requirement already satisfied: pip in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (23.3.2) Collecting pip Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB) Using cached pip-24.2-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.3.2 Uninstalling pip-23.3.2: Successfully uninstalled pip-23.3.2 Successfully installed pip-24.2 Requirement already satisfied: setuptools in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (74.1.2) Requirement already satisfied: libevdev in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (from -r requirements.txt (line 1)) (0.11) Requirement already satisfied: numpy in /usr/share/asus-numberpad-driver/.env/lib64/python3.12/site-packages (from -r requirements.txt (line 2)) (2.1.1) Requirement already satisfied: pyinotify in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (from -r requirements.txt (line 3)) (0.9.6) Requirement already satisfied: python-xlib in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (from -r requirements.txt (line 4)) (0.33) Requirement already satisfied: smbus2 in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (from -r requirements.txt (line 5)) (0.4.3) Requirement already satisfied: pyasyncore in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (from -r requirements.txt (line 6)) (1.0.4) Requirement already satisfied: pywayland in /usr/share/asus-numberpad-driver/.env/lib64/python3.12/site-packages (from -r requirements.txt (line 7)) (0.4.18) Requirement already satisfied: xkbcommon<1.1 in /usr/share/asus-numberpad-driver/.env/lib64/python3.12/site-packages (from -r requirements.txt (line 8)) (1.0.1) Requirement already satisfied: six>=1.10.0 in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (from python-xlib->-r requirements.txt (line 4)) (1.16.0) Requirement already satisfied: cffi>=1.12.0 in /usr/share/asus-numberpad-driver/.env/lib64/python3.12/site-packages (from pywayland->-r requirements.txt (line 7)) (1.17.1) Requirement already satisfied: pycparser in /usr/share/asus-numberpad-driver/.env/lib/python3.12/site-packages (from cffi>=1.12.0->pywayland->-r requirements.txt (line 7)) (2.22)
NumberPad layout
The automatically recommended NumberPad layout for this laptop (ROG Zephyrus Duo 16 GX650PY_GX650PY) is gx551. Do you want to use the gx551 layout? (The photo of the recommended NumberPad layout can be found here https://github.com/asus-linux-drivers/asus-numberpad-driver#gx551) [y/N] Selected key layout: gx551
Systemctl service
Do you want install systemctl service? [y/N] LAYOUT_NAME: gx551 CONFIG_FILE_DIR_PATH: /usr/share/asus-numberpad-driver
env var DISPLAY: :0 env var WAYLAND_DISPLAY: wayland-0 env var AUTHORITY: /run/user/1000/.mutter-Xwaylandauth.XQT1T2 env var XDG_RUNTIME_DIR: /run/user/1000 env var DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus env var XDG_SESSION_TYPE: wayland
ERROR LOG FILE: /var/log/asus-numberpad-driver/error.log
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 Asus numberpad driver service placed Systemctl daemon reloaded Asus numberpad driver service enabled Asus numberpad driver service started
External keyboard
This is a predefined rule for changing the configuration when an external keyboard is connected/disconnected.
The application of this rule results in the following changes if an external keyboard is connected:
In summary when an external keyboard is connected then NumberPad activation is not linked to Numlock state and vice versa.
Do you want install the rule for external keyboard? [y/N] Rule 90-numberpad-external-keyboard.rules applied Udev rules reloaded and triggered
Calculator app
Do you want try to install toggling script for XF86Calculator key? [y/N] Detected gnome-calculator Setting up for gnome-calculator Toggling script for calculator app gnome-calculator has been installed.
Power supply saver
By default is idle functionality disabled and may be manually enabled in config file later. Or by installing this rule can be enabled by every detected change of power supply mode to battery mode.
Idle mode is configured to be enabled after 10s of inactivity and to decrease 30% of brightness.
Do you want install the rule for idle functionality? [y/N] Rule 80-numberpad-power-supply applied Udev rules reloaded and triggered
Installation finished succesfully
Reboot is required. Do you want reboot now? [y/N]
@fjordanrv I need to post here output of $ cat /proc/bus/input/devices
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/PNP0A08:00/device:3f/PNP0C09:00/PNP0C0D:00/input/input0 U: Uniq= H: Handlers=event0 B: PROP=0 B: EV=21 B: SW=1
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/input1 U: Uniq= H: Handlers=kbd event1 B: PROP=0 B: EV=3 B: KEY=8000 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/input2 U: Uniq= H: Handlers=kbd event2 B: PROP=0 B: EV=3 B: KEY=4000 0 0
I: Bus=0018 Vendor=04f3 Product=41d9 Version=0100 N: Name="ELAN9009:00 04F3:41D9" P: Phys=i2c-ELAN9009:00 S: Sysfs=/devices/platform/AMDI0010:01/i2c-1/i2c-ELAN9009:00/0018:04F3:41D9.0002/input/input6 U: Uniq= H: Handlers=mouse0 event3 B: PROP=2 B: EV=1b B: KEY=400 0 0 0 0 0 B: ABS=3273800000000003 B: MSC=20
I: Bus=0018 Vendor=04f3 Product=41d9 Version=0100 N: Name="ELAN9009:00 04F3:41D9 UNKNOWN" P: Phys=i2c-ELAN9009:00 S: Sysfs=/devices/platform/AMDI0010:01/i2c-1/i2c-ELAN9009:00/0018:04F3:41D9.0002/input/input7 U: Uniq= H: Handlers=event4 B: PROP=0 B: EV=9 B: ABS=10000000000
I: Bus=0018 Vendor=04f3 Product=41d9 Version=0100 N: Name="ELAN9009:00 04F3:41D9 UNKNOWN" P: Phys=i2c-ELAN9009:00 S: Sysfs=/devices/platform/AMDI0010:01/i2c-1/i2c-ELAN9009:00/0018:04F3:41D9.0002/input/input8 U: Uniq= H: Handlers=event5 B: PROP=0 B: EV=100001
I: Bus=0018 Vendor=04f3 Product=41d9 Version=0100 N: Name="ELAN9009:00 04F3:41D9 Stylus" P: Phys=i2c-ELAN9009:00 S: Sysfs=/devices/platform/AMDI0010:01/i2c-1/i2c-ELAN9009:00/0018:04F3:41D9.0002/input/input9 U: Uniq= H: Handlers=mouse1 event6 B: PROP=2 B: EV=1b B: KEY=c03 0 0 0 0 0 B: ABS=1000d000003 B: MSC=10
I: Bus=0018 Vendor=04f3 Product=41d9 Version=0100 N: Name="ELAN9009:00 04F3:41D9 Touchpad" P: Phys=i2c-ELAN9009:00 S: Sysfs=/devices/platform/AMDI0010:01/i2c-1/i2c-ELAN9009:00/0018:04F3:41D9.0002/input/input12 U: Uniq= H: Handlers=mouse2 event7 B: PROP=5 B: EV=1b B: KEY=e520 10000 0 0 0 0 B: ABS=2e0800000000003 B: MSC=20
I: Bus=0018 Vendor=04f3 Product=32a2 Version=0100 N: Name="ASUE140F:00 04F3:32A2 Mouse" P: Phys=i2c-ASUE140F:00 S: Sysfs=/devices/platform/AMDI0010:00/i2c-0/i2c-ASUE140F:00/0018:04F3:32A2.0001/input/input14 U: Uniq= H: Handlers=mouse3 event8 B: PROP=0 B: EV=17 B: KEY=30000 0 0 0 0 B: REL=1943 B: MSC=10
I: Bus=0018 Vendor=04f3 Product=32a2 Version=0100 N: Name="ASUE140F:00 04F3:32A2 Touchpad" P: Phys=i2c-ASUE140F:00 S: Sysfs=/devices/platform/AMDI0010:00/i2c-0/i2c-ASUE140F:00/0018:04F3:32A2.0001/input/input15 U: Uniq= H: Handlers=mouse4 event9 B: PROP=5 B: EV=1b B: KEY=6420 10000 0 0 0 0 B: ABS=2e0800000000003 B: MSC=20
I: Bus=0018 Vendor=04f3 Product=32a2 Version=0100 N: Name="ASUE140F:00 04F3:32A2 Keyboard" P: Phys=i2c-ASUE140F:00 S: Sysfs=/devices/platform/AMDI0010:00/i2c-0/i2c-ASUE140F:00/0018:04F3:32A2.0001/input/input16 U: Uniq= H: Handlers=sysrq kbd leds event10 B: PROP=0 B: EV=120013 B: KEY=1000000000007 ff800000000007ff febeffdfffefffff fffffffffffffffe B: MSC=10 B: LED=1f
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:22/LNXVIDEO:00/input/input17 U: Uniq= H: Handlers=kbd event11 B: PROP=0 B: EV=3 B: KEY=3e000b00000000 0 0 0
I: Bus=0010 Vendor=001f Product=0001 Version=0100 N: Name="PC Speaker" P: Phys=isa0061/input0 S: Sysfs=/devices/platform/pcspkr/input/input40 U: Uniq= H: Handlers=kbd event21 B: PROP=0 B: EV=40001 B: SND=6
I: Bus=0019 Vendor=0000 Product=0000 Version=0000 N: Name="Asus WMI hotkeys" P: Phys=asus-nb-wmi/input0 S: Sysfs=/devices/platform/asus-nb-wmi/input/input41 U: Uniq= H: Handlers=kbd event12 rfkill B: PROP=0 B: EV=100013 B: KEY=400000000000000 1000000080000 400000 0 0 0 81606f00900c00 c280027801701000 e000000000000 0 B: MSC=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="HDA NVidia HDMI/DP,pcm=3" P: Phys=ALSA S: Sysfs=/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input42 U: Uniq= H: Handlers=event16 B: PROP=0 B: EV=21 B: SW=140
I: Bus=0003 Vendor=0b05 Product=19b6 Version=0110 N: Name="Asus Keyboard" P: Phys=usb-0000:09:00.4-2.3/input2 S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:09:00.4/usb5/5-2/5-2.3/5-2.3:1.2/0003:0B05:19B6.0007/input/input46 U: Uniq= H: Handlers=sysrq kbd leds event13 B: PROP=0 B: EV=120013 B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe B: MSC=10 B: LED=1f
I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="HDA NVidia HDMI/DP,pcm=7" P: Phys=ALSA S: Sysfs=/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input43 U: Uniq= H: Handlers=event17 B: PROP=0 B: EV=21 B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="HDA NVidia HDMI/DP,pcm=8" P: Phys=ALSA S: Sysfs=/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input44 U: Uniq= H: Handlers=event14 B: PROP=0 B: EV=21 B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="HDA NVidia HDMI/DP,pcm=9" P: Phys=ALSA S: Sysfs=/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input45 U: Uniq= H: Handlers=event15 B: PROP=0 B: EV=21 B: SW=140
I: Bus=0003 Vendor=046d Product=4023 Version=0111 N: Name="Logitech Wireless Keyboard PID:4023" P: Phys=usb-0000:09:00.4-2.1/input1:1 S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:09:00.4/usb5/5-2/5-2.1/5-2.1:1.1/0003:046D:C534.0004/0003:046D:4023.0008/input/input47 U: Uniq=00-00-00-00 H: Handlers=sysrq kbd leds event18 B: PROP=0 B: EV=12001f B: KEY=3f00033fff 0 0 483ffff17aff32d bfd4444600000000 1 130ff38b17d007 ffff7bfad941dfff ffbeffdfffefffff fffffffffffffffe B: REL=1040 B: ABS=100000000 B: MSC=10 B: LED=1f
I: Bus=0003 Vendor=046d Product=4054 Version=0111 N: Name="Logitech Wireless Mouse" P: Phys=usb-0000:09:00.4-2.1/input1:2 S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:09:00.4/usb5/5-2/5-2.1/5-2.1:1.1/0003:046D:C534.0004/0003:046D:4054.0009/input/input49 U: Uniq=b9-8a-db-a4 H: Handlers=kbd mouse5 event19 B: PROP=0 B: EV=1f B: KEY=3f00033fff 0 0 483ffff17aff32d bfd4444600000000 ffff0001 130ff38b17d000 677bfad9415fed 19ed68000004400 10000002 B: REL=1943 B: ABS=100000000 B: MSC=10
I: Bus=0003 Vendor=0b05 Product=19b6 Version=0110 N: Name="Asus Keyboard" P: Phys=usb-0000:09:00.4-2.3/input0 S: Sysfs=/devices/pci0000:00/0000:00:08.1/0000:09:00.4/usb5/5-2/5-2.3/5-2.3:1.0/0003:0B05:19B6.0005/input/input48 U: Uniq= H: Handlers=kbd event20 rfkill B: PROP=0 B: EV=10001f B: KEY=33eff 0 0 483ffff17aff32d bfd4444600000000 1 1b30c730b17cc00 9fa67bfad9715fed 9e168000004400 10000002 B: REL=1040 B: ABS=100000000 B: MSC=10
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:09:00.6/sound/card1/input50 U: Uniq= H: Handlers=event22 B: PROP=0 B: EV=21 B: SW=10
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:09:00.6/sound/card1/input51 U: Uniq= H: Handlers=event23 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:09:00.6/sound/card1/input52 U: Uniq= H: Handlers=event24 B: PROP=0 B: EV=21 B: SW=4
I: Bus=0005 Vendor=04e8 Product=7021 Version=0001 N: Name="BT5.0 Keyboard" P: Phys=bc:f4:d4:e2:8f:42 S: Sysfs=/devices/virtual/misc/uhid/0005:04E8:7021.000B/input/input56 U: Uniq=dd:77:54:fa:e9:46 H: Handlers=sysrq kbd leds mouse6 event25 js0 B: PROP=0 B: EV=12001f B: KEY=101f 0 3f00033fff 0 0 483ffff17aff32d bfd5444600000000 ff0001 130ff38b17d007 ffff7bfad9415fff ffbeffdfffefffff fffffffffffffffe B: REL=1943 B: ABS=100000000 B: MSC=10 B: LED=1f
@fjordanrv Your DSDT table, please.
2024-09-11 13:03:37,936 ERROR Error during sending via i2c: "[Errno 121] Remote I/O error"
I would recommend you to run manually commands for NumberPad activation, deactivation and changing brightness separately outside of this driver to figure out what is wrong (how to use $ i2ctransfer
is described for example here https://github.com/asus-linux-drivers/asus-numberpad-driver/issues/189#issuecomment-2261518041). The correct touchpad device should be assigned and DSDT table points to the same register 0x0015
which is implemented already.
@fjordanrv Did you try? I would also try to stop driver by systemctl
service and try to run the driver manually because error:
...
unable to find device ELAN9009:00 04F3:41D9 Touchpad
...
And post here the output again, please.
Can be reopened.
I have the same issue on the same machine. Running
sudo i2ctransfer -f -y 0 w13@0x15 0x05 0x00 0x3d 0x03 0x06 0x00 0x07 0x00 0x0d 0x14 0x03 0x01 0xad
makes the touchpad light up but no functionality.
@fjordanrv @QushyQushy It is an already-known problem that involves picking the wrong touchpad device on laptops with two displays (duo). In the master branch I tried to fix the problem and also simplify detection that problem should not occur anymore in future. Please, confirm it works now.
you are a genius now works!!....Thanks a lot!!. I used the normal installation with the bash file and now works perfectly!.
Can also confirm, it now works on CachyOS. Is there any way this can be installed on an immutable OS like Bazzite?
@QushyQushy I have no exp with immutable OS's. But this implementation of driver is just python script (args are dir for config - will be autocreated with defaults and layout name) that has to be somehow auto started after booting and in the background - role of systemctl service. During installation is modified a system environment a little bit like permissions for example. Has to be than set up manually when is not used install.sh
or you can try skip only systemctl service installation - I do not know immutable OS's dirs structure so I do not know driver can be installed in the same way.
@QushyQushy I have no exp with immutable OS's. But this implementation of driver is just python script (args are dir for config - will be autocreated with defaults and layout name) that has to be somehow auto started after booting and in the background - role of systemctl service. During installation is modified a system environment a little bit like permissions for example. Has to be than set up manually when is not used
install.sh
or you can try skip only systemctl service installation - I do not know immutable OS's dirs structure so I do not know driver can be installed in the same way.
I managed to get it working. It's pretty straightforward and simple but quite dangerous as well so I won't give instructions. Perhaps the Bazzite team will include it in one of their future builds. I'll make a feature request for it.
Describe the bug
Hi I follow all the steps but the numpad doesn't work, can you confirm me that this driver is working for my laptop model?
Expected behavior
The numpad should appear but is now working.
Relevant log output
No response
Desktop