mohamed-badaoui / asus-touchpad-numpad-driver

Activate Numpad inside the touchpad with top right corner switch
301 stars 70 forks source link

[UM425 / Ubuntu] The backlight is not working Zenbook UM425 #62

Closed anton-voronko closed 3 years ago

anton-voronko commented 3 years ago

The Numpad is working, but the backlight doesn't. I have tried manually enabling it by this command: _i2ctransfer -f -y " + deviceid + " w13@0x15 0x05 0x00 0x3d 0x03 0x06 0x00 0x07 0x00 0x0d 0x14 0x03 0x01 0xad with correct "device_id" and it doesn't work.

Also, I have tried @kawaegle script for testing the backlight, and the result is the same with different values.

I think that enabling backlight in the UM425 has another register address, and I need to send some other I2C data. How can I find exactly this I2C sequence?

kawaegle commented 3 years ago

Hey @anton-voronko

Did you try to check all dependency (check in the readme with your distro)

And did you also try to launch the script manually and so get some output to check if the i2c command fail or not

mohamed-badaoui commented 3 years ago

Hi

This script was installed and mentioned as working for this model by @haakov. Check his PR at https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver/pull/21

So the current ic2 sequence should be right.

Can you share more details on this:

anton-voronko commented 3 years ago

Hello, @kawaegle and @mohamed-badaoui !

@kawaegle Yes, I have checked all dependecy. Yes, I tried manually launch the script, and i2c command doesn't show any errors and messages.

@mohamed-badaoui Have checked @haakov #21. I don't have any errors when launching the script. Also, I changed the resolution as was described in this post, and still, the backlight is not working. And it would be strange if by changing this code (x > 0.95 maxx) and (y < 0.05 maxy), the backlight start working.

I am using: Ubuntu 20.04.3 LTS (Focal Fossa) 5.11.0-34-generic

i2cdetect i2ctransfer

Also, I have played with i2c-tools. And I see that when I am dumping address 0x15 I have all 0xff values. I have tried to write some other data, and they were successfully written. So I expect that the i2ctransfer command is working.

mohamed-badaoui commented 3 years ago

If you see the last reported issue, it seems to work fine when the script is manually run on UM425 https://github.com/mohamed-badaoui/asus-touchpad-numpad-driver/issues/65

Maybe you should try comparing your list of i2c interfaces with his and see if there is a particular difference.

mohamed-badaoui commented 3 years ago

For this model, it was tested as working. The i2c command is used to turn on the touchpad backlights and it is a prerequisite. If i2ctranfer command does not work manually, so it is a system issue.