asus-linux-drivers / asus-numberpad-driver

Maintained feature-rich linux driver for NumberPad(2.0) on Asus laptops. NumberPad(2.0) is illuminated numeric keypad integrated to touchpad which appears when is done tap on top right corner of touchpad for atleast 1s by default (configurable) or slide gesture from top right/left corner to the center, the left shows calc app aswell (configurable).
GNU General Public License v2.0
261 stars 19 forks source link

[Bug]: AUR installation doesnt work on Manjaro #62

Closed Lamdarer closed 2 years ago

Lamdarer commented 2 years ago

Describe the bug

Using a Asus VivoBook Flip 14 TM420UA and installing the asus-touchpad-numpad-driver-up5401ea-git package from the AUR results in an error saying that it couldn't be configured.

When installing via the GUI once it is finished a pop-up mentions that there was an issue with configuring it Fehler beim Konfigurieren von asus-touchpad-numpad-driver-up5401ea-git (I wasnt able to change the language sry for that), when I close it and view the details I notice that there is a warning about a link in the package which appears multiple times ==> WARNUNG: Paket enthält einen Verweis auf $pkgdir usr/lib/systemd/system/asus_touchpad_numpad.service and at the bottom there seems to be the important part:

Fehler beim Konfigurieren von asus-touchpad-numpad-driver-up5401ea-git
See "systemctl status asus_touchpad_numpad.service" and "journalctl -xeu asus_touchpad_numpad.service" for details.

and that the command couldn't be executed correctly Fehler: asus-touchpad-numpad-driver-up5401ea-git: Befehl konnte nicht korrekt ausgeführt werden

When running both of the mentioned debug commands for details I get this:

systemctl status asus_touchpad_numpad.service                                                        
× asus_touchpad_numpad.service - Asus Touchpad to Numpad Handler
     Loaded: loaded (/etc/systemd/system/asus_touchpad_numpad.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Mon 2022-09-05 18:34:02 CEST; 4min 27s ago
    Process: 18528 ExecStartPre=/bin/sleep 2 (code=exited, status=209/STDOUT)
        CPU: 1ms

Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 6.
Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler.
Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Start request repeated too quickly.
Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'.
Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler.
journalctl -xeu asus_touchpad_numpad.service ``` journalctl -xeu asus_touchpad_numpad.service Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 2858. Sep 05 18:34:01 PPC-VBA-22 systemd[18496]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:01 PPC-VBA-22 systemd[18496]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 2858 and the job result is failed. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 1. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 2952 and the job result is done. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 2952. Sep 05 18:34:01 PPC-VBA-22 systemd[18520]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:01 PPC-VBA-22 systemd[18520]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 2952 and the job result is failed. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 2. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3046 and the job result is done. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 3046. Sep 05 18:34:01 PPC-VBA-22 systemd[18523]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:01 PPC-VBA-22 systemd[18523]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3046 and the job result is failed. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 3. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3140 and the job result is done. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 3140. Sep 05 18:34:02 PPC-VBA-22 systemd[18526]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:02 PPC-VBA-22 systemd[18526]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3140 and the job result is failed. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 4. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3234 and the job result is done. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 3234. Sep 05 18:34:02 PPC-VBA-22 systemd[18527]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:02 PPC-VBA-22 systemd[18527]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3234 and the job result is failed. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 5. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3328 and the job result is done. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 3328. Sep 05 18:34:02 PPC-VBA-22 systemd[18528]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:02 PPC-VBA-22 systemd[18528]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3328 and the job result is failed. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 6. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3422 and the job result is done. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Start request repeated too quickly. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3422 and the job result is failed. ```

Expected behavior

The installation should be successful, similar to how it is when I manually install it with:

git clone https://github.com/asus-linux-drivers/asus-touchpad-numpad-driver
cd asus-touchpad-numpad-driver
sudo ./install.sh

Relevant log output

Click to expand ```shell Fehler beim Konfigurieren von asus-touchpad-numpad-driver-up5401ea-git --- ==> Prüfe auf Paketierungsprobleme... ==> WARNUNG: Paket enthält einen Verweis auf $pkgdir usr/lib/systemd/system/asus_touchpad_numpad.service ==> Erstelle Paket "asus-touchpad-numpad-driver-gx551-git"... -> Erstelle .PKGINFO Datei... -> Erstelle .BUILDINFO Datei... -> Füge install Datei hinzu... -> Erstelle .MTREE-Datei... -> Komprimiere Paket... ==> Beginne package_asus-touchpad-numpad-driver-g533-git()... ==> Säubere Installation... -> Entferne libtool Dateien... -> Bereinige ungewollte Dateien... -> Entferne statische Bibliotheken... -> Entferne unnötige Symbole aus Binär-Dateien und Bibliotheken... -> Komprimiere Man-Pages und Info-Seiten... ==> Prüfe auf Paketierungsprobleme... ==> WARNUNG: Paket enthält einen Verweis auf $pkgdir usr/lib/systemd/system/asus_touchpad_numpad.service ==> Erstelle Paket "asus-touchpad-numpad-driver-g533-git"... -> Erstelle .PKGINFO Datei... -> Erstelle .BUILDINFO Datei... -> Füge install Datei hinzu... -> Erstelle .MTREE-Datei... -> Komprimiere Paket... ==> Verlasse fakeroot Umgebung. ==> Beendete Erstellung: asus-touchpad-numpad-driver-git r305.ea88b9d-1 (Mo 05 Sep 2022 18:33:56 CEST) ==> Räume auf... Überprüfe Schlüsselring... Integrität wird überprüft... Paketdateien werden geladen... Dateikonflikte werden überprüft... Überprüfe verfügbaren Speicherplatz... Removed "/etc/systemd/system/default.target.wants/asus_touchpad_numpad.service". Konfiguriere asus-touchpad-numpad-driver-up5401ea-git... Created symlink /etc/systemd/system/default.target.wants/asus_touchpad_numpad.service → /etc/systemd/system/asus_touchpad_numpad.service. Job for asus_touchpad_numpad.service failed because the control process exited with error code. Fehler beim Konfigurieren von asus-touchpad-numpad-driver-up5401ea-git See "systemctl status asus_touchpad_numpad.service" and "journalctl -xeu asus_touchpad_numpad.service" for details. Fehler: asus-touchpad-numpad-driver-up5401ea-git: Befehl konnte nicht korrekt ausgeführt werden Starte Post-Transaction-Hooks... Reloading system manager configuration... Arming ConditionNeedsUpdate... Vorgang erfolgreich abgeschlossen. --- systemctl status asus_touchpad_numpad.service × asus_touchpad_numpad.service - Asus Touchpad to Numpad Handler Loaded: loaded (/etc/systemd/system/asus_touchpad_numpad.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Mon 2022-09-05 18:34:02 CEST; 4min 27s ago Process: 18528 ExecStartPre=/bin/sleep 2 (code=exited, status=209/STDOUT) CPU: 1ms Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 6. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Start request repeated too quickly. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. journalctl -xeu asus_touchpad_numpad.service Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 2858. Sep 05 18:34:01 PPC-VBA-22 systemd[18496]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:01 PPC-VBA-22 systemd[18496]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 2858 and the job result is failed. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 1. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 2952 and the job result is done. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 2952. Sep 05 18:34:01 PPC-VBA-22 systemd[18520]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:01 PPC-VBA-22 systemd[18520]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 2952 and the job result is failed. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 2. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3046 and the job result is done. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 3046. Sep 05 18:34:01 PPC-VBA-22 systemd[18523]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:01 PPC-VBA-22 systemd[18523]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:01 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3046 and the job result is failed. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 3. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3140 and the job result is done. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 3140. Sep 05 18:34:02 PPC-VBA-22 systemd[18526]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:02 PPC-VBA-22 systemd[18526]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3140 and the job result is failed. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 4. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3234 and the job result is done. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 3234. Sep 05 18:34:02 PPC-VBA-22 systemd[18527]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:02 PPC-VBA-22 systemd[18527]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3234 and the job result is failed. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 5. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3328 and the job result is done. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler... ░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has begun execution. ░░ ░░ The job identifier is 3328. Sep 05 18:34:02 PPC-VBA-22 systemd[18528]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory Sep 05 18:34:02 PPC-VBA-22 systemd[18528]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory ░░ Subject: Process /bin/sleep could not be executed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The process /bin/sleep could not be executed and failed. ░░ ░░ The error number returned by this process is ERRNO. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Control process exited, code=exited, status=209/STDOUT ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ An ExecStartPre= process belonging to unit asus_touchpad_numpad.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 209. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3328 and the job result is failed. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Scheduled restart job, restart counter is at 6. ░░ Subject: Automatic restarting of a unit has been scheduled ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ Automatic restarting of the unit asus_touchpad_numpad.service has been scheduled, as the result for ░░ the configured Restart= setting for the unit. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Stopped Asus Touchpad to Numpad Handler. ░░ Subject: A stop job for unit asus_touchpad_numpad.service has finished ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A stop job for unit asus_touchpad_numpad.service has finished. ░░ ░░ The job identifier is 3422 and the job result is done. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Start request repeated too quickly. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: asus_touchpad_numpad.service: Failed with result 'exit-code'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ The unit asus_touchpad_numpad.service has entered the 'failed' state with result 'exit-code'. Sep 05 18:34:02 PPC-VBA-22 systemd[1]: Failed to start Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has failed ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished with a failure. ░░ ░░ The job identifier is 3422 and the job result is failed. ```

Desktop

ldrahnik commented 2 years ago

@kamack38 Can you look at that please?

ldrahnik commented 2 years ago

@kamack38 any progres?

kamack38 commented 2 years ago

I'm working on it.

kamack38 commented 2 years ago

@Lamdarer are you using wayland?

Lamdarer commented 2 years ago

@kamack38 no I am Starting Gnome under x.org and echo $XDG_SESSION_TYPE gives me x11 as output. Though I have enabled the "Wayland session" in the gnome-layout-switcher (manjaro application) I will try disabling it though I am not sure if it even has any effect when Gnome is started in x.org mode, since I way able to use the manual installed one after I switched from default to x.org Gnome. sry until now I hadn't much time to do other testing but I will do that now. Thank you very much for the help!

Lamdarer commented 2 years ago

I disabled the wayland session in the gnome-layout-switcher (even though it seems to have no effect). Now it works, also no matter if I activate it ok not, sometimes its just really hard to disable the numpad. Just to be sure that it wasnt me not beeing able to click it I run systemctl status asus_touchpad_numpad.service and it indeed seems to be active this time around:

● asus_touchpad_numpad.service - Asus Touchpad to Numpad Handler
     Loaded: loaded (/etc/systemd/system/asus_touchpad_numpad.service; enabled; preset: disabled)
     Active: active (running) since Thu 2022-09-08 17:48:26 CEST; 7min ago
   Main PID: 18393 (python3)
      Tasks: 5 (limit: 8781)
     Memory: 58.5M
        CPU: 10.165s
     CGroup: /system.slice/asus_touchpad_numpad.service
             └─18393 python3 /usr/share/asus_touchpad_numpad-driver/asus_touchpad.py up5401ea /usr/share/asus_touchpad_numpad-driver/

Sep 08 17:48:24 PC-xx-22 systemd[1]: Starting Asus Touchpad to Numpad Handler...
Sep 08 17:48:26 PC-xx-22 systemd[1]: Started Asus Touchpad to Numpad Handler.

Also here the other output of journalctl -xeu asus_touchpad_numpad.service

Sep 08 17:48:24 PPC-VBA-22 systemd[1]: Starting Asus Touchpad to Numpad Handler...
░░ Subject: A start job for unit asus_touchpad_numpad.service has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit asus_touchpad_numpad.service has begun execution.
░░ 
░░ The job identifier is 2463.
Sep 08 17:48:26 PC-xx-22 systemd[1]: Started Asus Touchpad to Numpad Handler.
░░ Subject: A start job for unit asus_touchpad_numpad.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit asus_touchpad_numpad.service has finished successfully.
░░ 
░░ The job identifier is 2463.

Not really sure what I did to get a different result, I already reinstalled the AUR package multiple times, otherwise I tried the manual install iirc once again before, but besides that and since the session should also be alright I really dont know.

I will make a timeshift snapshot now, reboot, check if its still working and then try to install some of the other packages, please tell me if I can provide you any other log files etc if necessary to figure out the cause.

Lamdarer commented 2 years ago

Unfortunately now I am reliably getting a similar issue to this, at first every second boot or so I just got a blank screen after login, otherwise it seemed fine, I tried to disable and re enable the "Wayland session" option within the gnome-layout-switcher but I couldn't make out a pattern or proof if it has an effect(still starting a usual Gnome x.org session all the time). Than after a while and some restarts, backups not even the login screen showed up, except for one time when I got a login screen but neither the touchpad nor touchscreen worked I launched both of the diagnostic commands but it gave the same response as above so it should have been working. I timeshifted back to snapshot where just the screen turned black after login but either the timeshift dint work or the issue was present much earlier, but I didnt even came close to the login screen. So here I am now at my backup pre AUR package install. I will try to install the AUR driver again and see if I can reproduce the issue. Else maybe you can tell me where to search for any leftover config files of the AUR or manual install so that I can remove them before reinstallation(in case they mess something up).

Lamdarer commented 2 years ago

So I wiped my system, and I get basically the same issue as in my initial comment. (with tue AUR install) Except that I am asked to restart instead of the failure pop-up.

ldrahnik commented 2 years ago
░░ The job identifier is 2858.
Sep 05 18:34:01 PPC-VBA-22 systemd[18496]: asus_touchpad_numpad.service: Failed to set up standard output: No such file or directory
Sep 05 18:34:01 PPC-VBA-22 systemd[18496]: asus_touchpad_numpad.service: Failed at step STDOUT spawning /bin/sleep: No such file or directory
░░ Subject: Process /bin/sleep could not be executed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
ldrahnik commented 2 years ago

@kamack38 Warning should not be there, look at the example packages and fix that please. WARNING: Package contains a reference to $pkgdir usr/lib/systemd/system/asus_touchpad_numpad.service

ldrahnik commented 2 years ago

@Lamdarer git pull master branch, please. Could you install the driver via git and summarize the current state? With attached logs which prove how is not working state (if is) related to this driver?

Lamdarer commented 2 years ago

@ldrahnik thx for the response, I redownloaded it completely if thats what you mean by Pull master(git clone https://github.com/asus-linux-drivers/asus-touchpad-numpad-driver),

install.sh process ``` Testing interface i2c-0 : failed Testing interface i2c-1 : sucess Detected laptop: VivoBook_ASUSLaptop TP420UA_TM420UA Could not automatically detect numpad layout for your laptop. Please create an issue (https://github.com/asus-linux-drivers/asus-touchpad-numpad-driver/issues). Select your model keypad layout: 1) b7402.py 3) g533.py 5) gx701.py 7) ux433fa.py 9) Quit 2) e210ma.py 4) gx551.py 6) up5401ea.py 8) ux581l.py Please enter your choice 6 Selected key layout up5401ea Installing asus touchpad service to /etc/systemd/system/ X11 is detected Installing udev rules to /usr/lib/udev/rules.d/ Added 90-numberpad-external-keyboard.rules Created symlink /etc/systemd/system/graphical.target.wants/asus_touchpad_numpad.service → /etc/systemd/system/asus_touchpad_numpad.service. Asus touchpad service enabled Created symlink /etc/systemd/system/suspend.target.wants/asus_touchpad_numpad_suspend.service → /etc/systemd/system/asus_touchpad_numpad_suspend.service. Asus touchpad suspend service enabled Asus touchpad service started Asus touchpad suspend service started ```

and it initially worked and also after the first reboot.

systemctl status asus_touchpad_numpad.service ``` systemctl status asus_touchpad_numpad.service ● asus_touchpad_numpad.service - Asus Touchpad to Numpad Handler Loaded: loaded (/etc/systemd/system/asus_touchpad_numpad.service; enabled; preset: disabled) Active: active (running) since Sun 2022-09-11 19:07:47 CEST; 1min 50s ago Main PID: 514 (python3) Tasks: 5 (limit: 8781) Memory: 64.0M CPU: 2.204s CGroup: /system.slice/asus_touchpad_numpad.service └─514 python3 /usr/share/asus_touchpad_numpad-driver/asus_touchpad.py up5401ea /usr/share/asus_touchpad_numpad-driver/ Sep 11 19:07:47 VivoBook systemd[1]: Started Asus Touchpad to Numpad Handler. ```
journalctl -xeu asus_touchpad_numpad.service ``` journalctl -xeu asus_touchpad_numpad.service ~ Sep 11 19:07:47 VivoBook systemd[1]: Started Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished successfully. ░░ ░░ The job identifier is 119. ```

Thous were the logs after the first reboot, I also loged out and back in again to see if it would continue working.

But than when I restarted again, even though the logs say it is running I am not able to bring the numpad up no matter what I try, I restarted a few times the logs now still say its running but I cant bring it up:

systemctl status asus_touchpad_numpad.service ``` ● asus_touchpad_numpad.service - Asus Touchpad to Numpad Handler Loaded: loaded (/etc/systemd/system/asus_touchpad_numpad.service; enabled; preset: disabled) Active: active (running) since Sun 2022-09-11 19:34:17 CEST; 1min 9s ago Main PID: 487 (python3) Tasks: 5 (limit: 8781) Memory: 65.8M CPU: 479ms CGroup: /system.slice/asus_touchpad_numpad.service └─487 python3 /usr/share/asus_touchpad_numpad-driver/asus_touchpad.py up5401ea /usr/share/asus_touchpad_numpad-driver/ Sep 11 19:34:17 VivoBook systemd[1]: Started Asus Touchpad to Numpad Handler. ```
journalctl -xeu asus_touchpad_numpad.service ``` Sep 11 19:34:17 VivoBook systemd[1]: Started Asus Touchpad to Numpad Handler. ░░ Subject: A start job for unit asus_touchpad_numpad.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://forum.manjaro.org/c/support ░░ ░░ A start job for unit asus_touchpad_numpad.service has finished successfully. ░░ ░░ The job identifier is 119. ```

The whole time I was in a x11 session.

Lamdarer commented 2 years ago

Just now I more or less by accident discovered that it is working after I actively stopped and restarted the services via systemctl, with: systemctl stop asus_touchpad_numpad.service systemctl start asus_touchpad_numpad.service EDIT: Even after a couple of restarts it seems that it continues working without the need for a manual restart via systemctl

ldrahnik commented 2 years ago

@Lamdarer Ok, can you please post here logs about systemd services when is laptop started and this driver is loaded but you can not get NumberPad on? Also please attach NumberPad driver own logs from /var/log/asus_touchpad_numpad-driver/error.log

Lamdarer commented 2 years ago

I can if I can reproduce it now (currently it seems to be continuously working), which systemd services logs exactly do you want? Otherwise here is the /var/log/asus_touchpad_numpad-driver/ error.log

ldrahnik commented 2 years ago

@Lamdarer Now when you download the latest version of driver (git pull) you do not have to manually pick up up5401ea. I added your model too.

ldrahnik commented 2 years ago

@Lamdarer Is weird that getting touchpad status via xinput fails (log: INFO:Pad:Getting Device Enabled via xinput failed). Can you manually try check your touchpad status (enabled/disabled) via terminal please? This command is for me (you have to change touchpad id to your own): xinput --list-props "ASUE140D:00 04F3:31B9 Touchpad" | grep "Device Enabled"

Lamdarer commented 2 years ago

I think its because I dont have xinput installed? Autocomplete for the command somehow works but then it says command not found: xinput, also didnt you remove it as a dependency? EDIT:

xinput --list-props "ASUE140C:00 04F3:3145 Touchpad" | grep "Device Enabled"
    Device Enabled (161):   1
ldrahnik commented 2 years ago
INFO:Pad:Saving config file: "/usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev"
Traceback (most recent call last):
  File "/usr/share/asus_touchpad_numpad-driver/asus_touchpad.py", line 1250, in <module>
    listen_touchpad_events()
  File "/usr/share/asus_touchpad_numpad-driver/asus_touchpad.py", line 1028, in listen_touchpad_events
    for e in d_t.events():
  File "/usr/lib/python3.10/site-packages/libevdev/device.py", line 536, in events
    ev = self._libevdev.next_event(flags)
  File "/usr/lib/python3.10/site-packages/libevdev/_clib.py", line 893, in next_event
    raise OSError(-rc, os.strerror(-rc))
ldrahnik commented 2 years ago

@Lamdarer reverted back as not needed when is detected during running installation process wayland and installed when is detected X11

ldrahnik commented 2 years ago

@Lamdarer Without xinput installed does not work on X11 (wayload not supported yet) this:

Disabling Touchpad (e.g. Fn+special key) disables by default NumberPad as well (can be disabled, this functionality supports atm only xinput from xorg, no wayland support https://github.com/asus-linux-drivers/asus-touchpad-numpad-driver/issues/54)
Lamdarer commented 2 years ago

So here it is:

xinput --list-props "ASUE140C:00 04F3:3145 Touchpad" | grep "Device Enabled"
    Device Enabled (161):   1

Shoud I attach you the error.log again?

Lamdarer commented 2 years ago

Also one issue I noticed is that when using the swiping gesture(Top-left to button right) it brings up the calculator, but when I do it again it brings up another calculator instead of closing the first one(enabling/disabling of the numpad works fine though).

ldrahnik commented 2 years ago

Only when problems occur again. I hope main problems have been fixed: /bin/sleep and OSError without except block so without auto restarting driver service.

ldrahnik commented 2 years ago

Also one issue I noticed is that when using the swiping gesture(Top-left to button right) it brings up the calculator, but when I do it >again it brings up another calculator instead of closing the first one(enabling/disabling of the numpad works fine though).

It's up to you (I can not do it in driver as Windows developers can) setting own script to KEY_CALC key which will have toggling functionality. In Readme I linked mine toggling script bound to KEY_CALC for elementary OS.

ldrahnik commented 2 years ago

@Lamdarer @kamack38 What is left I think is fix warning below and then can be issue closed? (can be reopened if any problems occur)

@kamack38 Warning should not be there, look at the example packages and fix that please. WARNING: Package contains a reference to $pkgdir usr/lib/systemd/system/asus_touchpad_numpad.service

Lamdarer commented 2 years ago

Also one issue I noticed is that when using the swiping gesture(Top-left to button right) it brings up the calculator, but when I do it >again it brings up another calculator instead of closing the first one(enabling/disabling of the numpad works fine though).

It's up to you (I can not do it in driver as Windows developers can) setting own script to KEY_CALC key which will have toggling functionality. In Readme I linked mine toggling script bound to KEY_CALC for elementary OS.

I understand, sorry if its a dumb question but where would I place such a script so that it's called with the gesture (or disable the call of KEY_CALC completely)?

ldrahnik commented 2 years ago

In elementary (Ubuntu based) I am setting it via dconf like this: Screenshot from 2022-09-11 21-10-10@2x

And then in settings > keyboard > custom shortcuts I see:

Screenshot from 2022-09-11 21-11-16@2x

Lamdarer commented 2 years ago

Also one last thing on this matter:

@Lamdarer Now when you download the latest version of driver (git pull) you do not have to manually pick up up5401ea. I added your model too.

pacman is here
Warnung: libevdev-1.13.0-1 ist aktuell -- Überspringe
Warnung: python-libevdev-0.10-1 ist aktuell -- Überspringe
Warnung: i2c-tools-4.3-3 ist aktuell -- Überspringe
Warnung: git-2.37.2-1 ist aktuell -- Überspringe
Warnung: python-numpy-1.23.1-1 ist aktuell -- Überspringe
Warnung: python-evdev-1.6.0-1 ist aktuell -- Überspringe
 Es gibt nichts zu tun
Warnung: xorg-xinput-1.6.3-3 ist aktuell -- Überspringe
 Es gibt nichts zu tun
Testing interface i2c-0 : failed
Testing interface i2c-1 : sucess
Detected laptop: VivoBook_ASUSLaptop TP420UA_TM420UA

Select your model keypad layout:
1) b7402.py 3) g533.py  5) gx701.py 7) ux433fa.py   9) Quit
2) e210ma.py    4) gx551.py 6) up5401ea.py  8) ux581l.py
Please enter your choice 6
Selected key layout up5401ea
Installing asus touchpad service to /etc/systemd/system/
X11 is detected
Installing udev rules to /usr/lib/udev/rules.d/
Added 90-numberpad-external-keyboard.rules
Asus touchpad service enabled
Asus touchpad suspend service enabled
Asus touchpad service started
Asus touchpad suspend service started

I wasnt sure before so I didnt mention it, but after running ./install.sh again I still have to choose the layout manually. Not a big matter, but since git pull tells me I am up-to-date I just wanted to let you know.

Lamdarer commented 2 years ago

Also big thanks for the good support, I will try out the other drivers soonish.

ldrahnik commented 2 years ago

@Lamdarer Now it should be fixed. Thank you. It was a bug because I do not remove comments # from each line during reading file laptop_numpad_layouts.