Comments (9)
I share the image of the debug "LOG=DEBUG sudo -E ./asus_touchpad.py", I stopped the service and executed the command
from asus-numberpad-driver.
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.
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
from asus-numberpad-driver.
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.
It's true I missed that.
- I did the test by pressing the slash (/) which does not type
-
I also noticed that if I press slash (/) quickly the touchpad shuts down and the log shows the following:
-
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.
from asus-numberpad-driver.
- But
/
is typed. Is displayed in log. - More information needed.
- More information needed, is not possible that log is the same when is type and when not.
- 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.
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.
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.
Ok, I understand, I will go into analyzing what you mention.
Thanks for the clarification.
from asus-numberpad-driver.
Related Issues (20)
- [Bug]: Doesn't install properly on Arch due to non-existent package HOT 31
- [Bug]: Tapping on button sends mouse click, and tapping % types "25 " HOT 28
- [Bug]: fails for ASUS Vivobook 17 inch laptop HOT 10
- [Layout Request] G614 HOT 25
- [Bug]: Numpad keys (top left and top right) not functional on Zenbook 14 UX3405MA_UX3405MA HOT 2
- [Bug]: Numberpad instantly turns off on latest Fedora KDE Spin HOT 37
- ASUS Zenbook 14 UX3405MA_UX3405MA HOT 2
- [Bug]: layout not detected
- [Layout Request] ux7602-unicode HOT 7
- [Bug]: can not toggle numpad to touchpad HOT 39
- [Feature Request] Missing support for the 2023 asus GX650 and upper versions HOT 24
- [Layout Request] UX425QA HOT 3
- [Layout Request] GX650PZ HOT 10
- [Feature Request] Use events/signals to detect numlock key press HOT 12
- [Bug]: ERROR Numpad layout *.py from dir layouts is required as first argument HOT 3
- [Bug]: Script numberpad.py execution failed HOT 11
- [Bug]: Numpad doesn't work (v6.0.0 not stable yet, use stable v5.1.1 or master fixed to the commit 2aae615 ) HOT 59
- [Feature Request] Fewer gestures for activating the calculator toggle HOT 1
- [Feature Request] Improvement of slide gestures activation area HOT 1
- [Feature Request] Gentoo support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asus-numberpad-driver.