You are not logged in.

#1 2022-07-17 21:45:12

newarchuser11
Member
Registered: 2022-07-09
Posts: 7

LED near webcam

How do I turn LED near webcam on thinkpad? "Fn+PgUp" doesn't do anything, however "Fn+Home/End" does change screen brightness

Offline

#2 2022-07-17 21:55:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: LED near webcam

Stream video from the webcam?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2022-07-17 22:09:22

newarchuser11
Member
Registered: 2022-07-09
Posts: 7

Re: LED near webcam

Webcam is no the issue. I have a led near webcam. It is directed on keyboard but I can't turn it on.

Offline

#4 2022-07-17 22:16:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: LED near webcam

What is the output of ls -l /sys/class/leds/


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2022-07-17 22:30:00

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,596

Re: LED near webcam

I think he's talking about 'ThinkLight' https://www.thinkwiki.org/wiki/ThinkLight
That page may give you clues how to solve it.
Here's another old one from this forums; https://bbs.archlinux.org/viewtopic.php?id=160252
I don't have a Thinkpad so I can't assist any more than this;)

Offline

#6 2022-07-17 22:33:20

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: LED near webcam

Yep, that is why I am interested in the pseudo file system I had asked about wink


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2022-07-17 22:52:46

newarchuser11
Member
Registered: 2022-07-09
Posts: 7

Re: LED near webcam

Thanks for replies

ls -l /sys/class/leds/

gives

lrwxrwxrwx  1 root root 0 Jul 18 01:38 input3::scrolllock -> ../../devices/platform/i8042/serio0/input/input3/input3::scrolllock
lrwxrwxrwx  1 root root 0 Jul 18 01:38 input3::numlock -> ../../devices/platform/i8042/serio0/input/input3/input3::numlock
lrwxrwxrwx  1 root root 0 Jul 18 01:38 input3::capslock -> ../../devices/platform/i8042/serio0/input/input3/input3::capslock
lrwxrwxrwx  1 root root 0 Jul 18 01:38 mmc0:: -> ../../devices/pci0000:00/0000:00:1c.4/0000:0d:00.0/leds/mmc0::
lrwxrwxrwx  1 root root 0 Jul 18 01:39 tpacpi::thinkvantage -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::thinkvantage
lrwxrwxrwx  1 root root 0 Jul 18 01:39 tpacpi::thinklight -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::thinklight
lrwxrwxrwx  1 root root 0 Jul 18 01:39 tpacpi::standby -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::standby
lrwxrwxrwx  1 root root 0 Jul 18 01:39 tpacpi::power -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::power
lrwxrwxrwx  1 root root 0 Jul 18 01:39 tpacpi::lid_logo_dot -> ../../devices/platform/thinkpad_acpi/leds/tpacpi::lid_logo_dot
lrwxrwxrwx  1 root root 0 Jul 18 01:39 platform::mute -> ../../devices/platform/thinkpad_acpi/leds/platform::mute
lrwxrwxrwx  1 root root 0 Jul 18 01:39 platform::micmute -> ../../devices/platform/thinkpad_acpi/leds/platform::micmute
lrwxrwxrwx  1 root root 0 Jul 18 01:39 phy0-led -> ../../devices/pci0000:00/0000:00:1c.1/0000:03:00.0/leds/phy0-led

so this thinklight part has max_brightness and cat says 255, while cat .../brightness says 0. If I do

# echo N > /sys/class/leds/tpacpi\:\:thinklight/brightness

where N is non zero, I get 255 there but no light. Is it just broken?

Offline

#8 2022-07-17 23:01:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: LED near webcam

At this point, it is speculation on my part as I don't own a Thinkpad.  Are we sure we are looking at the LED associated with thinklight?  Are there other LEDs you did not notice changing?   What about thinkvantage ?

Also, now what is the output of ls -l /sys/class/leds/tpacpi\:\:thinklight/?  There may be other interesting "files" in that file system aside from brightness


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2022-07-17 23:11:14

newarchuser11
Member
Registered: 2022-07-09
Posts: 7

Re: LED near webcam

ls -l /sys/class/leds/tpacpi\:\:thinklight/

has

-rw-r--r-- 1 root root 4.0K Jul 18 01:38 uevent
drwxr-xr-x 9 root root    0 Jul 18 01:38 ..
drwxr-xr-x 3 root root    0 Jul 18 01:38 .
-rw-r--r-- 1 root root    0 Jul 18 01:41 trigger
lrwxrwxrwx 1 root root    0 Jul 18 01:41 subsystem -> ../../../../../class/leds
drwxr-xr-x 2 root root    0 Jul 18 01:41 power
-r--r--r-- 1 root root 4.0K Jul 18 01:41 max_brightness
lrwxrwxrwx 1 root root    0 Jul 18 01:41 device -> ../../../thinkpad_acpi
-rw-r--r-- 1 root root 4.0K Jul 18 01:50 brightness

nothing changes with

# echo N > /sys/class/leds/tpacpi\:\:thinklight/brightness

same for

# echo N > /sys/class/leds/tpacpi\:\:thinkvantage/brightness
ls -l /sys/class/leds/tpacpi\:\:thinkvantage/

has

drwxr-xr-x 9 root root    0 Jul 18 01:38 ..
-rw-r--r-- 1 root root 4.0K Jul 18 01:38 uevent
drwxr-xr-x 3 root root    0 Jul 18 01:38 .
-rw-r--r-- 1 root root    0 Jul 18 02:05 trigger
lrwxrwxrwx 1 root root    0 Jul 18 02:05 subsystem -> ../../../../../class/leds
drwxr-xr-x 2 root root    0 Jul 18 02:05 power
-r--r--r-- 1 root root 4.0K Jul 18 02:05 max_brightness
lrwxrwxrwx 1 root root    0 Jul 18 02:05 device -> ../../../thinkpad_acpi
-rw-r--r-- 1 root root 4.0K Jul 18 02:06 brightness

Offline

#10 2022-07-17 23:17:22

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,596

Re: LED near webcam

You could use this little program to test the ThinkLight..
https://aur.archlinux.org/packages/thinkalert
I don't know if it actually does anything for you but you may give it a try...
Follow the links on this github page; https://github.com/floriandejonckheere/thinkalert

@ewaller, it's already late in this 'zone' I didn't even notice wink

Offline

Board footer

Powered by FluxBB