Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashlight not working in xperia x (f5121) #38

Open
Giggeli opened this issue Jan 26, 2018 · 1 comment
Open

Flashlight not working in xperia x (f5121) #38

Giggeli opened this issue Jan 26, 2018 · 1 comment

Comments

@Giggeli
Copy link

Giggeli commented Jan 26, 2018

In xperia x flashlight button doesn't do anything, no impact is room bright or dark. Device restarting not helps.

Would you like receive some logs?

@xopr
Copy link

xopr commented Jun 8, 2018

:edit:
I didn't see that active development moved to https://github.com/monich/sailfish-barcode which doesn't seem to have camera flash at all

If I look at the code, it only tries to enable the Jolla flash device entry:

io.open("/sys/kernel/debug/flash_adp1650/mode");

The original flashlight app tries several entries:
https://github.com/smortex/harbour-torch/blob/c94601a4a4f7be60eab0cc9faf7d8a3f2779b19b/src/flashlight.cpp#L19

So with a small patch, this could be fixed for all phones

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

No branches or pull requests

2 participants