Jump to content

Ubuntu Touch physical keyboard backlight, Pro1X


Recommended Posts

My physical keyboard backlight does not light on automatically when I open the keyboard... I've found how to manually switch it on/off by echoing 1/0 in /sys/class/leds/:kbd_backlight/brightness

But now I need to find out how to detect when the keyboard is open or closed...

Edited by EskeRahn
(added Pro1X to title)
Link to post
Share on other sites
  • EskeRahn changed the title to Ubuntu Touch physical keyboard backlight, Pro1X
On 9/4/2022 at 2:09 PM, Ivaylo Hubanov said:

My physical keyboard backlight does not light on automatically when I open the keyboard... I've found how to manually switch it on/off by echoing 1/0 in /sys/class/leds/:kbd_backlight/brightness

But now I need to find out how to detect when the keyboard is open or closed...

I'm rocking a stock android right now and I'm still looking for it in sysfs. When I figure it out I will update that in the sysfs thread:

 

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms