[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [wayland] Spegnere il led Bloc Num da utente normale



Felipe Salvador ha scritto:

> On Sun, May 12, 2024 at 11:55:41AM +0200, Davide Prina wrote:
>> stavo cercando di spegnere il led Bloc Num da script come utente normale
>> e sto usando wayland.

>> Sono riuscito solo come root
>> # echo 0 > /sys/class/leds/input4\:\:numlock/brightness

> sul controllo dei LED in userspace non ho trovato software

per X ci sono diverse modalità di poter fare questa
gestione lato utente non root e, dai tentativi che ho fatto,
nessuna sembra funzionare sotto wayland.
Probabilmente non è ancora stato implementato in wayland o,
più probabilmente, non riesco a trovarlo io.

> ls -l /sys/class/leds/
> lrwxrwxrwx 1 root root 0 14 mag 08.54 input3::numlock -> ../../devices/pci0000:00/0000:00:12.0/usb9/9-3/9-3:1.3/0003:1B1C:1BAC.0004/input/input3/input3::numlock

sì, è lo stesso che ho indicato sopra, ma è modificabile solo
come utente root e, da quel che ho visto, non dovrebbe
essere possibile metterlo neanche nel file di configurazione
di sysconf per applicarlo all'avvio.

Ciao
Davide

--
La mia privacy non è affar tuo
https://noyb.eu/it
- You do not have my permission to use this email to train an AI -
If you use this to train your AI than you accept to distribute under AGPL
license >= 3.0 all the model trained, all the source you have used to
training your model and all the source of the program that use that model


Reply to: