Tuesday, 2019-10-08

T42<jgibbon> piggz: perhaps the whole rotation container thing is a bit too error-prone, after all, and should be simplified…06:57
T42<jgibbon> I guess one could leave the focus circle and front camera rotation stuff as it was before (when only landscape was defined) when going the "jolla-camera" route.06:57
T42<jgibbon> (inspiration by /usr/share/jolla-camera/camera.qml and /usr/lib/qt5/qml/com/jolla/camera/CameraPage.qml)06:59
T42<jgibbon> oh, I just confirmed the xperia x front facing camera rotation bug with a commit before all the rotation changes, so that's not the reason.07:08
T42<adampigg> @jgibbon ill take s look at jolla-camera to see what it does....07:33
T42<jgibbon> basically the thing I talked about before: pulling the VideoOutput out of the page to not bother rotating the element itself07:34
T42<adampigg> for the ciricle, it needs simplified too so that it is bound to the focus point, and not manually positioned07:35
T42<adampigg> so, do we get rid of the Page element?07:36
abransonthe VideoOutput control automatically does a mirror if the video source is a front facing camera07:37
abransonwhat's the rotation problem?07:38
Mister_Magisterabranson:  i am sure i had some question for you but i forgot so i will at least say hello :P07:40
r0kk3rzmoo abranson!07:43
Mister_Magisterr0kk3rz: woof07:45
T42<adampigg> abranson: currently, the sets page rotation to landcscape, and handles all the camera rotation internally.  some complaints that when holding in portrait, it is hard to swipe close because you have to swipe sideways07:47
abransonah ok, not a mw thing then.07:48
T42<adampigg> so, i need to handle portrait/landscape app rotation, and then rotate various controls07:48
T42<adampigg> no, just ui07:48
abransonthere has been some weirdness with viewfinder rotation before. though it might be showing itself.07:48
r0kk3rzwhich device are you hacking on now piggz?07:49
T42<adampigg> abranson, however, in the mw, i think X users, not xa2, say that the gallery shows selfie portrait images flipped07:49
T42<adampigg> r0kk3rz, devices....pinetab fxtec .... current discussion is pov tho07:50
T42<adampigg> is the orientation sensor upside down on X?07:50
abranson@adampigg that might be a combination of your landscape app and the mirrored viewfinder?07:52
T42<adampigg> maybe, ill see how it is after fixing all that up07:53
abransonyeah that'll make things clearer. mirroring plus rotation is a headache waiting to happen07:57
T42<adampigg> neat, now there is pulseaudio-module-keepalive11:39
T42<adampigg> mal: i guess ^^ will be in mer-core, no need to be in native-common, but maybe could be temporarily?11:40
mal@adampigg we could add it to common also as that is not directly related to native-common11:56
jellyponyHello everyone. Already wrote here about warnings I got. Still need help :C. Building android base for Xiaomi nitrogen (mi max 3). Everything builds fine but I'm getting "/boot (also /data) appears to live on /dev/block/bootdevice/by-name/boot" warning in the beginning. Already wrote mapping in "fixup-mountpoints" but it's not helping at all. What's wrong? Log: https://pastebin.com/zqNcEQWN  fixup-mountpoints: https://past12:23
jellypony fixup-mountpoints: https://pastebin.com/p5q5eKEp12:24
jellyponyalso fstab: https://pastebin.com/raw/mamMkFdi12:26
jellyponyand mount info from device: https://pastebin.com/tku7Lat012:27
maljellypony: did you read what I wrote in logs, I think you have a formatting issue in fixup-mountpoints, one line before the new lines has spaces which could cause issues12:45
jellyponyYeah. I had already rewrote it few times to exclude formatting issue.13:03
maljellypony: also those warnings "appears to live on" are intentional and normal, those report what it found13:08
malthe issue is "/bin/bash: line 0: test: too many arguments", no idea where that comes from13:09
maljellypony: hmm, but you interrupted that build based on log, let it run to the end and then show13:09
jellyponyWeird. There was not such error before.13:55
jellyponyI ran make 2 times and there was different errors13:58
jellyponylast log: https://pastebin.com/LXgCWq6e13:58
jellyponyprevious build ended up with the same "subcommand failed" but in /frameworks/native/services/surfaceflinger:libsurfaceflinger clang++ SurfaceFlinger.cpp13:59
jellyponyalso i had seen near 350 gcc warnings14:02
jellyponyI feel dumb14:03
T42<jgibbon> @adampigg not really getting rid of Page, just leaving interactive elements like buttons/settings etc there, while migrating the videoOutput to the ApplicationWindow.14:04
T42<jgibbon> The interactive elements would have to be positioned (AnchorChanges or some such) but not manually rotated/transitioned to at least reduce that extra level of complexity. Nonetheless, possibly a good bit of work.14:04
maljellypony: there is some issue in kernel based on that log14:05
deathmisthttps://pastebin.com/038UsQPK is it normal for /etc/udhcpd.conf symlink to /run/usb-moded/udhcpd.conf being broken during early init? I'm trying to figure out why I don't get telnet as I'll definitely need that for debugging the early stage of hybris-16.0 (currently on 15.1 and same issue)14:15
deathmistwhat makes it strange is that my usb0 rndis interface is shown as having the IP address but I simply cannot make connection in either port 23 or 2323 at any point16:49
maldeathmist: at which point of boot? are you in very early boot?16:50
deathmistmal: I'm comfortably sitting in UI and most things working currently on at least my 15.1 base, I can't SSH or telnet in using which I will definitely be needing if I want to rebase to 16.016:51
maldeathmist: show logs, dmesg and journalctl at least, maybe you can get those via terminal and paste somewhere16:52
maldeathmist: is that device using old android usb way or configfs, there have been cases where init script selects the wrong mode16:53
vknechtno ssh through wlan either ?16:54
maldeathmist: check if you have /sys/class/android_usb/android0 and/or /config/usb_gadget16:54
malssh over wlan should be possible imo16:54
maldeathmist: maybe also grab /init.log16:55
deathmistSSH over WLAN works fine, mal I have both /sys/class/android_usb/android0 and /config/usb_gadget, init.log https://pastebin.com/f2HsgyxS dmesg https://pastebin.com/yZMWeH1D journal https://pastebin.com/B16DpfYy17:00
deathmistdevice was OnePlus 5 with SD 835 (MSM8998) from 2017 and base is hybris-15.1 for now17:01
maldeathmist: give a link to your device kernel defconfig17:02
maldeathmist: does your host computer show any usb interface?17:03
deathmistmal: https://git.io/fjyFE kernel defconfig, and nope. on my laptop it also just keeps resetting mode to "charging only" for some reason even when using a USB 3 port17:08
deathmistI also just remembered, I changed my from NetworkManager to dhcpcd since it was causing issues for me, will retry asap using that instead too on my desktop17:10
maldeathmist: can you show output of "ls -lR /config/usb_gadget/"17:13
deathmistmal: https://pastebin.com/9zpcuyCS I'll reboot my host to make sure NetworkManager is in use instead too17:15
maldeathmist: try creating a file /etc/usb-moded/usb-moded-configfs.ini with these two lines:17:28
malgadget_conf_directory = configs/c.117:28
maldeathmist: btw, also remove any other usb-moded packages from patterns except the main usb-moded package17:36
deathmistmal: don't I also need "Provides: usb-moded-configs" etc in dcd spec then?17:49
maldeathmist: also Obsoletes: usb-moded-defaults17:51
deathmistgotcha https://git.io/JeWlt new zip time!17:54
maldeathmist: did you test the config already?17:55
deathmistmal: when I made usb-moded-configfs.ini I just actually got https://i.imgur.com/QYSmMhg.png constantly even when after replugging17:57
deathmistthis is on the old image ofc, should I give logs or proceed with a new zip?18:07
deathmistmal: journal https://pastebin.com/ge3apfwR dmesg https://pastebin.com/SWE1HK6E (and init.log https://pastebin.com/PNiu5g04a), I also have a new zip if testing that is needed18:36
maldeathmist: add line "function_rndis        = rndis.usb0" to the config file18:38
malwithout quotes obviously18:39
malanyway there is something fishy in your device, based on .rc files the default config should have worked but for some reason the paths were not created and it's only using the ones created in init script18:40
malthere have been other devices with same issue18:40
deathmistproblem is, telnet and SSH over have worked before (around Hossa as well as USB network sharing .-.18:43
maldeathmist: really?18:43
malyou should have told that earlier18:43
maldeathmist: maybe move the config away for a moment (i.e. backup it) then remove the lines added here https://github.com/mer-hybris/droid-hal-configs/commit/2be4d41f7cc65bdba32effd2a52462fb60dc0a2c#diff-d8802e78a5ccecda746f8bd335904cfd18:46
maltry on device first and see if that does anything18:46
T42Ricardo %lastname% was added by: Ricardo %lastname%18:53
T42<Ricardo %lastname%> good night : a question, could you update sailfish from a port to a higher version from the terminal? I ask this question because the port of the oneplus one is currently stopped and would like to upgrade to version you very much.18:55
Thaodanon minor versions yes18:56
Thaodanplease set a username in telegram to make the irc users be able to ping you18:56
deathmistmal: as I suspected it didn't do anything, I started porting initially around that time and when I got to it stuff worked. this I can only thank myself for, but I have a bit backlog of zips from the beginning to go through and figure out where it went wrong, could be something in my configs too18:58
maldeathmist: did you try that last thing I asked?19:09
deathmistmal: yes, I removed the 3 lines and it still didn't work, now going thru older builds and already it worked on a zip from 2019072319:10
maldid you try the one before that, adding the one line to config?19:13
deathmistyep, adding function_rndis stopped the message but still didn't change anything else and yes I moved the file away before deleting the 3 lines, it also worked on a Seitseminen zip from 20190803 so I have a feeling I messed it up myself19:15
malwould be nice to know exact usb-moded version in both of those and what configs you have19:16
T42<geminis65> Could you explain to me how it's done?19:19
deathmistsure, /etc/usb-moded/* at least and others would include? once I find the zips in between which it stops working I can upload them to MEGA for example19:21
deathmistdang, also works on a 20190824 zip (also, it has usb-moded 0.86.0+mer36-1.4.1.jolla and I'll get a copy of /etc/usb-moded/ on my computer19:25
deathmistmal: anything else?19:26
maldeathmist: if it worked on that then usb-moded is the same on now19:27
malnot sure what else you changed between that version and the new one19:27
Thaodan@geminis65 ssu re and after that  zypper ref && zypper dup19:28
deathmistnow it doesn't work on the exact same build either, wth... I didn't even touch any file on the phone, just tried it on my laptop and now it doesn't show under "ip a" on my desktop; before https://termbin.com/as9n after https://termbin.com/nlg0 seems to get a new connection number each time and now the interface name has changed too19:52
deathmistfrom "enp3s0f0u1u1" to "enp3s0f0u4", I don't understand...19:52
deathmistwell it was shown as instead of .15 to be precice (still connected with .15) but you get the point, the IPv4 connection just disappears, mal any clue?19:55
maldeathmist: host obviously shouldn't have .15, that is the ip of the device20:01
vknechtdo you also see messages like "Sailfish udhcpd[32101]: udhcpd: can't open '/var/lib/misc/udhcpd.leases': No such file or directory" ?20:06
vknechthad that at some point, but creating it didn't help ; but maybe you got further in usb/rndis fixes20:07
malvknecht: the init.log looked interesting it had errors about udhcpd.conf20:13
malbut I also have those on fp2 so wondering why those happen20:14

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