Monday, 2020-05-18

T42<ankaos> hı. fix reboot :D00:58
T42<ankaos> thank you. ln -s /dev/null /etc/systemd/system/ofono.service this is solved answer00:58
T42<ankaos> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/iBcqub4ULH.png01:11
T42<ankaos> @elros34 @birdzhang @edp_17 thank you all :)01:27
T42<birdzhang> i do nothing, lol01:28
T42<ankaos> thank you anyway. there are some shortcomings. I will look at them when they open. It is now turning round in the middle.01:29
T42<ankaos> (Video, 5s) https://irc.thaodan.de/.imgstore/Wm7Snsw9kB.mp401:31
T42<ankaos> now build lg g2 :)01:31
T42<ankaos> @ankaos [<reply to media>], I waited quite a while. is this normal?02:20
T42<邹汝惠 %lastname%> (Photo, 774x876) https://irc.thaodan.de/.imgstore/J3RjoCJXgH.png 微信电报群发推广,电报群.微信群.Patato增粉'非小号mytoken关注.,twitter.facebook.Linkedin关注.私聊指定电报群成员\电报群微信群Patato活跃聊天'KYC出售,中英文群管理客服,币圈朋友圈广告,.出售微信号脸书推特号,出售支付宝,国内外交易所代实名认证.请咨询 @keaiden03:52
T42<Sohil876> @ankaos [<reply to media>], Is this mi a1?04:02
T42<neochapay> @ankaos [<reply to media>], Ofono fail05:36
rinigusI have SENSOR_TYPE_PICK_UP_GESTURE on tama which I would like to behave as power button if the screen has been off.07:13
rinigusdescription of the sensor: https://source.android.com/devices/sensors/sensor-types#pick_up_gesture07:13
rinigusfrom the tests, it does not trigger any evdev_trace07:14
T42<Verevka86> Help, hybris-16.0 mobile Internet does not work, dummy_net is available.07:17
T42<Verevka86> Full logcat- https://gist.github.com/Verevka/44951ad902b8f49e2df0bb9eb0a0b62107:18
T42<Verevka86> logcat -b radio- https://gist.github.com/Verevka/2fa9158ddacc0b0268e78022fe7eea2507:18
rinigusany tips? would it require sensorfwd adaptor+sensor for it, daemon to fire or hooking to mce directly?07:18
T42<Verevka86> hybris 15.1 work 😊07:19
T42<Verevka86> dev/socket/netmgr empty07:26
spiiroinrinigus: do you know what that pick up gesture is for real? i.e. is it some sensor that is already supported?07:55
rinigusspiiroin: when I ask the sensor to be pulled by test_sensors, I don't get much printout on test_sensors stdout. however, if I follow logcat, I get activation messages.08:02
riniguswhen I switch off the screen and pick it up, I get sensor-hal message in logcat08:02
rinigusspiiroin: https://dpaste.org/Fich08:02
rinigusthe paste shows sensor description on top (test_sensors) and logcat below08:03
rinigusso, I guess on android side, it is supported08:03
spiiroinrinigus: do you know what triggers it (in android)? tap/movement (accelerometer/orientation?) double tap (display / touch?) proximity? something else08:09
piggzspiiroin: hi, on the pro1, we use mce to detect keypad_slide events to show/hide the on screen keyboard when the hw keyboard is used ..... atm, after boot, you have to open/close the keyboard to get the correct state .... is it possible to query the state to get it right, or, atleast assume the keyboard is closed on bootup ?08:16
rinigusspiiroin: I have not tested on android, but have an issue filed regarding it by a user who did. in my test, it is triggered if phone is on the desk and I pick it up08:24
r0kk3rziirc mal put in some things into sensorfw for android hybrid sensor things08:37
spiiroinpiggz: evdev based switches ought to be probed by mce on startup i.e. actual state should be used. there might be bugs of course. do you know if evdev reports correct state after bootup?08:40
spiiroinrinigus: some low power accelerometer feature? probably would require 1st adding support in sensorfwd side, then making mce utilize the new sensor08:42
rinigusspiiroin: yes, I believe so. I can add it to sensorfwd. will ask if I get into trouble. when that is working, will ping you regarding mce08:43
rinigusspiiroin: but it looks to be some standard sensor in android that we could use08:44
spiiroinrinigus: IIRC there is for example "tap sensor" supported (but probably totally untested) by sensorfwd and some bits for it in mce too. it might be quite similar to this pick-up thing08:48
rinigusspiiroin: indeed! I will use that as a base08:49
piggzspiiroin: i dont know ... i bet it doesnt as ive seen the kernel code!08:49
spiiroinpiggz: evdev_trace reports switch states when executed -> reboot, do not touch the slide, log in, check what it says08:50
piggzspiiroin: is that with the * beside the key name?08:59
spiiroinpiggz: yes09:01
piggzspiiroin: before reboot, keypad closed:09:01
piggz         SW_TABLET_MODE SW_KEYPAD_SLIDE* SW_ROTATE_LOCK09:01
piggzspiiroin: after reboot, not touched:09:03
piggz         SW_TABLET_MODE SW_KEYPAD_SLIDE SW_ROTATE_LOCK09:03
piggzno *, so incorrect state09:03
spiiroinpiggz: ok, so fixing kernel would be preferable. but adding some potentially-misbehaving-sensor logic is not out of the question09:04
spiiroin... there is already such thing for LID sensor (but then again getting that wrong is more serious - can't wake up display)09:05
piggzspiiroin: on android they have the same problem, but they default to it being closed, which is more sensible to ours defaulting to being open09:15
piggzfeel free to suggest driver improvements ;) https://paste.mozilla.org/J0Jqifwt09:18
* spiiroin has back to 80ties moment with coloring ;-)09:24
piggzpaste.mozilla.org: weird colours but works .... paste.gnome.org, never works09:27
spiiroinpiggz: I guess it just relies on implicit switch state management -> false until 1st event is posted09:31
piggzso, i guess I could change it to true to get the behaviour i want09:32
T42<RILuse> pls help09:32
T42<RILuse> !!!!09:32
T42<RILuse> WARNING: CONFIG_AUDIT is invalid09:32
T42<RILuse> Value is: y09:32
T42<RILuse> Allowed values : n, !09:32
spiiroinwould be sensible to be able to rely on kernel not providing bogus data, but...09:32
spiiroinemitting dummy closed event as part of init might do the trick09:33
piggzspiiroin: lol, lost log on that file https://paste.mozilla.org/c6ZgOCXh09:34
spiiroinalternatively, user space overrides can occasionally make things easier if some problem is common among many devices09:34
piggzs/last09:34
spiiroine.g. sensorfwd includes some als/ps hacks in case kernel does not report initial state09:35
piggz@RILuse dont paste large logs to telegram/irc09:36
T42<RILuse> sorry09:37
piggzyou get booted for flooding09:37
T42<RILuse> WARNING: CONFIG_CGROUP_MEM_RES_CTLR_KMEM is invalid09:38
T42<RILuse> It is unset09:38
T42<RILuse> Allowed values : y, !, <=3.509:38
T42<RILuse> Comment says: systemd (optional): http://0pointer.de/blog/projects/cgroups-vs-cgroups.html, only valid if kernel version <= 3.509:38
r0kk3rzwhats the question09:40
T42<ankaos> @Sohil876 [Is this mi a1?], Yes mi a110:11
T42<ankaos> @neochapay [Ofono fail], ln -s /dev/null /etc/systemd/system/ofono.service this is solved answer10:11
piggzspiiroin: https://paste.mozilla.org/J0Jqifwt#L65710:15
piggzi wonder why the commented out probing the keys on driver load10:15
piggzspiiroin: modded the driver, and now the correct state is reported on boot ... but i iwll never know why they disabled it :D11:00
*** birdzhang1 is now known as birdzhang11:53
T42<edp_17> Hi guys. Can somebody help me to solve why the SIM card is not detected, please?13:24
T42<edp_17> When the device is searching for wifi network, the Mobile network sometimes flashes up for a second but then it goes away.13:25
T42<edp_17> The IME number recognition only works when the 'legacyImeiQuery=true' is set in the ril_subscription.13:27
T42<edp_17> The ofono status is: https://paste.ubuntu.com/p/4NJ9pSBtkZ/13:27
T42<edp_17> It looks like using bluez5, however I set '- droid-config-treltexx-bluez4' in the 'jolla-hw-adaptation-treltexx.yaml' file. Can it be the reason why the SIM is not detected?13:32
piggzrinigus: how do you workaround the gpg-connect issues with flatpak?14:30
piggzah, the commands still work14:31
T42<ankaos> me again. :D https://paste.ubuntu.com/p/bXg2F8ZwSk/14:43
T42<edp_17> @ankaos : Do you remember the file I sent you? sfos33016-fix-droid-hal-device.inc.txt? That fixes this error. https://pastebin.com/nC9Dxh1q14:46
T42<ankaos> @edp_17 [@ankaos : Do you remember the file I sent you? …], now used read me :)14:50
T42<ankaos> @edp_17 [@ankaos : Do you remember the file I sent you? …], https://paste.ubuntu.com/p/FpvnX9d466/14:50
T42Raj Gupta %lastname% was added by: Raj Gupta %lastname%15:32
riniguspiggz: yes, commands work. just ignore it15:38
T42Linda %lastname% was added by: Linda %lastname%15:39
T42<ankaos> wlan not working. ı dont see wifi signal15:44
rinigusmal: fun fact - compass is off by ~9 degrees in helsinki/tallinn. which is consistent with my measured offset on physical compass (followed by mobile as well)15:57
rinigusref: https://www.ngdc.noaa.gov/geomag/calculators/magcalc.shtml?15:57
T42<ankaos> https://github.com/enesutku07/android_kernel_lge_msm8974/tree/sailfishos-12.1 @elros telnet not in16:00
T42<ankaos> this is kernel16:00
T42<ankaos> https://paste.ubuntu.com/p/vh4ztnQtjm/ ./hybris/mer-kernel-check/mer_verify_kernel_config out/target/product/d802/obj/KERNEL_OBJ/.config output16:01
T42<ankaos> @neochapay [Ofono fail], If ofono.service is closed, can it be from it?17:32
T42<ankaos> ofono.sevice masked.17:39
T42<ankaos> Which services should I activate here? https://paste.ubuntu.com/p/HwcpHmdbJP/17:44
T42<elros34> IIRC disabling ofono via setting is better workaround. Remove that symlink and add EmptyConfig=true under [Settings] section in /etc/ofono/ril_subscription.conf17:45
T42<elros34> It is even in faq: https://github.com/mer-hybris/hadk-faq#devices-without-modem17:45
T42<ankaos> @ankaos [<reply to media>], @elros34 I'm waiting here. no password or anything else.17:48
T42<ankaos> They "ofono perpetrators," they said.17:49
T42<ankaos> I couldn't figure it out.17:52
T42<ankaos> lock screen is not coming. @edp_1718:12
T42<ankaos> it does when I add a password. I figured it out. wifi is next.18:57
piggzrinigus: tls issues with kde flatpak repo?19:11
piggzerror: Can't load uri https://distribute.kde.org/kdeapps.flatpakrepo: Peer failed to perform TLS handshake19:11
riniguspiggz: you have to download that with curl (as a file) and then add using filename instead of url. no idea why...19:16
rinigusafter that all will work as expected19:17
piggzrinigus: yeah, already done that....the thing i cant do is install x86_64 angelfish19:17
piggzi was able to install the platform ok19:18
piggzbut it cant find angelfish19:18
riniguspiggz: where do you want to run it?19:18
riniguspc?19:18
T42<ankaos> how to install rpm package?19:20
T42<edp_17> @ankaos : pkcon install-local rpm-package-name.rpm19:21
T42<edp_17> Run this as root.19:21
T42<ankaos> @edp_17 [Run this as root.], root password?19:22
piggzrinigus: latte port19:22
piggzcoderus was able to do it on jtab i think19:26
riniguspiggz: is that 64 bit or 32? x86 32 bit is problematic as it is phased out in platforms. 64 bit should be there. if not, you can compile it ...19:32
piggzrinigus: port is 64bit kernel 32bit userspace (as usual)19:33
piggzi know they dont make 32bit x86 angelfish19:33
piggzso trying to find the 64bit version19:33
riniguspiggz: I can look into it a bit later...19:34
piggznp, ta19:34
piggzmal: https://paste.mozilla.org/GqugvxGj19:57
piggzstill hving issues packaging after updating tooling etc...19:57
piggzmy dhd is up to date19:57
malpiggz: did you add those few things to straggler files, which should be obvious thing to do20:04
piggzmal: i thought that, but i never needed to before?20:05
malpiggz: I think I said yesterday that the unpackaged files check was fixed so previously you had unpackaged files but it didn't report it20:05
piggzah, i thought you meant the opposite20:05
piggzok, ignore me for now20:06
T42<ankaos> After inserting the sim card, the device reboots.20:06
malit was broken before which caused issues for various new porters20:06
piggzdoes the build-id errors not matter?20:10
malpiggz: probably not20:11
malpiggz: hopefully20:12
T42<ankaos> Are you having sim card problem?20:16
malwho?20:19
T42<ankaos> Anybody20:21
T42<ankaos> how fix sim card problem?20:22
maldepends on what logs say20:22
malis ofono working correctly?20:22
T42<ankaos> ofono.service enable.20:42
T42<ankaos> but when the sim card is inserted it becomes bootlop.20:43
T42<ankaos> @elros34 [IIRC disabling ofono via setting is better wor …], ı use this command20:44
riniguspiggz: strange, it work for me on pc (x86_64). are you sure you enabled kdeapps flatpak repo? angelfish is only there, we haven't pushed it to flathub yet20:46
piggzrinigus: that is probably it....20:48
piggzremote-ls doesnt show the kde repo...20:48
piggzrinigus: add like:20:50
piggzflatpak remote-add --user --if-not-exists kdeapps --from kdeapps.flatpakrepo20:50
riniguspiggz: not sure you need --from20:51
piggzrinigus: nope, im having trouble with that21:01
riniguspiggz: with adding it?21:01
piggzwell, it adds, but remote-ls doesnt find anuthing21:01
riniguspiggz: what about `flatpak install --user org.kde.mobile.angelfish` ?21:03
piggzrinigus: error: No remote refs found similar to ?org.kde.angelfish?21:04
piggzsame adding /x86_64 to the end21:04
riniguspiggz: "mobile" is there too21:04
piggzah...21:05
piggzrinigus: works with /x86_64 on the end21:06
riniguslet's hope it works after install as well21:06
piggzrinigus: it didnt, exited with 13421:08
riniguspiggz: then you have to ask coderus regarding the tricks he used to get it running...21:09
piggzrinigus: fails to create opengl surface https://paste.mozilla.org/MLceqJeF21:10
riniguspiggz: getting late here... not sure its needed for you, but try to "update extension" in flatpak-runner (its pulley menu).21:13
rinigusor if you have the extension in place, try to remove it.21:13
riniguspiggz: extension is at ~/.local/share/flatpak/extension21:14
rinigusgn21:14
piggzrinigus: this device doesnt use hybris btw ... maybe you need to add mesa libs to extension?21:15
piggzbut, thing about that over nigth :D21:15
T42<ankaos> which?21:17

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