You are not logged in.

#1 2017-12-20 17:05:45

0101200
Member
Registered: 2016-07-13
Posts: 4

/sys/class/leds/* reset after login

Hi

I have a CM Devastetor 2 keyboard, by default backlight is off (screen lock keymap problem).
I created a /etc/tmpfiles.d/cm_backlight.conf

w /sys/class/leds/input15::scrolllock/brightness - - - - 3

After every restart led is actived during systemd loading but after login (xinit) /sys/class/leds/input15::scrolllock/brightness is resetted to "0".

Is there a workaround for this?

Last edited by 0101200 (2017-12-20 17:06:23)

Offline

#2 2017-12-20 17:20:27

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: /sys/class/leds/* reset after login

You probably want to investigate exactly what is changing the value, if it is xorg after probing/poking the hardware or if it is the DE doing what it thinks you want.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2017-12-20 17:35:53

0101200
Member
Registered: 2016-07-13
Posts: 4

Re: /sys/class/leds/* reset after login

i think the problem is caused by de (kde5).
login in init3 work as expected.

Offline

#4 2017-12-20 21:36:47

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: /sys/class/leds/* reset after login

Then you know where to look and where to complain wink


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB