PinePhone Pro/IMX258 Camera Debugging problem
#1
I followed the command provided by the website[https://wiki.pine64.org/wiki/PinePhone_P..._Debugging] and ran.

Code:
"media-ctl" "-d" "platform:rkisp1" "-l" "'imx258 1-001a':0 -> 'rkisp1_isp':0 [1]"

return


Quote:Opening media device /dev/media0
Enumerating entities
looking up device: 81:8
looking up device: 81:9
looking up device: 81:10
looking up device: 81:2
looking up device: 81:3
looking up device: 81:6
looking up device: 81:7
looking up device: 81:11
looking up device: 81:12
Found 9 entities
Enumerating pads and links
no such entity "imx258 1-001a"
media_parse_setup_link: Unable to parse link

'imx258 1-001a':0 -> 'rkisp1_isp':0 [1]
  ^
Unable to parse link: Invalid argument (22)


run this command.
Code:
"v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "--stream-mmap" "--stream-count" "1" "--verbose"


return


Quote:VIDIOC_QUERYCAP: ok

VIDIOC_REQBUFS returned 0 (Success)

VIDIOC_QUERYBUF returned 0 (Success)

VIDIOC_QUERYBUF returned 0 (Success)

VIDIOC_QUERYBUF returned 0 (Success)

VIDIOC_QUERYBUF returned 0 (Success)

VIDIOC_G_FMT returned 0 (Success)

VIDIOC_QBUF returned 0 (Success)

VIDIOC_QBUF returned 0 (Success)

VIDIOC_QBUF returned 0 (Success)

VIDIOC_QBUF returned 0 (Success)
VIDIOC_STREAMON returned -1 (Broken pipe)

My camera function is not working properly. 

system: Arch linux arm
Kernel:Linux 6.7.7-1-danctnix
  Reply
#2
The first error ("Unable to parse link") can happen on newer kernels because they introduce a new rkisp1_csi node in between the imx258 and ikisp1_isp (and so requesting a direct link no longer works).

The second error ("VIDIOC_STREAMON returned -1") is a symptom of the first: since the topology hasn't been configured properly, trying to start streaming over it won't work either.

I've updated the Wiki page you cite to give example commands that work for me on a 6.9 kernel.  Please see the page again, and hopefully the new version will help.

(Unfortunately, the rkisp1 driver seems to change frequently, so the example commands are rather fragile.  In general, deducing the correct commands for your particular driver version might require some interpretation of the "media-ctl -p" output.)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Having difficulty installing PostmarketOS on Pinephone Convergence Beta edition spazz 12 509 10-14-2024, 04:25 PM
Last Post: Kevin Kofler
  PinePhone doesn't boot anymore lapin 3 389 09-13-2024, 10:09 AM
Last Post: lapin
  New PinePhone Pro fails... P. Siera 5 943 08-01-2024, 04:56 AM
Last Post: P. Siera
  A way to view or log the splash screen on Pinephone Pro running ArchLinux (Danctnix) PHLEMON 4 784 07-30-2024, 11:03 PM
Last Post: PHLEMON
  PinePhone Pro silver lining, it’s fast, real damn fast ashoka232 2 1,616 07-30-2024, 05:58 AM
Last Post: DrYak
  Camera stops working after resume from suspend jchw 3 1,377 07-30-2024, 05:52 AM
Last Post: DrYak
  Is my PinePhone Pro dead? jlioret 2 1,968 07-28-2024, 04:12 PM
Last Post: dchang0
  Pinephone Pro does not start with RE button pressed c0ssan 11 7,521 07-28-2024, 03:21 PM
Last Post: dchang0
  Will a Pinephone Pro (Explorer) work with TING wpeckham 8 4,219 07-28-2024, 03:04 PM
Last Post: dchang0
  Pinephone Pro: Determined To Make It (Drive-able) USeeks 3 795 07-20-2024, 10:11 AM
Last Post: mikehenson

Forum Jump:


Users browsing this thread: 2 Guest(s)