Skip to content

IPU6 Camera doesn't work after a resume from hibernation (but does after a suspend) #407

@kennysgithub

Description

@kennysgithub

(This seems to actually be an LJCA/GPIO issue; if I should move this elsewhere please let me know).

After coming out of hibernation (i.e., full power to my XPS-9320 was cut) my camera won't work:

[Tue Dec 23 10:15:43 2025] [  T14799] vsc-tp spi-INTC1094:00: wakeup firmware failed ret: -110
[Tue Dec 23 10:15:43 2025] [  T14799] gpio_ljca usb_ljca.ljca-gpio.0: set value failed offset: 1 val: 1 ret: -19
[Tue Dec 23 10:15:43 2025] [  T14799] gpio_ljca usb_ljca.ljca-gpio.0: set value failed offset: 0 val: 0 ret: -19
[Tue Dec 23 10:15:43 2025] [  T14799] gpio_ljca usb_ljca.ljca-gpio.0: set value failed offset: 0 val: 1 ret: -19
[Tue Dec 23 10:15:43 2025] [  T14799] gpio_ljca usb_ljca.ljca-gpio.0: set value failed offset: 1 val: 1 ret: -19
...
[Tue Dec 23 10:15:43 2025] [  T14788] ov01a10 i2c-OVTI01A0:00: error -EIO: failed to find sensor
[Tue Dec 23 10:15:43 2025] [  T14788] ov01a10 i2c-OVTI01A0:00: probe with driver ov01a10 failed with error -5

I'm not at all familiar with all the plumbing used to get the IPU cameras to work, but I believe the LJCA USB adaptor is used as a GPIO expander to control the camera. It looks to me that perhaps the .resume hook has to take into account resumption from power loss.

This happens with both my kernel (Linus' master as of today, 6.19-rc2) and the latest Kubuntu stock kernel (6.17.0-8-generic).

LMK if you need further information. I have dmesg from both kernels' boots if it helps.

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