Camera stops working after resume from suspend
#1
Hey all. I have a PPP and I am running Mobian Trixie + Phosh. I have GNOME Snapshot installed via Flatpak, and I have PipeWire set up as the system audio daemon.

GNOME Snapshot works quite well right after booting, but after suspending the output in snapshot is blank.

Now, I want to debug this, but I haven't found any leads. I am more than happy to get my hands dirty. I tried searching for this issue on Google a few times, but either Google fails me, or it seems there is not much written about this issue. I can see that PPP camera goes through Pipewire and libcamera, but I don't see any obvious issues from the Pipewire PoV and restarting the Pipewire daemon does not help.

Anyone know what I can do here? Again, happy to get my hands dirty, but I am having a bit of difficulty finding threads to pull on.
  Reply
#2
I don't know if this will help you, but many PPP owners running Mobian have had wake from suspend problems, including myself.
I ran into it right away after installing Mobian for the first time a few days ago.

And I happened to solve it (as far as I can tell) by upgrading the Quectel modem's firmware to the latest stock version following the official instructions.
My camera does appear to wake from suspend in Mobian, though I have only been running the new modem firmware for a day now. It might be too soon to call it working.

Anyway, check your Quectel modem firmware version and maybe think about upgrading it if needed. It's not a risk-free process, so be cautious.
  Reply
#3
Okay, I just ran into this issue, but only on the back (main) camera. The front camera facing the user does wake from suspend.

To repeat, I am running the latest Mobian with all updates as of today plus the latest stock modem firmware.

Quitting and restarting the Camera app does not wake up the suspended back camera. Logging out and logging back in does not wake up the suspended back camera. Rebooting the phone does (unsurprisingly) wake both cameras.
  Reply
#4
(07-28-2024, 04:52 PM)dchang0 Wrote: Okay, I just ran into this issue, but only on the back (main) camera. The front camera facing the user does wake from suspend.
Had the exact same problem on SailfishOS (I haven't checked recently if it stil happens with latest updates).

Main camera is talking over MIPI CSI to the image processing core (ISP) of the RockChip RK3399.

So last time I used to reset RKISP1 and it brought back the camera:

Code:
echo ff920000.isp1 | tee /sys/bus/platform/drivers/rkisp1/{unbind,bind}
(As root. So either log as root or put "sudo" in front of "tee")

Maybe this helps? (I am not sure. Worked for me, but not for users of different distro. Maybe try restarting Pipewire, after having resert RKISP1 ?)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone Pro/IMX258 Camera Debugging problem jasperji 2 781 10-20-2024, 03:59 AM
Last Post: Jite
  2024 Sep 21 - PinePhonePro Calls Working mikehenson 8 3,645 09-25-2024, 04:16 AM
Last Post: biketool
  How to (try to) suspend and how to tell if it was suspended? Greendrake 7 3,698 07-11-2024, 04:31 PM
Last Post: Alho
  PinePhone Pro: Camera App very laggy Martin87 1 1,529 08-23-2023, 10:42 AM
Last Post: andybleaden@gmail.com
Thumbs Up PinePhone Pro working adamfowleruk 2 2,793 02-16-2023, 06:47 AM
Last Post: Piotr
  Broke Screen and fix it - Up Swipe not working. iwm 2 1,828 02-12-2023, 03:44 PM
Last Post: iwm
  SMS Receive suddenly stopped working grinzie 6 4,300 10-01-2022, 12:44 PM
Last Post: grinzie
  Internet is not working on Pine Pro phone caroljames972022 0 1,094 09-16-2022, 06:25 AM
Last Post: caroljames972022
  PinePhone Pro working on Lapdock using Arch Plasma hockleyj 5 3,847 05-27-2022, 05:18 PM
Last Post: hockleyj
  Can this stop my sim from working? For_lack_of_a_better_name 1 1,396 04-12-2022, 02:00 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)