On 03/06/2015 01:03 PM, Sam Seagate wrote:
>
> Sorry, I wasn't clear enough originally, but the first response about
> black paper might be ok but not for my application. I need to be able
> to turn the light off and then on again at certain times to help with
> focus.
...
> comprehensive list of functions available, but nothing for LED.
> Apparently there are issues with Guvcview versions: my research shows
> that apparently an earlier version allowed LED functionality and then an
> even later version (I am using Ubuntu 12.04, but Guvcview in 10.10 and
> 14.04 has the function). I don't want to have to upgrade Ubuntu yet
> just to have the functions.
I don't really know about ubuntu as I am on debian which is close enough
to say something (about installing a newer package without upgrading the
whole system):
So in debian you can add a "backport" line in /etc/apt/sources.list or
somewhere inside /etc/apt/sources.list.d directory.
This allows you to install newer version of some applications (not all,
an obvious example is that you'll never see a libc backport).
You can easily add some particular server (ppa:) in ubuntu, maybe you
could achieve something that way.
And you can always try to make it by hand:
Search the difference in dependencies between the newer and the actual
version (search their website, download sources and dive into README
files...).
Install new dependencies using apt if at all possible.
Make a deb package or actually just as usual a configure && make && make
install (or whatever).
> Thanks in advance for any further help. I'm not very good getting too
> deep into file mods through commands, but with step by step procedures,
> I seem able to manage.
>
> Sam
Led control is beyond my skills, I won't be of any help here!
About modules, you could try to locate the one which drive your webcam,
have a look in the output of "lsmod", "lspci -vv" (as root), or "lsusb"
(if usb of course), "dmesg" also.
If you can do a hot unplug/plug, you could do (as root) a "udevadm monitor".
You could locate the device in the /sys filesystem and play with device
properties. If (really really) lucky there could be something related to
the led activity.
And I think I remember that upstream led control was driven by the
kernel, not sure.
I know this doesn't help much but in the next message one can see you
made real progress!
--
mrr