Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: "halil.karabacak" <halil.karabacak@boun.edu.tr>
Cc: Linux arm msm <linux-arm-msm@vger.kernel.org>
Subject: Re: Using CCI_I2C Driver for OV9282 on Qualcomm RB5 Vision Kit
Date: Wed, 7 Sep 2022 17:03:51 +0100	[thread overview]
Message-ID: <a0388d8c-65fc-28e9-be5e-d75d576f5de0@linaro.org> (raw)
In-Reply-To: <23b50db5-e0e3-700f-40b5-3efb25735dfc@linaro.org>

On 24/08/2022 14:34, Bryan O'Donoghue wrote:
> On 24/08/2022 12:08, halil.karabacak wrote:
>> After some trials and errors, I achieved something but, are these 
>> resolutions in the attached file correct? And I could read nothing 
>> from the camera right now.
>> Regards,
>> Halil
> 
> They don't look right.
> 
> Are you trying with the imx577 or the ov9282 ?

So I had a poke at the ov9282 today.

ov9282 is detected on this branch here.

https://git.linaro.org/people/bryan.odonoghue/kernel.git/log/?h=linux-stable-22-08-01-imx577-camss

libcamera can't eat Y10P though
[1]

Ongoing irritant is that i2c addresses are right shifted by 1 bit in 
addressing so imx577@x34 is imx577@0x1a and ov9282@0xC0 is ov9282@0x60, 
we should fix that, its very confusing.

Anyway I thought I'd share

---
bod

[1]

root@linaro-gnome:/home/linaro/libcamera/build/src# ./cam/cam -l
[0:08:23.443968209] [3393]  INFO IPAManager ipa_manager.cpp:138 
libcamera is not installed. Adding 
'/home/linaro/libcamera/build/src/ipa' to the IPA search path
[0:08:23.489820187] [3393]  INFO Camera camera_manager.cpp:293 libcamera 
v0.0.0+3222-1b30992b
[0:08:23.506972394] [3396]  WARN CameraSensor camera_sensor.cpp:197 
'ov9282 21-0060': Recommended V4L2 control 0x009a0922 not supported
[0:08:23.507017863] [3396] ERROR V4L2 v4l2_subdevice.cpp:286 'ov9282 
21-0060': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
[0:08:23.507044685] [3396]  WARN CameraSensor camera_sensor.cpp:224 
'ov9282 21-0060': The PixelArraySize property has been defaulted to 1280x720
[0:08:23.507067862] [3396] ERROR V4L2 v4l2_subdevice.cpp:286 'ov9282 
21-0060': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
[0:08:23.507087393] [3396]  WARN CameraSensor camera_sensor.cpp:235 
'ov9282 21-0060': The PixelArrayActiveAreas property has been defaulted 
to (0x0)/1280x720
[0:08:23.507114372] [3396] ERROR V4L2 v4l2_subdevice.cpp:286 'ov9282 
21-0060': Unable to get rectangle 0 on pad 0: Inappropriate ioctl for device
[0:08:23.507131664] [3396]  WARN CameraSensor camera_sensor.cpp:243 
'ov9282 21-0060': Failed to retrieve the sensor crop rectangle
[0:08:23.507148382] [3396]  WARN CameraSensor camera_sensor.cpp:249 
'ov9282 21-0060': The sensor kernel driver needs to be fixed
[0:08:23.507170622] [3396]  WARN CameraSensor camera_sensor.cpp:251 
'ov9282 21-0060': See Documentation/sensor_driver_requirements.rst in 
the libcamera sources for more information
[0:08:23.508584465] [3396]  WARN CameraSensorProperties 
camera_sensor_properties.cpp:141 No static properties available for 'ov9282'
[0:08:23.508604829] [3396]  WARN CameraSensorProperties 
camera_sensor_properties.cpp:143 Please consider updating the camera 
sensor properties database
[0:08:23.508616444] [3396]  WARN CameraSensor camera_sensor.cpp:414 
'ov9282 21-0060': Failed to retrieve the camera location
[0:08:23.508987014] [3396]  WARN CameraSensor camera_sensor.cpp:197 
'imx412 22-001a': Recommended V4L2 control 0x009a0922 not supported
[0:08:23.509003941] [3396] ERROR V4L2 v4l2_subdevice.cpp:286 'imx412 
22-001a': Unable to get rectangle 2 on pad 0: Inappropriate ioctl for device
[0:08:23.509015607] [3396]  WARN CameraSensor camera_sensor.cpp:224 
'imx412 22-001a': The PixelArraySize property has been defaulted to 
4056x3040
[0:08:23.509024149] [3396] ERROR V4L2 v4l2_subdevice.cpp:286 'imx412 
22-001a': Unable to get rectangle 1 on pad 0: Inappropriate ioctl for device
[0:08:23.509031649] [3396]  WARN CameraSensor camera_sensor.cpp:235 
'imx412 22-001a': The PixelArrayActiveAreas property has been defaulted 
to (0x0)/4056x3040
[0:08:23.509043107] [3396] ERROR V4L2 v4l2_subdevice.cpp:286 'imx412 
22-001a': Unable to get rectangle 0 on pad 0: Inappropriate ioctl for device
[0:08:23.509050815] [3396]  WARN CameraSensor camera_sensor.cpp:243 
'imx412 22-001a': Failed to retrieve the sensor crop rectangle
[0:08:23.509057482] [3396]  WARN CameraSensor camera_sensor.cpp:249 
'imx412 22-001a': The sensor kernel driver needs to be fixed
[0:08:23.509064148] [3396]  WARN CameraSensor camera_sensor.cpp:251 
'imx412 22-001a': See Documentation/sensor_driver_requirements.rst in 
the libcamera sources for more information
[0:08:23.509659508] [3396]  WARN CameraSensorProperties 
camera_sensor_properties.cpp:141 No static properties available for 'imx412'
[0:08:23.509673102] [3396]  WARN CameraSensorProperties 
camera_sensor_properties.cpp:143 Please consider updating the camera 
sensor properties database
[0:08:23.509682216] [3396]  WARN CameraSensor camera_sensor.cpp:414 
'imx412 22-001a': Failed to retrieve the camera location
[0:08:23.520666868] [3396]  WARN V4L2 v4l2_pixelformat.cpp:287 
Unsupported V4L2 pixel format Y10P
[0:08:23.520719316] [3396] ERROR SimplePipeline simple.cpp:506 No valid 
configuration found

  reply	other threads:[~2022-09-07 16:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-23  7:25 Using CCI_I2C Driver for OV9282 on Qualcomm RB5 Vision Kit halil.karabacak
2022-08-23 13:42 ` Bryan O'Donoghue
     [not found]   ` <1ecd2058040c8e087ab1e0c34d3aac2d@boun.edu.tr>
     [not found]     ` <69bdc9d7b5556575bf38cc6adc100e4a@boun.edu.tr>
2022-08-24 13:34       ` Bryan O'Donoghue
2022-09-07 16:03         ` Bryan O'Donoghue [this message]
     [not found]           ` <166258721180.2677993.14675525254961646895@Monstersaurus>
2022-09-08  0:37             ` Bryan O'Donoghue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a0388d8c-65fc-28e9-be5e-d75d576f5de0@linaro.org \
    --to=bryan.odonoghue@linaro.org \
    --cc=halil.karabacak@boun.edu.tr \
    --cc=linux-arm-msm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox