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
269 stars 21 forks source link

[Bug]: Normally shifted symbols are missing shift #213

Closed alercah closed 3 weeks ago

alercah commented 3 weeks ago

Describe the bug

I just got a new UM3402. Thanks for making the installation so painless and making this just work. Really well done work on this firmware.

But unfortunately I've a funny bug: it seems that the faked Shift key isn't working correctly. So if I press + I get =, if I press * I get 8, and if I press % I get 5. The remaining symbols work.

I use KDE with fcitx5.

Expected behavior

I expected the +, %, and * symbols to produce the correct symbol.

Relevant log output

Output of journalctl -b 0 -g numberpad:

Oct 31 05:22:23 fedora (udev-worker)[1174]: ACAD: Process '/usr/share/asus-numberpad-driver/udev/power_supply_is_ac.sh' failed with exit code 2.
Oct 31 05:22:31 fedora systemd[1967]: Created slice app-asus_numberpad_driver.slice - Slice /app/asus_numberpad_driver.
Oct 31 05:22:31 fedora systemd[1967]: Started asus_numberpad_driver@alercah.service - Asus NumberPad Driver.
Oct 31 05:22:31 fedora systemd[1967]: asus_numberpad_driver@alercah.service: Main process exited, code=exited, status=1/FAILURE
Oct 31 05:22:31 fedora systemd[1967]: asus_numberpad_driver@alercah.service: Failed with result 'exit-code'.
Oct 31 05:22:31 fedora systemd[1967]: asus_numberpad_driver@alercah.service: Consumed 2.126s CPU time.
Oct 31 05:22:32 fedora systemd[1967]: asus_numberpad_driver@alercah.service: Scheduled restart job, restart counter is at 1.
Oct 31 05:22:32 fedora systemd[1967]: Started asus_numberpad_driver@alercah.service - Asus NumberPad Driver.
Oct 31 05:22:33 fedora kernel: input: ASUE140D:00 04F3:31B9 NumberPad as /devices/virtual/input/input31

Desktop

ldrahnik commented 3 weeks ago

@alercah Hi, thank you for your kind words. Attach here error and install log and try to remove wayland specific condition here (keep sleep(0.005) line 1677, remove line 1676 only) in case you use x11 and reinstall:

1676          if display_wayland:
1677            sleep(0.005)
alercah commented 3 weeks ago

Hi, how can I get those logs? Also which file do I remove that from?

ldrahnik commented 3 weeks ago

numberpad.py and /var/log/asus-numberpad-driver/

alercah commented 3 weeks ago

Where is numberpad.py installed to?

On Thu, Oct 31, 2024, 11:00 Lukáš Drahník @.***> wrote:

numberpad.py and /var/log/asus-numberpad-driver/

— Reply to this email directly, view it on GitHub https://github.com/asus-linux-drivers/asus-numberpad-driver/issues/213#issuecomment-2450103304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7AOVK4G22D2R6Y5BZC2HLZ6JAXHAVCNFSM6AAAAABQ54U4ZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJQGEYDGMZQGQ . You are receiving this because you were mentioned.Message ID: @.*** com>

ldrahnik commented 3 weeks ago

@alercah Change numberpad.py in cloned git repository and then reinstall using bash install.sh.

ldrahnik commented 3 weeks ago

Can be reopened.