Open pckeller29 opened 2 years ago
I implemented a less dirty workaround by changing the search item:
# Look for the touchpad #
if touchpad_detected == 0 and "4F3:3101" in line and "Touchpad" in line:
and removed this part:
device_id='2'
keyboard='3'
touchpad='17'
Better than the previous one.
Same configuration for me (UX582LR) and your workaround work for me too @pckeller29
Thx for the tips
(and thx to @mohamed-badaoui for the script !)
Thanks! Also needed for UX582H.
Hi First thanx for your amazing job, I learnt a lot with your code and it made my Zenbook even more pleasant to use!
I have a problem though, the device_id, touchpad and keyboard ids are incorrectly detected.
I'm using a Kubuntu 20.10 and the ux581l touchpad layout
Here is what I have when I check my input devices:
When I do a
egrep -B1 -A5 "ASUE|ELAN" /proc/bus/input/devices |grep -B1 -A5 Touchpad
Here is what I get:
and of course, the first device_id that comes is 8 which is wrong for me. The correct one is 2. Then, of course, the event id si wrong too: 258 is picked up while the correct one is 17 Same thing for the keyboard id, in my case, the correct one is 3.
So I did a dirty workaround for now (sorry) in your code, which works as far as I don't add another input device I guess:
Right now I try to figure out how to differentiate the correct device_id in a more global way. You probably have some good suggestion to help me improve this. For now, I'm not happy with my approaches.
Here is what I get in debug mode (without the dirty tricks):
Hope it will help, thx.