intel / intel/ipu6-drivers

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

Open
#407 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
251
Forks
75
PR merge metrics
No merged PRs in 30d

Description

(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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.