Giter Club home page Giter Club logo

Comments (9)

Gevert92 avatar Gevert92 commented on June 28, 2024

I share the image of the debug "LOG=DEBUG sudo -E ./asus_touchpad.py", I stopped the service and executed the command

image

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on June 28, 2024

Hi, thank you for creating an issue. I improved documentation about debugging arguments. I attach it here also. Please re-run this command with params and attach a log again.

Troubleshooting

To show debug logs run this command in terminal (Do not forget specify numpad layout and which config do you want to use):

# LOG=DEBUG sudo -E ./asus_touchpad.py <REQUIRED:numpad layout file name without extension .py> <OPTIONAL:directory where is located config file with name: asus_touchpad_numpad_dev, by default is taken CWD - current working directory>

cd asus-touchpad-numpad-driver
LOG=DEBUG sudo -E ./asus_touchpad.py "up5401ea" "" # now driver use root of repository as directory for config file named asus_touchpad_numpad_dev

cd asus-touchpad-numpad-driver
LOG=DEBUG sudo -E ./asus_touchpad.py "up5401ea" "/usr/share/asus_touchpad_numpad-driver/" # now driver use installed config

from asus-numberpad-driver.

Gevert92 avatar Gevert92 commented on June 28, 2024

Hello, i share the debug log printout:

LOG=DEBUG sudo -E ./asus_touchpad.py "g533" ""
DEBUG:Pad:Detecting keyboard from string: "N: Name="AT Translated Set 2 keyboard""
DEBUG:Pad:Set keyboard 4 from H: Handlers=sysrq kbd event4 leds
DEBUG:Pad:Detecting touchpad from string: "N: Name="ELAN1405:00 04F3:315E Touchpad""
DEBUG:Pad:Set touchpad device id 2 from S: Sysfs=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-ELAN1405:00/0018:04F3:315E.0001/input/input24
DEBUG:Pad:Set touchpad id 20 from H: Handlers=mouse1 event20
DEBUG:Pad:Touchpad min-max: x 0-3081, y 0-1627
DEBUG:Pad:Numpad min-max: x 200-2881, y 200-1547
INFO:Pad:Saving config file: "/usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev"
INFO:Pad:Saving config file: "/usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev"
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
INFO:Pad:Saving config file: "/usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev"
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
INFO:Pad:Saving config file: "/usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev"
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
INFO:Pad:Saving config file: "/usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev"
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
INFO:Pad:Saving config file: "/usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev"
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
INFO:Pad:Saving config file: "/usr/share/asus_touchpad_numpad-driver/asus_touchpad_numpad_dev"
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad
INFO:Pad:Getting Device Enabled via xinput failed
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device ELAN1405:00 04F3:315E Touchpad

Image:
image

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on June 28, 2024

But in this log you not used NumberPad anytime. Can you please post relevant log with attempts for example pressing first numbers from 1 to 9 and then special chars etc. as is mentioned in description of issue?

from asus-numberpad-driver.

Gevert92 avatar Gevert92 commented on June 28, 2024

It's true I missed that.

  1. I did the test by pressing the slash (/) which does not type

image

  1. I also noticed that if I press slash (/) quickly the touchpad shuts down and the log shows the following:
    image

  2. When I press 7 it still happens that I have to press it repeatedly for it to write, however the log shows the following whether or not the digit is painted.
    image

  3. Para el 8 y 9 ocurre lo mismo que el 7
    image

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on June 28, 2024
  1. But / is typed. Is displayed in log.
  2. More information needed.
  3. More information needed, is not possible that log is the same when is type and when not.
  4. Looks like from log you touched 3 times almost the same spot, for key 7, so nothing wrong.

Anyway, because I do not have your NumberPad type, g533 I can not test if paddings are valid. Please check paddings in NumberPad layout and make pull request if not. Everything else should be working.

from asus-numberpad-driver.

Gevert92 avatar Gevert92 commented on June 28, 2024

Ok, I need to go deeper into the logic of the service to be able to give more information.

One question, when you say paddings what do you mean?

from asus-numberpad-driver.

ldrahnik avatar ldrahnik commented on June 28, 2024

I recommend you read file Readme.md first. Padding = offset where is not possible touch any key and which is used for calculation widths and heights of rows and columns for key grid.

from asus-numberpad-driver.

Gevert92 avatar Gevert92 commented on June 28, 2024

Ok, I understand, I will go into analyzing what you mention.

Thanks for the clarification.

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.