PDA

View Full Version : UVC controls of DMK21AU04



CSeverijns
August 19, 2016, 08:36:16
Hi,

I have two DMK21AU04 cameras. One reports 5 UVC controls: Brightness, Gamma, Gain, Exposure Auto, and Exposure Absolute. The other only reports the first three. Is it possible to update this last camera software so that it also reports all five?

Thanks.

Stefan Geissler
August 19, 2016, 09:02:29
Hi

I am very sorry, but this is not possible, because the firmware of these cameras did not changed for many many years now and the problem is not caused by the camera.

Which software do you use?
Which driver is installed for both cameras
Which operating system do you use?

You may delete the camera from Windows Device Manager, dis- and reconnect and see, what happens.

CSeverijns
August 19, 2016, 13:17:13
Hi

I am very sorry, but this is not possible, because the firmware of these cameras did not changed for many many years now and the problem is not caused by the camera.

Which software do you use?
Which driver is installed for both cameras
Which operating system do you use?

You may delete the camera from Windows Device Manager, dis- and reconnect and see, what happens.

I bought these cameras several years ago, the newest is probably from around 2010, the other is a few years older.

Both cameras work under Windows with IC Capture.

My aim is to use the cameras for guiding on a Linux computer with INDI and kstars with EKOS. For this I need to control the exposure length. The camera that reports the exposure controls works in this setup, but the other one doesn't.

I am using guvcview on kubuntu and debian to test which controls are available. For both cameras I am able to get a video stream with this tool. However, the exposure controls are missing for one of them (probably the older one?).

Stefan Geissler
August 19, 2016, 14:14:23
Hello

you can use v4l2-ctrl (package v4l-utils) in order to get a full list of the camera properties. Also you might let me know the serial numbers of the cameras.

However, there is no reason, why the cameras should behave different.

CSeverijns
August 19, 2016, 18:24:34
Hi Stefan,

I've checked with 'v4l2-ctl -all'.
The older camera has serial number 21800029 and the tool reports the following:

Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : DMx 21AU04.AS
Bus info : usb-0000:00:1d.7-5.4
Driver version: 4.4.15
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Input 4: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'GREY'
Field : None
Bytes per Line : 640
Size Image : 307200
Colorspace : Default
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 640, Height 480
Default : Left 0, Top 0, Width 640, Height 480
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 640, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness (int) : min=0 max=63 step=1 default=0 value=0
gamma (int) : min=1 max=500 step=1 default=100 value=100
gain (int) : min=260 max=1023 step=1 default=260 value=260


The newer camera has serial number 40010324 and the tool outputs:

Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : DMx 21AU04.AS
Bus info : usb-0000:00:1a.7-1
Driver version: 4.4.15
Capabilities : 0x84200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'GREY'
Field : None
Bytes per Line : 640
Size Image : 307200
Colorspace : Default
Transfer Function : Default
YCbCr Encoding : Default
Quantization : Default
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 640, Height 480
Default : Left 0, Top 0, Width 640, Height 480
Pixel Aspect: 1/1
Selection: crop_default, Left 0, Top 0, Width 640, Height 480
Selection: crop_bounds, Left 0, Top 0, Width 640, Height 480
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness (int) : min=0 max=63 step=1 default=0 value=0
gamma (int) : min=1 max=500 step=1 default=100 value=100
gain (int) : min=260 max=1023 step=1 default=260 value=260
exposure_auto (menu) : min=0 max=3 default=3 value=3
exposure_absolute (int) : min=1 max=36000000 step=1 default=333 value=333 flags=inactive

Besides the fact that also here the old camera seems to have no 'exposure auto' and 'exposure absolute', I see that under 'Video Input:' the old camera shows 'Input 4: ok' while the newer one shows 'Camera 1: ok'.

Best regards,
Camiel

Stefan Geissler
August 22, 2016, 10:03:17
Hello Camiel

I must admit, I did not expect the 8 years old camera not showing exposure in Linux. So what do you expect me to do now?

CSeverijns
August 22, 2016, 10:56:53
Hi Stefan,

Since the newer camera works fine, my guess is that the firmware was updated. Therefore, I'm wondering whether it is possible to upgrade the firmware of the older camera?

Regards,
Camiel

Stefan Geissler
August 22, 2016, 11:45:50
Maybe that can be done. Maybe a newer firmware will damage your camera. You may create a request at http://www.theimagingsource.com/en_US/company/contact/

I will try to handle that later this day.