You are not logged in.
I would like to use LED indicator near webcam for low battery alert. (When battery is low, I want LED to blink.) But I don't know, how to control this LED - how to turn it on/off. Is it possible via /sys/devices... (I didn't found right file...) or via some specific command (uvcdynctrl? If yes, how?). Thank You!
Offline
I'm not sure whether that LED is controllable from the user space. Moreover, with the recent kernels even LEDs, which could be controlled before are not anymore...
However, as the easiest solution for you I would suggest a (not so neat) solution:
mplayer tv:// -vo nullAlso you may want to find another program which accesses the webcam.
Last edited by aragats (2014-02-19 03:29:48)
Offline
Here is another, cleaner solution:
fswebcam --save /dev/null --loop 1 --backgroundOffline
I think that the OP is referring to the red light over the 'i' in Thinkpad rather than the webcam LED indicator light.
Offline
aragats: Thank You very much. It's very good idea with fswebcam and /dev/null. I think I'll try it.
WonderWoofy: What does acronym OP mean?
Offline
Original Poster
Offline
I think that the OP is referring to the red light over the 'i' in Thinkpad rather than the webcam LED indicator light.
Well, in such a case, as I've reported in this thread:
https://bbs.archlinux.org/viewtopic.php?pid=1383353
the most LEDs don't work with the newest Arch kernels, at least for me...
Offline
Yeah, after reading your post there, I actually gave it a whirl just to see. Indeed, /proc/acpi/ibm/led doesn't do a damn thing.
Offline
Thanks both of you!
Offline