node-uvc-control icon indicating copy to clipboard operation
node-uvc-control copied to clipboard

Support hardware interrupt

Open mickaelv opened this issue 7 years ago • 2 comments

Hi,

Thanks for your script !

Is it possible to add hardware interruption to use snapshot button on UVC device ?

I know that the status packet must be like : bStatusType : 2 bOriginator : 0x00 Button Press bValue : 0x00 released, 0x01 pressed

But actually I don't know how to easly get this status packet

Regards,

Mickaël

mickaelv avatar Oct 24 '17 05:10 mickaelv

This is possible, but I would have to do some digging in the uvc docs to figure out exactly how. What device are you using that supports this? I have never seen a snapshot button on a webcam

positlabs avatar Jan 04 '19 18:01 positlabs

I don't have a device to test hardware interrupt, but I could make it work programmatically

http://www.cajunbot.com/wiki/images/8/85/USB_Video_Class_1.1.pdf

2.4.2.4 Still Image Capture

positlabs avatar Jun 30 '19 14:06 positlabs