Wednesday, 2025-05-28

T42<Verevka86> Good afternoon, is the fingerprint on the screen still not implemented?09:43
T42<adampigg> It was implemented on one device iirc09:55
T42<Verevka86> Xiaomi Tucana? unfortunately on versions higher than hybris-10 this no longer works (09:57
Mister_Magistermal: so about HBM, I've enabled it but it doesn't work. Let me describe. https://github.com/sailfishos/mce/blob/master/modules/display.c#L1887 this gets 255 as an input (when brightness is 65535), and then sends that to here https://github.com/sailfishos/mce/blob/master/modules/display.c#L3705 where it takes first 8 bits as brightness (which is 255 max) and then anything above as HBM so as you gathered already, it never gets22:00
Mister_Magisterto be 1 and it only accepts 0/1 values. couldn't find how mdy_datapipe_display_brightness_cb is called but something is very wrong22:00
Mister_Magisterahh max_brightness is from sysfs which says 25522:04
Mister_Magisterperhaps were I to override that it would've worked but thats not ideal22:04
Mister_Magisteralthough to be more precise now i'm seeing that value only goes up to 10022:16
Mister_Magisterhbm_level=0, brightness=10022:17
Mister_Magisterhttps://github.com/sailfishos/mce/blob/master/modules/display.c#L11726 i suppose this is to blame22:22
Mister_Magisterso HBM will never ever be active22:22
Mister_Magisteranyway here's PR https://github.com/sailfishos/mce/pull/4122:39
Mister_Magisterlong story short, mce is checking hbm so that: if brightness is below 255 its off, if brightess is 256 its on but brightness is 0? if brightness is above 256 then hbm doesn't take input because of too high value? AND THE VALUE IS CAPPED TO 100??!?!?!??!?22:51
Mister_Magisteri love when nothing makes sense xd22:51

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!