Printable Version of Topic

Click here to view this topic in its original format

OESF Portables Forum _ Gemini PDA - Linux OS _ camera on linux ?

Posted by: cam1965 Jun 3 2019, 08:10 AM

I saw in this post that camera is working . ( Psionlover comments )

https://www.oesf.org/forum/index.php?showtopic=35750

But mine doesn't work.

Any ideas ?
Thank you all.


Posted by: mithrandir Jun 3 2019, 11:53 AM

QUOTE(cam1965 @ Jun 3 2019, 08:10 AM) *
I saw in this post that camera is working . ( Psionlover comments )

https://www.oesf.org/forum/index.php?showtopic=35750

But mine doesn't work.

Any ideas ?
Thank you all.

The camera works using camera-app.
sudo apt install camera app

Afaik this is the only way of using the camera. Hoping to be wrong, but there is no video device that could be used by standard Linux applications.

Posted by: cam1965 Jun 3 2019, 12:07 PM

QUOTE(mithrandir @ Jun 3 2019, 11:53 AM) *
QUOTE(cam1965 @ Jun 3 2019, 08:10 AM) *
I saw in this post that camera is working . ( Psionlover comments )

https://www.oesf.org/forum/index.php?showtopic=35750

But mine doesn't work.

Any ideas ?
Thank you all.

The camera works using camera-app.
sudo apt install camera app

Afaik this is the only way of using the camera. Hoping to be wrong, but there is no video device that could be used by standard Linux applications.


Mine doesn't work . When I arrive at home I will post the results.
Thank you

Posted by: cam1965 Jun 3 2019, 02:47 PM

QUOTE(cam1965 @ Jun 3 2019, 12:07 PM) *
QUOTE(mithrandir @ Jun 3 2019, 11:53 AM) *

The camera works using camera-app.
sudo apt install camera app

Afaik this is the only way of using the camera. Hoping to be wrong, but there is no video device that could be used by standard Linux applications.


Mine doesn't work . When I arrive at home I will post the results.
Camera_app already installed with firmware image.
If someone has the latest firmware, please , post results here.
Thank you

follow the error ( print screen )
translating from my language ( portuguese )

It is not possible to access the camera
The app camera does not have permission to access camera hardware or another error occurred.
If conceding permission does not solve the problem, restart the phone.
If I click on edit permissions , it opens google chrome.
If I click cancel a blank screen appears.. ( Camera opened with blank screen ).

Thank you all.

 

Posted by: cam1965 Jun 3 2019, 03:10 PM

Also tested as root without success

Posted by: cam1965 Jun 4 2019, 04:38 AM

QUOTE(cam1965 @ Jun 3 2019, 03:10 PM) *
Also tested as root without success


sometimes camera-app only flashes on the screen and didn' t starts correctly.

Posted by: cam1965 Jun 7 2019, 04:53 AM

QUOTE(cam1965 @ Jun 4 2019, 04:38 AM) *
QUOTE(cam1965 @ Jun 3 2019, 03:10 PM) *
Also tested as root without success


sometimes camera-app only flashes on the screen and didn' t starts correctly.


Compiled from github.

Same problems.

Posted by: cam1965 Jun 12 2019, 07:38 AM

QUOTE(cam1965 @ Jun 7 2019, 04:53 AM) *
QUOTE(cam1965 @ Jun 4 2019, 04:38 AM) *
QUOTE(cam1965 @ Jun 3 2019, 03:10 PM) *
Also tested as root without success


sometimes camera-app only flashes on the screen and didn' t starts correctly.


Compiled from github.

Same problems.


Installed android 7 and debian ( Gemini Partition Tool - Android 7.1/Linux ) from planet. This Debian version is different from the debian version I had in the past ( Gemini Partition Tool - Android 8.1/Linux ) . Same problems as mentioned .
I've noticed that in both debian versions, I have to run /system/bin/cameraserver . If no cameraserver is running the camera-app only flashes as mentioned before. But the problem mentioned before ( see the photo attached ) persists.

Posted by: mibry Jun 12 2019, 11:55 AM

I had the same problem, I reflashed my gemini with the 7.1 android rom and the latest debian and the camera app works. (Just for info)

Posted by: cam1965 Jun 12 2019, 12:12 PM

QUOTE(mibry @ Jun 12 2019, 11:55 AM) *
I had the same problem, I reflashed my gemini with the 7.1 android rom and the latest debian and the camera app works. (Just for info)


Thank you for the information.
Mine doesn't work even with the latest android 7 and debian ( Gemini Partition Tool - Android 7.1/Linux ). Mine has boot 1 for rooted android and boot 2 for debian . Maybe the problem is that I have a rooted android. I think maybe debian have to access some partition from android . But I am not sure about this. Who is the developer of camera-app ? Maybe he can help to solve this problem. Thank you.

Posted by: mibry Jun 12 2019, 10:20 PM

QUOTE(cam1965 @ Jun 12 2019, 09:12 PM) *
Thank you for the information.
Mine doesn't work even with the latest android 7 and debian ( Gemini Partition Tool - Android 7.1/Linux ). Mine has boot 1 for rooted android and boot 2 for debian . Maybe the problem is that I have a rooted android. I think maybe debian have to access some partition from android . But I am not sure about this. Who is the developer of camera-app ? Maybe he can help to solve this problem. Thank you.


That is my setup.

Posted by: cam1965 Jun 13 2019, 02:56 AM

QUOTE(mibry @ Jun 12 2019, 10:20 PM) *
That is my setup.


Thank you. Reflashed again, but same error. Now boot 1 android , boot 2 debian , boot 3 root android.

Posted by: Varti Jun 13 2019, 03:19 AM

@cam1965
@mibry

I have now edited your posts to remove most of the quoted text. Please try to keep the level of the quoted text limited to the minimum necessary.

Varti

Posted by: cam1965 Jun 13 2019, 09:28 AM

QUOTE(mibry @ Jun 12 2019, 10:20 PM) *
QUOTE(cam1965 @ Jun 12 2019, 09:12 PM) *
Thank you for the information.
Mine doesn't work even with the latest android 7 and debian ( Gemini Partition Tool - Android 7.1/Linux ). Mine has boot 1 for rooted android and boot 2 for debian . Maybe the problem is that I have a rooted android. I think maybe debian have to access some partition from android . But I am not sure about this. Who is the developer of camera-app ? Maybe he can help to solve this problem. Thank you.


That is my setup.


My gemini is x27. What is yours ? Maybe the camera works only on old gemini ( x25 ) or you are using another debian image. I am using this debian image :

https://support.planetcom.co.uk/download/LinuxFirmware7/debian.zip

And this android image :

https://support.planetcom.co.uk/download/LinuxFirmware7/gemini_x27_base.zip


Thank you.

Posted by: mibry Jun 13 2019, 10:51 AM

QUOTE
Thank you.


I have an x27 from the second batch. Not sure. Might be an Adam question.


Posted by: cam1965 Jun 13 2019, 10:53 AM

QUOTE(mibry @ Jun 13 2019, 10:51 AM) *
QUOTE
Thank you.


I have an x27 from the second batch. Not sure. Might be an Adam question.


Ok.
Thank you

Posted by: cam1965 Jun 14 2019, 02:57 AM

QUOTE(mibry @ Jun 13 2019, 10:51 AM) *
QUOTE
Thank you.


I have an x27 from the second batch. Not sure. Might be an Adam question.


Adam answered me :

I've installed A7+TP2. Adam told me to install gemian-dektop-minimal and said he only has the internal camera and if I have the external one that could cause problems. I removed the external camera and it worked . So the problem is the external camera. I will try to disable it in linux . But I don't know how. Any ideas ?
Thank you Adam.
Thank you all.


Posted by: Jess R Jun 21 2019, 03:25 AM

If it helps any, the "edit permissions" is trying to open settings:///system/security-privacy in chromium.. however that doesnt do anything useful for me.. wonder what its supposed to do..

Posted by: Eric BF Jun 21 2019, 06:00 AM

I've been trying to get my camera working. Installing the camera-app was not sufficient. I had to further install qml-module-qt-labs-settings, which is fine but should probably be included in the camera-app dependencies.

I also had to install gnome-shell-extension-mediaplayer which brought in 170 other packages (gnome related). Very annoying as I like keeping my system as lean as possible. More worryingly, it installed NetworkManager which now seems to be fighting with connman for the WiFi and I keep losing the connection. Sorting this out is in progress.

However, to cut a long story short, the camera app still doesn't work although at least now it starts. It complains about permissions. This thread implies that I need to reflash my Android. Is this true? I have only ever booted into Android once and don't want to really muck about with it as I don't use it at all...

Thanks.

Posted by: cam1965 Jun 21 2019, 11:17 AM

QUOTE(Eric BF @ Jun 21 2019, 06:00 AM) *
I've been trying to get my camera working. Installing the camera-app was not sufficient. I had to further install qml-module-qt-labs-settings, which is fine but should probably be included in the camera-app dependencies.

I also had to install gnome-shell-extension-mediaplayer which brought in 170 other packages (gnome related). Very annoying as I like keeping my system as lean as possible. More worryingly, it installed NetworkManager which now seems to be fighting with connman for the WiFi and I keep losing the connection. Sorting this out is in progress.

However, to cut a long story short, the camera app still doesn't work although at least now it starts. It complains about permissions. This thread implies that I need to reflash my Android. Is this true? I have only ever booted into Android once and don't want to really muck about with it as I don't use it at all...

Thanks.


Mine when I've installed a fresh A7+ debianTP2 didn't work unless as mentioned above ( removed the external camera and installed gemian-minimal-desktop ).
But I have to mention that when I've only booted in debian without booting in android , I had this problem about permissions ( as mentioned before , please see my previous attached photos ).
After booting in android and later in debian the camera worked. Maybe someone here that has only debian can confirm if android is really necessary. As mentioned by Mibry ( He had the same problem and reflashed his gemini with the 7.1 android rom and the latest debian and the camera app worked. ).

Posted by: Eric BF Jun 24 2019, 02:25 AM

QUOTE(cam1965 @ Jun 21 2019, 08:17 PM) *
But I have to mention that when I've only booted in debian without booting in android , I had this problem about permissions ( as mentioned before , please see my previous attached photos ).

Thank you.

Okay, so I guess I really should boot up in Android again (just the once). As I've removed all the camera app related packages, I'll to re-install them first...

Posted by: psionlover Jul 16 2019, 09:59 AM

QUOTE(mibry @ Jun 12 2019, 08:55 PM) *
I had the same problem, I reflashed my gemini with the 7.1 android rom and the latest debian and the camera app works. (Just for info)

same here. also did a reflash with latest gemian. camera works out of the box.

Posted by: Adam Boardman Sep 3 2019, 08:45 AM

There was a null pointer exception with the external camera, also the external camera has a different orientation I've just pushed up a new system.img, camera-app and cameraplugin, once you've pulled them down and rebooted you should be able to get the camera working to a better degree. I still find that I occasionally get that permissions dialog but generally after a fresh reboot it goes away. I also never finished working out the video side of things, so that will still break things, generally after you've tried that you'll need to reboot too.

Posted by: cam1965 Sep 9 2019, 05:07 PM

QUOTE(Adam Boardman @ Sep 3 2019, 08:45 AM) *
There was a null pointer exception with the external camera, also the external camera has a different orientation I've just pushed up a new system.img, camera-app and cameraplugin, once you've pulled them down and rebooted you should be able to get the camera working to a better degree. I still find that I occasionally get that permissions dialog but generally after a fresh reboot it goes away. I also never finished working out the video side of things, so that will still break things, generally after you've tried that you'll need to reboot too.


Works great.
Thank you so much !

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)