*** amccarthy is now known as Guest4925 | 01:46 | |
*** amccarthy_ is now known as amccarthy | 01:46 | |
mal | @adampigg I have some sensor questions for you when you come to irc | 15:04 |
---|---|---|
piggz | mal: shoot :) | 15:05 |
mal | sent question in private | 15:06 |
T42 | <smatkovi> i have an active telnet connection now, but i have no idea what to look for | 15:15 |
mal | to which port? | 15:19 |
T42 | <smatkovi> j5xnlte | 15:19 |
mal | I mean telnet port | 15:19 |
mal | 23 or 2323 | 15:19 |
T42 | <smatkovi> oh 2323 | 15:19 |
mal | then get output of "journalctl -b --no-pager" | 15:19 |
T42 | <smatkovi> strange i only get telnet when i plug in the phone before boot | 15:24 |
T42 | <smatkovi> so i only get charger related messages https://pastebin.com/21Rmcs0A | 15:24 |
T42 | <smatkovi> if boot it up first i get connection refused | 15:26 |
T42 | <smatkovi> but i get ssh :) | 15:26 |
T42 | <smatkovi> but i get the same journalctl over ssh | 15:31 |
T42 | <smatkovi> the posted part repeats over and over | 15:31 |
T42 | <smatkovi> this is probably a relevant error message: power_supply sm5703-fuelgauge: driver failed to report `energy_now' property: -22 | 15:33 |
mal | does 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 anything | 15:36 |
T42 | <elros34> it's common in samsung, see hadk-hot for example fix for other device | 15: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 must | 15:38 |
T42 | <smatkovi> How do i even add to sparse? | 15:53 |
T42 | <smatkovi> Is this a directory? | 15:54 |
T42 | <TheVancedGamer> yes | 15:54 |
T42 | <TheVancedGamer> and sparse/ is basically / on your device | 15:54 |
T42 | <elros34> so for test you can copy files to device instead rebuilding everything. Sparse in your droid-config | 15: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 device | 15:56 |
T42 | <smatkovi> And i just have to replace the symlinks with the files | 15:56 |
T42 | <elros34> they should be on device if your mount points are correct, so remove symlinks and put actual files there | 15:58 |
T42 | <elros34> but first fix this power_supply error otherwise you will have slowdowns and systemd may have issues to even start correctl | 15: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-fuelgauge | 17: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 driver | 17:43 |
T42 | <elros34> one property from enum or return ENODATA, depends on how it's done | 17:48 |
T42 | <smatkovi> psy_do_property | 18: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 github | 18:24 |
T42 | <smatkovi> i just tried it now, there were one or two other uses of POWER_SUPPLY_PROP_STATUS, and i outcommented them | 21:54 |
T42 | <smatkovi> but i haven't been successful | 21:55 |
T42 | <smatkovi> https://github.com/edp17/android_kernel_samsung_exynos5433/blob/a06e248eafb831411afbf3bc57f4a47d50a89fc3/drivers/battery/max77843_fuelgauge.c#L1028 | 21:58 |
T42 | <smatkovi> and there are some cases with POWR_SUPPLY_PROP_STATUS | 22:00 |
T42 | <smatkovi> so i just uncommented the cases | 22:00 |
T42 | <smatkovi> i mean outcommented | 22:00 |
T42 | <smatkovi> very strange in /etc/selinux/config i had SELINUX=disabled | 22:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!