Hey there
I’m trying to help a friend with controlling his IPEVO Point2View camera.
http://www.ipevo.com/prods/Point-2-View-USB-Camera/IPEVO
It’s a document cam with auto-focus/one-shot focus + macro lens.
It’s own software can trigger the one-shot autofocus, but not manually control the focus.
The camera supports capture via UVC, but so far having trouble getting any control.
kumpri’s standalone example runs, but the camera doesn’t respond to any of the controls ( exposure, auto-white balance, …)
Since this example appears to reference the IOKit USB device without the vendor/product ID, I didn’t make an changes to the code relative to the hardware.
With Stephan’s example, I also get an image but no camera control.
In this case we change the product and vendor ID to match the camera.
If the vendor/product ID is incorrect, then our program fails at:
NSLog( @"CameraControl Error: IOCreatePlugInInterfaceForService returned 0x%08x.",
inside
- (id)initWithVendorID:(long)vendorID productID:(long)productID {
And since with the correct ID’s it gets to the end of that function, we can presume that IOKit USB device is being correctly referenced.
We get our first error at
[cameraControl setAutoExposure:YES];
in setup();
this fails at sendControlRequest
on line:
kr = (*interface)->ControlRequest( interface, 0, &controlRequest );
The error code given is kIOUSBPipeStalled
Which appears to be related to either a communications error, or a rejection of the command from the USB device (e.g. unsupported command, doesn’t at all accept commands)
There’s no UVC documentation available for this device.
So I’m left wondering, do pretty much all UVC devices support exposure control?
I.e. is it likely that the camera would support exposure control, and therefore i’m doing something wrong somewhere.
(alternatively, if UVC exposure control is rare, then perhaps this camera just doesn’t support any UVC control signals).
Also, is there an alternative clean way to reproduce the ‘one shot focus’ signal that’s given by the official software? I’ve tried probing it with USB Prober, but I get nothing noticeable up to detail level 6, and detail level 7 goes barmy (since all the frame data gets logged).
Thanks
Elliot