Skip to content

Camera doesn't work on Dell Pro Max 14 Premium MA14250 #33

@jech

Description

@jech

This is a followup to https://gitlab.freedesktop.org/camera/libcamera/-/issues/318 and https://lore.kernel.org/linux-media/871pibinp1.wl-jch@irif.fr/T/.

I'm running kernel 6.18.12+deb14-amd64. Following some advice received by pricate mail, I've built the usbio drivers and the vision drivers:

$ sudo insmod usbio.ko 
$ sudo insmod gpio-usbio.ko 
$ sudo insmod i2c-usbio.ko 
$ sudo insmod intel_cvs.ko

Libcamera now seems to recognise the device, but shows a lot of errors:

[6:28:38.741460223] [31088]  INFO Camera camera_manager.cpp:340 libcamera v0.7.0
[6:28:38.751513090] [31091] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov08x40 21-0036': Unable to get rectangle 2 on pad 0/0: Inappropriate ioctl for device
[6:28:38.751521984] [31091]  WARN CameraSensor camera_sensor_legacy.cpp:402 'ov08x40 21-0036': The PixelArraySize property has been defaulted to 3856x2176
[6:28:38.751524432] [31091] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov08x40 21-0036': Unable to get rectangle 1 on pad 0/0: Inappropriate ioctl for device
[6:28:38.751525852] [31091]  WARN CameraSensor camera_sensor_legacy.cpp:413 'ov08x40 21-0036': The PixelArrayActiveAreas property has been defaulted to (0, 0)/3856x2176
[6:28:38.751529265] [31091] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov08x40 21-0036': Unable to get rectangle 0 on pad 0/0: Inappropriate ioctl for device
[6:28:38.751530448] [31091]  WARN CameraSensor camera_sensor_legacy.cpp:421 'ov08x40 21-0036': Failed to retrieve the sensor crop rectangle
[6:28:38.751531413] [31091]  WARN CameraSensor camera_sensor_legacy.cpp:427 'ov08x40 21-0036': The sensor kernel driver needs to be fixed
[6:28:38.751532329] [31091]  WARN CameraSensor camera_sensor_legacy.cpp:429 'ov08x40 21-0036': See Documentation/sensor_driver_requirements.rst in the libcamera sources for more information
[6:28:38.751658055] [31091]  WARN CameraSensorProperties camera_sensor_properties.cpp:538 No static properties available for 'ov08x40'
[6:28:38.751660329] [31091]  WARN CameraSensorProperties camera_sensor_properties.cpp:540 Please consider updating the camera sensor properties database
[6:28:38.751663318] [31091]  WARN CameraSensor camera_sensor_legacy.cpp:502 'ov08x40 21-0036': No sensor delays found in static properties. Assuming unverified defaults.
[6:28:38.752697596] [31091]  WARN IPAProxy ipa_proxy.cpp:192 Configuration file 'ov08x40.yaml' not found for IPA module 'simple', falling back to '/usr/share/libcamera/ipa/simple/uncalibrated.yaml'
[6:28:38.752702473] [31091] ERROR V4L2 v4l2_subdevice.cpp:1192 'ov08x40 21-0036': Unable to get rectangle 0 on pad 0/0: Inappropriate ioctl for device
[6:28:38.752704940] [31091]  WARN CameraSensor camera_sensor_legacy.cpp:881 'ov08x40 21-0036': The analogue crop rectangle has been defaulted to the active area size
[6:28:38.752712030] [31091]  WARN IPASoft soft_simple.cpp:104 IPASoft: Failed to create camera sensor helper for ov08x40
[6:28:38.752805290] [31091]  INFO Camera camera_manager.cpp:223 Adding camera '\_SB_.PC00.LNK1' for pipeline handler simple
Available cameras:
1: Internal front camera (\_SB_.PC00.LNK1)

The kernel log complains:

[50377.430456] usbcore: registered new interface driver usbio-bridge
[50377.431085] int3472-discrete INT3472:0c: cannot find GPIO chip INTC10B2:00, deferring
[50384.654616] int3472-discrete INT3472:0c: GPIO type 0x02 unknown; the sensor may not work
[50390.331549] ov08x40 i2c-OVTI08F4:00: supply dovdd not found, using dummy regulator
[50390.331578] ov08x40 i2c-OVTI08F4:00: supply avdd not found, using dummy regulator
[50390.331594] ov08x40 i2c-OVTI08F4:00: supply dvdd not found, using dummy regulator
[50426.752729] Intel CVS driver i2c-INTC10E0:00: cvs_common_probe: probed as i2c device
[50426.870990] Intel CVS driver i2c-INTC10E0:00: find_oem_prod_id: ACPI method OPID not found
[50426.879447] Intel CVS driver i2c-INTC10E0:00: magic number in dev response not supported
[50426.879449] Intel CVS driver i2c-INTC10E0:00: cvs_find_magic_num_support:Device protocol is 1.0
[50427.114737] Intel CVS driver i2c-INTC10E0:00: cvs_common_probe:Transfer of ownership success

Qcam displays a broken camera icon, and gives the following errors:

[6:29:33.389894804] [31166]  INFO eGL egl.cpp:349 EGL: GL_VERSION: OpenGL ES 3.2 NVIDIA 590.48.01
[6:29:36.386307462] [31166] ERROR eGL egl.cpp:165 glFrameBufferTexture2D error 36054
[6:29:36.392859771] [31166] ERROR eGL debayer_egl.cpp:527 Drawing scene fail 1282
[6:29:36.392870740] [31166] ERROR Debayer debayer_egl.cpp:557 debayerGPU failed
[6:29:36.407418566] [31166] ERROR eGL egl.cpp:165 glFrameBufferTexture2D error 36054
[6:29:36.412784085] [31166] ERROR eGL debayer_egl.cpp:527 Drawing scene fail 1282
[6:29:36.412792205] [31166] ERROR Debayer debayer_egl.cpp:557 debayerGPU failed
[6:29:36.438141348] [31166] ERROR eGL egl.cpp:165 glFrameBufferTexture2D error 36054
[6:29:36.440460487] [31166] ERROR eGL debayer_egl.cpp:527 Drawing scene fail 1282
[6:29:36.440470159] [31166] ERROR Debayer debayer_egl.cpp:557 debayerGPU failed
[6:29:36.472382058] [31166] ERROR eGL egl.cpp:165 glFrameBufferTexture2D error 36054
[6:29:36.474777766] [31166] ERROR eGL debayer_egl.cpp:527 Drawing scene fail 1282
[6:29:36.474787167] [31166] ERROR Debayer debayer_egl.cpp:557 debayerGPU failed
[6:29:56.466127553] [31164] FATAL default pipeline_handler.cpp:398 assertion "data->queuedRequests_.empty()" failed in stop()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions