Infrared camera setup in Edge2

Hello @Jacobe ,

Do you have any feedback on the binning mode for the OS08A10?

Hello @omarc

Well, I have check the OS08A10 driver. Though the datasheet said that it has two binning modes but the driver didn’t support either of them… :smiling_face_with_tear:

That’s why the v4l2 tools doesn’t include the binning mode

khadas@Khadas:~$ v4l2-ctl -d /dev/v4l-subdev6 --list-ctrls

User Controls

                       exposure 0x00980911 (int)    : min=4 max=2242 step=1 default=2224 value=674

Image Source Controls

              vertical_blanking 0x009e0901 (int)    : min=86 max=30607 step=1 default=86 value=86
            horizontal_blanking 0x009e0902 (int)    : min=560 max=560 step=1 default=560 value=560 flags=read-only
                  analogue_gain 0x009e0903 (int)    : min=128 max=1984 step=1 default=1024 value=128

Image Processing Controls

                 link_frequency 0x009f0901 (intmenu): min=0 max=0 default=0 value=0 (360000000 0x15752a00) flags=read-only
                     pixel_rate 0x009f0902 (int64)  : min=0 max=360000000 step=1 default=360000000 value=360000000 flags=read-only
                   test_pattern 0x009f0903 (menu)   : min=0 max=16 default=0 value=0 (Disabled)
khadas@Khadas:~$ v4l2-ctl -d /dev/video51 --list-ctrls

Image Processing Controls

                     pixel_rate 0x009f0902 (int64)  : min=0 max=1000000000 step=1 default=1000000000 value=360000000 flags=read-only, volatile
khadas@Khadas:~$ 

Hello @Jacobe ,

It is a pity that the current driver does not support that configuration.

If the kernel module exposes this configuration, can you point me out to the driver files? Maybe I could try to modify the driver. Did Khadas’ team develop this driver?

Best regards,

Hello @omarc

If the kernel module exposes this configuration, can you point me out to the driver files?

You can check the driver in fenix/build/linux/drivers/media/i2c/os08a10.c,

Did Khadas’ team develop this driver?

Not all of it, but we do maintain it.