Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hardware interrupt #24

Open
mickaelv opened this issue Oct 24, 2017 · 2 comments
Open

Support hardware interrupt #24

mickaelv opened this issue Oct 24, 2017 · 2 comments

Comments

@mickaelv
Copy link

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

@positlabs
Copy link
Collaborator

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants