Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Backlight turns off after two minutes #143

Closed
umutd3401 opened this issue Sep 26, 2023 · 7 comments
Closed

[Feature request]: Backlight turns off after two minutes #143

umutd3401 opened this issue Sep 26, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@umutd3401
Copy link

Describe the bug

I want to keep the backlight on 30 minutes while idle, but after 2 minutes the backlight turns off. I changed 'disable_due_inactivity_time' but doesn't work. It turns back on when I touch anywhere on the touchpad and turns off again after two minutes.

Expected behavior

Not turning off after two minutes.

Relevant log output

No response

Desktop

  • Program version master
  • Distro Fedora 38
  • Kernel 6.4.15-200.fc38.x86_64
@umutd3401 umutd3401 added the bug Something isn't working label Sep 26, 2023
@ldrahnik ldrahnik added the question Further information is requested label Sep 26, 2023
@ldrahnik
Copy link
Member

ldrahnik commented Sep 26, 2023

@umutd3401 Hello, thank you for creating this issue. I know about this. The reason why this happens: is prioritized touchpad device's power control. As solution for your problem should be enough to change the value for example inside autosuspend_delay_ms of your touchpad device if possible or value of control from auto. I could in this driver increase this value (I mean autosuspend_delay_ms) but it looks like it is not possible.

$ cat autosuspend_delay_ms
cat: autosuspend_delay_ms: Input/output error

I will try look at this one more time. Also, please let me know what you think.

@ldrahnik
Copy link
Member

ldrahnik commented Sep 26, 2023

@ldrahnik ldrahnik removed the bug Something isn't working label Sep 26, 2023
@umutd3401
Copy link
Author

umutd3401 commented Sep 26, 2023

Thank you for your help. I tried to change autosuspend_delay_ms and then control but it didn't work. I even turned everything from powertop in case I couldn't find the right one and also tried a different distro.

I don't know much about these stuff but do you think a touchpad input can be emulated to prevent suspend? For example, when I touch the edge of the touchpad, evtest detects event but nothing happens because it is an edge. I don't know if this will work or prevent suspend.

Edit: Didn't work. Even when not sending events, it doesn't suspend when I swipe the touchpad. I think it's hardware related.

@ldrahnik
Copy link
Member

ldrahnik commented Sep 27, 2023

@umutd3401 Unfortunately what I have done up to this moment is an only attempt for my i2c (found during running

$ sudo ./install.sh
...
Testing interface i2c-1 : failed
Testing interface i2c-2 : sucess
... 

)

to change appropriate file /sys/bus/i2c/devices/i2c-2/device/power/autosuspend_delay_ms / /sys/bus/i2c/devices/i2c-2/device/power/control

and also for the found device via file /proc/bus/input/devices.

/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-ASUE140D:00/0018:04F3:31B9.0002/input/input30/power

but it looks like that touchpad is suspended every time after almost 2 mins.

I will try to continue later.

@ldrahnik ldrahnik added help wanted Extra attention is needed enhancement New feature or request and removed question Further information is requested labels Sep 27, 2023
@umutd3401
Copy link
Author

I just installed Windows 11 to see if it's the same and yes, it has the same behavior, so I don't think there is a solution. I will contact ASUS but have no hope.

@ldrahnik ldrahnik changed the title [Bug]: Backlight turns off after two minutes [Feature request]: Backlight turns off after two minutes Sep 27, 2023
@ldrahnik
Copy link
Member

@umutd3401 Answered?

@ldrahnik
Copy link
Member

ldrahnik commented Apr 2, 2024

Can be reopened. Behaviour with installed official driver for windows is the same.

@ldrahnik ldrahnik closed this as completed Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants