[Bug 1810183] Re: numpad on touchpad doesn't work in ASUS Zenbook 14

2021-04-04 Thread Santiago A Mendez de PAula
@mohamed

Tested for ZenBook UX363EA. I can confirm that is working very fine.

Just executed the script and voilá!!

1234567590.+-*/=%

Perfect.

Thanks very much.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1810183] Re: numpad on touchpad doesn't work in ASUS Zenbook 14

2021-04-04 Thread Santiago A Mendez de PAula
@magellan

I can confirm that for me is working like a charm without any bug by
now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1810183] Re: numpad on touchpad doesn't work in ASUS Zenbook 14

2021-04-04 Thread Santiago A Mendez de PAula
Cool. I can't believe that my notebook is working so fine now...

In line 73 of install.sh we can list the model UX363EA as a option,
after M433IA.

Thanks for your time and patience.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1810183] Re: numpad on touchpad doesn't work in ASUS Zenbook 14

2021-04-04 Thread Santiago A Mendez de PAula
Great. You can introduce in the install.sh a option for ZenBook
UX363EA_UX363EA. And a new .py file to this notebook.

If you do this I test it to check that it's ok.

For touchpad_numpad_m433ia.py I have edited the lines 9 and 10, fixing
the interface to turn ON/OFF. Because my touchpar interface is the 14,
as we can check here:

# i2cdetect -l
i2c-3   i2c i915 gmbus dpb  I2C adapter
i2c-10  i2c i915 gmbus tc6  I2C adapter
i2c-1   i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-8   i2c i915 gmbus tc4  I2C adapter
i2c-6   i2c i915 gmbus tc2  I2C adapter
i2c-13  i2c AUX E/port EI2C adapter
i2c-4   i2c i915 gmbus dpc  I2C adapter
i2c-11  i2c AUX A/port AI2C adapter
i2c-2   i2c i915 gmbus dpa  I2C adapter
i2c-0   smbus   SMBus I801 adapter at efa0  SMBus adapter
i2c-9   i2c i915 gmbus tc5  I2C adapter
i2c-7   i2c i915 gmbus tc3  I2C adapter
i2c-14  i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-5   i2c i915 gmbus tc1  I2C adapter
i2c-12  i2c AUX D/port DI2C adapter

And I edited the line 25 to:
if touchpad_detected == 0 and "Name=\"ASUE" in line and "Touchpad" in line:

I have replaced line 99:
dev.enable(EV_KEY.KEY_APOSTROPHE)

by:
dev.enable(EV_KEY.KEY_5)

Line 234
value = EV_KEY.KEY_APOSTROPHE
by:
value = EV_KEY.KEY_5

And line 249: 
  if value == EV_KEY.KEY_APOSTROPHE :
by: 
  if value == EV_KEY.KEY_5 :

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1810183] Re: numpad on touchpad doesn't work in ASUS Zenbook 14

2021-04-04 Thread Santiago A Mendez de PAula
Ohhh!!

Understood now :D

Around line 249 I introduced a typo :(

Now it is fixed and working.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1810183] Re: numpad on touchpad doesn't work in ASUS Zenbook 14

2021-04-04 Thread Santiago A Mendez de PAula
Thanks Mohamed.

I have tested your suggestion, but don't worked for me. Maybe I'm not
doing it right. I have a qwerty keyboard, Spanish distribution.

I have replaced line 99:  
dev.enable(EV_KEY.KEY_APOSTROPHE)

by: 
dev.enable(EV_KEY.KEY_5)

And line 234
value = EV_KEY.KEY_APOSTROPHE
by: 
value = EV_KEY.KEY_5

I also noticed this piece of code, that I'm not sure if I need to change too 
(line 249):
 # Send press key event #
if value == EV_KEY.KEY_KEY_APOSTROPHE :
events = [
 InputEvent(EV_KEY.KEY_LEFTSHIFT, 1),
 InputEvent(value, 1),
 InputEvent(EV_SYN.SYN_REPORT, 0)
]
else:
events = [
InputEvent(value, 1),
InputEvent(EV_SYN.SYN_REPORT, 0)
]


I'm doing it right?

Very thanks for your help here :D

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1810183] Re: numpad on touchpad doesn't work in ASUS Zenbook 14

2021-04-04 Thread Santiago A Mendez de PAula
Just testing the script for ZenBook UX363EA_UX363EA, with ubuntu 20.04.
The available script named touchpad_numpad_m433ia.py works for me with a
minor fix, as I can describe:

1) install.sh script detects the correct interface of the numeric pad: 
# bash install.sh 
Testing interface i2c-1 : failed
Testing interface i2c-14 : sucess ...

Then I could test edit boot python scripts I found inside the folder and
test it.

2) For touchpad_numpad_m433ia.py I have edited the lines 9 and 10,
fixing the interface to turn ON/OFF.

I edited the line 25 to: 
if touchpad_detected == 0 and "Name=\"ASUE" in line and "Touchpad" in line:

Known issues:

My numeric pad has % key, but don't works. On the code as mapped to
"APOSTROPHE".

I checked here,
https://elixir.bootlin.com/linux/v5.11.11/source/include/uapi/linux
/input-event-codes.h , to try to fix it, but I have not found the
corresponding entry.

Please if you known how to fix it, let me know.

https://www.asus.com/Laptops/For-Home/ZenBook/Zenbook-Flip-13-UX363
-11th-gen-Intel/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1810183] Re: numpad on touchpad doesn't work in ASUS Zenbook 14

2021-03-30 Thread Santiago A Mendez de PAula
Also affected by this issue. Asus Zenbook Flip 13 UX363EA. Ubuntu 20.04.

I can turn on/off the numberpad lights with the commands:

i2ctransfer -f -y 14 w13@0x15 0x05 0x00 0x3d 0x03 0x06 0x00 0x07 0x00 0x0d 0x14 
0x03 0x01 0xad
i2ctransfer -f -y 14 w13@0x15 0x05 0x00 0x3d 0x03 0x06 0x00 0x07 0x00 0x0d 0x14 
0x03 0x00 0xad

But the numberpad don't works as expected (as a numeric pad).

I have this

# i2cdetect -l
i2c-3   i2c i915 gmbus dpb  I2C adapter
i2c-10  i2c i915 gmbus tc6  I2C adapter
i2c-1   i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-8   i2c i915 gmbus tc4  I2C adapter
i2c-6   i2c i915 gmbus tc2  I2C adapter
i2c-13  i2c AUX E/port EI2C adapter
i2c-4   i2c i915 gmbus dpc  I2C adapter
i2c-11  i2c AUX A/port AI2C adapter
i2c-2   i2c i915 gmbus dpa  I2C adapter
i2c-0   smbus   SMBus I801 adapter at efa0  SMBus adapter
i2c-9   i2c i915 gmbus tc5  I2C adapter
i2c-7   i2c i915 gmbus tc3  I2C adapter
i2c-14  i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-5   i2c i915 gmbus tc1  I2C adapter
i2c-12  i2c AUX D/port DI2C adapter

I have no experience with the i2c tools, and I don't know if here is the
right place to ask, but how can I found this part of the command, to
apply to my hardware: "w13@0x15 0x05 0x00 0x3d 0x03 0x06 0x00 0x07 0x00
0x0d 0x14 0x03 0x01 0xad"? The first half of the command I undestood,
but no how to found the rest.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810183

Title:
  numpad on touchpad doesn't work in ASUS Zenbook 14

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1810183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs