Thursday, 2020-07-30

*** ahjolinna_ is now known as ahjolinna01:42
T42<linusdan> How do I resolve package issues when updating droid-hal-device?02:44
T42<linusdan> Oh, i forgot the pastebin:02:45
T42<linusdan> https://paste.ubuntu.com/p/PQBxmkqspX/02:45
T42<edp_17> @linusdan : I think you should remove the bluez5 mer config. Run this command (in Platform), then re-run the build: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper remove bluez5-configs-mer07:13
Mister_Magistermal: how's rild progress?08:59
malMister_Magister: ?11:06
Mister_Magisterthe rild 1.3 thingy11:07
Mister_Magisterofono thingy11:07
malit works mostly, some instability though11:11
Mister_Magistermal: can i test?11:36
Mister_Magisteri wanna check if it will return registration status on 1.311:36
malyou mean 1.211:37
malthe branches are public, ofono binder plugin and libgbinder-radio11:39
Mister_Magisterye 1.212:07
Mister_Magistermal: oki i'll test12:07
Mister_Magisterbut mal https://paste.opensuse.org/213d7300 :<13:30
maldid you build the libgbinder-radio first?13:31
malnote that you need to add it to local repo so ofono-ril-binder-plugin build finds it13:32
Mister_Magistermal: look at bottom part :)13:32
malso build newer libgbinder, obviously13:32
Mister_Magisteri'm on master13:32
Mister_Magisterthere is no sources for never libgbinder13:33
Mister_Magisterthat's the problem13:33
malgo to your local libgbinder folder and check git log13:33
Mister_Magister    Version 1.0.4513:33
Mister_Magisteroh13:33
malso you are doing something wrong13:33
maleither you didn't build new libgbinder13:34
maljust in case do git fetch in that folder13:34
malthen rebuild13:34
Mister_Magisteroh i never built newer libgbinder actually13:34
Mister_Magisteri've built it on griffin, my bad13:34
Mister_Magisterthanks mal <313:36
Mister_Magisterbuilt13:38
* Mister_Magister https://i1.theportalwiki.net/img/4/40/Wheatley_bw_a4_the_itch03.wav13:39
T42SSS %lastname% was added by: SSS %lastname%13:40
Mister_Magisteraaaaaaaaaaaaaaaaand no luck13:47
Mister_Magistermonich: :<13:47
Mister_Magistermonich: from logs i've confirmed its _1_2 and timeout :<13:51
Mister_Magistermal: in griffin i seem to get into ramdisk stable but i don't have rndis or mtp (3.18) and i'm wondering if you have any idea what can i do about it13:58
malcheck what usb config options you have enabled in your kernel13:59
T42<edp_17> Mister_Magister, mal, monich: Can you take a look to the logs and help me to find out what's wrong with rild or ofono, please?14:07
T42<edp_17> journalctl --no-pager -f: https://paste.ubuntu.com/p/BtJHTmYngw/14:07
T42<edp_17> logcat -b radio: https://paste.ubuntu.com/p/PZ5GjNXRcv/14:07
T42<edp_17> logcat: https://paste.ubuntu.com/p/pFHbkNmwNS/14:07
T42<edp_17> dmesg: https://paste.ubuntu.com/p/Xjt3MBjZrJ/14:07
T42<edp_17> ril_subscription.conf: https://paste.ubuntu.com/p/QyNZyrFTzv/14:07
Mister_Magisteri dindu nuffin'14:08
Mister_Magister@edp_17 is rild running?14:09
Mister_Magisteris it crashing?14:09
Mister_Magisterlooks crashing to me14:10
T42<edp_17> Yes: 5323 ?        Sl     0:00 /system/bin/rild14:10
mal@edp_17 first of all that journal log has no messages from ofono, proper way is journalctl -a --no-pager to get full log14:10
malor even "journalctl -b --no-pager" which should show only current boot log14:11
T42<edp_17> journalctl -a --no-pager: https://paste.ubuntu.com/p/dBDwc4msC5/14:11
Mister_Magister@edp_17 check ps again if rild pid changed14:12
Mister_Magisterif it changed then its crashing14:12
T42<edp_17> Yes, it has changed to 5334 a while ago but since it stays.14:12
T42<edp_17> Yep, it is 533414:13
Mister_Magisterjournalctl -u ofono14:13
T42<edp_17> journalctl -u ofono --no-pager: https://paste.ubuntu.com/p/WZXZbBg8r3/14:14
T42<edp_17> Rild is still has the same pid 533414:16
Mister_Magisterril version 8 oof14:19
Mister_Magisteranyway that's as far as my knowledge goes14:19
T42<edp_17> journalctl -b --no-pager: https://paste.ubuntu.com/p/Pr5qyYbnrn/14:19
T42<edp_17> Mister_Magister: Thank you.14:19
Mister_Magisteryou can grab ofono logger but doubt that will help much14:19
T42<edp_17> I have tried that too but didn't help either.14:22
Mister_Magisterdoes it report anytihng?14:23
T42<edp_17> I don't even know what categories should I select? All?14:23
Mister_Magisterall14:23
T42<edp_17> It says, Connected to ofono.14:24
Mister_Magisterthat ain't much14:24
malmaybe that device needs some changes to ril_subscription.conf14:24
T42<edp_17> Yeah. ๐Ÿ˜”14:24
T42<edp_17> now it says mce: Battery level is 97 (this is not about ofono either)14:25
T42<edp_17> Nothing else.14:25
Mister_Magisterhmmm ril 8 rings bell14:25
Mister_Magisterbut idk where14:25
T42<edp_17> This is old.14:25
Mister_Magisteryes i'm aware of that14:26
Mister_Magisteri'm not sure if that rild is ok even cause it was crashing14:29
T42<edp_17> Its pid is still the same 533414:29
Mister_Magisteryeah but ealier it was segfaulting14:29
T42<edp_17> Oh, I see.14:31
Mister_Magisterthere has to be problem with rild, not ofono14:32
* Mister_Magister mr obvious14:32
T42<edp_17> I don't know rild at all.14:33
Mister_Magisterhttps://paste.opensuse.org/3cb1c181 this bothers me14:33
Mister_Magisterdoesn't seem related but still bothers me14:33
Mister_Magistermhm something is definitely bad https://paste.opensuse.org/6277b389 but idk what14:35
Mister_MagisterFatal signal 11 (SIGSEGV), code 1, fault addr 0x2 in tid 4919 (rild) its segfaulting (captain obvious) without any obvious cause it just is14:38
Mister_Magisterthat's all14:38
T42<edp_17> Yeah, and I have no idea how to fix it.14:41
Mister_Magistermal: how to make high temperature warning working on ports?16:36
malnot sure16:40
T42<edp_17> Any other idea of my rild problem?16:43
malwhat ril_subscription.conf options have you tried so far?16:50
KabouikDo you happen to know where exactly should the cursor icons go Mister_Magister? I'm comparing with my laptop but my laptop has a index.theme that tells my OS what is my current icon theme, SFOS doesn't have that17:28
Mister_Magisternopoe17:29
Mister_MagisterKabouik: add it then17:29
T42<kabouik> Yup, worth a try17:29
piggzmal abranson: https://github.com/mer-hybris/hybris-boot/pull/189 :)17:43
KabouikCouldn't get icons to show up so far Mister_Magister, but it's pretty awesome to see that xev sees all buttons in LXC17:51
Mister_Magisterhuh17:51
Mister_Magistercan't help i'm stupid17:51
KabouikScroll wheel, prev/next, middle click :>17:51
Mister_Magistercan't even get libs to load17:52
Kabouik:>17:53
Mister_Magisteri'm so retarded17:53
Kabouikmal do you know where mouse icons where originally? Apparently the icons were there in some old SFOS version: https://together.jolla.com/question/75940/a-mouse-in-my-jolla-just-wanna-understand/?sort=latest17:58
Kabouikwere*17:58
piggzKabouik: my inbox seems to have been hammered by you :D18:01
KabouikWhat when? I didn't post much on Github today18:01
piggzoh, and Mister_Magister18:01
Mister_Magisterhm?18:01
Mister_Magisterwhat's wrong piggz18:01
piggznothing wrong, i just see some email to catch up on18:02
Mister_Magistercomplaining aobut inbox? one day i got literally 20 emails from u and u got just 418:02
Mister_Magisternot to sound angery18:02
KabouikHe probably got like 10 from me in 2 hours when I was trying to debug sailfish-fpd-community last week, or vibration :p18:02
KabouikToday is calm (so far) piggz :>18:03
KabouikActually the mouse works in more native apps than I thought, left click seems to emulate taps/swipes normally everywhere, even on home screen18:12
piggzKabouik: native already has alt-tab, what more do you want :D18:13
T42<kabouik> I want to plug the damn Proยน to a usb-C hub and have a full Linux distribution with LXC working on external monitor, keyboard and mouse :p18:17
T42<elros34> @kabouik about your pr: I could not make hdmi work on photon. Only on some A31 based tablet I was able to use it. IIRC originally it was testet on some nexus18:20
KabouikOh, good to know thanks @elros34, sorry I mixed it up18:21
T42<elros34> I think (long time ago) I saw some commit which disable cursor or something like that. You could check qtwayland commits maybe18:22
Mister_MagisterKabouik: well there is sfos emulator which basically has mouse18:22
Mister_Magister@elros34 doesn't like lipstick backend have to be updated for 2 screens?18:23
KabouikBut is the mouse displayed by the SDK or by the host OS?18:23
Mister_Magistersdk it's cirlce like touch18:23
KabouikHUM18:23
KabouikInteresting18:23
Mister_Magisterit's virtualbox tho so you actually have touch device18:23
KabouikI do not have enough space to install it, but I'll definitely keep that in mind18:23
Mister_Magisterbut it's kinda coursor18:23
Mister_Magisterlemme start it up18:24
KabouikHopefully I can some interesting diff in /usr/share/icons18:24
T42<elros34> Mister_Magister for basic support only qpa plugin18:24
Mister_Magisteroh nice but like mirroring?18:24
T42<elros34> yes18:24
KabouikI mean the rotation issue is quite frustrating, but it's kind of magic to plug the phone to a usb-c hub with a usb mouse, and control native apps or desktop apps in LXC without touching it18:24
T42<elros34> @kabouik you should be able to rotate mouse by 9018:25
Mister_Magister@elros34 verynice18:25
Mister_Magister@elros34 do you have any idea how to make resolution smaller/18:25
Mister_MagisterKabouik: ye would be epic18:26
KabouikAwesome @elros34. Do you think it can be dynamic? Not a big issue if no, no one would use the phone in portrait when connected to a usb hub18:26
Mister_Magisterpinephone got ahead of us already >:(18:26
Mister_MagisterKabouik: i think there are display connect events maybe18:26
KabouikMister_Magister I defiitely saw HDMI stuff in logcat when plugging a monitor, but we failed to send anything to it, even with yamui18:27
KabouikAlso, we could have a first glance at what it would be to use the phone as a LXC laptop: it works very well with xrdp so I could display the LXC container on my computer and control it with mouse and keyboard.18:28
KabouikOf course that's not the final goal, we don't want a computer to access the phone, we want the phone to be the computer18:28
Mister_MagisterKabouik: got any files/dirs i could look for in search of coursor?18:28
KabouikI have to go, but IRC is on, please do ping me if you find something in SDK18:28
T42<elros34> @kabouik have you tried to add rotate=90? https://doc.qt.io/qt-5/inputs-linux-device.html18:28
KabouikTry that maybe Mister_Magister: find /usr/share/icons ~/.local/share/icons ~/.icons -type d -name "cursors"18:29
KabouikI haven't @elros34, but I will tonight or tomorrow for sure; thanks18:29
KabouikSee you later folks18:30
Mister_MagisterKabouik: https://git.sailfishos.org/mer-core/qtwayland/blob/master/src/plugins/platforms/wayland/qwaylandcursor.cpp#L60 thats the only thing i've found so far18:43
piggzwould be certainly nice to have some kind of monitor output, and a convergence rootfs on the pro1 and the PP18:58
Mister_MagisterPP?18:58
Mister_Magister@elros34 i haven't found single commit aobut cursor since 201319:00
piggzMister_Magister: PinePhone19:02
Mister_Magisterah19:02
Mister_Magisterbig PP19:02
Mister_Magisterpiggz: i'm thinking of buying pinephone myself so that i can be part of cool kids19:16
T42<eugenio_g7> I need to try the usb-c dock on Sailfish OS now that I made the hw mod on my PP19:21
piggzrinigus: imagine my dissapointment when i fired up angelfish, logged into google, it prompted for my fido u2f token, i plugged it in via my usbc-otg adapter (kernel detected it) and ..... nothing!19:57
riniguspiggz: how is it supposed to work? Something via USB and browser?21:00
piggzrinigus: yes .... usually on old browsers like sfos browser, it simply says that fido tokens are unsupproted, but on angelfish it must have been new enough to have support21:01
piggzbut i guess it couldnt read the usb devce from flatpak ?21:01
piggzor quite likely angelfish doesnt actually have that support anyway21:05
piggzid have to ask the devs21:05
riniguspiggz: we don't have usb access from angelfish, at least from flatpak. it may require some extra permissions. as for what else is needed on browser side, no idea21:11
riniguspiggz: you can actually compile it on PC and test there21:12
piggzrinigus: dev perms were root:root 600, fixed that now to root:input 66021:18
piggztried adding --device=all but nope21:22
Mister_Magisterpiggz: what's angelfish21:35
piggzMister_Magister: erm, flatpak webbrowser, quite good21:36
Mister_Magisterhmm i never got around flatpak. got any instructions?21:36
piggzhttps://github.com/sailfishos-flatpak/main21:37
Mister_Magistermhm mhm i need newer libhybris means rebuilding dhd21:38
Mister_Magisterwhat is PR_SET_NO_NEW_PRIVS21:39
Mister_Magisteranyways 5z applies so i'll try that21:42
Mister_Magisterpiggz: should it be this messy lmao https://paste.opensuse.org/669c26ca21:46
piggzyes, the gpg-connect messyness is known21:47
Mister_Magisterkk21:48
Mister_Magisterunderstood21:48
Mister_Magistermhm invisible controls i'm starting to like it21:51
Mister_Magisterit's even worse than stock broser xddd21:52
T42<edp_17> mal: So far I have tried these ril_subscription options (I don't mention specific values for them because I tried different ones e.g. on or off, or a number where it was appropriate):23:11
T42<edp_17> forceGsmWhenRadioOff23:11
T42<edp_17> allowDataReq23:11
T42<edp_17> legacyImeiQuery23:11
T42<edp_17> enableSimToolkit23:11
T42<edp_17> SetRadioCapability23:11
T42<edp_17> emptyPinQuery23:11
T42<edp_17> radioPowerCycle23:11
T42<edp_17> confirmRadioPowerOn23:11
T42<edp_17> transport=binder-mtk:name=slot023:11
T42<edp_17> useDataProfiles23:11
T42<edp_17> dataCallFormat23:11
T42<edp_17> dataCallFormat23:11
maldid any of those have any observable effect?23:14
malit's quite possible the issue could be something else also, like that some parts of the android side are not working properly, you could also try dummy_netd23:15
T42<edp_17> The only symptom was for some of these options, the network icon disappeared, so ofono probably couldn't start at all. Therefore I removed all of those.23:18
T42<edp_17> The dummy_netd is a option in ril_subscription or package to install?23:18
T42<edp_17> Okay, I have found it and currently am building.23:28
T42<elros34> AFAIK dummy_netd is not for hybris-1423:30
T42<kabouik> @elros34 just to confirm, do you think the command in the example can be used as is on SFOS or do I need to find correspondance?23:33
T42<kabouik> `export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event5:rotate=90`23:33
T42<elros34> no, I was thinking about something like: evdevmouse:rotate=9023:35
T42<kabouik> Ok that was my other idea, thanks23:35
T42<kabouik> Will report back if that works23:35
T42<elros34> but looks like there is no support for it: https://git.sailfishos.org/mer-core/qtbase/blob/mer/5.6.3+git26/src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp. Only evdevtouch use it23:40
T42<edp_17> mal: @elros was right. I have built installed the dummy_netd package on the device and the result is, it boots into sfos, then a few seconds later it reboots. ๐Ÿ˜”23:40
KabouikNope that didn't work. Weirdly enough, it didn't break it either @elros3423:41

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