Skip to contentSkip to conversation

I just wondering how to set shutter or aperture value in uvc driver.

DISCUSSION Kim, HeungJun 2 participants 4 messages May 25, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Laurent,

I try to add the more exposure methods of the M-5MOLS driver. Currently, the only 2 exposure type are available in the M-5MOLS driver - V4L2_EXPOSURE_AUTO, V4L2_EXPOSURE_MANUAL. But, the HW is capable to

So, I found the only UVC driver looks like using extra enumerations V4L2_EXPOSURE_SHUTTER_PRIORITY, V4L2_EXPOSURE_APERTURE_PRIORITY. But, I don't know how to set the each value in the each mode.

The way pointed the specific value is only one - V4L2_CID_EXPOSURE_ABSOLUTE. So, how can I set the specific value at the each mode?

Regards,
Heungjun Kim

#1 lore raw

missing. sorry :)

2011-05-25 오후 3:49, Kim, HeungJun 쓴 글:

Quoted 5 lines

Hi Laurent,

I try to add the more exposure methods of the M-5MOLS driver. Currently, the only 2 exposure type are available in the M-5MOLS driver - V4L2_EXPOSURE_AUTO, V4L2_EXPOSURE_MANUAL. But, the HW is capable to

the HW is capable to shutter, aperture exposure value, of course auto exposure.

Quoted 11 lines

So, I found the only UVC driver looks like using extra enumerations V4L2_EXPOSURE_SHUTTER_PRIORITY, V4L2_EXPOSURE_APERTURE_PRIORITY. But, I don't know how to set the each value in the each mode.

The way pointed the specific value is only one - V4L2_CID_EXPOSURE_ABSOLUTE. So, how can I set the specific value at the each mode?

Regards,
Heungjun Kim

#2 lore raw
In reply to Kim, HeungJun

Hi Heungjun,

Quoted 10 lines · HeungJun

Hi Laurent,

I try to add the more exposure methods of the M-5MOLS driver. Currently, the only 2 exposure type are available in the M-5MOLS driver - V4L2_EXPOSURE_AUTO, V4L2_EXPOSURE_MANUAL. But, the HW is capable to shutter, aperture exposure value, of course auto exposure.
So, I found the only UVC driver looks like using extra enumerations V4L2_EXPOSURE_SHUTTER_PRIORITY, V4L2_EXPOSURE_APERTURE_PRIORITY. But, I don't know how to set the each value in the each mode.

Quoted 3 lines

The way pointed the specific value is only one - V4L2_CID_EXPOSURE_ABSOLUTE. So, how can I set the specific value at the each mode?

You can control the aperture using the V4L2_CID_IRIS_ABSOLUTE control. See
http://linuxtv.org/downloads/v4l-dvb-apis/extended-controls.html#camera-
controls for more information regarding the exposure and iris controls.

Signature · 3 lines
Regards,

Laurent Pinchart
#3 lore raw

Hi Laurent,

2011-05-25 오후 8:17, Laurent Pinchart 쓴 글:

Quoted 13 lines

Hi Heungjun,

Quoted 10 lines · HeungJun

Hi Laurent,

I try to add the more exposure methods of the M-5MOLS driver. Currently, the only 2 exposure type are available in the M-5MOLS driver - V4L2_EXPOSURE_AUTO, V4L2_EXPOSURE_MANUAL. But, the HW is capable to shutter, aperture exposure value, of course auto exposure.
So, I found the only UVC driver looks like using extra enumerations V4L2_EXPOSURE_SHUTTER_PRIORITY, V4L2_EXPOSURE_APERTURE_PRIORITY. But, I don't know how to set the each value in the each mode.

Quoted 8 lines
Quoted 3 lines

The way pointed the specific value is only one - V4L2_CID_EXPOSURE_ABSOLUTE. So, how can I set the specific value at the each mode?

You can control the aperture using the V4L2_CID_IRIS_ABSOLUTE control. See
http://linuxtv.org/downloads/v4l-dvb-apis/extended-controls.html#camera-
controls for more information regarding the exposure and iris controls.

Thanks for response, and I could understand this!
Sorry for pre-checking documents. :)

Regards,
Heungjun Kim