Tuesday, 2023-07-04

*** amccarthy is now known as Guest492501:46
*** amccarthy_ is now known as amccarthy01:46
mal@adampigg I have some sensor questions for you when you come to irc15:04
piggzmal: shoot :)15:05
malsent question in private15:06
T42<smatkovi> i have an active telnet connection now, but i have no idea what to look for15:15
malto which port?15:19
T42<smatkovi> j5xnlte15:19
malI mean telnet port15:19
mal23 or 232315:19
T42<smatkovi> oh 232315:19
malthen get output of "journalctl -b --no-pager"15:19
T42<smatkovi> strange i only get telnet when i plug in the phone before boot15:24
T42<smatkovi> so i only get charger related messages https://pastebin.com/21Rmcs0A15:24
T42<smatkovi> if boot it up first i get connection refused15:26
T42<smatkovi> but i get ssh :)15:26
T42<smatkovi> but i get the same journalctl over ssh15:31
T42<smatkovi> the posted part repeats over and over15:31
T42<smatkovi> this is probably a relevant error message: power_supply sm5703-fuelgauge: driver failed to report `energy_now' property: -2215:33
maldoes dmesg show anything?15:34
T42<elros34> you must fix this error in broken driver because this will spam whole dmesg and prevents you reading anything15:36
T42<elros34> it's common in samsung, see hadk-hot for example fix for other device15:37
T42<smatkovi> thanks. i start to believe maybe i did this wrong: Add to sparse: https://github.com/mer-hybris/droid-config-sony-seine/tree/eaa09db67b94352ef801417363008dc4005d9213/sparse/etc/selinux. You may need to replace symlinks with the actual files from your device.15:38
T42<elros34> you may => you must15:38
T42<smatkovi> How do i even add to sparse?15:53
T42<smatkovi> Is this a directory?15:54
T42<TheVancedGamer> yes15:54
T42<TheVancedGamer> and sparse/ is basically / on your device15:54
T42<elros34> so for test you can copy files to device instead rebuilding everything. Sparse in your droid-config15:55
T42<elros34> is in*15:55
T42<smatkovi> And copy them from this github repo or from the files i cloned on the host?15:56
T42<smatkovi> Or are they even on the device15:56
T42<smatkovi> And i just have to replace the symlinks with the files15:56
T42<elros34> they should be on device if your mount points are correct, so remove symlinks and put actual files there15:58
T42<elros34> but first fix this power_supply error otherwise you will have slowdowns and systemd may have issues to even start correctl15:59
T42<smatkovi> Should i add POWER_SUPPLY_PROP_STATUS=n to kernel options?17:16
T42<elros34> no, you need to change code in kernel, first find driver in kernel tree power_supply sm5703-fuelgauge17:22
T42<elros34> did you read example from hadk-hot?17:24
T42<smatkovi> Yes but i couldn't concentrate properly. Now i think i understand, i should remove the function from the c file for the driver17:43
T42<elros34> one property from enum or return ENODATA, depends on how it's done17:48
T42<smatkovi> psy_do_property18:20
T42<smatkovi> Can i just remove it?18:20
T42<elros34> you think I have idea what are you asking :P show the line in github18:24
T42<smatkovi> i just tried it now, there were one or two other uses of POWER_SUPPLY_PROP_STATUS, and i outcommented them21:54
T42<smatkovi> but i haven't been successful21:55
T42<smatkovi> https://github.com/edp17/android_kernel_samsung_exynos5433/blob/a06e248eafb831411afbf3bc57f4a47d50a89fc3/drivers/battery/max77843_fuelgauge.c#L102821:58
T42<smatkovi> and there are some cases with POWR_SUPPLY_PROP_STATUS22:00
T42<smatkovi> so i just uncommented the cases22:00
T42<smatkovi> i mean outcommented22:00
T42<smatkovi> very strange in /etc/selinux/config i had SELINUX=disabled22:13

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