Hello all,
I have been working on porting UT to a LG V60 ThinQ 5G. I have a few issues to work out still, but the key 2 items that I am currently working on are VoLTE (I got the ims service to start with no errors, but still no VoLTE sadly) and the brightness. I have the brightness sysfs path set in the timelm.yaml file, but the brightness slider currently does not do anything. The flashlight toggle (which is also set in that timelm.yaml file) works as expected. I would appreciate any tips or suggestions for things to check. I am also including the line in the timelm.yaml file.
DMESG output:
[ 0.776921] 0.776921 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap:118] use dynamic brightness supported=0
[ 0.776926] 0.776926 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:77] lge,blmap blmap_size = 366
[ 0.776930] 0.776930 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:89] lge,blmap has been successfully parsed.
[ 0.776934] 0.776934 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:77] lge,blmap-ve blmap_size = 366
[ 0.776939] 0.776939 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:89] lge,blmap-ve has been successfully parsed.
[ 0.776943] 0.776943 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:77] lge,blmap-ex blmap_size = 256
[ 0.776947] 0.776947 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:89] lge,blmap-ex has been successfully parsed.
[ 0.776952] 0.776952 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:73] can't find lge,dynamic-blmap-brighter
[ 0.776956] 0.776956 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:77] lge,blmap-hdr blmap_size = 366
[ 0.776960] 0.776960 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:89] lge,blmap-hdr has been successfully parsed.
[ 0.776965] 0.776965 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:77] lge,blmap-vr blmap_size = 2
[ 0.776969] 0.776969 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:89] lge,blmap-vr has been successfully parsed.
[ 0.776973] 0.776973 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:77] lge,blmap-daylight blmap_size = 366
[ 0.776978] 0.776978 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:89] lge,blmap-daylight has been successfully parsed.
[ 0.776982] 0.776982 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:77] lge,blmap-hdr-daylight blmap_size = 366
[ 0.776986] 0.776986 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_blmap_sub:89] lge,blmap-hdr-daylight has been successfully parsed.
[ 0.776991] 0.776991 02-19 21:25:43.691] [7: swapper/0: 1] [Display][lge-backlight:lge_dsi_panel_parse_brightness:105] default brightness=158
[ 0.938750] 0.938750 02-19 21:25:43.851] [5: swapper/0: 1] [Display][lge-backlight:lge_brightness_create_sysfs:832] add irc_mode set node fail!
[ 0.938889] 0.938889 02-19 21:25:43.851] [5: swapper/0: 1] [Display][lge-backlight:lge_brightness_create_sysfs:835] add irc_status set node fail!
[ 7.752447] 7.752447 02-03 03:34:11.531] [6:systemd-backlig: 1589] [Display][lge-backlight:lge_backlight_device_update_status:287] BR:158 BL:558 lge,blmap
[ 7.761243] 7.761243 02-03 03:34:11.539] [5:systemd-backlig: 1591] [Display][lge-backlight-ex:lge_backlight_ex_device_update_status:145] brightness=18, bl_lvl=99 -> differed (not allow)
timelm.yaml file:
BacklightSysfsPath: /sys/class/backlight/panel0-backlight
directory listing:
root@ubuntu-phablet:/sys/class# tree
.
├── backlight
│ ├── panel0-backlight -> ../../devices/platform/soc/ae00000.qcom,mdss_mdp/backlight/panel0-backlight
│ └── panel0-backlight-ex -> ../../devices/platform/soc/ae00000.qcom,mdss_mdp/backlight/panel0-backlight-ex
<snipped>
├── leds
│ ├── blue -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d000/leds/blue
│ ├── green -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d000/leds/green
│ ├── hr_led1 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-03/c440000.qcom,spmi:qcom,pm8150b@3:qcom,leds@d000/leds/hr_led1
│ ├── hr_led2 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-03/c440000.qcom,spmi:qcom,pm8150b@3:qcom,leds@d000/leds/hr_led2
│ ├── led:flash_0 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d300/leds/led:flash_0
│ ├── led:flash_1 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d300/leds/led:flash_1
│ ├── led:switch_0 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d300/leds/led:switch_0
│ ├── led:switch_2 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d300/leds/led:switch_2
│ ├── led:switch_3 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d300/leds/led:switch_3
│ ├── led:torch_0 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d300/leds/led:torch_0
│ ├── led:torch_1 -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d300/leds/led:torch_1
│ └── red -> ../../devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-05/c440000.qcom,spmi:qcom,pm8150l@5:qcom,leds@d000/leds/red
<snipped>
I would appreciate any help even if it leads me nowhere, I did see that some SM8150 devices had this issue, the V60 is a SM8250 device and I think might suffer from the same issue as the 8150, the issues I read are still marked as open and have no activity for at least months (unless I missed something)
Thanks for your time, and sorry for the long read.