Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Camera flash not working on OnePlus One #534

Closed
UKPhil opened this issue Mar 19, 2018 · 19 comments
Closed

Camera flash not working on OnePlus One #534

UKPhil opened this issue Mar 19, 2018 · 19 comments

Comments

@UKPhil
Copy link

UKPhil commented Mar 19, 2018

When taking a photo with the Ubuntu Camera app with a OnePlus One, the flash is not working.

Turning the flash on, off and to auto doea yon make any difference, there is just no flash

OnePlus One
OS Build rc22

@tsimonq2 tsimonq2 changed the title Vamera flash yon working on OnePlus One Camera flash not working on OnePlus One Mar 19, 2018
@lfortanet
Copy link

Confirmed, doesn't work on any option.
With 16.04 either.

@Flohack74
Copy link
Member

Yes confirmed, on 15.04 also.

@UKPhil
Copy link
Author

UKPhil commented Mar 19, 2018

Thay is good that it has been confirmed and that iy is noy just my device.

@Berlinuxer
Copy link

Hi, same with my OPO on 15.04. And Tagger shows the same behavior, no light although switched on via the icon on the taggers right bottom corner. There is an entry in the Launchers accu-menu, which will work correct.

@ghost
Copy link

ghost commented Mar 27, 2018

That maybe a pernissions issue.

@Berlinuxer
Copy link

maybe, my systemsettings shows '0' apps at camera. But i can take photos and movies. So, how to solve this issue?

@Flohack74
Copy link
Member

@rubencarneiro thinks that this is a permission issue on the low-level layer (Android container), it has nothing to do with the settings you can make to allow or revoke camera access. Some of our Android guys need to take a look at this. Because every phone has lots of different device permissions in udev, we cannot compare with a working one, unfortunately.

@ghost
Copy link

ghost commented Mar 30, 2018

@Flohack74 have you tooka look at permission in the init.rc?
on post-fs-data
# Torch
chown system camera /sys/class/leds/torch-light/brightness
chmod 0660 /sys/class/leds/torch-light/brightness

try change it to 0666
system system

@Flohack74
Copy link
Member

Ok will try. just a sec

@Flohack74
Copy link
Member

There is no group camera but it is android_input, I changed it to system.system with perms 0666 but nothing changed...

Where do I find the init.rc on the device?

@ghost
Copy link

ghost commented Apr 3, 2018

I think I already made that pull request once, but no one merged, or closed the merge request

@ghost
Copy link

ghost commented Apr 3, 2018

Init.bacon.RC and it is 0660 system camera

@ghost
Copy link

ghost commented Apr 3, 2018

@Flohack74
Copy link
Member

Big sorry @rubencarneiro that we forgot about this one. Just merged it. However, we need to bring it tothe 16.04 builds also. And maybe I can convince our guys to make a maintenance devel release now, we got a lot of stuff pending for testing in 15.04

@Flohack74
Copy link
Member

Duplicate of #258 btw... Please try to find existing bugs before opening new ones.

@Berlinuxer
Copy link

Don't know if this is the right place for a discussion like this. But, if it's only a wrong entry in a refile, is it not possible that the user correct the wrong line?

@UKPhil
Copy link
Author

UKPhil commented Apr 5, 2018

I personally don't think it is the right place to discuss it. Also I do not think that it is right to ask the end user to make such changes to make basic phone functionality work. This should be something that works out of the box.

@Flohack74
Copy link
Member

Its more complex, as Ruben and I tried yesterday and it´s not only a permission problem, sad but true. It needs more work probably...

@UniversalSuperBox
Copy link
Member

Sorry for the delay, but closing as this is a duplicate of #258

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants