Flashlight application - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Flashlight application (/showthread.php?tid=10498) |
Flashlight application - a-wai - 06-30-2020 Hi there! I know we don't have a working camera yet, but there's no reason we shouldn't be able to use the flash LED, right? So I've hacked a small app to do just that: turn the flashlight on and off. You can install it with: Code: sudo apt install flashlight Source code is there (yes, it's a hack, like I just said) Note: you need an up-to-date kernel, so please make sure you have installed the latest upgrades first RE: Flashlight application - patrickjquinn - 06-30-2020 Love this! I'm currently running bleeding edge (i.e the nightly from yesterday+ the latest kernel.) and this doesn't seem to work. But still very cool RE: Flashlight application - chris_02 - 06-30-2020 (06-30-2020, 02:42 AM)a-wai Wrote: Hi there! hi a-wai I just installed it and it works. RE: Flashlight application - bingo600 - 06-30-2020 (06-30-2020, 05:12 AM)chris_02 Wrote:(06-30-2020, 02:42 AM)a-wai Wrote: Hi there! Just installed it too , works One of the nicest features on my Moto G6 , is the ability to turn on/off the flashlight by "shaking" the phone from side to side. That would be so cool , if the PP could do the same. Thank you for all your hard work to all dev's. /Bingo RE: Flashlight application - patrickjquinn - 06-30-2020 upgraded to the latest nightly u-boot packages and it has fixed it for me, now works perfectly RE: Flashlight application - JustineSmithies - 06-30-2020 Just installed and it does as it says thanks ;-) RE: Flashlight application - 0x070 - 06-30-2020 Works great, thanks! RE: Flashlight application - DarkManiels - 06-30-2020 Thanks a-wai - that's great! It's a small thing, but something I use fairly frequently on my Android phone, so I appreciate you adding it to Mobian. RE: Flashlight application - antiX-Dave - 07-01-2020 (06-30-2020, 05:06 AM)patrickjquinn Wrote: Love this! I'm currently running bleeding edge (i.e the nightly from yesterday+ the latest kernel.) and this doesn't seem to work. But still very cool I had the same problem. The key was to make sure you have the latest software installed. Even after having just performed an "apt dist-upgrade"; After double checking it turned out that the mobian-base, mobian-phosh-base, mobian-phosh-games, and mobian-phosh-phone packages where held back. Running Code: apt dist-upgrade mobian-base mobian-phosh-base mobian-phosh-games mobian-phosh-phone RE: Flashlight application - bcnaz - 07-01-2020 Will this flashlight app soon be in the nightly build, or in a soon to be release ? |