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

Keyboard Backlight "Auto" ? [solved] #72

Closed
ikuria opened this issue Dec 24, 2015 · 8 comments
Closed

Keyboard Backlight "Auto" ? [solved] #72

ikuria opened this issue Dec 24, 2015 · 8 comments

Comments

@ikuria
Copy link

ikuria commented Dec 24, 2015

someone got the "auto" function working in linux?
maybe someone can create a shell script like that:

while do
if keypress than
echo "1" > /sys/class/leds/dell::kbd_backlight/brightness
start timer
end

function start timer
if no keypress around $delay then
echo "0" > /sys/class/leds/dell::kbd_backlight/brightness
end

?

@hg8
Copy link
Contributor

hg8 commented Dec 24, 2015

What Linux distribution are you using ? I know that this is done by default in Ubuntu. Maybe take a look at how it's done to port it to other distributions ?

@ikuria
Copy link
Author

ikuria commented Dec 24, 2015

linux mint, so its ubuntu - fn+f10 only gives me 50% 100% disabled options

@ikuria
Copy link
Author

ikuria commented Dec 24, 2015

okay solved: echo 10s > /sys/class/leds/dell::kbd_backlight/stop_timeout

@ikuria ikuria changed the title Keyboard Backlight "Auto" ? Keyboard Backlight "Auto" ? [solved] Dec 24, 2015
@rpbaptist
Copy link
Contributor

Strange. I am also using Linux Mint and this was working for me without configuration. 17.1 - 17.3. Now on kernel 4.2.0-22 generic.

@ikuria
Copy link
Author

ikuria commented Dec 24, 2015

maybe i changed the stop_timeout value before, but its okay now all worked well g

@ikuria ikuria closed this as completed Dec 26, 2015
@mpalourdio
Copy link
Owner

What is Keyboard Backlight "Auto" supposed to do please ? I mean, what is the expected behaviour ?

My fn+F10 works, but I have only 3 options : disabled, 50%, 100%. The backlight stops when idle for some minutes AFAIK.

Thanks.

@ikuria
Copy link
Author

ikuria commented Jan 9, 2016

disabled, 50% always on, 100% always on, auto = with idletime - but this has been changed (old idea for the steps in old bios) with the stop_timeout variable so you can set it to always on by stop_timeout 0 i think.
i had this always on problem and the stop_timeout change to "10s" brings back the idletime

@mpalourdio
Copy link
Owner

Thanks, I will give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants