Wednesday, 2020-04-01

spiiroin@edp_17 @elros34: just noticed that "fuelgauge" device is handled as battery (not charger) with odd capacity percentage & "not charging" status - which iirc -> is connected. you might want to check if blacklisting it helps05:59
spiiroinDylanVanAssche: afaik torch / flashlight -> belongs to camera stack (and should be used only via that)06:02
spiiroinDylanVanAssche: ... so, mce config has and should not have anything torch related06:04
DylanVanAsschespiiroin (IRC): So the flashlight button in the top menu is also via the camera stack, interesting...06:11
vknechtDylanVanAssche, I thought it was in patterns ? https://github.com/mer-hybris/droid-config-sony-nile/blob/master/patterns/jolla-configuration-h3113.yaml#L2107:26
DylanVanAsschevknecht (IRC): Aha, need to check them 🙂 thanks!07:30
T42<edp_17> @spiiroin: Do you mean blacklisting the "fuelgauge"?08:00
spiiroin@edp_17 yes08:04
spiiroin@edp_17 it is more or less assumed that there will be only one battery like power supply device, now there seems to be two - "battery" and "fuelgauge" - and values for fuelgauge seem erratic08:05
T42<edp_17> @spiiroin : Yes that is an odd number indeed. It looks garbage from memory or something. Thanks for the tip, I am trying that.08:14
walidhmal: for BT got this error bluetoothd[3633]: Failed to open RFKILL control device10:29
walidhhow can add flag degub in service bluetoothd10:30
malyou enable debug in the bluetooth-rfkill-event service10:35
piggzmal: what is supposed to start sshd (as it doest here)11:00
T42<蔡唇酣 %lastname%> (Photo, 772x434) https://irc.thaodan.de/.imgstore/gJhUoyxrgw.png 有需要联系 @atyru11:10
piggzmal: also, is this something we should package for Pro1? https://github.com/mer-hybris/sailfish-connman-plugin-suspend12:29
malpiggz: that depends on device, does wlan suspend?12:34
piggzmal: not sure ... its a msm899812:35
piggzmal: /dev/wmtWifi.  doesnt exist tho12:36
piggzso maybe not relevant12:38
malpiggz: that has things for different device, some device need the wowlan thing even on qcom devices, but not all12:38
malpiggz: first thing you need to do is get some logs and check how the device suspends and then check what causes wakeups12:39
piggzmal: ill add to todo ... any thoughts on what is supposed to start sshd ?12:40
malno12:41
malI would assume developer mode12:41
piggzyeah, i would too12:42
piggzill see if i can find anything on mido12:44
piggzmal: actually, ssh doesnt start on mido either12:50
piggzmaybe its not the pro1!12:50
piggzmal: ah, systemd listens on the socket and start the service on demand12:54
piggzmal: so, it works as it should, the only issue is the firewall rule still12:57
T42NOuRnotme was added by: NOuRnotme13:08
T42Fauzan %lastname% was added by: Fauzan %lastname%13:10
T42<Fauzan %lastname%> Hi developer13:10
walidhmal: any idea about this msg error for BT https://paste.ubuntu.com/p/tkfHX8JK9C/13:41
walidhaccording to hadk-faq i must build rfkill mw, how can i dot it? i can't find any new repos (only an old repo which not work)14:30
vknechtwalidh, sure rfkill really doesn't work ? tried "rfkill list" & co ?14:42
malpretty sure the issue is different name for the rfkill compared to the one expected by that bluetooth-rfkill-event-hciattach14:44
walidhmal: rfkill list show me "0: bcm43xx: Bluetooth", hciconfig -a nothing,15:59
T42<Lukapanio> RELEAS is 3.2.1.2015:59
T42<Lukapanio> ?15:59
walidhi ran manually "hciattach /dev/ttyHS0 bcm43xx 3000000 flow -",  BT mac addr is 00:00:00:00:00:0016:00
T42<Lukapanio> https://bpaste.net/7FKQ17:13
T42<Lukapanio> cant build17:13
malyou can clearly see the computer is running out of disk space "needs 369MB on the / filesystem"17:24
T42<Lukapanio> @mal [you can clearly see the computer is running ou …], But that is wrong I have 1.4tb free17:43
malfor some reason it doesn't see that17:48
T42<Lukapanio> That is strange, any idea why17:49
walidhhow can i support anbox for my device ?17:50
T42<elros34> @Lukapanio I think this is due to old dhd submodule. Update it to upgrade-3.2.1 branch18:19
T42<Lukapanio> @elros34 [@Lukapanio I think this is due to old dhd subm …], How to do that sry for stupid questions?18:20
T42<elros34> cd dhd; git checkout upgrade-3.2.118:22
T42<elros34> maybe also git fetch first18:24
walidhBT work only if i ran this command  "hciattach -n /dev/ttyHS0 bcm43xx 3000000 noflow -" (rfkill unblock all before)18:45
walidhand when disabled it can't enable it again unless i reran command again18:46
malwalidh: so you still didn't understand what I said earlier about possibly wrong rfkill name? https://github.com/mer-hybris/bluetooth-rfkill-event/blob/master/bluetooth-rfkill-event/bluetooth_rfkill_event.c#L78 that is what the code expects, you need to check if your device reports the same in "rfkill list"19:38
walidhmal: https://paste.ubuntu.com/p/rvw4XVNm5g/19:59
vknecht@Lukapanio: keep in mind that generally, 10% of root filesystem is reserved to root user, that might explain why there's more free space visible than available to regular users20:06
vknechtthat's tunable, but better make some space ;-)20:07
walidhmal: this script work well  i tested it manually https://github.com/r0kk3rz/droid-config-scorpion_windy/blob/master/sparse/usr/bin/droid/droid-bt-init.sh20:38
piggzvknecht: hi, a while ago you thought you had an issue witht he firewall..20:57
piggzhttps://piggz.co.uk/sailfishos-porters-archive/index.php?log=2019-12-13.txt#line18320:57
piggzdid you resolve it?20:57
piggzi have an issue with the Pro1 where i cant ssh in over USB unless i tell iptables to accept all connections20:57
vknechtpiggz, sorry really not sure, the day after I committed that, but reverted it ~2 weeks after: https://github.com/sailfish-on-loire/droid-config-sony-loire-pie/commit/82a29639ce937cdfa015a1a120b9f758c1952cbd21:11
vknechtthere were also submodules updates, maybe that's what fixed it21:11
T42<edp_17> @elros34 , @spiiroin : Thanks for your help with the leds. It seems to be working. I have tested with usb and wall charger. When the cable in and not fully charged, the leds are on. When the cable in and fully charged, the leds are blinking. When the cable is out, the leds are off too.21:12
T42<edp_17> Plus, if there is an unread text message (SMS) the leds are blinking.21:12
piggzvknecht: i have that configured ok21:13
T42<edp_17> Four items are blacklisted: max8997-charger, max8922-charger, ac and fuelgauge.21:14
vknechtcan't say anything, then... I've been alone in the dark since then, with hwcomposer racing or something causing intempestive reboots21:22
piggzmal: one thing that seems odd regarding usb connection...21:25
piggzApr 01 22:25:06 Pro1 usb_moded[29375]: unknown connection type reported, assuming disconnected21:25
piggzthat error seems quite rate when ive googled it21:25
vknechtbut when it boots okay, I don't have issue with ssh over usb21:27
piggzmessage is from https://git.sailfishos.org/mer-core/usb-moded/blob/master/src/usb_moded-udev.c#L44021:29
mal@adampigg so what type does it report?21:37
T42<adampigg> Mal: will investigate tomorrow , laptop battery died, its a sign21:39
T42<elros34> @edp_17 great but my idea to blacklist ac was probably wrong, you should try without21:46
T42<edp_17> @elros34 : I have tested it with wall charger. (Is that ac?) Why is leaving the ac blacklisted wrong?21:48
T42<elros34> I think ac generate events when you plug in/out wall charger. Blacklisting it shoudn't be needed if I understand mce code correctly21:50
*** lbt_ is now known as lbt22:05
T42<edp_17> I see. Thank you. I'll test it without it too.22:06
T42<edp_17> Do you have idea why the screen (and the camera at the back) is getting hot soon after I start using it? Like I wake up the screen, start the settings app and leave it for 2 minutes and it is hot to touch.22:09
T42<edp_17> Is there any logs that I can check for the root cause or this is because I use the fbdev?22:10
T42<elros34> check if anything use  too much cpu in htop or logs are spammed with crashing app22:13
T42<edp_17> htop shows one of the two CPUs is above 90% but mostly 100%22:17
T42<edp_17> but on the list, the max cpu usage is 12.2%.22:18
T42<edp_17> The htop process is usig about 7%.22:20
T42<elros34> that is normal but 90% cpu usage is not22:21
T42<edp_17> The '/usr/sbin/sensorfwd -c=/etc/sensoffw/primaryuse.conf --systemd --log-level=warning --no-magnetometer-bg-calibration' process is running two or three instances using around 5% each.22:21
T42<edp_17> When the screen is off, both CPU is at 14.9%.22:23
T42<elros34> I can tell that for me sensorfw  processes use something around 0.6%22:27
T42<edp_17> Now I have four sensorfw processes and they use: 4.5%, 2.8%, 2.7% and 1.1%22:34
T42<edp_17> I don't understand why the cpu usage shows 100% while the max CPU% usage is 15%.22:35
T42<edp_17> The logcat shows "E/cutils-trace(15043): Error opening trace file: No such file or directory (2)" : https://pastebin.com/D7cTStUx22:38

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