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 itself | 07:34 |
T42 | <adampigg> for the ciricle, it needs simplified too so that it is bound to the focus point, and not manually positioned | 07:35 |
T42 | <adampigg> so, do we get rid of the Page element? | 07:36 |
abranson | the VideoOutput control automatically does a mirror if the video source is a front facing camera | 07:37 |
abranson | what's the rotation problem? | 07:38 |
Mister_Magister | abranson: i am sure i had some question for you but i forgot so i will at least say hello :P | 07:40 |
abranson | hi! | 07:40 |
r0kk3rz | moo abranson! | 07:43 |
abranson | hi!! | 07:43 |
Mister_Magister | r0kk3rz: woof | 07: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 sideways | 07:47 |
abranson | ah ok, not a mw thing then. | 07:48 |
T42 | <adampigg> so, i need to handle portrait/landscape app rotation, and then rotate various controls | 07:48 |
T42 | <adampigg> no, just ui | 07:48 |
abranson | there has been some weirdness with viewfinder rotation before. though it might be showing itself. | 07:48 |
r0kk3rz | which 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 flipped | 07:49 |
T42 | <adampigg> r0kk3rz, devices....pinetab fxtec .... current discussion is pov tho | 07: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 up | 07:53 |
abranson | yeah that'll make things clearer. mirroring plus rotation is a headache waiting to happen | 07:57 |
T42 | <adampigg> neat, now there is pulseaudio-module-keepalive | 11: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-common | 11:56 |
jellypony | Hello 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://past | 12:23 |
jellypony | ebin.com/p5q5eKEp | 12:23 |
jellypony | fixup-mountpoints: https://pastebin.com/p5q5eKEp | 12:24 |
jellypony | also fstab: https://pastebin.com/raw/mamMkFdi | 12:26 |
jellypony | and mount info from device: https://pastebin.com/tku7Lat0 | 12:27 |
mal | jellypony: 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 issues | 12:45 |
jellypony | Yeah. I had already rewrote it few times to exclude formatting issue. | 13:03 |
mal | jellypony: also those warnings "appears to live on" are intentional and normal, those report what it found | 13:08 |
mal | the issue is "/bin/bash: line 0: test: too many arguments", no idea where that comes from | 13:09 |
mal | jellypony: hmm, but you interrupted that build based on log, let it run to the end and then show | 13:09 |
jellypony | Weird. There was not such error before. | 13:55 |
jellypony | I ran make 2 times and there was different errors | 13:58 |
jellypony | last log: https://pastebin.com/LXgCWq6e | 13:58 |
jellypony | previous build ended up with the same "subcommand failed" but in /frameworks/native/services/surfaceflinger:libsurfaceflinger clang++ SurfaceFlinger.cpp | 13:59 |
jellypony | also i had seen near 350 gcc warnings | 14:02 |
jellypony | D: | 14:03 |
jellypony | I feel dumb | 14: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 |
mal | jellypony: there is some issue in kernel based on that log | 14:05 |
deathmist | https://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 |
deathmist | what makes it strange is that my usb0 rndis interface is shown as having the IP address 192.168.2.15 but I simply cannot make connection in either port 23 or 2323 at any point | 16:49 |
mal | deathmist: at which point of boot? are you in very early boot? | 16:50 |
deathmist | mal: 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 192.168.2.15 which I will definitely be needing if I want to rebase to 16.0 | 16:51 |
mal | deathmist: show logs, dmesg and journalctl at least, maybe you can get those via terminal and paste somewhere | 16:52 |
mal | deathmist: is that device using old android usb way or configfs, there have been cases where init script selects the wrong mode | 16:53 |
vknecht | no ssh through wlan either ? | 16:54 |
mal | deathmist: check if you have /sys/class/android_usb/android0 and/or /config/usb_gadget | 16:54 |
mal | ssh over wlan should be possible imo | 16:54 |
mal | deathmist: maybe also grab /init.log | 16:55 |
deathmist | SSH 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/B16DpfYy | 17:00 |
deathmist | device was OnePlus 5 with SD 835 (MSM8998) from 2017 and base is hybris-15.1 for now | 17:01 |
mal | deathmist: give a link to your device kernel defconfig | 17:02 |
mal | deathmist: does your host computer show any usb interface? | 17:03 |
deathmist | mal: 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 port | 17:08 |
deathmist | I 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 desktop | 17:10 |
mal | deathmist: can you show output of "ls -lR /config/usb_gadget/" | 17:13 |
deathmist | mal: https://pastebin.com/9zpcuyCS I'll reboot my host to make sure NetworkManager is in use instead too | 17:15 |
mal | deathmist: try creating a file /etc/usb-moded/usb-moded-configfs.ini with these two lines: | 17:28 |
mal | [configfs] | 17:28 |
mal | gadget_conf_directory = configs/c.1 | 17:28 |
mal | deathmist: btw, also remove any other usb-moded packages from patterns except the main usb-moded package | 17:36 |
deathmist | mal: don't I also need "Provides: usb-moded-configs" etc in dcd spec then? | 17:49 |
mal | yes | 17:50 |
mal | deathmist: also Obsoletes: usb-moded-defaults | 17:51 |
deathmist | gotcha https://git.io/JeWlt new zip time! | 17:54 |
mal | deathmist: did you test the config already? | 17:55 |
deathmist | mal: when I made usb-moded-configfs.ini I just actually got https://i.imgur.com/QYSmMhg.png constantly even when after replugging | 17:57 |
deathmist | this is on the old image ofc, should I give logs or proceed with a new zip? | 18:07 |
mal | yes | 18:11 |
deathmist | mal: 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 needed | 18:36 |
mal | deathmist: add line "function_rndis = rndis.usb0" to the config file | 18:38 |
mal | without quotes obviously | 18:39 |
mal | anyway 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 script | 18:40 |
mal | there have been other devices with same issue | 18:40 |
deathmist | problem is, telnet and SSH over 192.168.2.15 have worked before (around Hossa 3.0.3.10) as well as USB network sharing .-. | 18:43 |
mal | deathmist: really? | 18:43 |
mal | strange | 18:43 |
mal | you should have told that earlier | 18:43 |
mal | deathmist: 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-d8802e78a5ccecda746f8bd335904cfd | 18:46 |
mal | try on device first and see if that does anything | 18:46 |
T42 | Ricardo %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 3.1.0.11.thank you very much. | 18:55 |
Thaodan | on minor versions yes | 18:56 |
Thaodan | please set a username in telegram to make the irc users be able to ping you | 18:56 |
deathmist | mal: 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 too | 18:58 |
mal | deathmist: did you try that last thing I asked? | 19:09 |
deathmist | mal: 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 20190723 | 19:10 |
mal | did you try the one before that, adding the one line to config? | 19:13 |
deathmist | yep, 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 myself | 19:15 |
mal | would be nice to know exact usb-moded version in both of those and what configs you have | 19:16 |
T42 | <geminis65> Could you explain to me how it's done? | 19:19 |
deathmist | sure, /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 example | 19:21 |
deathmist | dang, also works on a 20190824 zip (also 3.1.0.12), it has usb-moded 0.86.0+mer36-1.4.1.jolla and I'll get a copy of /etc/usb-moded/ on my computer | 19:25 |
deathmist | mal: anything else? | 19:26 |
mal | deathmist: if it worked on that then usb-moded is the same on now | 19:27 |
mal | not sure what else you changed between that version and the new one | 19:27 |
Thaodan | @geminis65 ssu re and after that zypper ref && zypper dup | 19:28 |
deathmist | now 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 192.168.2.15 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 too | 19:52 |
deathmist | from "enp3s0f0u1u1" to "enp3s0f0u4", I don't understand... | 19:52 |
deathmist | well it was shown as 192.168.2.20 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 |
mal | deathmist: host obviously shouldn't have .15, that is the ip of the device | 20:01 |
vknecht | do you also see messages like "Sailfish udhcpd[32101]: udhcpd: can't open '/var/lib/misc/udhcpd.leases': No such file or directory" ? | 20:06 |
vknecht | had that at some point, but creating it didn't help ; but maybe you got further in usb/rndis fixes | 20:07 |
mal | vknecht: the init.log looked interesting it had errors about udhcpd.conf | 20:13 |
mal | but I also have those on fp2 so wondering why those happen | 20:14 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!