Hey, could you cat /etc/hw-release, and either tree /sys or even better have a rummage for the file that controls the LED please? I'd like to add support for Jolla C in Hammerhead Torch, and I need to know where the LED "control file" is. Here's the location on some other devices: Code: Jolla=/sys/kernel/debug/flash_adp1650/mode Motorola Photon Q=/sys/class/leds/torch-flash/flash_light LG Nexus 5=/sys/class/leds/led:flash_torch/brightness Fairphone Fairphone 2=/sys/class/leds/led:flash_torch/brightness (from controlfile.conf)
Jolla=/sys/kernel/debug/flash_adp1650/mode Motorola Photon Q=/sys/class/leds/torch-flash/flash_light LG Nexus 5=/sys/class/leds/led:flash_torch/brightness Fairphone Fairphone 2=/sys/class/leds/led:flash_torch/brightness
[nemo@Sailfish ~]$ cat /etc/hw-release # This file is copied as hw-release (analogous to os-release) NAME="Intex Aqua Fish" ID=l500d MER_HA_DEVICE=l500d MER_HA_VENDOR=qualcomm VERSION="0.0.1.24 (armv7hl)" VERSION_ID=0.0.1.24 PRETTY_NAME=" 0.0.1.24 (armv7hl)" SAILFISH_BUILD=24 SAILFISH_FLAVOUR=release HOME_URL="https://sailfishos.org/" [nemo@Sailfish ~]$
[nemo@Sailfish ~]$ cd /sys/class/leds/ button-backlight/ flashlight/ lcd-backlight/ torch-light0/ [nemo@Sailfish ~]$ cd /sys/class/leds/torch-light0/ [nemo@Sailfish torch-light0]$ ls brightness device max_brightness power subsystem trigger uevent [nemo@Sailfish torch-light0]$ cd ../flashlight [nemo@Sailfish flashlight]$ ls brightness device max_brightness power subsystem trigger uevent [nemo@Sailfish flashlight]$