Tuesday, 2020-03-31

T42<edp_17> @elros34 : This is what I am thinking about. I have found the max8997=yes in the kernel config. What about if I take this off, that may force the device to use the usb instead of the max8997.07:33
T42<elros34> @edp_17 If you mean that you want to disable it in kernel then this is very bad idea. Try to blacklist it in battery-udev-devices.ini10:02
T42<edp_17> @elros34 : Okay, I'll blacklist it in there thanks. (Yes, that's how I meant.)10:14
T42<edp_17> Hmm. I do not have neither battery-udev-devices.ini, nor battery-udev* on the device. Can you give me an example for this, please?10:16
T42<elros34> http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2020-03-30.log.html#t2020-03-30T15:23:0010:25
T42<Qhosvjdpgw> (Photo, 1064x590) https://irc.thaodan.de/.imgstore/QfvhH0p6rZ.png @kkilove10:58
T42<edp_17> @elros34 : Thanks, I missed that comment of yours. πŸ‘11:02
piggzmal: should audit be turned off, i see a lot of audit*denied messages in journal11:34
piggzmal: i fixes the usb-moded configuration for configfs to use the correct path, but still not getting sshd started automatically, and the firwall rules working11:40
T42<edp_17> @elros34, @spiiroin : here are some logs: https://pastebin.com/vC3sgC0C11:42
T42<edp_17> And here is the battery-udev-devices.ini: https://pastebin.com/qdYeVFk811:42
T42<edp_17> I have rebooted once I created the battery-udev-devices.ini.11:43
T42<edp_17> The leds are always on, except when I wake up the screen.11:43
T42<elros34> you are missing ac in blacklist. Where is battery-udev log to confirm that anything changed?11:46
Kabouik@elros34 Are you aware of Illyria's work on LXC containers?11:54
T42<elros34> if you mean this: https://github.com/sailfish-containers/ then I noticed it but I'm not interested. My main device is too old for this:)11:57
T42<edp_17> @elros34 : I have added ac=TRUE into the blacklist file and rebooted the device. Then : https://pastebin.com/4PsXZR9L12:03
T42<edp_17> Leds are always on.12:03
T42<elros34> looks like your battery-udev-devices.ini is not used12:05
T42<edp_17> I put it into /etc/mce/inifiles12:07
T42<edp_17> I have created the inifiles folder in /etc/mce.12:09
T42<elros34> so put it in /etc/mce12:09
T42<edp_17> Okay.12:09
T42<edp_17> I put the backlist file into /etc/mce/ and rebooted the device: https://pastebin.com/DLTpDXtt12:17
T42<edp_17> It is still not using the blacklist file on the built-in one.12:19
T42<elros34> so enable logging for mce-conf.c. Are you sure file is correct?12:20
KabouikThat's what I was referring too yes @elros34. So do you mean it uses more ressources than chroot? It takes indeed longer to start X, but I thought it was due to services being started in LXC12:26
T42<edp_17> @elros34 : I will log that. I am not sure the file is correct. I just used the example and mock up.12:29
T42<elros34> Kabouik: If you start whole system inside container then for sure but I mean that LXC is out of the question for my ancient kernel12:31
KabouikOh I see, kernel limitation12:31
KabouikI hope you can get a ProΒΉ one day (if you're interested); it makes an awesome combination with ubu-chroot or LXC12:32
walidhwhen ran this command : GST_DEBUG=droidcamsrc:2 jolla-camera12:52
walidhgot this error  : This application failed to start because it could not find or load the Qt platform plugin "xcb"12:52
T42<elros34> don't start apps as a root12:55
walidhi'm not in root12:56
T42<elros34> so how do you start it? Show full command and output12:58
malwalidh: just a reminder, you cannot starts apps via telnet (because you are root if you use telnet)13:01
malpiggz: audit can be disabled via kernel commandline (audit=0)13:01
piggzmal: should it?13:08
malpiggz: well it was disabled on x10 https://github.com/mer-hybris/droid-hal-img-boot-sony-ganges-pie/commit/eab6e223516b5e578bd9a18c53c7315324fcca0d13:11
piggzmal: note to self, dont uncheck "developer mode" in the UI if developer-tools is a requires: in the patterns13:24
piggzim in a re-flash situation i think!13:25
malpiggz: yeah, it's bad to have developer mode in patterns13:26
malshould rather be installed via .ks13:26
malpiggz: no telnet?13:26
piggzmal: it create a usb interface briefly, then it dissapears...13:34
piggzi could go into recovery and write the file that pauses boot, which would enable early telnet13:34
piggzthough, im  not wure what do to from there13:35
piggzcould i mask something that turns of telnet?13:36
piggzi masked usb-moded, but no telnet deaemon13:40
malpiggz: not sure what disables it13:41
piggzmal: from adb, ill extract the rootfs again, without rm-ing13:43
piggzmal: argh, im almost in ... i have telnet, but dhi is failing14:22
piggzMar 31 17:21:05 Pro1 droid-hal-init: Failed to initialize property area14:22
piggzMar 31 17:21:05 Pro1 systemd[1]: droid-hal-init.service: Main process exited, code=killed, status=6/ABRT14:22
malpiggz: maybe adaptation packages got removed?14:23
piggzmal: trying a zypper command that re-installs all presently installed packages14:26
piggzi already tried installing droid-hal-t514:26
T42<edp_17> @elros34 : logs for mce-conf.c: https://pastebin.com/JbgRhW6H14:48
T42<edp_17> It doesn't show that the battery-udev-devices.ini is used.14:48
T42<elros34> add number prefix to that ini file14:51
T42<edp_17> https://pastebin.com/wNFQziGV14:59
T42<edp_17> I have plugged the charger in, then unplugged but nothing has changed. Now I am going back to debug battery-udev again.15:00
T42<edp_17> @elros34 : battery-udev logs: https://pastebin.com/UxWfThA015:07
T42<elros34> that looks correct for me charger on/off state is recognized and PatternBatteryCharging is activated/deactivated correctly15:13
walidhmal: is this needed bluetooth-rfkill-event-hciattach ?15:22
malwalidh: sometimes on devices with broadcom bluetooth chip15:24
piggzmal: i think all my errors are down to busybox not working15:24
piggzlots of  * applet not found15:24
malpiggz: ah, maybe it installed wrong version of busybox or messed up the symlinking15:24
piggzmal: i have busybox and busybox-static15:26
piggzmal: i think the commands symlink to /usr/bin/busybox, but should link to /usr/bin/busybox-static15:31
malpiggz: nope, to busybox15:34
piggzmal: well, I have a UI now!15:34
piggzphew15:34
piggzbusybox sleep > applet not found, busybox-static sleep > ok15:35
malpiggz: where was that?15:35
piggzfor now, i moved busybox out of the way, and symlinked busybox to busybox static15:35
piggzmal: on the cli15:35
malpiggz: I don't even have busybox-static installed on x1015:36
piggzmal: seems to be required by out -configuraton- package15:36
piggzi will now upgrade to 3.3.0.12 to get it to how it was15:37
piggzbut, that was a rought ride!15:37
piggznot sure whats going on with busybox tho15:37
T42<edp_17> @elros34 : I leave it on charger. Now the battery is on 70% and the leds are on. I am curious what will happen at 100% and when I disconnect the charger. I'll let you know.15:48
T42<edp_17> I have restarted mce by the way.15:49
T42<edp_17> I have unplugged the charger and the leds went off. I reconnected and the leds lit up. Looks promising.15:51
T42<edp_17> However it took about 20 seconds until it recognized the unlug/plug events. πŸ˜„15:53
T42<elros34> so it's not correct, probably ac can't be blacklisted16:01
T42ι‚°ιͺζŽŽ %lastname% was added by: ι‚°ιͺζŽŽ %lastname%16:37
T42<edp_17> Yeah, that's why I didn't include that in first place. 😁16:38
T42<edp_17> However if the leds work ok this way, I'll leave it there.16:38
T42<edp_17> 20 seconds is not an issue for me.16:38
T42<Lukapanio> faq18:09
walidhmal: i added this line in config pattern  - bluetooth-rfkill-event-hciattach, but got error when build18:50
DylanVanAsscheIs `mce` also responsible for the torch LED light? I need to configure the LED control directory somehow...18:50
malwalidh: did you build the package?19:07
walidhi deleted repodata folder and build again i'm waiting to finish, i think its ok now19:08
malwalidh: how did you build it?19:09
walidhi rty out with rpm/dhd/helpers/build_packages.sh -c , but got errors, now i build all19:09
malI mean building bluetooth-rfkill-event-hciattach the way faq says19:11
T42<Ori %lastname%> Anyone working on oneplus 2?19:16
T42<Ori %lastname%> And does anyone know how to install anbox?19:16
walidhmal: yes its builded, but not added in zip file, so i added in adaptaion config19:18
walidh19mal: i tried to install  bluetooth-rfkill-event-hciattach-1.0.7-1.armv7h  : got this error  bluetooth-rfkill-event-hciattach = 1.0.7-1 is needed by bluetooth-rfkill-event-hciattach-1.0.7-1.armv7h19:24
malwalidh19: did you build the older version of that like I mentioned earlier19:29
walidh19yes19:29
malthat error makes no sense19:30
malis that really correct error message? why does that have armv7h and not armv7hl19:31
piggzmal: how required is the dev-mtp (FFS) mount unit?19:47
walidh19mal: its armv7hl19:52
walidh19bluez5-libs-devel is needed by bluetooth-rfkill-event-hciattach-1.0.7-1.armv7hl ??20:06
walidh19mal: i'm in loop, bluez-libs-devel is needed i install, then bluez5-libs-devel  is needed, install and remove bluez-libs-devel and so on20:32
malwhat are you doing, why does it try to install bluez-libs-devel, that is bluez4 package which should not be needed20:38
malwhat is needing bluez-libs-devel20:38
walidh19mal: solved forget to add --spec=rpm/bluetooth-rfkill-event-hciattach.spec20:50
malwalidh19: thought something was wrong with the build20:51
malthat is why I asked earlier if you built the way faq said20:51
walidh19mal: is this to flags needed for BT CONFIG_BT_RFCOMM=yCONFIG_BT_BNEP=y20:57
walidh19cuz its not activated in my defconfig and got error  kernel lacks bnep-protocol support , System does not support network plugin20:58
malyes, you should enable those20:59

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