Marco replied to the topic 'Dithering Checkbox in EKOS' in the forum. 6 years ago

Thanks, there is ... !

Read More...

Marco created a new topic ' Dithering Checkbox in EKOS' in the forum. 6 years ago

Sorry for my very newby question, but I'm not able to find the checkbox that should enable dithering in the Ekos guide panel, as explained in the Ekos manual : indilib.org/about/ekos/guide-module.html

Where is it ?

My setup : QHY5II as guide camera with on-camera connection to the scope ( it guides just fine ) and CCD simulator as acquisition camera.

Thanks !

Read More...

Marco replied to the topic 'Second USB webcam doesn't work' in the forum. 7 years ago

Hi,
good news ... it seems that things start going the right way.

After trying some different values for the "Capture Options" parameters, setting Frame Interval at 1/15 with a Capture Size of 640 x 480 did the magics : Live Video in the CCD Tab acquires correctly and I can finally see a beautiful image of my bookshelf ...

It seems that now I can play with different settings and camera reacts as expected, like if something was reseted in the software chain.

Only remaining issue is in the way the image is showed in the autoguide window and saved in the fit file. In the autoguide window, image seems split in two parts, one clearer and one darker, like they were exposed differently. The underlying image , however, is geometrically correct.
In the fit file, the image has the same problem, but , additionally, has a geometry problem like it were out of sync.
An example fit file is attached.

I feel we are very close to the solution ...

Thanks, Marco

Read More...

Marco replied to the topic 'Second USB webcam doesn't work' in the forum. 7 years ago

I've done some additional testing, as suggested.

I'm running Indiserver -vvv indi_v4l2_ccd in a terminal.

Starting Kstars -> Ekos -> IndiControlPanel and setting /dev/video1 as input camera
After connecting, I confirmed all values in the "Capture Options" Tab. Inputs is Camera1, Capture Format is YUYV 4:2:2, Capture Size is 640x480, Frame Interval is 1/20. Everything goes green.

Trying to acquire an image from Ekos CCD Tab, leads to a crash of Kstars. Indiserver shows a disconnection of the client.

This is the copy of the entire session from the terminal window ( quite long ). Hope it might give some clue. I'll do additional testing when I'll be back from work, this evening.

mp@mp:~$ indiserver -vvv indi_v4l2_ccd
2017-03-22T07:17:38: startup: indiserver -vvv indi_v4l2_ccd 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: pid=5258 rfd=3 wfd=6 efd=7
2017-03-22T07:17:38: listening to port 7624 on fd 4
2017-03-22T07:17:38: Driver indi_v4l2_ccd: sending msg copy 1 nq 1:
<getProperties version='1.7'/>

2017-03-22T07:17:38: Driver indi_v4l2_ccd: Using default decoder 'Builtin decoder'
2017-03-22T07:17:38: Driver indi_v4l2_ccd:   Supported V4L2 formats are:
2017-03-22T07:17:38: Driver indi_v4l2_ccd: Y16  
2017-03-22T07:17:38: Driver indi_v4l2_ccd: NV21 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: BA81 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: YU12 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: NV12 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: YV12 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: BYR2 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: RGB3 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: RGGB 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: JPEG 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: MJPG 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: RGBO 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: RGBP 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: YVYU 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: YUYV 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: GREY 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: VYUY 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: UYVY 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties Telescope Simulator EQUATORIAL_EOD_COORD 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties Telescope Simulator TELESCOPE_INFO 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties CCD Simulator FILTER_SLOT 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: snooping on CCD Simulator.FILTER_SLOT
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties CCD Simulator FILTER_NAME 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: snooping on CCD Simulator.FILTER_NAME
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties SQM SKY_QUALITY 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: snooping on SQM.SKY_QUALITY
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read message V4L2 CCD   'Using default recorder (SER File Recorder)'
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CONNECTION Idle rw
    CONNECT='Off'
 DISCONNECT='On'
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD DRIVER_INFO Idle ro
 DRIVER_NAME='V4L2 CCD'
 DRIVER_EXEC='indi_v4l2_ccd'
 DRIVER_VERSION='1.0'
 DRIVER_INTERFACE='2'
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD DEBUG Idle rw
     ENABLE='Off'
    DISABLE='On'
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CONFIG_PROCESS Idle rw
 CONFIG_LOAD='Off'
 CONFIG_SAVE='Off'
 CONFIG_DEFAULT='Off'
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read setSwitchVector V4L2 CCD DEBUG Ok
     ENABLE='Off'
    DISABLE='On'
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD ACTIVE_DEVICES Idle rw
 ACTIVE_TELESCOPE='Telescope Simulator'
 ACTIVE_FOCUSER='Focuser Simulator'
 ACTIVE_FILTER='CCD Simulator'
 ACTIVE_SKYQUALITY='SQM'
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read setTextVector V4L2 CCD ACTIVE_DEVICES Ok
 ACTIVE_TELESCOPE='Telescope Simulator'
 ACTIVE_FOCUSER='Focuser Simulator'
 ACTIVE_FILTER='CCD Simulator'
 ACTIVE_SKYQUALITY='SQM'
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties Telescope Simulator EQUATORIAL_EOD_COORD 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties Telescope Simulator TELESCOPE_INFO 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties CCD Simulator FILTER_SLOT 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties CCD Simulator FILTER_NAME 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read getProperties SQM SKY_QUALITY 
2017-03-22T07:17:38: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD DEVICE_PORT Idle rw
       PORT='/dev/video0'
2017-03-22T07:18:57: Client 0: new arrival from 127.0.0.1:32988 - welcome!
2017-03-22T07:18:57: Client 0: read getProperties   
2017-03-22T07:18:57: Driver indi_v4l2_ccd: queuing responsible for <getProperties device='' name=''>
2017-03-22T07:18:57: Driver indi_v4l2_ccd: sending msg copy 1 nq 1:
<getProperties version="1.7"/>

2017-03-22T07:18:57: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CONNECTION Idle rw
    CONNECT='Off'
 DISCONNECT='On'
2017-03-22T07:18:57: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='CONNECTION'>
2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 1:
<defSwitchVector device="V4L2 CCD" name="CONNECTION" label="Connection" group="Main Control" state="Idle" perm="rw" rule="OneOfMany" timeout="60" timestamp="2017-03-22T07:18:57">
    <defSwitch name="CONNECT" label="Connect">
Off
    </defSwitch>
    <defSwitch name="DISCONNECT" label="Disconnect">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:18:57: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD DRIVER_INFO Idle ro
 DRIVER_NAME='V4L2 CCD'
 DRIVER_EXEC='indi_v4l2_ccd'
 DRIVER_VERSION='1.0'
 DRIVER_INTERFACE='2'
2017-03-22T07:18:57: Client 0: queuing <defTextVector device='V4L2 CCD' name='DRIVER_INFO'>
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD DEBUG Ok rw
     ENABLE='Off'
    DISABLE='On'
2017-03-22T07:18:57: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='DEBUG'>
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CONFIG_PROCESS Idle rw
 CONFIG_LOAD='Off'
 CONFIG_SAVE='Off'
 CONFIG_DEFAULT='Off'
2017-03-22T07:18:57: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='CONFIG_PROCESS'>
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD ACTIVE_DEVICES Ok rw
 ACTIVE_TELESCOPE='Telescope Simulator'
 ACTIVE_FOCUSER='Focuser Simulator'
 ACTIVE_FILTER='CCD Simulator'
 ACTIVE_SKYQUALITY='SQM'
2017-03-22T07:18:57: Client 0: queuing <defTextVector device='V4L2 CCD' name='ACTIVE_DEVICES'>
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD DEVICE_PORT Idle rw
       PORT='/dev/video0'
2017-03-22T07:18:57: Client 0: queuing <defTextVector device='V4L2 CCD' name='DEVICE_PORT'>
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD ACTIVE_DEVICES Ok rw
 ACTIVE_TELESCOPE='Telescope Simulator'
 ACTIVE_FOCUSER='Focuser Simulator'
 ACTIVE_FILTER='CCD Simulator'
 ACTIVE_SKYQUALITY='SQM'
2017-03-22T07:18:57: Client 0: queuing <defTextVector device='V4L2 CCD' name='ACTIVE_DEVICES'>
2017-03-22T07:18:57: Client 0: read enableBLOB V4L2 CCD   Also
2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 6:
<defTextVector device="V4L2 CCD" name="DRIVER_INFO" label="Driver Info" group="Connection" state="Idle" perm="ro" timeout="60" timestamp="2017-03-22T07:18:57">
    <defText name="DRIVER_NAME" label="Name">
V4L2 CCD
    </defText>
    <defText name="DRIVER_EXEC" label="Exec">
indi_v4l2_ccd
    </defText>
    <defText name="DRIVER_VERSION" label="Version">
1.0
    </defText>
    <defText name="DRIVER_INTERFACE" label="Interface">
2
    </defText>
</defTextVector>

2017-03-22T07:18:57: Driver indi_v4l2_ccd: read setTextVector V4L2 CCD ACTIVE_DEVICES Ok
 ACTIVE_TELESCOPE='Telescope Simulator'
 ACTIVE_FOCUSER='Focuser Simulator'
 ACTIVE_FILTER='CCD Simulator'
 ACTIVE_SKYQUALITY='SQM'
2017-03-22T07:18:57: Client 0: queuing <setTextVector device='V4L2 CCD' name='ACTIVE_DEVICES'>
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read getProperties Telescope Simulator EQUATORIAL_EOD_COORD 
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read getProperties Telescope Simulator TELESCOPE_INFO 
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read getProperties CCD Simulator FILTER_SLOT 
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read getProperties CCD Simulator FILTER_NAME 
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read getProperties SQM SKY_QUALITY 
2017-03-22T07:18:57: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD DEVICE_PORT Idle rw
       PORT='/dev/video0'
2017-03-22T07:18:57: Client 0: queuing <defTextVector device='V4L2 CCD' name='DEVICE_PORT'>
2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 7:
<defSwitchVector device="V4L2 CCD" name="DEBUG" label="Debug" group="Options" state="Ok" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:18:57">
    <defSwitch name="ENABLE" label="Enable">
Off
    </defSwitch>
    <defSwitch name="DISABLE" label="Disable">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 6:
<defSwitchVector device="V4L2 CCD" name="CONFIG_PROCESS" label="Configuration" group="Options" state="Idle" perm="rw" rule="AtMostOne" timeout="0" timestamp="2017-03-22T07:18:57">
    <defSwitch name="CONFIG_LOAD" label="Load">
Off
    </defSwitch>
    <defSwitch name="CONFIG_SAVE" label="Save">
Off
    </defSwitch>
    <defSwitch name="CONFIG_DEFAULT" label="Default">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 5:
<defTextVector device="V4L2 CCD" name="ACTIVE_DEVICES" label="Snoop devices" group="Options" state="Ok" perm="rw" timeout="60" timestamp="2017-03-22T07:18:57">
    <defText name="ACTIVE_TELESCOPE" label="Telescope">
Telescope Simulator
    </defText>
    <defText name="ACTIVE_FOCUSER" label="Focuser">
Focuser Simulator
    </defText>
    <defText name="ACTIVE_FILTER" label="Filter">
CCD Simulator
    </defText>
    <defText name="ACTIVE_SKYQUALITY" label="Sky Quality">
SQM
    </defText>
</defTextVector>

2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 4:
<defTextVector device="V4L2 CCD" name="DEVICE_PORT" label="Ports" group="Options" state="Idle" perm="rw" timeout="0" timestamp="2017-03-22T07:18:57">
    <defText name="PORT" label="Port">
/dev/video0
    </defText>
</defTextVector>

2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 3:
<defTextVector device="V4L2 CCD" name="ACTIVE_DEVICES" label="Snoop devices" group="Options" state="Ok" perm="rw" timeout="60" timestamp="2017-03-22T07:18:57">
    <defText name="ACTIVE_TELESCOPE" label="Telescope">
Telescope Simulator
    </defText>
    <defText name="ACTIVE_FOCUSER" label="Focuser">
Focuser Simulator
    </defText>
    <defText name="ACTIVE_FILTER" label="Filter">
CCD Simulator
    </defText>
    <defText name="ACTIVE_SKYQUALITY" label="Sky Quality">
SQM
    </defText>
</defTextVector>

2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 2:
<setTextVector device="V4L2 CCD" name="ACTIVE_DEVICES" state="Ok" timeout="60" timestamp="2017-03-22T07:18:57">
    <oneText name="ACTIVE_TELESCOPE">
Telescope Simulator
    </oneText>
    <oneText name="ACTIVE_FOCUSER">
Focuser Simulator
    </oneText>
    <oneText name="ACTIVE_FILTER">
CCD Simulator
    </oneText>
    <oneText name="ACTIVE_SKYQUALITY">
SQM
    </oneText>
</setTextVector>

2017-03-22T07:18:57: Client 0: sending msg copy 1 nq 1:
<defTextVector device="V4L2 CCD" name="DEVICE_PORT" label="Ports" group="Options" state="Idle" perm="rw" timeout="0" timestamp="2017-03-22T07:18:57">
    <defText name="PORT" label="Port">
/dev/video0
    </defText>
</defTextVector>

2017-03-22T07:19:36: Client 0: read newTextVector V4L2 CCD DEVICE_PORT 
       PORT='/dev/video1'
2017-03-22T07:19:36: Driver indi_v4l2_ccd: queuing responsible for <newTextVector device='V4L2 CCD' name='DEVICE_PORT'>
2017-03-22T07:19:36: Driver indi_v4l2_ccd: sending msg copy 1 nq 1:
<newTextVector device="V4L2 CCD" name="DEVICE_PORT">
    <oneText name="PORT">
/dev/video1
    </oneText>
</newTextVector>

2017-03-22T07:19:36: Driver indi_v4l2_ccd: read setTextVector V4L2 CCD DEVICE_PORT Ok
       PORT='/dev/video1'
2017-03-22T07:19:36: Client 0: queuing <setTextVector device='V4L2 CCD' name='DEVICE_PORT'>
2017-03-22T07:19:36: Client 0: sending msg copy 1 nq 1:
<setTextVector device="V4L2 CCD" name="DEVICE_PORT" state="Ok" timeout="0" timestamp="2017-03-22T07:19:36">
    <oneText name="PORT">
/dev/video1
    </oneText>
</setTextVector>

2017-03-22T07:19:48: Client 0: read newSwitchVector V4L2 CCD CONNECTION 
    CONNECT='On'
2017-03-22T07:19:48: Driver indi_v4l2_ccd: queuing responsible for <newSwitchVector device='V4L2 CCD' name='CONNECTION'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: sending msg copy 1 nq 1:
<newSwitchVector device="V4L2 CCD" name="CONNECTION">
    <oneSwitch name="CONNECT">
On
    </oneSwitch>
</newSwitchVector>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: VIDIOC_S_CROP: Inappropriate ioctl for device
2017-03-22T07:19:48: Driver indi_v4l2_ccd: VIDIOC_G_CROP: Invalid argument
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Decoder usesoftcrop true
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Decoder  set format: YUYV size 640x480 bpp 8
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Decoder: Colorspace is 8, using default ycbcr encoding and quantization
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Decoder allocBuffers cropping false
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read message V4L2 CCD   'V4L2 CCD Device is online. Initializing properties.'
2017-03-22T07:19:48: Client 0: queuing <message device='V4L2 CCD' name=''>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setSwitchVector V4L2 CCD CONNECTION Ok
    CONNECT='On'
 DISCONNECT='Off'
2017-03-22T07:19:48: Client 0: queuing <setSwitchVector device='V4L2 CCD' name='CONNECTION'>
2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 2:
<message device="V4L2 CCD" timestamp="2017-03-22T07:19:48" message="V4L2 CCD Device is online. Initializing properties."/>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD CCD_EXPOSURE Idle rw
 CCD_EXPOSURE_VALUE='1'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='CCD_EXPOSURE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD CCD_FRAME Idle rw
          X='0'
          Y='0'
      WIDTH='0'
     HEIGHT='0'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='CCD_FRAME'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD CCD_BINNING Idle rw
    HOR_BIN='1'
    VER_BIN='1'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='CCD_BINNING'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD CCD_INFO Idle rw
  CCD_MAX_X='0'
  CCD_MAX_Y='0'
 CCD_PIXEL_SIZE='0'
 CCD_PIXEL_SIZE_X='0'
 CCD_PIXEL_SIZE_Y='0'
 CCD_BITSPERPIXEL='0'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='CCD_INFO'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CCD_COMPRESSION Idle rw
 CCD_COMPRESS='Off'
    CCD_RAW='On'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='CCD_COMPRESSION'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defBLOBVector V4L2 CCD CCD1 Idle ro
2017-03-22T07:19:48: Client 0: queuing <defBLOBVector device='V4L2 CCD' name='CCD1'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CCD_FRAME_TYPE Idle rw
 FRAME_LIGHT='On'
 FRAME_BIAS='Off'
 FRAME_DARK='Off'
 FRAME_FLAT='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='CCD_FRAME_TYPE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CCD_FRAME_RESET Idle wo
      RESET='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='CCD_FRAME_RESET'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CCD_RAPID_GUIDE Idle rw
     ENABLE='Off'
    DISABLE='On'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='CCD_RAPID_GUIDE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD TELESCOPE_TYPE Idle rw
 TELESCOPE_PRIMARY='On'
 TELESCOPE_GUIDE='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='TELESCOPE_TYPE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD WCS_CONTROL Idle rw
 WCS_ENABLE='Off'
 WCS_DISABLE='On'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='WCS_CONTROL'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD UPLOAD_MODE Idle rw
 UPLOAD_CLIENT='On'
 UPLOAD_LOCAL='Off'
 UPLOAD_BOTH='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='UPLOAD_MODE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD UPLOAD_SETTINGS Idle rw
 UPLOAD_DIR='/home/mp'
 UPLOAD_PREFIX='IMAGE_XXX'
2017-03-22T07:19:48: Client 0: queuing <defTextVector device='V4L2 CCD' name='UPLOAD_SETTINGS'>
2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 14:
<setSwitchVector device="V4L2 CCD" name="CONNECTION" state="Ok" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneSwitch name="CONNECT">
On
    </oneSwitch>
    <oneSwitch name="DISCONNECT">
Off
    </oneSwitch>
</setSwitchVector>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Brightness
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Contrast
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Saturation
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control White Balance Temperature, Auto
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   boolean
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Power Line Frequency
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   Menu items:
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   Disabled
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   50 Hz
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   60 Hz
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control White Balance Temperature
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Sharpness
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Backlight Compensation
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Exposure, Auto
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   Menu items:
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   Manual Mode
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   Aperture Priority Mode
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Exposure (Absolute)
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Pan (Absolute)
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Tilt (Absolute)
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Control Zoom, Absolute
2017-03-22T07:19:48: Driver indi_v4l2_ccd:   integer
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CCD_VIDEO_STREAM Idle rw
  STREAM_ON='Off'
 STREAM_OFF='On'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='CCD_VIDEO_STREAM'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD STREAM_OPTIONS Idle rw
 STREAM_RATE='0'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='STREAM_OPTIONS'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD FPS Idle ro
    EST_FPS='30'
    AVG_FPS='30'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='FPS'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD RECORD_STREAM Idle rw
  RECORD_ON='Off'
 RECORD_DURATION_ON='Off'
 RECORD_FRAME_ON='Off'
 RECORD_OFF='On'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='RECORD_STREAM'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD RECORD_FILE Idle rw
 RECORD_FILE_DIR='/tmp/indi__D_'
 RECORD_FILE_NAME='indi_record__T_.ser'
2017-03-22T07:19:48: Client 0: queuing <defTextVector device='V4L2 CCD' name='RECORD_FILE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD RECORD_OPTIONS Idle rw
 RECORD_DURATION='1'
 RECORD_FRAME_TOTAL='30'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='RECORD_OPTIONS'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD CCD_STREAM_FRAME Idle rw
          X='0'
          Y='0'
      WIDTH='0'
     HEIGHT='0'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='CCD_STREAM_FRAME'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defTextVector V4L2 CCD Camera Idle ro
      Model=''
2017-03-22T07:19:48: Client 0: queuing <defTextVector device='V4L2 CCD' name='Camera'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read message V4L2 CCD   'Found intial Input "Camera 1", Format "YUYV 4:2:2", Size 640x480, Frame interval 383/1s'
2017-03-22T07:19:48: Client 0: queuing <message device='V4L2 CCD' name=''>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setTextVector V4L2 CCD Camera Idle
      Model='Microsoft® LifeCam HD-3000'
2017-03-22T07:19:48: Client 0: queuing <setTextVector device='V4L2 CCD' name='Camera'>
2017-03-22T07:19:48: Client 0: read newSwitchVector V4L2 CCD CONFIG_PROCESS 
 CONFIG_LOAD='Off'
 CONFIG_SAVE='Off'
 CONFIG_DEFAULT='On'
2017-03-22T07:19:48: Driver indi_v4l2_ccd: queuing responsible for <newSwitchVector device='V4L2 CCD' name='CONFIG_PROCESS'>
2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 23:
<defNumberVector device="V4L2 CCD" name="CCD_EXPOSURE" label="Expose" group="Main Control" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="CCD_EXPOSURE_VALUE" label="Duration (s)" format="%5.2f" min="0.0010000000000000000208" max="3600" step="1">
1
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 22:
<defNumberVector device="V4L2 CCD" name="CCD_FRAME" label="Frame" group="Image Settings" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="X" label="Left " format="%4.0f" min="0" max="0" step="0">
0
    </defNumber>
    <defNumber name="Y" label="Top" format="%4.0f" min="0" max="0" step="0">
0
    </defNumber>
    <defNumber name="WIDTH" label="Width" format="%4.0f" min="0" max="0" step="0">
0
    </defNumber>
    <defNumber name="HEIGHT" label="Height" format="%4.0f" min="0" max="0" step="0">
0
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: sending msg copy 1 nq 1:
<newSwitchVector device="V4L2 CCD" name="CONFIG_PROCESS">
    <oneSwitch name="CONFIG_LOAD">
Off
    </oneSwitch>
    <oneSwitch name="CONFIG_SAVE">
Off
    </oneSwitch>
    <oneSwitch name="CONFIG_DEFAULT">
On
    </oneSwitch>
</newSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 21:
<defNumberVector device="V4L2 CCD" name="CCD_BINNING" label="Binning" group="Image Settings" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="HOR_BIN" label="X" format="%2.0f" min="1" max="4" step="1">
1
    </defNumber>
    <defNumber name="VER_BIN" label="Y" format="%2.0f" min="1" max="4" step="1">
1
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 20:
<defNumberVector device="V4L2 CCD" name="CCD_INFO" label="CCD Information" group="Image Info" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="CCD_MAX_X" label="Max. Width" format="%4.0f" min="1" max="16000" step="0">
0
    </defNumber>
    <defNumber name="CCD_MAX_Y" label="Max. Height" format="%4.0f" min="1" max="16000" step="0">
0
    </defNumber>
    <defNumber name="CCD_PIXEL_SIZE" label="Pixel size (um)" format="%5.2f" min="1" max="40" step="0">
0
    </defNumber>
    <defNumber name="CCD_PIXEL_SIZE_X" label="Pixel size X" format="%5.2f" min="1" max="40" step="0">
0
    </defNumber>
    <defNumber name="CCD_PIXEL_SIZE_Y" label="Pixel size Y" format="%5.2f" min="1" max="40" step="0">
0
    </defNumber>
    <defNumber name="CCD_BITSPERPIXEL" label="Bits per pixel" format="%3.0f" min="8" max="64" step="0">
0
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 19:
<defSwitchVector device="V4L2 CCD" name="CCD_COMPRESSION" label="Image" group="Image Settings" state="Idle" perm="rw" rule="OneOfMany" timeout="60" timestamp="2017-03-22T07:19:48">
    <defSwitch name="CCD_COMPRESS" label="Compress">
Off
    </defSwitch>
    <defSwitch name="CCD_RAW" label="Raw">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 18:
<defBLOBVector device="V4L2 CCD" name="CCD1" label="Image Data" group="Image Info" state="Idle" perm="ro" timeout="60" timestamp="2017-03-22T07:19:48">
    <defBLOB name="CCD1" label="Image"/>
</defBLOBVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 17:
<defSwitchVector device="V4L2 CCD" name="CCD_FRAME_TYPE" label="Frame Type" group="Image Settings" state="Idle" perm="rw" rule="OneOfMany" timeout="60" timestamp="2017-03-22T07:19:48">
    <defSwitch name="FRAME_LIGHT" label="Light">
On
    </defSwitch>
    <defSwitch name="FRAME_BIAS" label="Bias">
Off
    </defSwitch>
    <defSwitch name="FRAME_DARK" label="Dark">
Off
    </defSwitch>
    <defSwitch name="FRAME_FLAT" label="Flat">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 16:
<defSwitchVector device="V4L2 CCD" name="CCD_FRAME_RESET" label="Frame Values" group="Image Settings" state="Idle" perm="wo" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="RESET" label="Reset">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 15:
<defSwitchVector device="V4L2 CCD" name="CCD_RAPID_GUIDE" label="Rapid Guide" group="Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="ENABLE" label="Enable">
Off
    </defSwitch>
    <defSwitch name="DISABLE" label="Disable">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 14:
<defSwitchVector device="V4L2 CCD" name="TELESCOPE_TYPE" label="Telescope" group="Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="TELESCOPE_PRIMARY" label="Primary">
On
    </defSwitch>
    <defSwitch name="TELESCOPE_GUIDE" label="Guide">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 13:
<defSwitchVector device="V4L2 CCD" name="WCS_CONTROL" label="WCS" group="WCS" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="WCS_ENABLE" label="Enable">
Off
    </defSwitch>
    <defSwitch name="WCS_DISABLE" label="Disable">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 12:
<defSwitchVector device="V4L2 CCD" name="UPLOAD_MODE" label="Upload" group="Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="UPLOAD_CLIENT" label="Client">
On
    </defSwitch>
    <defSwitch name="UPLOAD_LOCAL" label="Local">
Off
    </defSwitch>
    <defSwitch name="UPLOAD_BOTH" label="Both">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 11:
<defTextVector device="V4L2 CCD" name="UPLOAD_SETTINGS" label="Upload Settings" group="Options" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defText name="UPLOAD_DIR" label="Dir">
/home/mp
    </defText>
    <defText name="UPLOAD_PREFIX" label="Prefix">
IMAGE_XXX
    </defText>
</defTextVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 10:
<defSwitchVector device="V4L2 CCD" name="CCD_VIDEO_STREAM" label="Video Stream" group="Streaming" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="STREAM_ON" label="Stream On">
Off
    </defSwitch>
    <defSwitch name="STREAM_OFF" label="Stream Off">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 9:
<defNumberVector device="V4L2 CCD" name="STREAM_OPTIONS" label="Streaming" group="Streaming" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="STREAM_RATE" label="Rate Divisor" format="%3.0f" min="0" max="60" step="5">
0
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 8:
<defNumberVector device="V4L2 CCD" name="FPS" label="FPS" group="Streaming" state="Idle" perm="ro" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="EST_FPS" label="Instant." format="%3.2f" min="0" max="999" step="0">
30
    </defNumber>
    <defNumber name="AVG_FPS" label="Average (1 sec.)" format="%3.2f" min="0" max="999" step="0">
30
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 7:
<defSwitchVector device="V4L2 CCD" name="RECORD_STREAM" label="Video Record" group="Streaming" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="RECORD_ON" label="Record On">
Off
    </defSwitch>
    <defSwitch name="RECORD_DURATION_ON" label="Record (Duration)">
Off
    </defSwitch>
    <defSwitch name="RECORD_FRAME_ON" label="Record (Frames)">
Off
    </defSwitch>
    <defSwitch name="RECORD_OFF" label="Record Off">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 6:
<defTextVector device="V4L2 CCD" name="RECORD_FILE" label="Record File" group="Streaming" state="Idle" perm="rw" timeout="0" timestamp="2017-03-22T07:19:48">
    <defText name="RECORD_FILE_DIR" label="Dir.">
/tmp/indi__D_
    </defText>
    <defText name="RECORD_FILE_NAME" label="Name">
indi_record__T_.ser
    </defText>
</defTextVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 5:
<defNumberVector device="V4L2 CCD" name="RECORD_OPTIONS" label="Record Options" group="Streaming" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="RECORD_DURATION" label="Duration (sec)" format="%6.3f" min="0.0010000000000000000208" max="999999" step="0">
1
    </defNumber>
    <defNumber name="RECORD_FRAME_TOTAL" label="Frames" format="%9.0f" min="1" max="999999999" step="1">
30
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 4:
<defNumberVector device="V4L2 CCD" name="CCD_STREAM_FRAME" label="Frame" group="Streaming" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="X" label="Left " format="%4.0f" min="0" max="0" step="0">
0
    </defNumber>
    <defNumber name="Y" label="Top" format="%4.0f" min="0" max="0" step="0">
0
    </defNumber>
    <defNumber name="WIDTH" label="Width" format="%4.0f" min="0" max="0" step="0">
0
    </defNumber>
    <defNumber name="HEIGHT" label="Height" format="%4.0f" min="0" max="0" step="0">
0
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 3:
<defTextVector device="V4L2 CCD" name="Camera" label="Camera" group="Image Info" state="Idle" perm="ro" timeout="0" timestamp="2017-03-22T07:19:48">
    <defText name="Model" label="Model"/>
</defTextVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 2:
<message device="V4L2 CCD" timestamp="2017-03-22T07:19:48" message="Found intial Input &quot;Camera 1&quot;, Format &quot;YUYV 4:2:2&quot;, Size 640x480, Frame interval 383/1s"/>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 1:
<setTextVector device="V4L2 CCD" name="Camera" state="Idle" timeout="0" timestamp="2017-03-22T07:19:48">
    <oneText name="Model">
Microsoft® LifeCam HD-3000
    </oneText>
</setTextVector>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defNumberVector V4L2 CCD Image Adjustments Idle rw
 Brightness='133'
   Contrast='5'
 Saturation='83'
 White Balance Temperature='4500'
  Sharpness='25'
 Backlight Compensation='0'
 Exposure (Absolute)='156'
 Pan (Absolute)='0'
 Tilt (Absolute)='0'
 Zoom, Absolute='0'
2017-03-22T07:19:48: Client 0: queuing <defNumberVector device='V4L2 CCD' name='Image Adjustments'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD OPT000 Idle rw
 SET_OPT000='Off'
 UNSET_OPT000='On'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='OPT000'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD MENU001 Idle rw
 MENU001_OPT000='Off'
 MENU001_OPT001='On'
 MENU001_OPT002='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='MENU001'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD MENU002 Idle rw
 MENU002_OPT000='Off'
 MENU002_OPT001='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='MENU002'>
2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 4:
<defNumberVector device="V4L2 CCD" name="Image Adjustments" label="Image Adjustments" group="V4L2 Control" state="Idle" perm="rw" timeout="60" timestamp="2017-03-22T07:19:48">
    <defNumber name="Brightness" label="Brightness" format="%0.f" min="30" max="255" step="1">
133
    </defNumber>
    <defNumber name="Contrast" label="Contrast" format="%0.f" min="0" max="10" step="1">
5
    </defNumber>
    <defNumber name="Saturation" label="Saturation" format="%0.f" min="0" max="200" step="1">
83
    </defNumber>
    <defNumber name="White Balance Temperature" label="White Balance Temperature" format="%0.f" min="2800" max="10000" step="1">
4500
    </defNumber>
    <defNumber name="Sharpness" label="Sharpness" format="%0.f" min="0" max="50" step="1">
25
    </defNumber>
    <defNumber name="Backlight Compensation" label="Backlight Compensation" format="%0.f" min="0" max="10" step="1">
0
    </defNumber>
    <defNumber name="Exposure (Absolute)" label="Exposure (Absolute)" format="%0.f" min="5" max="20000" step="1">
156
    </defNumber>
    <defNumber name="Pan (Absolute)" label="Pan (Absolute)" format="%0.f" min="-201600" max="201600" step="3600">
0
    </defNumber>
    <defNumber name="Tilt (Absolute)" label="Tilt (Absolute)" format="%0.f" min="-201600" max="201600" step="3600">
0
    </defNumber>
    <defNumber name="Zoom, Absolute" label="Zoom, Absolute" format="%0.f" min="0" max="10" step="1">
0
    </defNumber>
</defNumberVector>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: recorder: setpixelformat 1448695129
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_INFO Idle
  CCD_MAX_X='640'
  CCD_MAX_Y='480'
 CCD_PIXEL_SIZE='0'
 CCD_PIXEL_SIZE_X='0'
 CCD_PIXEL_SIZE_Y='0'
 CCD_BITSPERPIXEL='0'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_INFO'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_FRAME Idle
          X='0'
          Y='0'
      WIDTH='0'
     HEIGHT='0'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_FRAME'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_FRAME Idle
          X='0'
          Y='0'
      WIDTH='640'
     HEIGHT='480'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_FRAME'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_INFO Idle
  CCD_MAX_X='640'
  CCD_MAX_Y='480'
 CCD_PIXEL_SIZE='0'
 CCD_PIXEL_SIZE_X='0'
 CCD_PIXEL_SIZE_Y='0'
 CCD_BITSPERPIXEL='8'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_INFO'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_STREAM_FRAME Idle
          X='0'
          Y='0'
      WIDTH='640'
     HEIGHT='480'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_STREAM_FRAME'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD CCD_COLOR_SPACE Idle rw
 CCD_COLOR_GRAY='On'
 CCD_COLOR_RGB='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='CCD_COLOR_SPACE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD V4L2_INPUT Idle rw
   Camera 1='On'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='V4L2_INPUT'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD V4L2_FORMAT Idle rw
 YUYV 4:2:2='On'
 Motion-JPEG='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='V4L2_FORMAT'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD V4L2_SIZE_DISCRETE Idle rw
    640x480='On'
   1280x720='Off'
    960x544='Off'
    800x448='Off'
    640x360='Off'
    424x240='Off'
    352x288='Off'
    320x240='Off'
    800x600='Off'
    176x144='Off'
    160x120='Off'
   1280x800='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='V4L2_SIZE_DISCRETE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read defSwitchVector V4L2 CCD V4L2_FRAMEINT_DISCRETE Idle rw
       1/30='Off'
       1/20='Off'
       1/15='Off'
       1/10='Off'
       2/15='Off'
2017-03-22T07:19:48: Client 0: queuing <defSwitchVector device='V4L2 CCD' name='V4L2_FRAMEINT_DISCRETE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_INFO Idle
  CCD_MAX_X='640'
  CCD_MAX_Y='480'
 CCD_PIXEL_SIZE='0'
 CCD_PIXEL_SIZE_X='0'
 CCD_PIXEL_SIZE_Y='0'
 CCD_BITSPERPIXEL='8'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_INFO'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_FRAME Idle
          X='0'
          Y='0'
      WIDTH='640'
     HEIGHT='480'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_FRAME'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_FRAME Idle
          X='0'
          Y='0'
      WIDTH='640'
     HEIGHT='480'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_FRAME'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_BINNING Idle
    HOR_BIN='1'
    VER_BIN='1'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_BINNING'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_INFO Idle
  CCD_MAX_X='640'
  CCD_MAX_Y='480'
 CCD_PIXEL_SIZE='5.5999999046325683594'
 CCD_PIXEL_SIZE_X='5.5999999046325683594'
 CCD_PIXEL_SIZE_Y='5.5999999046325683594'
 CCD_BITSPERPIXEL='8'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_INFO'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_INFO Idle
  CCD_MAX_X='640'
  CCD_MAX_Y='480'
 CCD_PIXEL_SIZE='5.5999999046325683594'
 CCD_PIXEL_SIZE_X='5.5999999046325683594'
 CCD_PIXEL_SIZE_Y='5.5999999046325683594'
 CCD_BITSPERPIXEL='8'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_INFO'>
2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 19:
<defSwitchVector device="V4L2 CCD" name="OPT000" label="White Balance Temperature, Auto" group="V4L2 Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="SET_OPT000" label="Off">
Off
    </defSwitch>
    <defSwitch name="UNSET_OPT000" label="On">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 18:
<defSwitchVector device="V4L2 CCD" name="MENU001" label="Power Line Frequency" group="V4L2 Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="MENU001_OPT000" label="Disabled">
Off
    </defSwitch>
    <defSwitch name="MENU001_OPT001" label="50 Hz">
On
    </defSwitch>
    <defSwitch name="MENU001_OPT002" label="60 Hz">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 17:
<defSwitchVector device="V4L2 CCD" name="MENU002" label="Exposure, Auto" group="V4L2 Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="MENU002_OPT000" label="Manual Mode">
Off
    </defSwitch>
    <defSwitch name="MENU002_OPT001" label="Aperture Priority Mode">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 16:
<setNumberVector device="V4L2 CCD" name="CCD_INFO" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="CCD_MAX_X">
640
    </oneNumber>
    <oneNumber name="CCD_MAX_Y">
480
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE">
0
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_X">
0
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_Y">
0
    </oneNumber>
    <oneNumber name="CCD_BITSPERPIXEL">
0
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 15:
<setNumberVector device="V4L2 CCD" name="CCD_FRAME" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="X" min="0" max="639" step="0">
0
    </oneNumber>
    <oneNumber name="Y" min="0" max="479" step="0">
0
    </oneNumber>
    <oneNumber name="WIDTH" min="1" max="640" step="0">
0
    </oneNumber>
    <oneNumber name="HEIGHT" min="0" max="480" step="0">
0
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 14:
<setNumberVector device="V4L2 CCD" name="CCD_FRAME" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="X">
0
    </oneNumber>
    <oneNumber name="Y">
0
    </oneNumber>
    <oneNumber name="WIDTH">
640
    </oneNumber>
    <oneNumber name="HEIGHT">
480
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 13:
<setNumberVector device="V4L2 CCD" name="CCD_INFO" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="CCD_MAX_X">
640
    </oneNumber>
    <oneNumber name="CCD_MAX_Y">
480
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE">
0
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_X">
0
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_Y">
0
    </oneNumber>
    <oneNumber name="CCD_BITSPERPIXEL">
8
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 12:
<setNumberVector device="V4L2 CCD" name="CCD_STREAM_FRAME" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="X" min="0" max="639" step="0">
0
    </oneNumber>
    <oneNumber name="Y" min="0" max="479" step="0">
0
    </oneNumber>
    <oneNumber name="WIDTH" min="10" max="640" step="0">
640
    </oneNumber>
    <oneNumber name="HEIGHT" min="10" max="480" step="0">
480
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 11:
<defSwitchVector device="V4L2 CCD" name="CCD_COLOR_SPACE" label="Image Type" group="Image Settings" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="CCD_COLOR_GRAY" label="Gray">
On
    </defSwitch>
    <defSwitch name="CCD_COLOR_RGB" label="Color">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 10:
<defSwitchVector device="V4L2 CCD" name="V4L2_INPUT" label="Inputs" group="Capture Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="Camera 1" label="Camera 1">
On
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 9:
<defSwitchVector device="V4L2 CCD" name="V4L2_FORMAT" label="Capture Format" group="Capture Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="YUYV 4:2:2" label="YUYV 4:2:2">
On
    </defSwitch>
    <defSwitch name="Motion-JPEG" label="Motion-JPEG">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 8:
<defSwitchVector device="V4L2 CCD" name="V4L2_SIZE_DISCRETE" label="Capture Size" group="Capture Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="640x480" label="640x480">
On
    </defSwitch>
    <defSwitch name="1280x720" label="1280x720">
Off
    </defSwitch>
    <defSwitch name="960x544" label="960x544">
Off
    </defSwitch>
    <defSwitch name="800x448" label="800x448">
Off
    </defSwitch>
    <defSwitch name="640x360" label="640x360">
Off
    </defSwitch>
    <defSwitch name="424x240" label="424x240">
Off
    </defSwitch>
    <defSwitch name="352x288" label="352x288">
Off
    </defSwitch>
    <defSwitch name="320x240" label="320x240">
Off
    </defSwitch>
    <defSwitch name="800x600" label="800x600">
Off
    </defSwitch>
    <defSwitch name="176x144" label="176x144">
Off
    </defSwitch>
    <defSwitch name="160x120" label="160x120">
Off
    </defSwitch>
    <defSwitch name="1280x800" label="1280x800">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 7:
<defSwitchVector device="V4L2 CCD" name="V4L2_FRAMEINT_DISCRETE" label="Frame Interval" group="Capture Options" state="Idle" perm="rw" rule="OneOfMany" timeout="0" timestamp="2017-03-22T07:19:48">
    <defSwitch name="1/30" label="1/30">
Off
    </defSwitch>
    <defSwitch name="1/20" label="1/20">
Off
    </defSwitch>
    <defSwitch name="1/15" label="1/15">
Off
    </defSwitch>
    <defSwitch name="1/10" label="1/10">
Off
    </defSwitch>
    <defSwitch name="2/15" label="2/15">
Off
    </defSwitch>
</defSwitchVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 6:
<setNumberVector device="V4L2 CCD" name="CCD_INFO" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="CCD_MAX_X">
640
    </oneNumber>
    <oneNumber name="CCD_MAX_Y">
480
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE">
0
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_X">
0
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_Y">
0
    </oneNumber>
    <oneNumber name="CCD_BITSPERPIXEL">
8
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 5:
<setNumberVector device="V4L2 CCD" name="CCD_FRAME" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="X" min="0" max="639" step="0">
0
    </oneNumber>
    <oneNumber name="Y" min="0" max="479" step="0">
0
    </oneNumber>
    <oneNumber name="WIDTH" min="1" max="640" step="0">
640
    </oneNumber>
    <oneNumber name="HEIGHT" min="0" max="480" step="0">
480
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 4:
<setNumberVector device="V4L2 CCD" name="CCD_FRAME" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="X">
0
    </oneNumber>
    <oneNumber name="Y">
0
    </oneNumber>
    <oneNumber name="WIDTH">
640
    </oneNumber>
    <oneNumber name="HEIGHT">
480
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 3:
<setNumberVector device="V4L2 CCD" name="CCD_BINNING" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="HOR_BIN">
1
    </oneNumber>
    <oneNumber name="VER_BIN">
1
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 2:
<setNumberVector device="V4L2 CCD" name="CCD_INFO" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="CCD_MAX_X">
640
    </oneNumber>
    <oneNumber name="CCD_MAX_Y">
480
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE">
5.5999999046325683594
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_X">
5.5999999046325683594
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_Y">
5.5999999046325683594
    </oneNumber>
    <oneNumber name="CCD_BITSPERPIXEL">
8
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 1:
<setNumberVector device="V4L2 CCD" name="CCD_INFO" state="Idle" timeout="60" timestamp="2017-03-22T07:19:48">
    <oneNumber name="CCD_MAX_X">
640
    </oneNumber>
    <oneNumber name="CCD_MAX_Y">
480
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE">
5.5999999046325683594
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_X">
5.5999999046325683594
    </oneNumber>
    <oneNumber name="CCD_PIXEL_SIZE_Y">
5.5999999046325683594
    </oneNumber>
    <oneNumber name="CCD_BITSPERPIXEL">
8
    </oneNumber>
</setNumberVector>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: read message V4L2 CCD   'Loading device configuration...'
2017-03-22T07:19:48: Client 0: queuing <message device='V4L2 CCD' name=''>
2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 1:
<message device="V4L2 CCD" timestamp="2017-03-22T07:19:48" message="Loading device configuration..."/>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setSwitchVector V4L2 CCD DEBUG Ok
     ENABLE='Off'
    DISABLE='On'
2017-03-22T07:19:48: Client 0: queuing <setSwitchVector device='V4L2 CCD' name='DEBUG'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setTextVector V4L2 CCD ACTIVE_DEVICES Ok
 ACTIVE_TELESCOPE='Telescope Simulator'
 ACTIVE_FOCUSER='Focuser Simulator'
 ACTIVE_FILTER='CCD Simulator'
 ACTIVE_SKYQUALITY='SQM'
2017-03-22T07:19:48: Client 0: queuing <setTextVector device='V4L2 CCD' name='ACTIVE_DEVICES'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read getProperties Telescope Simulator EQUATORIAL_EOD_COORD 
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read getProperties Telescope Simulator TELESCOPE_INFO 
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read getProperties CCD Simulator FILTER_SLOT 
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read getProperties CCD Simulator FILTER_NAME 
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read getProperties SQM SKY_QUALITY 
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setSwitchVector V4L2 CCD UPLOAD_MODE Ok
 UPLOAD_CLIENT='On'
 UPLOAD_LOCAL='Off'
 UPLOAD_BOTH='Off'
2017-03-22T07:19:48: Client 0: queuing <setSwitchVector device='V4L2 CCD' name='UPLOAD_MODE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read message V4L2 CCD   'Upload settings set to client only.'
2017-03-22T07:19:48: Client 0: queuing <message device='V4L2 CCD' name=''>
2017-03-22T07:19:48: Client 0: sending msg copy 1 nq 4:
<setSwitchVector device="V4L2 CCD" name="DEBUG" state="Ok" timeout="0" timestamp="2017-03-22T07:19:48">
    <oneSwitch name="ENABLE">
Off
    </oneSwitch>
    <oneSwitch name="DISABLE">
On
    </oneSwitch>
</setSwitchVector>

2017-03-22T07:19:48: Driver indi_v4l2_ccd: Decoder  set crop: 160x120 at (0, 0)
2017-03-22T07:19:48: Driver indi_v4l2_ccd: Decoder allocBuffers cropping true
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setTextVector V4L2 CCD UPLOAD_SETTINGS Ok
 UPLOAD_DIR='/home/mp'
 UPLOAD_PREFIX='IMAGE_XXX'
2017-03-22T07:19:48: Client 0: queuing <setTextVector device='V4L2 CCD' name='UPLOAD_SETTINGS'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setSwitchVector V4L2 CCD TELESCOPE_TYPE Ok
 TELESCOPE_PRIMARY='On'
 TELESCOPE_GUIDE='Off'
2017-03-22T07:19:48: Client 0: queuing <setSwitchVector device='V4L2 CCD' name='TELESCOPE_TYPE'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setSwitchVector V4L2 CCD CCD_COMPRESSION Ok
 CCD_COMPRESS='Off'
    CCD_RAW='On'
2017-03-22T07:19:48: Client 0: queuing <setSwitchVector device='V4L2 CCD' name='CCD_COMPRESSION'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_FRAME Ok
          X='0'
          Y='0'
      WIDTH='160'
     HEIGHT='120'
2017-03-22T07:19:48: Client 0: queuing <setNumberVector device='V4L2 CCD' name='CCD_FRAME'>
2017-03-22T07:19:48: Driver indi_v4l2_ccd: read setNumberVector V4L2 CCD CCD_STREAM_FRAME Idle
          X='0'
          Y='0'
      WIDTH='160'
     HEIGHT='120'
2017-03-22T07:19:48: Client 0: queuing <

Marco replied to the topic 'Second USB webcam doesn't work' in the forum. 7 years ago

Thanks you geehalel for your analysis, but I'm afraid I'm not completely understanding what's going on.
Do I have to correctly set some parameter(s) or do you have to modify the code ?
If you are in need of some additional testing from this side, I'm really willing to help !

Read More...

Marco replied to the topic 'Second USB webcam doesn't work' in the forum. 7 years ago

Error Number 22 is something I can fix ?
It seems there are many lines with this error in the log...

2017-03-19T16:46:17: xioctl: ioctl 0xC02C564A/VIDIOC_ENUM_FRAMESIZES received errno 22 (Invalid argument)

Any hint ?

Read More...

Marco replied to the topic 'Second USB webcam doesn't work' in the forum. 7 years ago

This is the complete log of a session :

2017-03-19T16:46:38: Using device manual exposure (max 20000.000000, required 10000.000000). 
2017-03-19T16:46:17: xioctl: ioctl 0xC0445624/VIDIOC_QUERYCTRL received errno 22 (Invalid argument) 
2017-03-19T16:46:17: Adding Zoom, Absolute -- min: 0 max: 10 step: 1 value: 39346200 
2017-03-19T16:46:17: Adding Tilt (Absolute) -- min: -201600 max: 201600 step: 3600 value: 39346200 
2017-03-19T16:46:17: Adding Pan (Absolute) -- min: -201600 max: 201600 step: 3600 value: 39346200 
2017-03-19T16:46:17: Adding Exposure (Absolute) -- min: 5 max: 20000 step: 1 value: 39346200 
2017-03-19T16:46:17: Adding menu  Exposure, Auto (item 3 set) 
2017-03-19T16:46:17: Adding menu item Aperture Priority Mode Aperture Priority Mode MENU002_OPT001 item 1 index 3 
2017-03-19T16:46:17: xioctl: ioctl 0xC02C5625/VIDIOC_QUERYMENU received errno 22 (Invalid argument) 
2017-03-19T16:46:17: Adding menu item Manual Mode Manual Mode MENU002_OPT000 item 0 index 1 
2017-03-19T16:46:17: xioctl: ioctl 0xC02C5625/VIDIOC_QUERYMENU received errno 22 (Invalid argument) 
2017-03-19T16:46:17: Adding Backlight Compensation -- min: 0 max: 10 step: 1 value: 39346200 
2017-03-19T16:46:17: Adding Sharpness -- min: 0 max: 50 step: 1 value: 39346200 
2017-03-19T16:46:17: Adding White Balance Temperature -- min: 2800 max: 10000 step: 1 value: 39346200 
2017-03-19T16:46:17: Adding menu  Power Line Frequency (item 1 set) 
2017-03-19T16:46:17: Adding menu item 60 Hz 60 Hz MENU001_OPT002 item 2 index 2 
2017-03-19T16:46:17: Adding menu item 50 Hz 50 Hz MENU001_OPT001 item 1 index 1 
2017-03-19T16:46:17: Adding menu item Disabled Disabled MENU001_OPT000 item 0 index 0 
2017-03-19T16:46:17: Adding switch  White Balance Temperature, Auto (On) 
2017-03-19T16:46:17: Adding Saturation -- min: 0 max: 200 step: 1 value: 39346200 
2017-03-19T16:46:17: Adding Contrast -- min: 0 max: 10 step: 1 value: 39346200 
2017-03-19T16:46:17: Adding Brightness -- min: 30 max: 255 step: 1 value: 39346200 
2017-03-19T16:46:17: xioctl: ioctl 0xC0445624/VIDIOC_QUERYCTRL received errno 22 (Invalid argument) 
2017-03-19T16:46:17: xioctl: ioctl 0xC02C5625/VIDIOC_QUERYMENU received errno 22 (Invalid argument) 
2017-03-19T16:46:17: xioctl: ioctl 0xC02C5625/VIDIOC_QUERYMENU received errno 22 (Invalid argument) 
2017-03-19T16:46:17: Found intial Input "Camera 1", Format "YUYV 4:2:2", Size 640x480, Frame interval 383/1s 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: xioctl: ioctl 0xC02C564A/VIDIOC_ENUM_FRAMESIZES received errno 22 (Invalid argument) 
2017-03-19T16:46:17: Current capture size is (0.)  640x480 
2017-03-19T16:46:17: Current Capture format is (0.) YUYV. 
2017-03-19T16:46:17: Current Video input(0.): Camera 1 
2017-03-19T16:46:17: V4L2 CCD Device is online. Initializing properties. 
2017-03-19T16:46:17: ioctl_set_format: current format 640x480 YUYV uncompressed (supported) 
2017-03-19T16:46:17: xioctl: ioctl 0xC02C564A/VIDIOC_ENUM_FRAMESIZES received errno 22 (Invalid argument) 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  10. (Discrete)  width 160 x height 120 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  9. (Discrete)  width 320 x height 240 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  8. (Discrete)  width 176 x height 144 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  7. (Discrete)  width 352 x height 288 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  6. (Discrete)  width 416 x height 240 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  5. (Discrete)  width 800 x height 600 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  4. (Discrete)  width 640 x height 360 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  3. (Discrete)  width 800 x height 448 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  2. (Discrete)  width 960 x height 544 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  1. (Discrete)  width 1280 x height 720 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  0. (Discrete)  width 640 x height 480 
2017-03-19T16:46:17:   Available Frame sizes/rates for this format: 
2017-03-19T16:46:17: 1. Motion-JPEG (MJPG) supported 
2017-03-19T16:46:17: xioctl: ioctl 0xC02C564A/VIDIOC_ENUM_FRAMESIZES received errno 22 (Invalid argument) 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  11. (Discrete)  width 1280 x height 800 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  10. (Discrete)  width 160 x height 120 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  9. (Discrete)  width 176 x height 144 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  8. (Discrete)  width 800 x height 600 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  7. (Discrete)  width 320 x height 240 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  6. (Discrete)  width 352 x height 288 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  5. (Discrete)  width 424 x height 240 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  4. (Discrete)  width 640 x height 360 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  3. (Discrete)  width 800 x height 448 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  2. (Discrete)  width 960 x height 544 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  1. (Discrete)  width 1280 x height 720 
2017-03-19T16:46:17: xioctl: ioctl 0xC034564B/VIDIOC_ENUM_FRAMEINTERVALS received errno 22 (Invalid argument) 
2017-03-19T16:46:17: 2/15 s,  
2017-03-19T16:46:17: 1/10 s,  
2017-03-19T16:46:17: 1/15 s,  
2017-03-19T16:46:17: 1/20 s,  
2017-03-19T16:46:17: 1/30 s,  
2017-03-19T16:46:17:     Frame intervals: 
2017-03-19T16:46:17:  0. (Discrete)  width 640 x height 480 
2017-03-19T16:46:17:   Available Frame sizes/rates for this format: 
2017-03-19T16:46:17: 0. YUYV 4:2:2 (YUYV) supported 
2017-03-19T16:46:17: Available Capture Image formats: 
2017-03-19T16:46:17: xioctl: ioctl 0xC014563B/VIDIOC_G_CROP received errno 22 (Invalid argument) 
2017-03-19T16:46:17: xioctl: ioctl 0x4014563C/VIDIOC_S_CROP received errno 25 (Inappropriate ioctl for device) 
2017-03-19T16:46:17: Resetting crop area to default 
2017-03-19T16:46:17: Crop capabilities: pixelaspect = 1 / 1 
2017-03-19T16:46:17: Crop capabilities: defrect = (top=0, left=0, width=640, height=480) 
2017-03-19T16:46:17: Crop capabilities: bounds = (top=0, left=0, width=640, height=480) 
2017-03-19T16:46:17: Current Video input: 0 
2017-03-19T16:46:17: 0. Camera 1 (type Composite/S-Video) 
2017-03-19T16:46:17: Available Inputs: 
2017-03-19T16:46:17:   V4L2_CAP_STREAMING 
2017-03-19T16:46:17:   V4L2_CAP_VIDEO_CAPTURE 
2017-03-19T16:46:17: Driver capabilities: 
2017-03-19T16:46:17:   bus; usb-0000:04:00.0-1 
2017-03-19T16:46:17:   card; Microsoft® LifeCam HD-3000 
2017-03-19T16:46:17: Driver uvcvideo (version 4.4.44) 
2017-03-19T16:46:04: Error: unable to open device. Cannot identify /dev/video1: 2, No such file or directory 
2017-03-19T16:45:29: Upload complete 
2017-03-19T16:45:29: Uploading file. Ext: fits, Size: 311040, sendImage? Yes, saveImage? No 
2017-03-19T16:45:29: Capture of one frame (0 stacked frames) took 0.343298 seconds. 
2017-03-19T16:45:29: read_frame: [0x2589ab0] decoding 614400-byte buffer 0x7f5a2a8a1000 cropset N 
2017-03-19T16:45:29: read_frame: frame exposure started -666.821 seconds ago 
2017-03-19T16:45:29: read_frame: buffer #0 dequeued from fd:3 
2017-03-19T16:45:29: read_frame: using MMAP to recover frame buffer 
2017-03-19T16:45:28: V4L2 base setcroprect 640x480 at (0, 0) 
2017-03-19T16:45:28: Requested CCD Frame is (  0,  0) (640 x 480) 
2017-03-19T16:45:14: Session log file /home/mp/.indi/logs/2017-03-19/indi_v4l2_ccd/indi_v4l2_ccd_16:44:30.log 
2017-03-19T16:45:11: Toggle Debug Level -- Driver Debug 
2017-03-19T16:44:58: Debug is enabled. 
2017-03-19T16:44:31: Device configuration applied. 
2017-03-19T16:44:31: Upload settings set to client only. 
2017-03-19T16:44:31: Loading device configuration... 
2017-03-19T16:44:30: Found intial Input "Camera 1", Format "YUYV 4:2:2", Size 640x480, Frame interval 1/24s 
2017-03-19T16:44:30: V4L2 CCD Device is online. Initializing properties.


Read More...

Marco replied to the topic 'Second USB webcam doesn't work' in the forum. 7 years ago

Yes, I tried that. I get the same behavior.
Thanks for your support !

Read More...

Marco replied to the topic 'Second USB webcam doesn't work' in the forum. 7 years ago

INDI version is : 1.4.1
uname -a gives : Linux mp 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Marco

Read More...

Marco created a new topic ' Second USB webcam doesn't work' in the forum. 7 years ago

Hello, I'm moving my setup from Windows to Ubuntu 16.04 on an HP laptop that has a built-in camera. I'd like to use Kstars/Ekos at least to autoguide, but connecting a second webcam to a USB port ( a Microsoft LifeCam HD-3000 ) and trying to access it via INDI indi_v4l2_ccd driver, doesn't work.

Webcams are recognized as UVC devices from Ubuntu and I don't have any problem in using both of them with the usual applications ( Skype, Cheese, ... )

ls -la of /dev gives :
crw-rw----+ 1 root video 81, 0 mar 19 11:02 video0
crw-rw----+ 1 root video 81, 1 mar 19 07:18 video1
where video0 is the built-in camera. Both cameras have the same permissions.

I installed INDI and all the available drivers from the repository :
sudo apt-add-repository ppa:mutlaqja/ppa
sudo apt-get update
sudo apt-get install libindi1 indi-bin

I installed Kstars/Ekos from the repository :
sudo apt-add-repository ppa:mutlaqja/ppa
sudo apt-get update
sudo apt-get install kstars-bleeding

Both applications/environments seem to work just fine.

After plugging in the USB webcam, I start Kstars and in the Tools menu -> Ekos I create a new profile "test" where the mode is "Local", autoconnect is "off" and Devices are "Telescope Simulator" for the mount and "V4L2 CCD" for the guider.
I save the profile.

I click on "Start INDI" and in the "Options" TAB of the V4L2 CCD , I set "Ports" to /dev/video0 (default). On the "Main Control" of the V4L2 CCD I click "Connect".
Connection goes green and a second line ( Expose ) shows up.
I click "Connect" to the Telescope Simulator" too.
Now Ekos shows the autoguide icon that I can click.

Clicking on "Capture" i correctly get an image from the built-in camera.
Indi Control Panel log reports :

2017-03-19T13:28:10: Capture of one frame (0 stacked frames) took 0.343403 seconds.
2017-03-19T13:27:35: Device configuration applied.
2017-03-19T13:27:35: Upload settings set to client only.
2017-03-19T13:27:35: Loading device configuration...
2017-03-19T13:27:34: Found intial Input "Camera 1", Format "YUYV 4:2:2", Size 640x480, Frame interval 1/24s
2017-03-19T13:27:34: V4L2 CCD Device is online. Initializing properties.

I disconnect and Stop INDI

To switch to the USB camera, I restart INDI. While VL2 CCD in Main Control is disconnected, I set /dev/video1 as device port.
Clicking “Connect” lights the Connection “Led” green.

Going to the autoguide tool, I click on “Capture” and nothing happens. The wheel-like icon spins forever. Indi Control Panel log this time reports :

2017-03-19T13:34:42: Using device manual exposure (max 20000.000000, required 10000.000000).
2017-03-19T13:34:26: Found intial Input "Camera 1", Format "YUYV 4:2:2", Size 640x480, Frame interval 383/1s
2017-03-19T13:34:26: V4L2 CCD Device is online. Initializing properties.

It seems that indi_v4l2_ccd reads some wrong value and has some problem to complete the acquisition. I tried to wait for 383 seconds as suggested from the wrong value in frame interval, but even after such a long time no image is captured.

Other than Kstars/Ekos, I tried PHD2 that shows a similar behaviour. Is there something I’m doing wrong in setting up and starting INDI ?

Any help is really appreciated !

Marco

Read More...