Camera support progress
#54
(08-11-2020, 11:39 PM)fishbowlkraken Wrote:
(08-11-2020, 01:24 PM)natasha Wrote:
(08-11-2020, 12:34 AM)fernando_c_m Wrote:
(08-10-2020, 02:27 PM)natasha Wrote: Thank you for your reply!
I am sorry to insist, and I know that insisting will not make the camera suddenly work
I just try to understand why it is so difficult when other similar devices already have working cameras .
Any Linux computer can accept a camera and they work at the very highest resolution, autofocus, adjust light, etc
I just checked and pinebook also has a camera. I don't know if works or not, but if does, should be the same? it is also an arm
First of all you need kernel support for your camera device. There are currently some features which are not supported, like autofocus and some resolutions and framerate settings if we talk of the rear camera.

Then you need a user interface to handle the images that the kernel driver generates. Pinhole is at a very basic stage. It has to be developed further.

Cheese has been out there for some time, mostly used for webcams. I would say it is mature enough. It needs to be modified though in order to be able to handle the camera image on the pinephone (at least the last time I tried).

Things are not so easy as they may seem. : )
Thank you for taking the time to explain this.
I cannot make me an idea, because I do not know how Linux (or any OS) communicates with the hardware.

However, I can see that Linux can communicate with hardware and with any webcam.
So, you say we need two things: kernel support and a user interface.

Ok, it sounds we need people working on this. Debian and the other distros have nightly updates, but to be honest I do not see any difference between a release and the next. The camera is never touched.
Is anyone actively working on this? who?


Nightly builds are literally just the code, as it is currently committed, being compiled and pushed out to the server as an image, so there's no guarantee anything related to what you want specifically is going to be in it. There's a lot of people up and down this project working on different elements of the camera, because the driver for it is being built from the ground up. Your webcam interfaces with Linux because either a different community reverse engineered the standard camera protocol being used by it years ago and have been iterating on it for quite some time, or the original manufacturer wrote an entire set of drivers for it that were then pushed out to the Linux kernel and/or whatever distro you're using. The Pinephone, on the other hand, is currently beta hardware, and you're using those drivers in an unfinished state. It's going to take time to figure out how to interface with every element of a piece of hardware that wasn't intended for use with this OS specifically, as it was initially meant to be used with a proprietary, device specific closed source driver with Android, not an open source driver running on what is effectively a heavily modified desktop Linux with a GNU stack.
I understand this, but sometimes it looks like everything is done for the first time. I mean, this is a new phone, with a new? hardware camera. So, if Linux already has done drivers for hundreds of cameras, is it really that difficult to build drivers for a new camera? It can't be that different.

In other fields (for example in biology) you have protocols that you follow. If a new system comes, probably is going to be very similar to the known ones. You just adopt the existing protocol, but you do not develop a new protocol from scratch.

I don't want to look I am complaining or attacking developers. Just my ignorance.
  Reply


Messages In This Thread
Camera support progress - by a-wai - 07-06-2020, 10:06 AM
RE: Camera support progress - by aancel - 07-06-2020, 10:54 AM
RE: Camera support progress - by bingo600 - 07-06-2020, 12:15 PM
RE: Camera support progress - by chris_02 - 07-06-2020, 02:11 PM
RE: Camera support progress - by a-wai - 07-06-2020, 03:03 PM
RE: Camera support progress - by chris_02 - 07-06-2020, 03:36 PM
RE: Camera support progress - by jjs - 07-06-2020, 03:32 PM
RE: Camera support progress - by a-wai - 07-06-2020, 03:50 PM
RE: Camera support progress - by chris_02 - 07-06-2020, 03:58 PM
RE: Camera support progress - by Ersatz - 07-06-2020, 03:51 PM
RE: Camera support progress - by Luke - 07-06-2020, 04:05 PM
RE: Camera support progress - by bendavey - 07-06-2020, 04:59 PM
RE: Camera support progress - by devrtz - 07-07-2020, 03:03 AM
RE: Camera support progress - by arturo2bodegas - 07-06-2020, 08:07 PM
RE: Camera support progress - by cefre00 - 07-07-2020, 01:37 AM
RE: Camera support progress - by e-minguez - 07-07-2020, 03:03 AM
RE: Camera support progress - by Luke - 07-07-2020, 04:13 AM
RE: Camera support progress - by bingo600 - 07-07-2020, 09:13 AM
RE: Camera support progress - by Kamzzy - 07-07-2020, 01:32 PM
RE: Camera support progress - by jwestman - 07-07-2020, 01:35 PM
RE: Camera support progress - by bcnaz - 07-07-2020, 09:27 PM
RE: Camera support progress - by aancel - 07-08-2020, 01:59 PM
RE: Camera support progress - by aancel - 07-08-2020, 02:17 PM
RE: Camera support progress - by a-wai - 07-09-2020, 02:24 AM
RE: Camera support progress - by aancel - 07-09-2020, 03:08 PM
RE: Camera support progress - by a-wai - 07-13-2020, 05:28 AM
RE: Camera support progress - by paju1986 - 07-13-2020, 05:41 AM
RE: Camera support progress - by a-wai - 07-13-2020, 05:56 AM
RE: Camera support progress - by aancel - 07-14-2020, 01:23 AM
RE: Camera support progress - by a-wai - 07-14-2020, 03:03 AM
RE: Camera support progress - by aancel - 07-14-2020, 03:34 AM
RE: Camera support progress - by a-wai - 07-14-2020, 04:03 AM
RE: Camera support progress - by aancel - 07-15-2020, 10:23 AM
RE: Camera support progress - by a-wai - 07-17-2020, 06:56 AM
RE: Camera support progress - by aancel - 07-17-2020, 05:56 PM
RE: Camera support progress - by ivanB1975 - 07-18-2020, 03:50 PM
RE: Camera support progress - by aancel - 07-22-2020, 12:46 PM
RE: Camera support progress - by chris_02 - 07-22-2020, 01:23 PM
RE: Camera support progress - by puffchumpy - 07-18-2020, 08:58 AM
RE: Camera support progress - by arturo2bodegas - 07-22-2020, 06:04 PM
RE: Camera support progress - by a-wai - 07-22-2020, 06:18 PM
RE: Camera support progress - by chris_02 - 07-23-2020, 05:55 AM
RE: Camera support progress - by hiimtye - 08-01-2020, 07:32 PM
RE: Camera support progress - by daniel - 08-10-2020, 10:39 AM
RE: Camera support progress - by fernando_c_m - 08-10-2020, 11:17 AM
RE: Camera support progress - by natasha - 08-10-2020, 12:56 PM
RE: Camera support progress - by fernando_c_m - 08-10-2020, 01:41 PM
RE: Camera support progress - by natasha - 08-10-2020, 02:27 PM
RE: Camera support progress - by fernando_c_m - 08-11-2020, 12:34 AM
RE: Camera support progress - by spaetz - 08-11-2020, 07:28 AM
RE: Camera support progress - by natasha - 08-11-2020, 01:24 PM
RE: Camera support progress - by fishbowlkraken - 08-11-2020, 11:39 PM
RE: Camera support progress - by natasha - 08-12-2020, 12:44 PM
RE: Camera support progress - by a-wai - 08-13-2020, 08:46 AM
RE: Camera support progress - by PainPhone - 08-14-2020, 08:53 AM
RE: Camera support progress - by natasha - 08-14-2020, 09:40 AM
RE: Camera support progress - by PainPhone - 08-10-2020, 01:17 PM
RE: Camera support progress - by Baggypants - 08-12-2020, 12:49 PM
RE: Camera support progress - by daniel - 08-13-2020, 05:42 PM
RE: Camera support progress - by FOSSagent0 - 08-14-2020, 12:07 AM
RE: Camera support progress - by natasha - 08-14-2020, 06:09 AM
RE: Camera support progress - by daniel - 08-14-2020, 08:32 PM
RE: Camera support progress - by fishbowlkraken - 08-15-2020, 03:37 PM
RE: Camera support progress - by root - 08-16-2020, 04:18 PM
RE: Camera support progress - by natasha - 08-17-2020, 12:46 PM
RE: Camera support progress - by bcnaz - 08-16-2020, 04:31 PM
RE: Camera support progress - by chris_02 - 08-16-2020, 05:12 PM
RE: Camera support progress - by fernando_c_m - 08-17-2020, 12:27 AM
RE: Camera support progress - by bcnaz - 08-17-2020, 08:43 AM
RE: Camera support progress - by henkdieter - 08-17-2020, 11:26 AM
RE: Camera support progress - by chris_02 - 08-17-2020, 12:34 PM
RE: Camera support progress - by bcnaz - 08-17-2020, 07:49 PM
RE: Camera support progress - by bcnaz - 08-18-2020, 02:46 PM
RE: Camera support progress - by wi_badger - 08-18-2020, 04:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PSA: Transition in progress - don't update ! a-wai 46 7,457 11-20-2020, 10:37 AM
Last Post: Gribouille
  Progress (and Thank you) Zoomzit 0 189 11-12-2020, 01:14 PM
Last Post: Zoomzit
  Camera app down, megapixels up daniel 4 763 09-22-2020, 07:34 AM
Last Post: bcnaz
  Camera use on Mobian/Brave Heart bcnaz 6 1,409 07-08-2020, 02:37 PM
Last Post: bcnaz
  Camera test on Phosh Luke 6 2,052 05-26-2020, 02:44 AM
Last Post: a-wai

Forum Jump:


Users browsing this thread: 1 Guest(s)