Wednesday, 2019-03-20

riniguspiggz: over a long time looking forward to SFOS upgrade on onyx - will give a chance to try piggz-o-vision!06:11
T4<adampigg> Rinigus :)06:24
T4<jgibbon> Sorry btw for not getting the missing icons ready for first release. Needed to support my family a lot the past weeks. I hope this dials in to a more normal amount in a week or two if everyone gets a bit more healthy again07:24
T4<adampigg> Hey, no problem, family comes first!07:28
T4<adampigg> Now get to it!! :D07:28
kimmolirinigus:  o/08:30
T4<adampigg> mal, i added a meeting topic re nemo.filemanager and put you as an optional incase i cant make it, hope u dont mind08:35
riniguskimmoli: :)08:39
T4<StillJustGerd> So, to activate the wifi chip on boot I have to modprobe the wlan module, which I can do with a simple systemd unit. My problem now is to include this unit into the zip that is being built, in a state that it is already enabled09:07
T4<StillJustGerd> any ideas on how to do that?09:07
T4<adampigg> symlink to the appropriate .wants dir09:10
T4<adampigg> many examples in other ports config repos09:11
T4<StillJustGerd> thanks09:11
r0kk3rzyeah add it in sparse09:14
T4<StillJustGerd> i still can't figure out how to get a logcat though09:16
T4<StillJustGerd> logcat returns a read failure, and dmesg wasn't helping at all09:16
r0kk3rzbroken logcat, thats handy09:19
rksomayaji@steevie was that no for my query09:51
rksomayajiAbout using los 16 to port to Motorola one power09:51
r0kk3rznot sure we can do 16 yet10:03
T4<StillJustGerd> so, just to make sure: i want to put all files that I want to be working in the final system image into droid-config/sparse ?10:06
T4<StillJustGerd> sounds good i can make that work (i think)10:08
T4<StillJustGerd> okay i think i got it I'm rebuilding right now. Any ideas about my modem problem? It is a motorola phone, and the HADK guide talks about firmware loading, any idea how that works?10:33
T4<adampigg> droid-config-$device/sparse, not sub repo10:47
T4<StillJustGerd> yeah, i know10:50
T4<StillJustGerd> seems like i got modem working as well by symlinking a bunch of services from /system/etc/init to /usr/libexec/droid-hybris/system/etc/init/10:51
T4<StillJustGerd> time to put that into the image10:51
spiiroinMister_Magister: what seems to be the problem?10:56
Mister_Magisterspiiroin: oh hi. in moto g2 and g2 lte in 3.0.1 update i can't lock phone. it wakes up instantly. but when i cover proximity it does sleep11:01
T4<JochenSplifficus> Mal how is bringup of 15.1 going so far?11:09
spiiroinMister_Magister: ok, that would be something fresh and interesting ;-)11:09
spiiroinMister_Magister: and by "locking" you mean turning display off from top swipe / with power key?11:10
spiiroinMister_Magister: all display wakeup reasons should be logged by mce by default -> anything interesting in journal?11:11
Mister_Magisterspiiroin: when i lock it with button or timeout it wakes up11:16
Mister_Magisterspiiroin: 1.98 mce doesn't work but 1.96 does11:18
Mister_Magisterspiiroin:  will you be available later this day? im at work so can't debug rn11:23
T4<adampigg> could a happy sailor allow store access to latte? sledges, pketo?11:23
spiiroinMister_Magister: "journalctl -u mce -f", press power key, see it happen; then paste the journal bit somewhere & ping me -> I'll take a peek at it11:27
Mister_Magisterspiiroin: YESSIR!11:28
T4<StillJustGerd> uhm stupid question, but is there any way to get the fingerprint sensor working on community devices yet?11:43
T4<adampigg> no11:48
T4<StillJustGerd> okay, i expected that11:49
pketo@adampigg would need device model line from ssu s output11:49
T4<adampigg> pketo: Mi Pad 2 (latte / latte)12:06
T4<StillJustGerd> trying to get the headphone jack to work, how can i get myself a list of audio output devices?13:07
maldo you see any headphone related device in output of evdev_trace -i (from mce-tools package)13:11
T4<StillJustGerd> i can't seem to install mce-tools13:18
malwhat is the error?13:19
T4<StillJustGerd> nvm13:19
T4<StillJustGerd> it was something along the lines of "no permission"13:20
T4<StillJustGerd> thought i was in devel-su, but wasn't13:21
T4<StillJustGerd> based on the output of evdev_trace, i identified this as the headphone device13:27
T4<StillJustGerd> ----====( /dev/input/event6 )====---- … Name: "msm8952-snd-card Headset Jack" … ID: bus 0x0, vendor, 0x0, product 0x0, version 0x0 … Type 0x00 (EV_SYN) … Type 0x05 (EV_SW) …          SW_HEADPHONE_INSERT SW_MICROPHONE_INSERT SW_LINEOUT_INSERT SW_JACK_PHYSICAL_INSERT …          SW_HPHL_OVERCURRENT SW_HPHR_OVERCURRENT SW_UNSUPPORT_INSE13:27
T4<StillJustGerd> the problem for me now is that I have no idea how to put this into a config file for ohmd so that headphone jack switching works13:28
pketo@adampigg and it has correct and stable Device UID? (I assume it should be the wlan mac in that case)13:38
mal@StillJustGerd try with evdev_trace -t event6 to see if you see actual events from that13:55
T4<StillJustGerd> yep, i do get events13:59
T4<StillJustGerd> this is inserting/removing headphones twice13:59
malis there any other device in the list that shows up as headphone device14:00
malif not then you can probably fix it with something like this
malyou can see the needed values for the last two lines in evdev_trace -i output14:01
T4<StillJustGerd> evdev_trace -i output returns an error for me: evdev_trace: W: output: device file not found14:03
T4<StillJustGerd> i am guessing that what i got from event 6 is the correct one. let me reboot quickly to test14:05
T4<StillJustGerd> hmm, that doesn't appear to work14:10
T4<StillJustGerd> it gets reported correctly to the kernel, but then that's it … Mar 20 22:12:21 Sailfish kernel: wcd_mbhc_report_plug: Reporting insertion 4(4),zl 55455 ohm,zr 55455 ohm14:13
T4<StillJustGerd> (that's the line from dmesg)14:13
mal@StillJustGerd I mean output of "evdev_trace -i" not "evdev_trace -i output", you used the same command already before14:22
T4<StillJustGerd> mhm14:22
T4<StillJustGerd> i put the config as `eci-probe-delay = 2500 … disable-incompatible-quirk = true … jack-match = msm8952-snd-card Headset Jack … jack-device = /dev/input/event6`14:24
T4<StillJustGerd> into /etc/ohm/plugins.d/accessories.ini14:24
malsounds reasonable14:24
T4<StillJustGerd> yes, it does, but somehow the output does not switch to the headphone jack14:25
malyou rebooted or just restarted ohm?14:26
T4<StillJustGerd> tried both14:26
T4<StillJustGerd> neither changed anything14:26
malpastebin the output of "evdev_trace -t event6"14:27
T4<StillJustGerd> that's pluggin in/removing the headphone jack a few times14:30
malhmm, it reports lineout insert14:30
malwhich is not currently supported and is a bug in sailfish, there is a fix for that but afaik it's not merged yet14:31
T4<StillJustGerd> ah i see14:33
T4<StillJustGerd> anything I can do apart from waiting for the fix to be merged?14:33
maluse different headset?14:39
malafaik it depends on the headset model14:39
malthe way those are connected14:39
T4<StillJustGerd> huh14:53
T4<StillJustGerd> that's interesting14:53
T4<adampigg> Pketo yes, wlan mac is stable, otherwise id have to enter password every time :)14:56
T4<vvreddy> Fwd from vvreddy: bdw how to generate logs for bugs Like gyroscope is dead accelerometer dead fp dead brightness dead15:49
malwhat device?15:50
T4<vvreddy> santoi15:50
T4<vvreddy> santoni**15:50
T4<vvreddy> Redmi 4X15:50
maldid you read about sensors in faq which is linked in channel topic?15:52
T4<vvreddy> (Sticker, 512x493)
T4<vvreddy> leme do that first sorry to bother15:53
T4<vvreddy> [Edit] lemme do that first sorry to bother15:53
T4<vvreddy> @mal [did you read about sensors in faq which is lin …], can I get a link to the channel15:56
vknecht@vvreddy: (link in this channel's topic)16:00
T4<vvreddy> thx sur16:00
vknechtline 69316:00
T4<vvreddy> 👍16:01
vknechtcheck line 829 too16:02
T4<vvreddy> hmm … yeah16:02
T4<vvreddy> @vknecht [check line 829 too], and abt fingerprint ? … changing the kernel might help ?16:03
T4<vvreddy> I am an android kernel dev … so yeah I know that the driver is needed to run the sensor16:03
vknechtnot sure about fp, though subject... ;-) keep it for later...16:03
T4<vvreddy> @vknecht [not sure about fp, though subject... ;-) keep …], its a managable option if others get solved16:04
T4<vvreddy> … this is another similar guide but maybe deprecated :)16:07
steevie_how to check if libhybris has been compiled with qcom_bsp for caf?16:18
malandroid-config.h in droid-hal devel package16:22
steevie_i dont have that file, which was what i noticed as welll :/16:24
steevie_how can it be possible?16:24
malsomething like that should be there16:31
malin some subfolder16:31
steevie_yeah, i was joking, i found it16:32
steevie_is TARGET_QCOM_DISPLAY_VARIANT := caf needed in caf hybris 12.1?16:45
malif autodetection fails you might need to define like here
steevie_it didnt fail, i also had that line in the past. i didnt know if that was needed elsewhre. so, caf only needs TARGET_USES_QCOM_BSP ?17:46
steevie_in 5.117:47
malsome need both #define QCOM_BSP 1 and #define QTI_BSP 117:50
malin that define17:50
steevie_i set that line as well in the past :P. i meant, do i need to set someone else in boardconfig, i dont know much about hybris 1217:52
steevie_i just know that display from /usr/bin/surfaceflinger works while test_hwcomposer segfaults17:52
steevie_tried the hack;tried uninstalling droidmedia;tried 7.1 kernel17:53
steevie_but noooo ._.17:53
T4<StillJustGerd> what is this gst-omx thing that is in the pinned document? is taht just additional codex for gstreamer?17:54
steevie_i used gst-omx in the past but now it's not needed anymore17:55
T4<StillJustGerd> I'm askinging because, among other issues, I was having graphical glitches where part of the screen would just simply turn black17:55
T4<StillJustGerd> and since it was stuff like gallery or the browser, I assumed that it was an issue with gstreamer17:55
steevie_in the past i used gst-omx to fix color distortion17:55
T4<StillJustGerd> oh okay17:56
T4<elros34> gst-omx is only needed if gst-droid desn't work for your device17:56
steevie_now i dont know but it's not needed anymore. i thing they fixed it on gstdroid, at least from what i remember17:56
T4<StillJustGerd> @elros34 not working as in, doesn't properly display stuff?17:56
T4<StillJustGerd> because that's exactly what my problem is atm17:56
T4<elros34> what excatly problem you have?17:58
T4<StillJustGerd> when starting browser, screen turns white and flickers between white and black for a few seconds. when viewing photos in gallery, they stay black even though they are actually there (and not black)17:59
vknecht@StillJustGerd: line 780 ?18:01
T4<StillJustGerd> OH LOL THANKS18:01
T4<StillJustGerd> seems like i overread that one18:01
T4<elros34> also this might be needed for gallery issue18:04
Mister_Magisterspiiroin: that's how it looks like
Mister_Magistersome weird button gesture spamming going on18:06
malsteevie_: why would you need to do anything in BoardConfig, you adapt adaptation to match that, not other way18:07
malsteevie_: what exactly is your problem?18:07
steevie_i dont know it was a supposition18:07
steevie_ill send a logcat, sec18:08
mallogcat is not enough, journalctl also18:08
maland you don't mix kernel from another base18:09
steevie_journalctl disabled :)18:09
malalso how about actually tell what you are trying to fix instead of just pasting random logs18:09
steevie_ this is logcat18:09
steevie_im trying to fix display18:10
steevie_E/qdhwcomposer( 3422): Unknown display attribute 0 i think this is the cause18:10
malI doubt it18:10
steevie_why now? im pretty sure about that18:10
malbut not sure18:10
steevie_other error happen even with a working surfaceflinger18:11
malalso don't just take random parts of logs, the real error could be earlier18:11
malalso dmesg18:11
maland you really should fix journal18:11
steevie_i think it cant even be fixed. it's not just in sailfish. journalctl used cause me problems even in halium18:13
steevie_used to*18:13
malmost things can be fixed18:13
malI find it very strange why journal would even fail, unless you have some missing kernel stuff18:13
steevie_nfc cant be fixed because lineage doesnt support my chip. the same can be with journalctl18:14
malis your defconfig based on halium?18:14
steevie_halium uses same config, so, in a certain way, yes18:14
malI find it highly unlikely that journal would be permanently broken18:14
malsteevie_: but did you do the mer changes on top of pure lineage defconfig or on top of halium modified defconfig18:15
steevie_i created hybris configs for my device a lot of times, so, i dont think it's a kernel config problem18:15
malit's very difficult to help without seeing what you have done18:15
steevie_i applied mer defconfig changes on lineage config18:16
steevie_i have to reinstall it because i copied some egl libs in the current rootfs18:17
steevie_it will take a while :D18:17
malyou need to show all of your repos18:18
maladaptation and kernel18:18
steevie_ the 12.1 kernel18:19
steevie_i used my 14.1 hybris config18:19
malso you are mixing different bases?18:19
maldon't do that18:19
steevie_only the config18:19
steevie_because i was too lazy18:19
malthe configs can have changes18:20
steevie_they do18:20
malyou just looking for problems by doing things like that18:20
malyou do not mix different android bases18:20
steevie_noo :(18:20
steevie_surfaceflinger in android (the one in data/.stowa.../sai../system) works if i run it manually; i see bootanimation, but in test_hwcomposer it doest18:21
steevie_ill try to patch 12.1 config18:22
malalso changing android base without a very good reason rarely solves issues18:24
malusually the problem is in adaptation side, except some cases where the 32-bit hwcomposer is broken for example in 64-bit devices18:24
steevie_well aliendalvik is a good reason, isnt it ? ^^18:25
malwell since we don't talk about that here18:25
steevie_12.1 works well with aliendalvik18:26
steevie_thats it18:26
steevie_no other reason to port 12.1 i think18:26
steevie_culture can be a reason tho :D18:27
maldid graphics work in 14.1 base?18:28
steevie_yes, and professionally18:28
steevie_thats why this is weird af since hwcomposer is the same18:29
steevie_i'd say that almost everything works in 14.118:29
steevie_with 12.1 mer config i get the same issue: logcat and dmesg19:02
steevie_journal log coming soon in 205019:02
Mister_Magisterspiiroin: btw if you could ping me on pm then i will know (it will save permamently) otherwise i might miss you19:12
malsteevie_: droid-hal-init is oddly quiet19:18
steevie_humm,it says it cant open fstab19:20
malwe don't use fstab in sfos19:20
steevie_but thats in /boot while init.qcom.rc is in sf root19:20
spiiroinMister_Magister: touch driver constantly emitting MSC_GESTURE events? what do you see with evdev_trace?19:20
steevie_failed to open '/sys/class/graphics/fb2/msm_fb_type this one?19:20
Mister_Magisterspiiroin:  wdym what do i see19:21
spiiroinMister_Magister: run "evdev_trace -t" and then blank the screen with power key / top menu19:23
spiiroinif it is spewing gesture events from some input device -> that is the problem19:23
spiiroinif not, then it might be something really funky in synthetized double tap handling (probably not, it uses only one gesture id)19:24
Mister_Magisteroption nr 119:25
Mister_Magisterevent 7 looks like power button19:25
Mister_Magister0 looks like spammer19:25
Mister_Magisterevent4 is touchscreen19:26
spiiroinMister_Magister: can you paste also "evdev_trace -I"19:26
Mister_Magistergood thing we have susepaste in common repo19:27
spiiroinMister_Magister: so, my current guess : event0 "bma2x2" is some sensor using really odd event codes -> whatever it is mce should not be reading it -> blacklist should help19:28
Mister_Magisterspiiroin: okay how do we blacklist it19:29
spiiroinprintf "[evdev]\nblack=bma2x2\n" > /etc/mce/99-testing.ini ; systemctl restart mce19:29
spiiroinor so.. if it does not work I need to look again ;-)19:30
Mister_Magisternot echo?19:30
spiiroinone printf or two echos with overwrite and append redirect - your choice ...19:31
Mister_Magistervi, vi is the answer19:31
* spiiroin thinks "q!" is the answer19:31
spiiroinanyway, you get the point - you need to19:32
steevie_now im curious to see if aliendalvik works on this 12.1 base, otherwise i wont keep doing this thing anymore19:32
spiiroin have a two line ini file in right place with sensible name19:32
Mister_Magisterspiiroin: only :wq!19:32
Mister_Magisterspiiroin: yep helped19:32
Mister_Magisterspiiroin: thanks a lot19:33
spiiroinMister_Magister: ok, then that probably is is the fix - assuming nobody wants to tinker with that sensor driver and everything that is reading it19:33
Mister_Magisterspiiroin: yee thanks19:33
Mister_Magisterspiiroin: still interesting because in 1.96 problem didn't exist19:52
Mister_Magisterso update of mce caused it to spam19:53
piggzmal: so, the feedback seems positive19:58
piggzmal: i especially like this comment
Mister_Magisterpiggz: xdd20:00
Mister_Magisterpiggz: so ur camera app now works on every device?20:01
piggzMister_Magister: well, not J1 it seems20:01
piggzand xa2 users are having issues, but thats not my fault20:01
Mister_Magisterpiggz: yes lolz but other ports?20:02
piggzas far as i know20:02
Mister_Magisterkek i will give it a try20:03
Mister_Magisterpiggz: funny how you cant switch autofocus mode to the mode that is next to active one20:05
Mister_Magisterpiggz: what does second button from top do?20:06
Mister_Magisterpiggz: pictures are seriously sharper20:10
piggzMister_Magister: on the left? exposure modes20:14
Mister_Magisterpiggz: i mean the one below magic wand20:14
Mister_Magisterit's empty for me20:15
piggzMister_Magister: well, you dont have any exposure modes then20:15
piggzold gst-droid or old qtmm20:15
Mister_Magister810 y r u so hot20:15
Mister_Magisterpiggz: gst-droid for sure20:15
Mister_Magisteris it just me that i put phone into fridge20:19
Mister_Magisterspiiroin: is it possible to run some script when phone is like 5 minutes in deep sleep and on wakeup?20:22
Mister_Magistermal: do you know if there is some /init* scripts event on screen off/on?20:25
malpiggz: don't merge translations so quickly20:26
malpiggz: I was just commenting20:26
Mister_Magisteri need to run script and hook it up to screen off/on somehow20:27
malMister_Magister: why do you need it?20:31
Mister_Magistermal: i thought to make some optimization. Current hotplug settings in moto x force leaves all little cores running all the time and at least 1 big core running all the time. in sleep i could change hotplug settings to leave only 1 little core online. that would save some energy20:32
malok, I need to think about that20:37
Mister_Magistermal: thanks20:37
* Mister_Magister goes into corner to cry about his break20:38
Mister_Magistermal: could you push your hybris16 patches somewhere?20:50
Mister_Magisteri would like to kinda use it with aosp20:50
piggzmal: oh, what was wrong?20:50
malpiggz: nothing bad, just some improvements21:23
piggzholy shit.....21:24
piggzbill and ted 3 totally trumps the PM speech tonight!21:24
vknechtworrisome, isn't it ?22:29
piggzits all BS :D22:40
r0kk3rzyou'd think by now you guys might have some kind of plan :P22:43
piggzr0kk3rz: huh, arnt you in the same group?22:45
piggz@eugenio_g7 dammit, fixup xa2, all your users are complaining at me :D22:47
piggzblah blah installation fails on xa222:47
T4<eugenio_g7> piggz, xa2 is outside of my domain :P Only X Compact22:47
r0kk3rzpiggz: i left, no more uk for me22:47
r0kk3rzbeen in aus for about a month now22:48
piggzr0kk3rz: ah cool, at least u wont need an automatic right to work in aus!22:48
piggzwho is xa2 dev?22:48
T4<eugenio_g7> Jolla Oy22:48
T4<eugenio_g7> :P22:49
r0kk3rz*cough* mal *cough*22:49
malr0kk3rz: ?22:55
r0kk3rzpiggz: you can always come down my neck of the woods :) the mountain biking is pretty good here22:55
malI can try the app on xa2, I have used it there22:55
piggzmal: xa2 users saying they cant install adv-camera22:55
malI did test it there but local builds obviously22:56
piggzmissing android-hal package22:57
r0kk3rzpiggz: i saw a comment saying it works on xa2+22:57
r0kk3rzso... idk22:57
r0kk3rzmaybe not updated?22:57
piggzprobably 'keep calm and pkcon refresh'22:57
r0kk3rzsounds like it22:57
malr0kk3rz: I'll try latest first22:58
piggzwhat is xa2+22:58
eugeniopiggz, some debug log from my X Compact:
r0kk3rzone of the several xa2 variants22:59
r0kk3rzi should dust off and update the jphone and see what the story is there22:59
malpiggz: you broke it22:59
eugenioyea same22:59
r0kk3rzim guessing they never updated droidmedia or possibly even gstreamer22:59
malpiggz: revert this change
malpiggz: or I can do it also23:00
piggzmal pls do it, im about to head off...23:01
piggzmal: ah, i didnt make that change.... it must have came from the yaml23:02
piggzi wonder if at one poiint i manually added to the spec and not the yaml23:03
malpiggz: fixing23:03
piggzeugenio: is your gst-droid up to date?23:04
eugenioInstalled   droidmedia-0.20181119.0-1.13.4.jolla.armv7hl (installed)    Android media wrapper library23:05
eugenioInstalled   gstreamer1.0-droid-0.20181213.0-1.11.5.jolla.armv7hl (installed)GStreamer droid plug-in contains elements using the Android HAL23:05
piggzeugenio: i think thats too old23:07
piggzneeds one from december23:07
eugeniolooking at the commit history it should be correct
piggzoh yees, correct23:08
eugenioboth jolla-camera and harbour-miracucam seem to work fine23:09
piggzwhat behaviour do you have?23:09
eugenioblack screen on advanced-camera23:09
piggztry commenting out viewfinder.resoltution: ....23:09
piggzin cameraui.qml23:09
eugeniolet's try23:10
malpiggz: my OBS built app installed without problems to xa223:10
eugeniothat may totally be it23:10
piggzyes i know23:10
eugeniox compact is 720p23:10
piggzi bet thats j1 problem too23:10
eugenioand probably it doesn't work on jC too23:10
eugenioas it's 720p too23:11
malpiggz: indeed the resolution is probably breaking some devices23:11
piggzmal: if you can get Camera.supportViewFinderResolutions() to work, prod me!!23:11
eugenioI can confirm it works ;)23:12
malpiggz: ok23:12
piggzive tried at LoadedStatus and ActiveStatus, and nothing!23:12
piggzeugenio: gr823:12
piggzeugenio: so, that is an area im working on atm ... but the auto detection of resolutions doesnt seem to work23:13
piggzi want to set the resolution based on the ratio of the main camera23:13
eugeniocan't you pick it up from dconf?23:13
piggzwell, maybe, but so far ive got auto-detection working everythwere else!23:13
eugenioI think jolla-camera does that too23:14
eugeniopiggz, fair enough :)23:14
piggzeugenio: enjoy some hdr and color effects23:15
eugenioI will! If my j1 manages to update to 3.0.2 without me falling asleep I'll try there too :)23:15
eugeniogreat work23:15
eugenioif you give up on auto-detection look at /apps/jolla-camera/{primary,secondary}/image/viewfinderResolution{,4_3,16_9} in dconf23:16
eugeniogood night!23:20

Generated by 2.17.1 by Marius Gedminas - find it at!