Hi Max,

On Friday 14 October 2011 17:57:02 Max Lapshin wrote:
> Hi. Is it possible to capture button press on microsoft lifecam studio?
> 
> There is small button on top of camera and it would be nice to be able
> to catch pressing on it. It there any way?

The first thing to check is whether the button is detected by the uvcvideo 
driver and registered as an input device. Here's what dmesg reports when I 
plug a Logitech webcam with a button:

[27583.858330] uvcvideo: Found UVC 1.00 device <unnamed> (046d:080a)
[27583.898843] input: UVC Camera (046d:080a) as 
/devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.0/input/input10

Does the uvcvideo driver print a line starting with 'input' when you plug your 
camera in ?

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to