Can't find pinephone pro camera in terminal
#1
Hello everyone,
I recently got my pinephone pro and have had fun trying the different os's available and I've setteled with latest modian posh, I found that in every os that everything is working but the camera isn't working. I checked the dip switches and even turned it on and off, then I started to look in terminal using the sudo lshw command and I can see everything else but the camera or their title OV5640. Am I doing something wrong or do I have hardware issue, I have been looking through the forum but can't find anyone with the same issue.
Any suggestion would be greate
  Reply
#2
There are no drivers yet for either camera. Your experience is exactly what is to be expected.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.18 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition daily driver, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/Phosh on eMMC
  Reply
#3
(03-31-2022, 01:46 AM)dukla2000 Wrote: There are no drivers yet for either camera. Your experience is exactly what is to be expected.

That make a lot of sense, my skills at coding go as far as "hello world" on a html page, I have people who may be able to help me create one and I was wondering what information I should gather and take to them to get the ball rolling on creating a driver.
  Reply
#4
(03-31-2022, 08:56 PM)TheRealThor Wrote: ...
I have people who may be able to help me create one and I was wondering what information I should gather and take to them to get the ball rolling on creating a driver.

The basic part numbers of the cameras are in the wiki.

The developers (so far) hang out on the various IRC channels  (there are Matrix/Telegram etc bridges) where real techy questions can be answered. There is also an unlisted developer specific channel (if your folk make suitable noises on the general Pinephone channel highly likely they will get an invite). Folks there can more accurately explain what does and does not exist so far.

{ I happen to have stumbled across it and do stalk there, mainly as I am in absolute awe of the folks doing the heavy lifting! I coded Fortran around 1975 and project managed software development in another life: I find today's open source tools & co-operations completely mind blowing - and have no real way of thanking the various PinePhone (and Linux and Phosh and ...) developers enough! }
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.18 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition daily driver, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/Phosh on eMMC
  Reply
#5
(04-01-2022, 04:09 AM)dukla2000 Wrote:
(03-31-2022, 08:56 PM)TheRealThor Wrote: ...
I have people who may be able to help me create one and I was wondering what information I should gather and take to them to get the ball rolling on creating a driver.

The basic part numbers of the cameras are in the wiki.

The developers (so far) hang out on the various IRC channels  (there are Matrix/Telegram etc bridges) where real techy questions can be answered. There is also an unlisted developer specific channel (if your folk make suitable noises on the general Pinephone channel highly likely they will get an invite). Folks there can more accurately explain what does and does not exist so far.

{ I happen to have stumbled across it and do stalk there, mainly as I am in absolute awe of the folks doing the heavy lifting! I coded Fortran around 1975 and project managed software development in another life: I find today's open source tools & co-operations completely mind blowing - and have no real way of thanking the various PinePhone (and Linux and Phosh and ...) developers enough! }
Fingers crossed I can get something created
  Reply
#6
(04-01-2022, 11:16 PM)TheRealThor Wrote:
(04-01-2022, 04:09 AM)dukla2000 Wrote:
(03-31-2022, 08:56 PM)TheRealThor Wrote: ...
I have people who may be able to help me create one and I was wondering what information I should gather and take to them to get the ball rolling on creating a driver.
Fingers crossed I can get something created

Any luck on the camera drivers?
  Reply
#7
dukla2000 how have you been,
So sorry it took me forever to get back to you. I found Linux drivers that have been written for the two cameras and I wasn't able to get the help with putting the drivers into the kernel, I did have a look at doing it myself but I don't have the time to learn the skills needed. Below are some links to the drivers, who where guys that do this sort of thing that you told me about on discord.

IMX258: Sony IMX258 sensor
https://cateee.net/lkddb/web-lkddb/VIDEO_IMX258.html
https://community.nxp.com/t5/i-MX-Proces...light/true
https://elixir.bootlin.com/linux/v5.18-r...c/imx258.c

Omnivision ov8858 sensor
https://cateee.net/lkddb/web-lkddb/VIDEO_OV8858.html
https://elixir.bootlin.com/linux/v4.15-r...c/ov8858.c
https://github.com/54shady/qop_kernel/bl...c/ov8858.c
  Reply
#8
Thanks for those links, I will try pass them on.

In fact in the last 10 days or so there have been giant leaps in getting the PPP cameras into action, see Megi's blogs here.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.18 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition daily driver, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/Phosh on eMMC
  Reply
#9
This are amazing news.

Anyone installed the new kernel and tested the cam app?

I tried with downloading the newest kernel 5.18 from manjaro with pacman, then the camera app from megi .
When trying to take a picture with:


Quote:./ppp-cam-202205291504-0.1 --gui --output /home/magdesign/Pictures/ --format jpg



It fails with:
Quote:ERROR: Failed to open entity imx258 1-001a: /dev/char/0:0


Is the camera not supported with kernel 5.18 installed via pacman, do I need to install the 5.18 kernel directly from megi.

Edit:
*****
Downloaded 5.18 kernel from megi, manually copied files to /boot and /lib, but I guess this is not how to install a kernel...
  Reply
#10
(06-01-2022, 10:42 AM)magdesign Wrote: This are amazing news.

Anyone installed the new kernel and tested the cam app?

I tried with downloading the newest kernel 5.18 from manjaro with pacman, then the camera app from megi .
When trying to take a picture with:


Quote:./ppp-cam-202205291504-0.1 --gui --output /home/magdesign/Pictures/ --format jpg



It fails with:
Quote:ERROR: Failed to open entity imx258 1-001a: /dev/char/0:0


Is the camera not supported with kernel 5.18 installed via pacman, do I need to install the 5.18 kernel directly from megi.

Edit:
*****
Downloaded 5.18 kernel from megi, manually copied files to /boot and /lib, but I guess this is not how to install a kernel...

magdesign how are you,
How have you been going with the camera, I only just had the chance to git clone the software it and now I need to update the kernel and am quires to hear your thoughts
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Pinephone pro doesn't boot up anymore giacomo986 2 87 08-10-2022, 08:25 AM
Last Post: giacomo986
  PinePhone Pro Motherboard with sim card holder tckosvic 0 98 07-24-2022, 11:01 AM
Last Post: tckosvic
  Pinephone Pro LCD and Touchscreen Hobgoblin 4 479 05-22-2022, 11:16 AM
Last Post: Hobgoblin
  Pinephone Pro won't boot adosz 4 646 04-23-2022, 02:39 AM
Last Post: fxc
  Getting Started with the PinePhone Pro fxc 0 839 04-10-2022, 07:21 AM
Last Post: fxc
  Pinephone pro seems to have died overnight.... projectcato 5 1,846 02-17-2022, 11:20 PM
Last Post: projectcato
  RK3399S in pinephone pro kubussz 0 572 01-24-2022, 04:39 AM
Last Post: kubussz

Forum Jump:


Users browsing this thread: 1 Guest(s)